Lines Matching refs:unit
3497 if (grub_memcmp (arg, "--unit=", sizeof ("--unit=") - 1) == 0)
3499 char *p = arg + sizeof ("--unit=") - 1;
3500 int unit;
3502 if (! safe_parse_maxint (&p, &unit))
3505 if (unit < 0 || unit > 3)
3511 port = serial_hw_get_port (unit);
3607 /* Initialize the serial unit. */
3622 "serial [--unit=UNIT] [--port=PORT] [--speed=SPEED] [--word=WORD] [--parity=PARITY] [--stop=STOP] [--device=DEV]",