1CLASS_DEV_ITER_INIT(9)   Device drivers infrastructure  CLASS_DEV_ITER_INIT(9)
2
3
4

NAME

6       class_dev_iter_init - initialize class device iterator
7

SYNOPSIS

9       void class_dev_iter_init(struct class_dev_iter * iter,
10                                struct class * class, struct device * start,
11                                const struct device_type * type);
12

ARGUMENTS

14       iter
15           class iterator to initialize
16
17       class
18           the class we wanna iterate over
19
20       start
21           the device to start iterating from, if any
22
23       type
24           device_type of the devices to iterate over, NULL for all
25

DESCRIPTION

27       Initialize class iterator iter such that it iterates over devices of
28       class. If start is set, the list iteration will start there, otherwise
29       if it is NULL, the iteration starts at the beginning of the list.
30
32Kernel Hackers Manual 2.6.         June 2019            CLASS_DEV_ITER_INIT(9)
Impressum