Query: class_dev_iter_init
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CLASS_DEV_ITER_INIT(9) Device drivers infrastructure CLASS_DEV_ITER_INIT(9)NAMEclass_dev_iter_init - initialize class device iteratorSYNOPSISvoid class_dev_iter_init(struct class_dev_iter * iter, struct class * class, struct device * start, const struct device_type * type);ARGUMENTSiter class iterator to initialize class the class we wanna iterate over start the device to start iterating from, if any type device_type of the devices to iterate over, NULL for allDESCRIPTIONInitialize class iterator iter such that it iterates over devices of class. If start is set, the list iteration will start there, otherwise if it is NULL, the iteration starts at the beginning of the list.COPYRIGHTKernel Hackers Manual 2.6. July 2010 CLASS_DEV_ITER_INIT(9)