Home
last modified time | relevance | path

Searched refs:uart_config (Results 1 – 3 of 3) sorted by relevance

/drivers/bluetooth/
Dbtnxpuart.c267 struct uart_config { struct
600 struct uart_config uart_config; in nxp_fw_change_baudrate() local
611 nxp_cmd5.payload_len = __cpu_to_le32(sizeof(uart_config)); in nxp_fw_change_baudrate()
618 } else if (req_len == sizeof(uart_config)) { in nxp_fw_change_baudrate()
619 uart_config.clkdiv.address = __cpu_to_le32(clkdivaddr); in nxp_fw_change_baudrate()
620 uart_config.clkdiv.value = __cpu_to_le32(0x00c00000); in nxp_fw_change_baudrate()
621 uart_config.uartdiv.address = __cpu_to_le32(uartdivaddr); in nxp_fw_change_baudrate()
622 uart_config.uartdiv.value = __cpu_to_le32(1); in nxp_fw_change_baudrate()
623 uart_config.mcr.address = __cpu_to_le32(uartmcraddr); in nxp_fw_change_baudrate()
624 uart_config.mcr.value = __cpu_to_le32(MCR); in nxp_fw_change_baudrate()
[all …]
/drivers/tty/serial/8250/
D8250_port.c57 static const struct serial8250_config uart_config[] = { variable
1286 port->fifosize = uart_config[up->port.type].fifo_size; in autoconfig()
1288 up->capabilities = uart_config[port->type].flags; in autoconfig()
1289 up->tx_loadsz = uart_config[port->type].tx_loadsz; in autoconfig()
1321 DEBUG_AUTOCONF("type=%s\n", uart_config[port->type].name); in autoconfig()
2191 port->fifosize = uart_config[port->type].fifo_size; in serial8250_do_startup()
2193 up->tx_loadsz = uart_config[port->type].tx_loadsz; in serial8250_do_startup()
2195 up->capabilities = uart_config[port->type].flags; in serial8250_do_startup()
3063 const struct serial8250_config *conf_type = &uart_config[up->port.type]; in fcr_get_rxtrig_bytes()
3073 const struct serial8250_config *conf_type = &uart_config[up->port.type]; in bytes_to_fcr_rxtrig()
[all …]
/drivers/tty/serial/
Dsunsu.c67 static const struct serial_uart_config uart_config[] = { variable
643 if (uart_config[up->port.type].flags & UART_CLEAR_FIFO) { in sunsu_startup()
812 if (uart_config[up->port.type].flags & UART_USE_FIFO) { in sunsu_change_speed()
873 if (uart_config[up->port.type].flags & UART_STARTECH) { in sunsu_change_speed()
947 if (type >= ARRAY_SIZE(uart_config)) in sunsu_type()
949 return uart_config[type].name; in sunsu_type()
1154 up->port.fifosize = uart_config[up->port.type].dfl_xmit_fifo_size; in sunsu_autoconfig()