get_ccwdev_by_dev_id(9)

get_ccwdev_by_dev_id9

Obtain device from a ccw device id

Usage

struct ccw_device * get_ccwdev_by_dev_id(struct ccw_dev_id * dev_id);

Arguments

dev_id

id of the device to be searched

Overview

This function searches all devices attached to the ccw bus for a device matching dev_id.

Return

If a device is found its reference count is increased and returned; else NULL is returned.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 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.