1DRIVER_FOR_EACH_DEVI(9) Device drivers infrastructure DRIVER_FOR_EACH_DEVI(9)
2
3
4
6 driver_for_each_device - Iterator for devices bound to a driver.
7
9 int driver_for_each_device(struct device_driver * drv,
10 struct device * start, void * data,
11 int (*fn) (struct device *, void *));
12
14 drv
15 Driver we're iterating.
16
17 start
18 Device to begin with
19
20 data
21 Data to pass to the callback.
22
23 fn
24 Function to call for each device.
25
27 Iterate over the drv's list of devices calling fn for each one.
28
30Kernel Hackers Manual 3.10 June 2019 DRIVER_FOR_EACH_DEVI(9)