Lines Matching refs:device
15 #include <linux/device.h>
48 static struct device maple_bus;
116 * @dev: device responding
119 * @function: the function code for the device
137 static void maple_release_device(struct device *dev)
151 * @mdev: maple device
152 * @function: function on device being queried
206 dev_err(&mdev->dev, "could not allocate memory for device (%d, %d)\n",
311 /* check if there is a driver registered likely to match this device */
330 /* process initial MAPLE_COMMAND_DEVINFO for each device or port */
369 /* Do this silently - as not a real device */
393 dev_warn(&mdev->dev, "could not register device at"
403 * if device has been registered for the given
407 static int check_maple_device(struct device *device, void *portptr)
413 mdev = to_maple_dev(device);
419 static int setup_maple_commands(struct device *device, void *ignored)
422 struct maple_device *mdev = to_maple_dev(device);
435 * device as busy */
523 /* mark a device as removed */
557 dev_info(&mdev->dev, "detaching device at (%d, %d)\n",
609 dev_warn(&mdev->dev, "device at (%d, %d) reports"
684 " device information request for (%d, %d)"
749 static int maple_match_bus_driver(struct device *devptr,
764 static int maple_bus_uevent(struct device *dev,
770 static void maple_bus_release(struct device *dev)
790 static struct device maple_bus = {