Searched refs:uart_config (Results 1 – 3 of 3) sorted by relevance
270 struct uart_config { struct645 struct uart_config uart_config; in nxp_fw_change_baudrate() local663 } else if (req_len == sizeof(uart_config)) { in nxp_fw_change_baudrate()667 uart_config.uartdiv.value = __cpu_to_le32(1); in nxp_fw_change_baudrate()669 uart_config.mcr.value = __cpu_to_le32(MCR); in nxp_fw_change_baudrate()671 uart_config.re_init.value = __cpu_to_le32(INIT); in nxp_fw_change_baudrate()673 uart_config.icr.value = __cpu_to_le32(ICR); in nxp_fw_change_baudrate()675 uart_config.fcr.value = __cpu_to_le32(FCR); in nxp_fw_change_baudrate()677 uart_config.crc = __cpu_to_be32(crc32_be(0UL, (char *)&uart_config, in nxp_fw_change_baudrate()678 sizeof(uart_config) - 4)); in nxp_fw_change_baudrate()[all …]
57 static const struct serial8250_config uart_config[] = { variable1288 up->capabilities = uart_config[port->type].flags; in autoconfig()1289 up->tx_loadsz = uart_config[port->type].tx_loadsz; in autoconfig()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()3226 up->fcr = uart_config[up->port.type].fcr; in serial8250_config_port()3244 if (type >= ARRAY_SIZE(uart_config)) in serial8250_type()3246 return uart_config[type].name; in serial8250_type()3298 up->port.fifosize = uart_config[type].fifo_size; in serial8250_set_defaults()3300 up->tx_loadsz = uart_config[type].tx_loadsz; in serial8250_set_defaults()[all …]
67 static const struct serial_uart_config uart_config[] = { variable643 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()