table of contents
other versions
SUBSYS_DEV_ITER_INIT(9) | Device drivers infrastructure | SUBSYS_DEV_ITER_INIT(9) |
NAME¶
subsys_dev_iter_init - initialize subsys device iteratorSYNOPSIS¶
void
subsys_dev_iter_init(struct subsys_dev_iter * iter,
struct bus_type * subsys,
struct device * start,
const struct device_type * type);
ARGUMENTS¶
itersubsys iterator to initialize
subsys
the subsys we wanna iterate over
start
the device to start iterating from, if any
type
device_type of the devices to iterate over, NULL for
all
DESCRIPTION¶
Initialize subsys iterator iter such that it iterates over devices of subsys. If start is set, the list iteration will start there, otherwise if it is NULL, the iteration starts at the beginning of the list.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |