Lines Matching defs:device
62 #include <device.h>
86 /* The map between BIOS drives and UNIX device file names. */
95 /* The file descriptor for a serial device. */
98 /* The file name of a serial device. */
102 /* The speed of a serial device. */
233 /* Assign DRIVE to a device name DEVICE. */
235 assign_device_name (int drive, const char *device)
249 if (! device)
252 device_map[drive] = strdup (device);
761 /* FIXME: this function is truly horrid. We try opening the device,
766 /* See if we have a cached device. */
769 /* The unpartitioned device name: /dev/XdX */
1014 /* Fetch a key from a serial device. */
1022 /* Wait only for the serial device. */
1040 /* Put a character to a serial device. */
1102 /* Initialize a serial device. In the grub shell, PORT is unused. */
1115 /* If a serial device is already opened, close it first. */
1119 /* Open the device file. */
1233 /* Set the file name of a serial device (or a pty device). This is a
1236 serial_set_device (const char *device)
1241 serial_device = strdup (device);