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];
119 /* If the device didn't tell us its class, maybe we have managed to
124 pretty_print (port, device);
129 /* Read up to count-1 bytes of device id. Terminate buffer with
131 * device. */
199 printk(KERN_DEBUG "%s: Device ID was %zd bytes while device told it would be %d bytes\n",
210 printk(KERN_DEBUG "%s: Device ID reading stopped before device told data not available. Current idlen %u of %u, len bytes %02X %02X\n",
257 /* Negotiate to compatibility mode, and then to device ID
258 * mode. (This so that we start form beginning of device ID if
259 * already in device ID mode.) */