Lines Matching refs:device

14 #include <linux/device.h>
23 #include "device.h"
27 /* In Linux 2.4, we had a channel device layer called "chandev"
49 * Remove references from ccw devices to ccw group device and from
50 * ccw group device to ccw devices.
70 * ccwgroup_set_online() - enable a ccwgroup device
71 * @gdev: target ccwgroup device
73 * This function attempts to put the ccwgroup device into the online state.
99 * ccwgroup_set_offline() - disable a ccwgroup device
100 * @gdev: target ccwgroup device
102 * This function attempts to put the ccwgroup device into the offline state.
127 static ssize_t ccwgroup_online_store(struct device *dev,
156 static ssize_t ccwgroup_online_show(struct device *dev,
183 static ssize_t ccwgroup_ungroup_store(struct device *dev,
235 static void ccwgroup_release(struct device *dev)
306 * ccwgroup_create_dev() - create and register a ccw group device
307 * @parent: parent device for the new device
308 * @gdrv: driver for the new group device
312 * Create and register a new ccw group device as a child of @parent. Slave
319 int ccwgroup_create_dev(struct device *parent, struct ccwgroup_driver *gdrv,
359 /* Don't allow a device to belong to more than one group. */
464 static int ccwgroup_remove(struct device *dev)
477 static void ccwgroup_shutdown(struct device *dev)
494 bool dev_is_ccwgroup(struct device *dev)
523 struct device *dev;
537 * get_ccwgroupdev_by_busid() - obtain device from a bus id
538 * @gdrv: driver the device is owned by
539 * @bus_id: bus id of the device to be searched
541 * This function searches all devices owned by @gdrv for a device with a bus
544 * If a match is found, its reference count of the found device is increased
550 struct device *dev;
560 * @cdev: ccw device to be probed
563 * a ccw group device.
575 * @cdev: ccw device to be removed
578 * group device. It sets the ccw device offline and also deregisters the
579 * embedding ccw group device.
585 /* Ignore offlining errors, device is gone anyway. */
594 /* Get ccwgroup device reference for local processing. */
597 /* Unregister group device. */
599 /* Release ccwgroup device reference for local processing. */