Home
last modified time | relevance | path

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

/linux/drivers/bluetooth/
H A Dbtnxpuart.c308 struct uart_config { struct
802 struct uart_config uart_config; in nxp_fw_change_baudrate() local
813 nxp_cmd5.payload_len = __cpu_to_le32(sizeof(uart_config)); in nxp_fw_change_baudrate()
820 } else if (req_len == sizeof(uart_config)) { in nxp_fw_change_baudrate()
821 uart_config.clkdiv.address = __cpu_to_le32(clkdivaddr); in nxp_fw_change_baudrate()
823 uart_config.clkdiv.value = __cpu_to_le32(0x01000000); in nxp_fw_change_baudrate()
825 uart_config.clkdiv.value = __cpu_to_le32(0x00c00000); in nxp_fw_change_baudrate()
826 uart_config.uartdiv.address = __cpu_to_le32(uartdivaddr); in nxp_fw_change_baudrate()
827 uart_config.uartdiv.value = __cpu_to_le32(1); in nxp_fw_change_baudrate()
828 uart_config.mcr.address = __cpu_to_le32(uartmcraddr); in nxp_fw_change_baudrate()
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_port.c45 static const struct serial8250_config uart_config[] = { variable
1185 port->fifosize = uart_config[up->port.type].fifo_size; in autoconfig()
1187 up->capabilities = uart_config[port->type].flags; in autoconfig()
1188 up->tx_loadsz = uart_config[port->type].tx_loadsz; in autoconfig()
2255 port->fifosize = uart_config[port->type].fifo_size; in serial8250_do_startup()
2257 up->tx_loadsz = uart_config[port->type].tx_loadsz; in serial8250_do_startup()
2259 up->capabilities = uart_config[port->type].flags; in serial8250_do_startup()
2947 const struct serial8250_config *conf_type = &uart_config[up->port.type]; in fcr_get_rxtrig_bytes()
2957 const struct serial8250_config *conf_type = &uart_config[up->port.type]; in bytes_to_fcr_rxtrig()
3074 const struct serial8250_config *conf_type = &uart_config[up->port.type]; in register_dev_spec_attr_grp()
[all …]
/linux/drivers/tty/serial/
H A Dsunsu.c67 static const struct serial_uart_config uart_config[] = { variable
620 if (uart_config[up->port.type].flags & UART_CLEAR_FIFO) { in sunsu_startup()
789 if (uart_config[up->port.type].flags & UART_USE_FIFO) { in sunsu_change_speed()
850 if (uart_config[up->port.type].flags & UART_STARTECH) { in sunsu_change_speed()
924 if (type >= ARRAY_SIZE(uart_config)) in sunsu_type()
926 return uart_config[type].name; in sunsu_type()
1131 up->port.fifosize = uart_config[up->port.type].dfl_xmit_fifo_size; in sunsu_autoconfig()