Home
last modified time | relevance | path

Searched refs:uart_8250_port (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250.h17 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()
125 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write()
131 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up, in serial_icr_read()
144 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p);
146 static inline int serial_dl_read(struct uart_8250_port *up) in serial_dl_read()
151 static inline void serial_dl_write(struct uart_8250_port *up, int value) in serial_dl_write()
156 static inline bool serial8250_set_THRI(struct uart_8250_port *up) in serial8250_set_THRI()
[all …]
D8250_port.c314 static int default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read()
324 static void default_serial_dl_write(struct uart_8250_port *up, int value) in default_serial_dl_write()
376 static int au_serial_dl_read(struct uart_8250_port *up) in au_serial_dl_read()
381 static void au_serial_dl_write(struct uart_8250_port *up, int value) in au_serial_dl_write()
466 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio()
536 static void serial8250_clear_fifos(struct uart_8250_port *p) in serial8250_clear_fifos()
549 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p) in serial8250_clear_and_reinit_fifos()
556 void serial8250_rpm_get(struct uart_8250_port *p) in serial8250_rpm_get()
564 void serial8250_rpm_put(struct uart_8250_port *p) in serial8250_rpm_put()
593 static int serial8250_em485_init(struct uart_8250_port *p) in serial8250_em485_init()
[all …]
D8250_core.c121 struct uart_8250_port *up; in serial8250_interrupt()
124 up = list_entry(l, struct uart_8250_port, list); in serial8250_interrupt()
153 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink()
173 static int serial_link_irq_chain(struct uart_8250_port *up) in serial_link_irq_chain()
222 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain()
260 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_timeout()
268 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_backup_timeout()
313 static void univ8250_setup_timer(struct uart_8250_port *up) in univ8250_setup_timer()
338 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq()
348 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq()
[all …]
D8250_omap.c150 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()
166 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl()
211 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset()
263 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr()
283 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1()
292 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs()
361 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios()
526 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm()
[all …]
D8250_aspeed_vuart.c37 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()
D8250_dma.c16 struct uart_8250_port *p = param; in __dma_tx_complete()
45 struct uart_8250_port *p = param; in __dma_rx_complete()
72 struct uart_8250_port *p = param; in dma_rx_complete()
82 int serial8250_tx_dma(struct uart_8250_port *p) in serial8250_tx_dma()
138 int serial8250_rx_dma(struct uart_8250_port *p) in serial8250_rx_dma()
163 void serial8250_rx_dma_flush(struct uart_8250_port *p) in serial8250_rx_dma_flush()
175 int serial8250_request_dma(struct uart_8250_port *p) in serial8250_request_dma()
271 void serial8250_release_dma(struct uart_8250_port *p) in serial8250_release_dma()
D8250_mtk.c89 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()
233 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl()
302 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios()
[all …]
D8250_exar.c126 int (*register_gpio)(struct pci_dev *, struct uart_8250_port *);
140 struct uart_8250_port *, int);
208 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown()
226 struct uart_8250_port *port) in default_setup()
264 struct uart_8250_port *port, int idx) in pci_fastcom335_setup()
312 struct uart_8250_port *port, int idx) in pci_connect_tech_setup()
323 struct uart_8250_port *port, int idx) in pci_xr17c154_setup()
394 struct uart_8250_port *port) in xr17v35x_register_gpio()
471 struct uart_8250_port *port) in iot2040_register_gpio()
508 struct uart_8250_port *port, int idx) in pci_xr17v35x_setup()
[all …]
D8250_uniphier.c148 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()
D8250_em.c68 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()
D8250_bcm2835aux.c47 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()
D8250_tegra.c43 struct uart_8250_port port8250; in tegra_uart_probe()
144 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_suspend()
158 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_resume()
D8250_pci.c42 struct uart_8250_port *, int);
74 const struct pciserial_board*, struct uart_8250_port *, int);
88 setup_port(struct serial_private *priv, struct uart_8250_port *port, in setup_port()
120 struct uart_8250_port *port, int idx) in addidata_apci7800_setup()
147 struct uart_8250_port *port, int idx) in afavlab_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()
526 struct uart_8250_port *port, int idx) in pci_siig_setup()
619 struct uart_8250_port *port, int idx) in pci_timedia_setup()
653 struct uart_8250_port *port, int idx) in titan_400l_800l_setup()
[all …]
D8250_ioc3.c37 struct uart_8250_port up; in serial8250_ioc3_probe()
59 memset(&up, 0, sizeof(struct uart_8250_port)); in serial8250_ioc3_probe()
D8250_mid.c84 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()
256 static int mid8250_dma_setup(struct mid8250 *mid, struct uart_8250_port *port) in mid8250_dma_setup()
293 struct uart_8250_port uart; in mid8250_probe()
309 memset(&uart, 0, sizeof(struct uart_8250_port)); in mid8250_probe()
D8250_of.c32 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()
D8250_acorn.c43 struct uart_8250_port uart; in serial_card_probe()
62 memset(&uart, 0, sizeof(struct uart_8250_port)); in serial_card_probe()
D8250_fintek.c358 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()
D8250_dw.c86 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_force_idle()
127 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_tx_wait_empty()
241 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq()
283 struct uart_8250_port *up; in dw8250_clk_work_cb()
365 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc()
443 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe()
D8250_lpss.c175 struct uart_8250_port *up = serial8250_get_port(lpss->data.line); in ehl_serial_exit()
265 static int lpss8250_dma_setup(struct lpss8250 *lpss, struct uart_8250_port *port) in lpss8250_dma_setup()
305 struct uart_8250_port uart; in lpss8250_probe()
325 memset(&uart, 0, sizeof(struct uart_8250_port)); in lpss8250_probe()
D8250_pxa.c64 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()
D8250_fsl.c35 struct uart_8250_port *up = up_to_u8250p(port); in fsl8250_handle_irq()
94 struct uart_8250_port port8250; in fsl8250_acpi_probe()
D8250_lpc18xx.c38 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/
Dserial_8250.h64 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 *);
84 struct uart_8250_port *port; /* for hrtimer callbacks */
95 struct uart_8250_port { struct
133 int (*dl_read)(struct uart_8250_port *); argument
134 void (*dl_write)(struct uart_8250_port *, int); argument
137 void (*rs485_start_tx)(struct uart_8250_port *); argument
138 void (*rs485_stop_tx)(struct uart_8250_port *); argument
[all …]
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
Duart.c22 struct uart_8250_port uart; in ibmasm_register_uart()

12