Home
last modified time | relevance | path

Searched defs:uart (Results 1 – 25 of 131) sorted by relevance

123456

/kernel/liteos_m/targets/riscv_nuclei_demo_soc_gcc/SoC/demosoc/Common/Source/Drivers/
Ddemosoc_uart.c4 int32_t uart_init(UART_TypeDef* uart, uint32_t baudrate) in uart_init()
15 int32_t uart_config_stopbit(UART_TypeDef* uart, UART_STOP_BIT stopbit) in uart_config_stopbit()
26 int32_t uart_write(UART_TypeDef* uart, uint8_t val) in uart_write()
38 uint8_t uart_read(UART_TypeDef* uart) in uart_read()
50 int32_t uart_set_tx_watermark(UART_TypeDef* uart, uint32_t watermark) in uart_set_tx_watermark()
60 int32_t uart_enable_txint(UART_TypeDef* uart) in uart_enable_txint()
69 int32_t uart_disable_txint(UART_TypeDef* uart) in uart_disable_txint()
78 int32_t uart_set_rx_watermark(UART_TypeDef* uart, uint32_t watermark) in uart_set_rx_watermark()
88 int32_t uart_enable_rxint(UART_TypeDef* uart) in uart_enable_rxint()
97 int32_t uart_disable_rxint(UART_TypeDef* uart) in uart_disable_rxint()
/kernel/linux/linux-4.19/sound/drivers/
Dserial-u16550.c172 static inline void snd_uart16550_add_timer(struct snd_uart16550 *uart) in snd_uart16550_add_timer()
181 static inline void snd_uart16550_del_timer(struct snd_uart16550 *uart) in snd_uart16550_del_timer()
190 static inline void snd_uart16550_buffer_output(struct snd_uart16550 *uart) in snd_uart16550_buffer_output()
207 static void snd_uart16550_io_loop(struct snd_uart16550 * uart) in snd_uart16550_io_loop()
296 struct snd_uart16550 *uart; in snd_uart16550_interrupt() local
315 struct snd_uart16550 *uart; in snd_uart16550_buffer_timer() local
329 static int snd_uart16550_detect(struct snd_uart16550 *uart) in snd_uart16550_detect()
372 static void snd_uart16550_do_open(struct snd_uart16550 * uart) in snd_uart16550_do_open()
464 static void snd_uart16550_do_close(struct snd_uart16550 * uart) in snd_uart16550_do_close()
518 struct snd_uart16550 *uart = substream->rmidi->private_data; in snd_uart16550_input_open() local
[all …]
/kernel/linux/linux-5.10/sound/drivers/
Dserial-u16550.c159 static inline void snd_uart16550_add_timer(struct snd_uart16550 *uart) in snd_uart16550_add_timer()
168 static inline void snd_uart16550_del_timer(struct snd_uart16550 *uart) in snd_uart16550_del_timer()
177 static inline void snd_uart16550_buffer_output(struct snd_uart16550 *uart) in snd_uart16550_buffer_output()
194 static void snd_uart16550_io_loop(struct snd_uart16550 * uart) in snd_uart16550_io_loop()
283 struct snd_uart16550 *uart; in snd_uart16550_interrupt() local
302 struct snd_uart16550 *uart; in snd_uart16550_buffer_timer() local
316 static int snd_uart16550_detect(struct snd_uart16550 *uart) in snd_uart16550_detect()
359 static void snd_uart16550_do_open(struct snd_uart16550 * uart) in snd_uart16550_do_open()
451 static void snd_uart16550_do_close(struct snd_uart16550 * uart) in snd_uart16550_do_close()
505 struct snd_uart16550 *uart = substream->rmidi->private_data; in snd_uart16550_input_open() local
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Dmen_z135_uart.c136 static inline void men_z135_reg_set(struct men_z135_port *uart, in men_z135_reg_set()
158 static void men_z135_reg_clr(struct men_z135_port *uart, in men_z135_reg_clr()
181 static void men_z135_handle_modem_status(struct men_z135_port *uart) in men_z135_handle_modem_status()
195 static void men_z135_handle_lsr(struct men_z135_port *uart) in men_z135_handle_lsr()
220 static u16 get_rx_fifo_content(struct men_z135_port *uart) in get_rx_fifo_content()
243 static void men_z135_handle_rx(struct men_z135_port *uart) in men_z135_handle_rx()
293 static void men_z135_handle_tx(struct men_z135_port *uart) in men_z135_handle_tx()
387 struct men_z135_port *uart = (struct men_z135_port *)data; in men_z135_intr() local
436 static int men_z135_request_irq(struct men_z135_port *uart) in men_z135_request_irq()
549 struct men_z135_port *uart = to_men_z135(port); in men_z135_stop_tx() local
[all …]
Darc_uart.c76 #define UART_SET_DATA(uart, val) UART_REG_SET(uart, R_DATA, val) argument
77 #define UART_GET_DATA(uart) UART_REG_GET(uart, R_DATA) argument
79 #define UART_SET_BAUDH(uart, val) UART_REG_SET(uart, R_BAUDH, val) argument
80 #define UART_SET_BAUDL(uart, val) UART_REG_SET(uart, R_BAUDL, val) argument
82 #define UART_CLR_STATUS(uart, val) UART_REG_CLR(uart, R_STS, val) argument
83 #define UART_GET_STATUS(uart) UART_REG_GET(uart, R_STS) argument
85 #define UART_ALL_IRQ_DISABLE(uart) UART_REG_CLR(uart, R_STS, RXIENB|TXIENB) argument
86 #define UART_RX_IRQ_DISABLE(uart) UART_REG_CLR(uart, R_STS, RXIENB) argument
87 #define UART_TX_IRQ_DISABLE(uart) UART_REG_CLR(uart, R_STS, TXIENB) argument
89 #define UART_ALL_IRQ_ENABLE(uart) UART_REG_OR(uart, R_STS, RXIENB|TXIENB) argument
[all …]
Dtimbuart.c55 struct timbuart_port *uart = in timbuart_start_tx() local
121 struct timbuart_port *uart = in timbuart_handle_tx_port() local
177 struct timbuart_port *uart = from_tasklet(uart, t, tasklet); in timbuart_tasklet() local
242 struct timbuart_port *uart = in timbuart_startup() local
259 struct timbuart_port *uart = in timbuart_shutdown() local
351 struct timbuart_port *uart = (struct timbuart_port *)devid; in timbuart_handleinterrupt() local
416 struct timbuart_port *uart; in timbuart_probe() local
481 struct timbuart_port *uart = platform_get_drvdata(dev); in timbuart_remove() local
/kernel/linux/linux-4.19/drivers/tty/serial/
Dmen_z135_uart.c136 static inline void men_z135_reg_set(struct men_z135_port *uart, in men_z135_reg_set()
158 static void men_z135_reg_clr(struct men_z135_port *uart, in men_z135_reg_clr()
181 static void men_z135_handle_modem_status(struct men_z135_port *uart) in men_z135_handle_modem_status()
195 static void men_z135_handle_lsr(struct men_z135_port *uart) in men_z135_handle_lsr()
220 static u16 get_rx_fifo_content(struct men_z135_port *uart) in get_rx_fifo_content()
243 static void men_z135_handle_rx(struct men_z135_port *uart) in men_z135_handle_rx()
293 static void men_z135_handle_tx(struct men_z135_port *uart) in men_z135_handle_tx()
388 struct men_z135_port *uart = (struct men_z135_port *)data; in men_z135_intr() local
437 static int men_z135_request_irq(struct men_z135_port *uart) in men_z135_request_irq()
550 struct men_z135_port *uart = to_men_z135(port); in men_z135_stop_tx() local
[all …]
Darc_uart.c80 #define UART_SET_DATA(uart, val) UART_REG_SET(uart, R_DATA, val) argument
81 #define UART_GET_DATA(uart) UART_REG_GET(uart, R_DATA) argument
83 #define UART_SET_BAUDH(uart, val) UART_REG_SET(uart, R_BAUDH, val) argument
84 #define UART_SET_BAUDL(uart, val) UART_REG_SET(uart, R_BAUDL, val) argument
86 #define UART_CLR_STATUS(uart, val) UART_REG_CLR(uart, R_STS, val) argument
87 #define UART_GET_STATUS(uart) UART_REG_GET(uart, R_STS) argument
89 #define UART_ALL_IRQ_DISABLE(uart) UART_REG_CLR(uart, R_STS, RXIENB|TXIENB) argument
90 #define UART_RX_IRQ_DISABLE(uart) UART_REG_CLR(uart, R_STS, RXIENB) argument
91 #define UART_TX_IRQ_DISABLE(uart) UART_REG_CLR(uart, R_STS, TXIENB) argument
93 #define UART_ALL_IRQ_ENABLE(uart) UART_REG_OR(uart, R_STS, RXIENB|TXIENB) argument
[all …]
Dtimbuart.c55 struct timbuart_port *uart = in timbuart_start_tx() local
121 struct timbuart_port *uart = in timbuart_handle_tx_port() local
177 struct timbuart_port *uart = (struct timbuart_port *)arg; in timbuart_tasklet() local
242 struct timbuart_port *uart = in timbuart_startup() local
259 struct timbuart_port *uart = in timbuart_shutdown() local
351 struct timbuart_port *uart = (struct timbuart_port *)devid; in timbuart_handleinterrupt() local
416 struct timbuart_port *uart; in timbuart_probe() local
481 struct timbuart_port *uart = platform_get_drvdata(dev); in timbuart_remove() local
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_tegra.c44 struct tegra_uart *uart; in tegra_uart_probe() local
129 struct tegra_uart *uart = platform_get_drvdata(pdev); in tegra_uart_remove() local
141 struct tegra_uart *uart = dev_get_drvdata(dev); in tegra_uart_suspend() local
155 struct tegra_uart *uart = dev_get_drvdata(dev); in tegra_uart_resume() local
D8250_fintek.c293 static void fintek_8250_goto_highspeed(struct uart_8250_port *uart, in fintek_8250_goto_highspeed()
377 static void fintek_8250_set_termios_handler(struct uart_8250_port *uart) in fintek_8250_set_termios_handler()
394 struct uart_8250_port *uart) in probe_setup_port()
447 static void fintek_8250_set_rs485_handler(struct uart_8250_port *uart) in fintek_8250_set_rs485_handler()
465 int fintek_8250_probe(struct uart_8250_port *uart) in fintek_8250_probe()
D8250_hp300.c160 struct uart_8250_port uart; in hpdca_init_one() local
209 struct uart_8250_port uart; in hp300_8250_init() local
/kernel/linux/linux-4.19/drivers/firmware/
Dpcdp.c23 setup_serial_console(struct pcdp_uart *uart) in setup_serial_console()
90 struct pcdp_uart *uart; in efi_setup_pcdp_console() local
/kernel/linux/linux-5.10/drivers/firmware/
Dpcdp.c20 setup_serial_console(struct pcdp_uart *uart) in setup_serial_console()
89 struct pcdp_uart *uart; in efi_setup_pcdp_console() local
/kernel/linux/linux-4.19/drivers/tty/serial/8250/
D8250_fintek.c288 static void fintek_8250_goto_highspeed(struct uart_8250_port *uart, in fintek_8250_goto_highspeed()
369 static void fintek_8250_set_termios_handler(struct uart_8250_port *uart) in fintek_8250_set_termios_handler()
385 struct uart_8250_port *uart) in probe_setup_port()
438 static void fintek_8250_set_rs485_handler(struct uart_8250_port *uart) in fintek_8250_set_rs485_handler()
455 int fintek_8250_probe(struct uart_8250_port *uart) in fintek_8250_probe()
D8250_hp300.c160 struct uart_8250_port uart; in hpdca_init_one() local
209 struct uart_8250_port uart; in hp300_8250_init() local
D8250_gsc.c25 struct uart_8250_port uart; in serial_init_chip() local
/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
Dip30-console.c17 struct ioc3_uartregs *uart = console_uart(); in prom_putchar() local
/kernel/linux/linux-4.19/drivers/misc/ibmasm/
Duart.c36 struct uart_8250_port uart; in ibmasm_register_uart() local
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
Duart.c22 struct uart_8250_port uart; in ibmasm_register_uart() local
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/
Dip27-console.c37 struct ioc3_uartregs *uart = console_uart(); in prom_putchar() local
/kernel/linux/linux-4.19/arch/mips/sgi-ip27/
Dip27-console.c36 struct ioc3_uartregs *uart = console_uart(); in prom_putchar() local
/kernel/linux/linux-5.10/arch/nios2/boot/dts/
D3c120_devboard.dts124 uart: serial@4c80 { label
/kernel/linux/linux-4.19/arch/nios2/boot/dts/
D3c120_devboard.dts136 uart: serial@4c80 { label
/kernel/linux/linux-5.10/arch/mips/boot/dts/qca/
Dar9132.dtsi59 uart: uart@18020000 { label

123456