Lines Matching defs:device
9 #include <linux/device.h>
53 /* wrong direction taken - no such device */
71 static ssize_t state_show(struct device *device,
74 struct w1_slave *sl = dev_to_w1_slave(device);
93 dev_err(device, "non-consistent state %x\n", state);
108 static ssize_t output_show(struct device *device,
111 struct w1_slave *sl = dev_to_w1_slave(device);
137 static ssize_t output_store(struct device *device,
141 struct w1_slave *sl = dev_to_w1_slave(device);
179 * there is only one device on bus