/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250.h | 17 int (*tx_dma)(struct uart_8250_port *p); 18 int (*rx_dma)(struct uart_8250_port *p); 112 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in() 117 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() 122 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p); 124 static inline int serial_dl_read(struct uart_8250_port *up) in serial_dl_read() 129 static inline void serial_dl_write(struct uart_8250_port *up, int value) in serial_dl_write() 134 static inline bool serial8250_set_THRI(struct uart_8250_port *up) in serial8250_set_THRI() 143 static inline bool serial8250_clear_THRI(struct uart_8250_port *up) in serial8250_clear_THRI() 152 struct uart_8250_port *serial8250_get_port(int line); [all …]
|
D | 8250_port.c | 313 static int default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read() 323 static void default_serial_dl_write(struct uart_8250_port *up, int value) in default_serial_dl_write() 375 static int au_serial_dl_read(struct uart_8250_port *up) in au_serial_dl_read() 380 static void au_serial_dl_write(struct uart_8250_port *up, int value) in au_serial_dl_write() 465 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() 535 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write() 541 static unsigned int serial_icr_read(struct uart_8250_port *up, int offset) in serial_icr_read() 556 static void serial8250_clear_fifos(struct uart_8250_port *p) in serial8250_clear_fifos() 569 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p) in serial8250_clear_and_reinit_fifos() 576 void serial8250_rpm_get(struct uart_8250_port *p) in serial8250_rpm_get() [all …]
|
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() 152 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink() 172 static int serial_link_irq_chain(struct uart_8250_port *up) in serial_link_irq_chain() 221 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain() 259 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_timeout() 267 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_backup_timeout() 312 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq() 342 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq() 353 static int serial8250_request_rsa_resource(struct uart_8250_port *up) in serial8250_request_rsa_resource() [all …]
|
D | 8250_omap.c | 150 static void omap_8250_rx_dma_flush(struct uart_8250_port *p); 152 static inline void omap_8250_rx_dma_flush(struct uart_8250_port *p) { } in omap_8250_rx_dma_flush() 155 static u32 uart_read(struct uart_8250_port *up, u32 reg) in uart_read() 162 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_set_mctrl() 193 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset() 262 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr() 282 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1() 291 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs() 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() [all …]
|
D | 8250_aspeed_vuart.c | 37 struct uart_8250_port *port; 218 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_startup() local 219 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_startup() 233 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_shutdown() local 234 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_shutdown() 241 static void __aspeed_vuart_set_throttle(struct uart_8250_port *up, in __aspeed_vuart_set_throttle() 253 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_set_throttle() 274 struct uart_8250_port *up = vuart->port; in aspeed_vuart_unthrottle_exp() 298 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_handle_irq() 373 struct uart_8250_port port; in aspeed_vuart_probe()
|
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()
|
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() 229 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl() 298 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios() [all …]
|
D | 8250_exar.c | 116 int (*register_gpio)(struct pci_dev *, struct uart_8250_port *); 130 struct uart_8250_port *, int); 198 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown() 216 struct uart_8250_port *port) in default_setup() 254 struct uart_8250_port *port, int idx) in pci_fastcom335_setup() 302 struct uart_8250_port *port, int idx) in pci_connect_tech_setup() 313 struct uart_8250_port *port, int idx) in pci_xr17c154_setup() 384 struct uart_8250_port *port) in xr17v35x_register_gpio() 461 struct uart_8250_port *port) in iot2040_register_gpio() 498 struct uart_8250_port *port, int idx) in pci_xr17v35x_setup() [all …]
|
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()
|
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()
|
D | 8250_tegra.c | 43 struct uart_8250_port port8250; in tegra_uart_probe() 142 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_suspend() 156 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_resume()
|
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()
|
D | 8250_pci.c | 42 struct uart_8250_port *, int); 74 const struct pciserial_board*, struct uart_8250_port *, int); 89 setup_port(struct serial_private *priv, struct uart_8250_port *port, in setup_port() 121 struct uart_8250_port *port, int idx) in addidata_apci7800_setup() 148 struct uart_8250_port *port, int idx) in afavlab_setup() 203 struct uart_8250_port *port, int idx) in pci_hp_diva_setup() 372 struct uart_8250_port *port, int idx) in sbs_setup() 527 struct uart_8250_port *port, int idx) in pci_siig_setup() 621 struct uart_8250_port *port, int idx) in pci_timedia_setup() 655 struct uart_8250_port *port, int idx) in titan_400l_800l_setup() [all …]
|
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()
|
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()
|
D | 8250_of.c | 32 int type, struct uart_8250_port *up, in of_platform_serial_setup() 199 struct uart_8250_port port8250; in of_platform_serial_probe() 276 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend() 291 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_resume()
|
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()
|
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()
|
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()
|
D | 8250_fsl.c | 35 struct uart_8250_port *up = up_to_u8250p(port); in fsl8250_handle_irq() 94 struct uart_8250_port port8250; in fsl8250_acpi_probe()
|
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() 362 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc() 440 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe()
|
D | 8250_lpss.c | 249 static int lpss8250_dma_setup(struct lpss8250 *lpss, struct uart_8250_port *port) in lpss8250_dma_setup() 282 struct uart_8250_port uart; in lpss8250_probe() 302 memset(&uart, 0, sizeof(struct uart_8250_port)); in lpss8250_probe()
|
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()
|
/kernel/linux/linux-5.10/include/linux/ |
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 *); 83 struct uart_8250_port *port; /* for hrtimer callbacks */ 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 144 static inline struct uart_8250_port *up_to_u8250p(struct uart_port *up) in up_to_u8250p() argument [all …]
|
/kernel/linux/linux-5.10/drivers/misc/ibmasm/ |
D | uart.c | 22 struct uart_8250_port uart; in ibmasm_register_uart()
|