1GET_CCWDEV_BY_BUSID(9) The ccw bus GET_CCWDEV_BY_BUSID(9)
2
3
4
6 get_ccwdev_by_busid - obtain device from a bus id
7
9 struct ccw_device * get_ccwdev_by_busid(struct ccw_driver * cdrv,
10 const char * bus_id);
11
13 cdrv
14 driver the device is owned by
15
16 bus_id
17 bus id of the device to be searched
18
20 This function searches all devices owned by cdrv for a device with a
21 bus id matching bus_id.
22
24 If a match is found, its reference count of the found device is
25 increased and it is returned; else NULL is returned.
26
28 Cornelia Huck <cornelia.huck@de.ibm.com>
29 Author.
30
32Kernel Hackers Manual 3.10 June 2019 GET_CCWDEV_BY_BUSID(9)