Home
last modified time | relevance | path

Searched refs:uart (Results 1 – 2 of 2) sorted by relevance

/lib/efi_loader/
A Defi_device_path_to_text.c131 struct efi_device_path_uart *uart = in dp_msging() local
136 s += sprintf(s, "Uart(%lld,%d,", uart->baud_rate, in dp_msging()
137 uart->data_bits); in dp_msging()
145 if (uart->parity < 6) in dp_msging()
146 s += sprintf(s, "%c,", parity_str[uart->parity]); in dp_msging()
148 s += sprintf(s, "%d,", uart->parity); in dp_msging()
149 if (uart->stop_bits < 4) in dp_msging()
150 s += sprintf(s, "%s)", stop_bits_str[uart->stop_bits]); in dp_msging()
152 s += sprintf(s, "%d)", uart->stop_bits); in dp_msging()
A Defi_device_path.c865 struct efi_device_path_uart *uart; in efi_dp_from_uart() local
866 size_t dpsize = dp_size(dm_root()) + sizeof(*uart) + sizeof(EFI_DP_END); in efi_dp_from_uart()
872 uart = pos; in efi_dp_from_uart()
873 uart->dp.type = DEVICE_PATH_TYPE_MESSAGING_DEVICE; in efi_dp_from_uart()
874 uart->dp.sub_type = DEVICE_PATH_SUB_TYPE_MSG_UART; in efi_dp_from_uart()
875 uart->dp.length = sizeof(*uart); in efi_dp_from_uart()
876 pos += sizeof(*uart); in efi_dp_from_uart()

Completed in 12 milliseconds