Lines Matching defs:device
8 #include <linux/device.h>
18 * The driver creates the device node that can be used as follows:
35 * Wrapper object for the nx-gzip device - there is just one instance of
40 struct device *device;
52 static char *coproc_devnode(struct device *dev, umode_t *mode)
222 pr_devel("%s device allocated, dev [%i,%i]\n", name,
244 coproc_device.device = device_create(coproc_device.class, NULL,
246 if (IS_ERR(coproc_device.device)) {
247 rc = PTR_ERR(coproc_device.device);