/linux/drivers/tty/serial/8250/ |
A D | 8250.h | 18 int (*tx_dma)(struct uart_8250_port *p); 19 int (*rx_dma)(struct uart_8250_port *p); 153 struct uart_8250_port *serial8250_get_port(int line); 155 void serial8250_rpm_get(struct uart_8250_port *p); 156 void serial8250_rpm_put(struct uart_8250_port *p); 158 void serial8250_rpm_get_tx(struct uart_8250_port *p); 159 void serial8250_rpm_put_tx(struct uart_8250_port *p); 163 void serial8250_em485_stop_tx(struct uart_8250_port *p); 264 int fintek_8250_probe(struct uart_8250_port *uart); 307 extern int serial8250_tx_dma(struct uart_8250_port *); [all …]
|
A D | 8250_port.c | 465 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() 576 void serial8250_rpm_get(struct uart_8250_port *p) in serial8250_rpm_get() 584 void serial8250_rpm_put(struct uart_8250_port *p) in serial8250_rpm_put() 674 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config() 801 static void enable_rsa(struct uart_8250_port *up) in enable_rsa() 849 static int size_fifo(struct uart_8250_port *up) in size_fifo() 1018 static int broken_efr(struct uart_8250_port *up) in broken_efr() 1433 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_stop_rx() 1478 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_stop_tx() 1640 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_start_tx() [all …]
|
A D | 8250_core.c | 120 struct uart_8250_port *up; in serial8250_interrupt() 123 up = list_entry(l, struct uart_8250_port, list); in serial8250_interrupt() 421 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port() 447 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port() 462 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port() 487 struct uart_8250_port *up; in serial8250_isa_init_ports() 499 struct uart_8250_port *up = &serial8250_ports[i]; in serial8250_isa_init_ports() 554 struct uart_8250_port *up = &serial8250_ports[i]; in serial8250_register_ports() 799 struct uart_8250_port uart; in serial8250_probe() 948 struct uart_8250_port *up = in serial_8250_overrun_backoff_work() [all …]
|
A D | 8250_omap.c | 162 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_set_mctrl() 355 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios() 520 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm() 619 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_irq() 671 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_startup() 737 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_shutdown() 869 struct uart_8250_port *p = param; in __dma_rx_complete() 987 struct uart_8250_port *p = param; in omap_8250_dma_tx_complete() 1288 struct uart_8250_port up; in omap8250_probe() 1595 struct uart_8250_port *up; in omap8250_runtime_suspend() [all …]
|
A D | 8250_aspeed_vuart.c | 40 struct uart_8250_port *port; 250 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_startup() local 251 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_startup() 265 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_shutdown() local 266 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_shutdown() 273 static void __aspeed_vuart_set_throttle(struct uart_8250_port *up, in __aspeed_vuart_set_throttle() 285 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_set_throttle() 306 struct uart_8250_port *up = vuart->port; in aspeed_vuart_unthrottle_exp() 330 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_handle_irq() 415 struct uart_8250_port port; in aspeed_vuart_probe()
|
A D | 8250_exar.c | 116 int (*register_gpio)(struct pci_dev *, struct uart_8250_port *); 117 void (*unregister_gpio)(struct uart_8250_port *); 131 struct uart_8250_port *, int); 199 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown() 217 struct uart_8250_port *port) in default_setup() 255 struct uart_8250_port *port, int idx) in pci_fastcom335_setup() 303 struct uart_8250_port *port, int idx) in pci_connect_tech_setup() 314 struct uart_8250_port *port, int idx) in pci_xr17c154_setup() 484 struct uart_8250_port *port) in iot2040_register_gpio() 533 struct uart_8250_port *port, int idx) in pci_xr17v35x_setup() [all …]
|
A D | 8250_mtk.c | 85 static void mtk8250_rx_dma(struct uart_8250_port *up); 89 struct uart_8250_port *up = param; in mtk8250_dma_rx_complete() 130 static void mtk8250_rx_dma(struct uart_8250_port *up) in mtk8250_rx_dma() 151 static void mtk8250_dma_enable(struct uart_8250_port *up) in mtk8250_dma_enable() 189 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_startup() 209 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_shutdown() 219 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask) in mtk8250_disable_intrs() 224 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs() 298 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios() 415 struct uart_8250_port *up = serial8250_get_port(data->line); in mtk8250_runtime_suspend() [all …]
|
A D | 8250_dma.c | 16 struct uart_8250_port *p = param; in __dma_tx_complete() 45 struct uart_8250_port *p = param; in __dma_rx_complete() 62 int serial8250_tx_dma(struct uart_8250_port *p) in serial8250_tx_dma() 109 int serial8250_rx_dma(struct uart_8250_port *p) in serial8250_rx_dma() 134 void serial8250_rx_dma_flush(struct uart_8250_port *p) in serial8250_rx_dma_flush() 146 int serial8250_request_dma(struct uart_8250_port *p) in serial8250_request_dma() 242 void serial8250_release_dma(struct uart_8250_port *p) in serial8250_release_dma()
|
A D | 8250_uniphier.c | 148 static int uniphier_serial_dl_read(struct uart_8250_port *up) in uniphier_serial_dl_read() 153 static void uniphier_serial_dl_write(struct uart_8250_port *up, int value) in uniphier_serial_dl_write() 161 struct uart_8250_port up; in uniphier_uart_probe() 257 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_suspend() 270 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_resume()
|
A D | 8250_bcm7271.c | 367 static void start_rx_dma(struct uart_8250_port *p) in start_rx_dma() 388 static void stop_rx_dma(struct uart_8250_port *p) in stop_rx_dma() 397 static int stop_tx_dma(struct uart_8250_port *p) in stop_tx_dma() 414 static int brcmuart_tx_dma(struct uart_8250_port *p) in brcmuart_tx_dma() 593 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_startup() 626 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_shutdown() 760 struct uart_8250_port *p8250 = up_to_u8250p(up); in brcmstb_set_termios() 777 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_handle_irq() 825 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_hrtimer_func() 939 struct uart_8250_port *new_port; in brcmuart_probe() [all …]
|
A D | 8250_pci.c | 42 struct uart_8250_port *, int); 120 struct uart_8250_port *port, int idx) in addidata_apci7800_setup() 202 struct uart_8250_port *port, int idx) in pci_hp_diva_setup() 371 struct uart_8250_port *port, int idx) in sbs_setup() 619 struct uart_8250_port *port, int idx) in pci_timedia_setup() 754 struct uart_8250_port *port, int idx) in pci_ni8430_setup() 1531 struct uart_8250_port *port; in pci_fintek_init() 1745 struct uart_8250_port *port, int idx) in pci_wch_ch355_setup() 1798 struct uart_8250_port *port, int idx) in pci_sunix_setup() 1822 struct uart_8250_port *port, int idx) in pci_moxa_setup() [all …]
|
A D | 8250_em.c | 68 static int serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_dl_read() 73 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, int value) in serial8250_em_serial_dl_write() 82 struct uart_8250_port up; in serial8250_em_probe()
|
A D | 8250_bcm2835aux.c | 47 static void bcm2835aux_rs485_start_tx(struct uart_8250_port *up) in bcm2835aux_rs485_start_tx() 66 static void bcm2835aux_rs485_stop_tx(struct uart_8250_port *up) in bcm2835aux_rs485_stop_tx() 83 struct uart_8250_port up = { }; in bcm2835aux_serial_probe()
|
A D | 8250_tegra.c | 44 struct uart_8250_port port8250; in tegra_uart_probe() 143 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_suspend() 157 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_resume()
|
A D | 8250_mid.c | 79 struct uart_8250_port *up = up_to_u8250p(p); in tng_handle_irq() 130 struct uart_8250_port *up = up_to_u8250p(p); in dnv_handle_irq() 246 static int mid8250_dma_setup(struct mid8250 *mid, struct uart_8250_port *port) in mid8250_dma_setup() 283 struct uart_8250_port uart; in mid8250_probe() 299 memset(&uart, 0, sizeof(struct uart_8250_port)); in mid8250_probe()
|
A D | 8250_of.c | 32 int type, struct uart_8250_port *up, in of_platform_serial_setup() 190 struct uart_8250_port port8250; in of_platform_serial_probe() 271 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend() 286 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_resume()
|
A D | 8250_ioc3.c | 37 struct uart_8250_port up; in serial8250_ioc3_probe() 59 memset(&up, 0, sizeof(struct uart_8250_port)); in serial8250_ioc3_probe()
|
A D | 8250_fintek.c | 358 static void fintek_8250_set_termios_handler(struct uart_8250_port *uart) in fintek_8250_set_termios_handler() 375 struct uart_8250_port *uart) in probe_setup_port() 427 static void fintek_8250_set_rs485_handler(struct uart_8250_port *uart) in fintek_8250_set_rs485_handler() 445 int fintek_8250_probe(struct uart_8250_port *uart) in fintek_8250_probe()
|
A D | 8250_lpss.c | 158 struct uart_8250_port *up = up_to_u8250p(port); in ehl_serial_setup() 258 static int lpss8250_dma_setup(struct lpss8250 *lpss, struct uart_8250_port *port) in lpss8250_dma_setup() 291 struct uart_8250_port uart; in lpss8250_probe() 311 memset(&uart, 0, sizeof(struct uart_8250_port)); in lpss8250_probe()
|
A D | 8250_acorn.c | 43 struct uart_8250_port uart; in serial_card_probe() 62 memset(&uart, 0, sizeof(struct uart_8250_port)); in serial_card_probe()
|
A D | 8250_dw.c | 86 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_force_idle() 238 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq() 280 struct uart_8250_port *up; in dw8250_clk_work_cb() 355 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc() 436 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe()
|
A D | 8250_fsl.c | 31 struct uart_8250_port *up = up_to_u8250p(port); in fsl8250_handle_irq() 96 struct uart_8250_port port8250; in fsl8250_acpi_probe()
|
A D | 8250_pxa.c | 64 static void serial_pxa_dl_write(struct uart_8250_port *up, int value) in serial_pxa_dl_write() 93 struct uart_8250_port uart = {}; in serial_pxa_probe()
|
A D | 8250_lpc18xx.c | 38 struct uart_8250_port *up = up_to_u8250p(port); in lpc18xx_rs485_config() 104 struct uart_8250_port uart; in lpc18xx_serial_probe()
|
/linux/include/linux/ |
A D | serial_8250.h | 64 struct uart_8250_port; 75 int (*setup_irq)(struct uart_8250_port *); 76 void (*release_irq)(struct uart_8250_port *); 94 struct uart_8250_port { struct 132 int (*dl_read)(struct uart_8250_port *); argument 133 void (*dl_write)(struct uart_8250_port *, int); argument 136 void (*rs485_start_tx)(struct uart_8250_port *); argument 137 void (*rs485_stop_tx)(struct uart_8250_port *); argument 146 return container_of(up, struct uart_8250_port, port); in up_to_u8250p() 177 void serial8250_tx_chars(struct uart_8250_port *up); [all …]
|