Lines Matching defs:device

41 # include <device.h>
56 /* The boot device. */
219 /* Print the device name. */
400 "Initialize a network device via BOOTP. If the option `--with-configfile'"
843 /* device */
848 char *device;
854 /* Get the device argument. */
855 device = skip_to (0, drive);
858 nul_terminate (device);
860 if (! *device || ! check_device (device))
866 assign_device_name (current_drive, device);
873 "device",
876 "device DRIVE DEVICE",
1043 "Initialize a network device via DHCP."
1414 char *device;
1420 device = skip_to (0, stage1_5);
1435 /* Get the device where the Stage 1.5 will be embedded. */
1436 set_device (device);
1615 static char device[32];
1681 grub_sprintf(device, "(hd%d%s", drive - 0x80, argpart);
1682 set_device(device);
1826 char *device = arg;
1831 /* Get the device number. */
1832 set_device (device);
1853 ptr = skip_to (0, device);
2389 /* Store the information for the destination device. */
2552 /* Reset the device information in FILE if it is a Stage 1.5. */
2553 unsigned long device = 0xFFFFFFFF;
2555 grub_memmove (config_file_location, (char *) &device,
2556 sizeof (device));
2573 unsigned long device;
2575 /* Translate the external device syntax to the internal device
2579 /* The Stage 2 PTR does not contain the device name, so
2580 use the root device instead. */
2595 device = (current_drive << 24) | current_partition;
2596 grub_memmove (config_file_location, (char *) &device,
2597 sizeof (device));
2598 grub_strcpy (config_file_location + sizeof (device),
2781 " 2 via your OS's filesystem instead of the raw device."
3025 "Set the active partition on the root disk to GRUB's root device."
3650 "Initialize a network device via RARP."
3702 /* Print the root device information. */
3743 /* If ARG is empty, just print the current root device. */
3808 "Set the current \"root device\" to the device DEVICE, then"
3934 " GRUB can read, but setting the correct root device is still"
4248 device instead. */
4249 else if (grub_memcmp (arg, "--device=", sizeof ("--device=") - 1) == 0)
4251 char *p = arg + sizeof ("--device=") - 1;
4296 "serial [[--unit=UNIT[,UNIT...]] | [--port=PORT[,PORT...]]] [--speed=SPEED] [--word=WORD] [--parity=PARITY] [--stop=STOP] [--device=DEV]",
4297 "Initialize a serial device. UNIT is a digit that specifies which serial"
4298 " device is used (e.g. 0 == ttya (aka COM1)). If you need to specify the port"
4301 " separated by commas; the first working device in the list will be used"
4304 " STOP is the length of stop bit(s). The option --device can be used only"
4305 " in the grub shell, which specifies the file name of a tty device. The"
4577 char device[16];
4605 /* Construct a device name in DEVICE. */
4608 grub_sprintf (device, "(%cd%d",
4615 grub_strncat (device, tmp, sizeof (device));
4621 grub_strncat (device, tmp, sizeof (device));
4623 grub_strncat (device, ")", sizeof (device));
4631 grub_sprintf (cmd_arg, "%s %s", stage1_5, device);
4640 grub_sprintf (buffer, "%s%s", device, embed_info);
4788 grub_sprintf (config_filename, "%s%s", device, stage2);
4809 device,
4826 device,
4860 " GRUB into the device INSTALL_DEVICE. If IMAGE_DEVICE is specified,"
4861 " then find the GRUB images in the device IMAGE_DEVICE, otherwise"
4862 " use the current \"root device\", which can be set by the command"