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 * ccwgroup_set_online() - enable a ccwgroup device
50 * @gdev: target ccwgroup device
52 * This function attempts to put the ccwgroup device into the online state.
78 * ccwgroup_set_offline() - disable a ccwgroup device
79 * @gdev: target ccwgroup device
82 * This function attempts to put the ccwgroup device into the offline state.
112 static ssize_t ccwgroup_online_store(struct device *dev,
141 static ssize_t ccwgroup_online_show(struct device *dev,
167 static ssize_t ccwgroup_ungroup_store(struct device *dev,
213 static void ccwgroup_release(struct device *dev)
300 * ccwgroup_create_dev() - create and register a ccw group device
301 * @parent: parent device for the new device
302 * @gdrv: driver for the new group device
306 * Create and register a new ccw group device as a child of @parent. Slave
313 int ccwgroup_create_dev(struct device *parent, struct ccwgroup_driver *gdrv,
353 /* Don't allow a device to belong to more than one group. */
448 static void ccwgroup_remove(struct device *dev)
457 static void ccwgroup_shutdown(struct device *dev)
475 bool dev_is_ccwgroup(struct device *dev)
510 * @cdev: ccw device to be probed
513 * a ccw group device.
525 * @cdev: ccw device to be removed
528 * group device. It sets the ccw device offline and also deregisters the
529 * embedding ccw group device.
535 /* Ignore offlining errors, device is gone anyway. */
544 /* Get ccwgroup device reference for local processing. */
547 /* Unregister group device. */
549 /* Release ccwgroup device reference for local processing. */