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