• Home
  • Raw
  • Download

Lines Matching refs:SerialHardware

93 pub enum SerialHardware {  enum
98 impl Display for SerialHardware { implementation
101 SerialHardware::Serial => "serial".to_string(), in fmt()
102 SerialHardware::VirtioConsole => "virtio-console".to_string(), in fmt()
109 impl FromStr for SerialHardware { implementation
113 "serial" => Ok(SerialHardware::Serial), in from_str()
114 "virtio-console" => Ok(SerialHardware::VirtioConsole), in from_str()
191 pub hardware: SerialHardware,
358 serial_parameters: &mut BTreeMap<(SerialHardware, u8), SerialParameters>, in set_default_serial_parameters() argument
362 let default_console = (SerialHardware::Serial, 1); in set_default_serial_parameters()
368 hardware: SerialHardware::Serial, in set_default_serial_parameters()
382 let key = (SerialHardware::Serial, num); in set_default_serial_parameters()
385 hardware: SerialHardware::Serial, in set_default_serial_parameters()
416 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in add_serial_devices() argument
429 .get(&(SerialHardware::Serial, x + 1)) in add_serial_devices()
462 UnsupportedEarlyconHardware(SerialHardware),
485 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in get_serial_cmdline() argument
494 Some((SerialHardware::Serial, num)) => { in get_serial_cmdline()
499 Some((SerialHardware::VirtioConsole, num)) => { in get_serial_cmdline()
513 Some((SerialHardware::Serial, num)) => { in get_serial_cmdline()
557 (SerialHardware::VirtioConsole, 1), in get_serial_cmdline_virtio_console()
560 hardware: SerialHardware::VirtioConsole, in get_serial_cmdline_virtio_console()
585 (SerialHardware::VirtioConsole, 1), in get_serial_cmdline_virtio_console_serial_earlycon()
588 hardware: SerialHardware::VirtioConsole, in get_serial_cmdline_virtio_console_serial_earlycon()
600 (SerialHardware::Serial, 1), in get_serial_cmdline_virtio_console_serial_earlycon()
603 hardware: SerialHardware::Serial, in get_serial_cmdline_virtio_console_serial_earlycon()
629 (SerialHardware::VirtioConsole, 1), in get_serial_cmdline_virtio_console_invalid_earlycon()
632 hardware: SerialHardware::VirtioConsole, in get_serial_cmdline_virtio_console_invalid_earlycon()