Lines Matching defs:device
3 * Parallel port device probing code
20 { "", "Legacy device" },
23 { "NET", "Network device" },
26 { "MEDIA", "Multimedia device" },
31 { "", "Unknown device" },
37 static void pretty_print(struct parport *port, int device)
39 struct parport_device_info *info = &port->probe_info[device + 1];
43 if (device >= 0)
44 pr_cont(" (addr %d)", device);
53 static void parse_data(struct parport *port, int device, char *str)
58 struct parport_device_info *info = &port->probe_info[device + 1];
124 /* If the device didn't tell us its class, maybe we have managed to
129 pretty_print (port, device);
134 /* Read up to count-1 bytes of device id. Terminate buffer with
136 * device. */
204 printk(KERN_DEBUG "%s: Device ID was %zd bytes while device told it would be %d bytes\n",
215 printk(KERN_DEBUG "%s: Device ID reading stopped before device told data not available. Current idlen %u of %u, len bytes %02X %02X\n",
262 /* Negotiate to compatibility mode, and then to device ID
263 * mode. (This so that we start form beginning of device ID if
264 * already in device ID mode.) */