Home
last modified time | relevance | path

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

/linux/drivers/bluetooth/
H A Dbtnxpuart.c281 struct uart_config { struct
656 struct uart_config uart_config; in nxp_fw_change_baudrate() local
667 nxp_cmd5.payload_len = __cpu_to_le32(sizeof(uart_config)); in nxp_fw_change_baudrate()
674 } else if (req_len == sizeof(uart_config)) { in nxp_fw_change_baudrate()
675 uart_config.clkdiv.address = __cpu_to_le32(clkdivaddr); in nxp_fw_change_baudrate()
676 uart_config.clkdiv.value = __cpu_to_le32(0x00c00000); in nxp_fw_change_baudrate()
677 uart_config.uartdiv.address = __cpu_to_le32(uartdivaddr); in nxp_fw_change_baudrate()
678 uart_config.uartdiv.value = __cpu_to_le32(1); in nxp_fw_change_baudrate()
679 uart_config.mcr.address = __cpu_to_le32(uartmcraddr); in nxp_fw_change_baudrate()
680 uart_config.mcr.value = __cpu_to_le32(MCR); in nxp_fw_change_baudrate()
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_port.c53 static const struct serial8250_config uart_config[] = { variable
1267 port->fifosize = uart_config[up->port.type].fifo_size; in autoconfig()
1269 up->capabilities = uart_config[port->type].flags; in autoconfig()
1270 up->tx_loadsz = uart_config[port->type].tx_loadsz; in autoconfig()
1302 DEBUG_AUTOCONF("type=%s\n", uart_config[port->type].name); in autoconfig()
2176 port->fifosize = uart_config[port->type].fifo_size; in serial8250_do_startup()
2178 up->tx_loadsz = uart_config[port->type].tx_loadsz; in serial8250_do_startup()
2180 up->capabilities = uart_config[port->type].flags; in serial8250_do_startup()
3010 const struct serial8250_config *conf_type = &uart_config[up->port.type]; in fcr_get_rxtrig_bytes()
3020 const struct serial8250_config *conf_type = &uart_config[up->port.type]; in bytes_to_fcr_rxtrig()
[all …]
/linux/drivers/tty/serial/
H A Dsunsu.c67 static const struct serial_uart_config uart_config[] = { variable
644 if (uart_config[up->port.type].flags & UART_CLEAR_FIFO) { in sunsu_startup()
813 if (uart_config[up->port.type].flags & UART_USE_FIFO) { in sunsu_change_speed()
874 if (uart_config[up->port.type].flags & UART_STARTECH) { in sunsu_change_speed()
948 if (type >= ARRAY_SIZE(uart_config)) in sunsu_type()
950 return uart_config[type].name; in sunsu_type()
1155 up->port.fifosize = uart_config[up->port.type].dfl_xmit_fifo_size; in sunsu_autoconfig()