get_ccwdev_by_busid(9)

get_ccwdev_by_busid9

Obtain device from a bus id

Usage

struct ccw_device * get_ccwdev_by_busid(struct ccw_driver * cdrv, const char * bus_id);

Arguments

cdrv

driver the device is owned by

bus_id

bus id of the device to be searched

Overview

This function searches all devices owned by cdrv for a device with a bus id matching bus_id.

Return

If a match is found, its reference count of the found device is increased and it is returned; else NULL is returned.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Cornelia Huck <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.