/linux-6.3-rc2/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); 20 void (*prepare_tx_dma)(struct uart_8250_port *p); 21 void (*prepare_rx_dma)(struct uart_8250_port *p); 198 struct uart_8250_port *serial8250_get_port(int line); 200 void serial8250_rpm_get(struct uart_8250_port *p); 201 void serial8250_rpm_put(struct uart_8250_port *p); 203 void serial8250_rpm_get_tx(struct uart_8250_port *p); 204 void serial8250_rpm_put_tx(struct uart_8250_port *p); 303 int fintek_8250_probe(struct uart_8250_port *uart); [all …]
|
A D | 8250_port.c | 481 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() 571 void serial8250_rpm_get(struct uart_8250_port *p) in serial8250_rpm_get() 579 void serial8250_rpm_put(struct uart_8250_port *p) in serial8250_rpm_put() 680 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config() 798 static void enable_rsa(struct uart_8250_port *up) in enable_rsa() 846 static int size_fifo(struct uart_8250_port *up) in size_fifo() 1015 static int broken_efr(struct uart_8250_port *up) in broken_efr() 1429 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_stop_rx() 1474 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_stop_tx() 1660 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_start_tx() [all …]
|
A D | 8250_core.c | 121 struct uart_8250_port *up; in serial8250_interrupt() 124 up = list_entry(l, struct uart_8250_port, list); in serial8250_interrupt() 427 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port() 453 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port() 468 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port() 493 struct uart_8250_port *up; in serial8250_isa_init_ports() 505 struct uart_8250_port *up = &serial8250_ports[i]; in serial8250_isa_init_ports() 559 struct uart_8250_port *up = &serial8250_ports[i]; in serial8250_register_ports() 807 struct uart_8250_port uart; in serial8250_probe() 956 struct uart_8250_port *up = in serial_8250_overrun_backoff_work() [all …]
|
A D | 8250_omap.c | 173 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() 371 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios() 522 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm() 621 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_irq() 673 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_startup() 738 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_shutdown() 938 struct uart_8250_port *p = param; in __dma_rx_complete() 1056 struct uart_8250_port *p = param; in omap_8250_dma_tx_complete() 1354 struct uart_8250_port up; in omap8250_probe() 1669 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_dma.c | 16 struct uart_8250_port *p = param; in __dma_tx_complete() 41 static void __dma_rx_complete(struct uart_8250_port *p) in __dma_rx_complete() 69 struct uart_8250_port *p = param; in dma_rx_complete() 86 int serial8250_tx_dma(struct uart_8250_port *p) in serial8250_tx_dma() 142 int serial8250_rx_dma(struct uart_8250_port *p) in serial8250_rx_dma() 169 void serial8250_rx_dma_flush(struct uart_8250_port *p) in serial8250_rx_dma_flush() 181 int serial8250_request_dma(struct uart_8250_port *p) in serial8250_request_dma() 277 void serial8250_release_dma(struct uart_8250_port *p) in serial8250_release_dma()
|
A D | 8250_mtk.c | 89 static void mtk8250_rx_dma(struct uart_8250_port *up); 93 struct uart_8250_port *up = param; in mtk8250_dma_rx_complete() 134 static void mtk8250_rx_dma(struct uart_8250_port *up) in mtk8250_rx_dma() 155 static void mtk8250_dma_enable(struct uart_8250_port *up) in mtk8250_dma_enable() 193 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_startup() 213 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_shutdown() 223 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask) in mtk8250_disable_intrs() 228 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs() 302 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios() 419 struct uart_8250_port *up = serial8250_get_port(data->line); in mtk8250_runtime_suspend() [all …]
|
A D | 8250_exar.c | 124 int (*register_gpio)(struct pci_dev *, struct uart_8250_port *); 125 void (*unregister_gpio)(struct uart_8250_port *); 139 struct uart_8250_port *, int); 206 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown() 225 struct uart_8250_port *port) in default_setup() 263 struct uart_8250_port *port, int idx) in pci_fastcom335_setup() 311 struct uart_8250_port *port, int idx) in pci_connect_tech_setup() 322 struct uart_8250_port *port, int idx) in pci_xr17c154_setup() 499 struct uart_8250_port *port) in iot2040_register_gpio() 549 struct uart_8250_port *port, int idx) in pci_xr17v35x_setup() [all …]
|
A D | 8250_pcilib.h | 12 struct uart_8250_port; 14 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, u8 bar,
|
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_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_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() 591 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_startup() 624 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_shutdown() 758 struct uart_8250_port *p8250 = up_to_u8250p(up); in brcmstb_set_termios() 775 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_handle_irq() 823 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_hrtimer_func() 937 struct uart_8250_port *new_port; in brcmuart_probe() [all …]
|
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_pci.c | 44 struct uart_8250_port *, int); 101 struct uart_8250_port *port, int idx) in addidata_apci7800_setup() 128 struct uart_8250_port *port, int idx) in afavlab_setup() 183 struct uart_8250_port *port, int idx) in pci_hp_diva_setup() 352 struct uart_8250_port *port, int idx) in sbs_setup() 600 struct uart_8250_port *port, int idx) in pci_timedia_setup() 735 struct uart_8250_port *port, int idx) in pci_ni8430_setup() 1822 struct uart_8250_port *port, int idx) in pci_wch_ch355_setup() 1875 struct uart_8250_port *port, int idx) in pci_sunix_setup() 1899 struct uart_8250_port *port, int idx) in pci_moxa_setup() [all …]
|
A D | 8250_dw.c | 85 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_force_idle() 139 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_tx_wait_empty() 247 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq() 303 struct uart_8250_port *up; in dw8250_clk_work_cb() 378 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc() 420 static void dw8250_prepare_tx_dma(struct uart_8250_port *p) in dw8250_prepare_tx_dma() 433 static void dw8250_prepare_rx_dma(struct uart_8250_port *p) in dw8250_prepare_rx_dma() 513 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe()
|
A D | 8250_lpss.c | 167 struct uart_8250_port *up = up_to_u8250p(port); in ehl_serial_setup() 186 struct uart_8250_port *up = serial8250_get_port(lpss->data.line); in ehl_serial_exit() 276 static int lpss8250_dma_setup(struct lpss8250 *lpss, struct uart_8250_port *port) in lpss8250_dma_setup() 316 struct uart_8250_port uart; in lpss8250_probe() 336 memset(&uart, 0, sizeof(struct uart_8250_port)); in lpss8250_probe()
|
A D | 8250_mid.c | 84 struct uart_8250_port *up = up_to_u8250p(p); in tng_handle_irq() 140 struct uart_8250_port *up = up_to_u8250p(p); in dnv_handle_irq() 255 static int mid8250_dma_setup(struct mid8250 *mid, struct uart_8250_port *port) in mid8250_dma_setup() 292 struct uart_8250_port uart; in mid8250_probe() 308 memset(&uart, 0, sizeof(struct uart_8250_port)); in mid8250_probe()
|
A D | 8250_bcm2835aux.c | 52 static void bcm2835aux_rs485_start_tx(struct uart_8250_port *up) in bcm2835aux_rs485_start_tx() 71 static void bcm2835aux_rs485_stop_tx(struct uart_8250_port *up) in bcm2835aux_rs485_stop_tx() 89 struct uart_8250_port up = { }; in bcm2835aux_serial_probe()
|
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_of.c | 32 int type, struct uart_8250_port *up, in of_platform_serial_setup() 200 struct uart_8250_port port8250; in of_platform_serial_probe() 281 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend() 296 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_resume()
|
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_fintek.c | 344 static void fintek_8250_set_termios_handler(struct uart_8250_port *uart) in fintek_8250_set_termios_handler() 361 struct uart_8250_port *uart) in probe_setup_port() 424 static void fintek_8250_set_rs485_handler(struct uart_8250_port *uart) in fintek_8250_set_rs485_handler() 446 int fintek_8250_probe(struct uart_8250_port *uart) in fintek_8250_probe()
|
A D | 8250_dfl.c | 52 static int dfl_uart_get_params(struct dfl_device *dfl_dev, struct uart_8250_port *uart) in dfl_uart_get_params() 112 struct uart_8250_port uart = { }; in dfl_uart_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()
|
/linux-6.3-rc2/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 *); 77 void (*setup_timer)(struct uart_8250_port *); 95 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 177 void serial8250_tx_chars(struct uart_8250_port *up); [all …]
|