Lines Matching defs:device

41 # include <device.h>
55 /* The boot device. */
250 /* Print the device name. */
443 "Initialize a network device via BOOTP. If the option `--with-configfile'"
886 /* device */
891 char *device;
897 /* Get the device argument. */
898 device = skip_to (0, drive);
901 nul_terminate (device);
903 if (! *device || ! check_device (device))
909 assign_device_name (current_drive, device);
916 "device",
919 "device DRIVE DEVICE",
1135 "Initialize a network device via DHCP."
1539 char *device;
1545 device = skip_to (0, stage1_5);
1560 /* Get the device where the Stage 1.5 will be embedded. */
1561 set_device (device);
1740 static char device[32];
1806 grub_sprintf(device, "(hd%d%s", drive - 0x80, argpart);
1807 set_device(device);
1950 char *device = arg;
1955 /* Get the device number. */
1956 set_device (device);
1977 ptr = skip_to (0, device);
2513 /* Store the information for the destination device. */
2672 /* Reset the device information in FILE if it is a Stage 1.5. */
2673 unsigned long device = 0xFFFFFFFF;
2675 grub_memmove (config_file_location, (char *) &device,
2676 sizeof (device));
2693 unsigned long device;
2695 /* Translate the external device syntax to the internal device
2699 /* The Stage 2 PTR does not contain the device name, so
2700 use the root device instead. */
2715 device = (current_drive << 24) | current_partition;
2716 grub_memmove (config_file_location, (char *) &device,
2717 sizeof (device));
2718 grub_strcpy (config_file_location + sizeof (device),
2901 " 2 via your OS's filesystem instead of the raw device."
2961 * bootpath=<device phys path>,
2962 * diskdevid=<device id>
3509 "Set the active partition on the root disk to GRUB's root device."
4126 "Initialize a network device via RARP."
4178 /* Print the root device information. */
4219 /* If ARG is empty, just print the current root device. */
4284 "Set the current \"root device\" to the device DEVICE, then"
4410 " GRUB can read, but setting the correct root device is still"
4688 device instead. */
4689 else if (grub_memcmp (arg, "--device=", sizeof ("--device=") - 1) == 0)
4691 char *p = arg + sizeof ("--device=") - 1;
4723 "serial [--unit=UNIT] [--port=PORT] [--speed=SPEED] [--word=WORD] [--parity=PARITY] [--stop=STOP] [--device=DEV]",
4724 "Initialize a serial device. UNIT is a digit that specifies which serial"
4725 " device is used (e.g. 0 == COM1). If you need to specify the port number,"
4728 " STOP is the length of stop bit(s). The option --device can be used only"
4729 " in the grub shell, which specifies the file name of a tty device. The"
5001 char device[16];
5029 /* Construct a device name in DEVICE. */
5032 grub_sprintf (device, "(%cd%d",
5039 grub_strncat (device, tmp, 256);
5045 grub_strncat (device, tmp, 256);
5047 grub_strncat (device, ")", 256);
5055 grub_sprintf (cmd_arg, "%s %s", stage1_5, device);
5064 grub_sprintf (buffer, "%s%s", device, embed_info);
5212 grub_sprintf (config_filename, "%s%s", device, stage2);
5233 device,
5250 device,
5284 " GRUB into the device INSTALL_DEVICE. If IMAGE_DEVICE is specified,"
5285 " then find the GRUB images in the device IMAGE_DEVICE, otherwise"
5286 " use the current \"root device\", which can be set by the command"