Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/tty/serial/8250/
D8250.h17 int (*tx_dma)(struct uart_8250_port *p);
18 int (*rx_dma)(struct uart_8250_port *p);
111 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in()
116 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out()
121 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p);
123 static inline int serial_dl_read(struct uart_8250_port *up) in serial_dl_read()
128 static inline void serial_dl_write(struct uart_8250_port *up, int value) in serial_dl_write()
133 static inline bool serial8250_set_THRI(struct uart_8250_port *up) in serial8250_set_THRI()
142 static inline bool serial8250_clear_THRI(struct uart_8250_port *up) in serial8250_clear_THRI()
151 struct uart_8250_port *serial8250_get_port(int line);
[all …]
D8250_port.c315 static int default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read()
321 static void default_serial_dl_write(struct uart_8250_port *up, int value) in default_serial_dl_write()
373 static int au_serial_dl_read(struct uart_8250_port *up) in au_serial_dl_read()
378 static void au_serial_dl_write(struct uart_8250_port *up, int value) in au_serial_dl_write()
463 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio()
533 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write()
539 static unsigned int serial_icr_read(struct uart_8250_port *up, int offset) in serial_icr_read()
554 static void serial8250_clear_fifos(struct uart_8250_port *p) in serial8250_clear_fifos()
564 static inline void serial8250_em485_rts_after_send(struct uart_8250_port *p) in serial8250_em485_rts_after_send()
578 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p) in serial8250_clear_and_reinit_fifos()
[all …]
D8250_core.c120 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()
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 int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq()
343 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq()
354 static int serial8250_request_rsa_resource(struct uart_8250_port *up) in serial8250_request_rsa_resource()
[all …]
D8250_aspeed_vuart.c38 struct uart_8250_port *port;
174 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_startup() local
175 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_startup()
189 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_shutdown() local
190 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_shutdown()
197 static void __aspeed_vuart_set_throttle(struct uart_8250_port *up, in __aspeed_vuart_set_throttle()
209 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_set_throttle()
230 struct uart_8250_port *up = vuart->port; in aspeed_vuart_unthrottle_exp()
254 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_handle_irq()
307 struct uart_8250_port port; in aspeed_vuart_probe()
D8250_omap.c126 static void omap_8250_rx_dma_flush(struct uart_8250_port *p);
128 static inline void omap_8250_rx_dma_flush(struct uart_8250_port *p) { } in omap_8250_rx_dma_flush()
131 static u32 uart_read(struct uart_8250_port *up, u32 reg) in uart_read()
138 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_set_mctrl()
169 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset()
243 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr()
263 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1()
272 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs()
336 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios()
501 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm()
[all …]
D8250_dma.c16 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()
D8250_exar.c108 int (*register_gpio)(struct pci_dev *, struct uart_8250_port *);
122 struct uart_8250_port *, int);
173 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown()
191 struct uart_8250_port *port) in default_setup()
227 struct uart_8250_port *port, int idx) in pci_fastcom335_setup()
275 struct uart_8250_port *port, int idx) in pci_connect_tech_setup()
286 struct uart_8250_port *port, int idx) in pci_xr17c154_setup()
347 struct uart_8250_port *port) in xr17v35x_register_gpio()
424 struct uart_8250_port *port) in iot2040_register_gpio()
461 struct uart_8250_port *port, int idx) in pci_xr17v35x_setup()
[all …]
D8250_mtk.c84 static void mtk8250_rx_dma(struct uart_8250_port *up);
88 struct uart_8250_port *up = param; in mtk8250_dma_rx_complete()
124 static void mtk8250_rx_dma(struct uart_8250_port *up) in mtk8250_rx_dma()
145 static void mtk8250_dma_enable(struct uart_8250_port *up) in mtk8250_dma_enable()
183 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_startup()
203 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_shutdown()
213 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask) in mtk8250_disable_intrs()
218 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs()
223 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl()
292 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios()
[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()
84 struct uart_8250_port up; in serial8250_em_probe()
D8250_fintek.c288 static void fintek_8250_goto_highspeed(struct uart_8250_port *uart, in fintek_8250_goto_highspeed()
370 static void fintek_8250_set_termios_handler(struct uart_8250_port *uart) in fintek_8250_set_termios_handler()
386 struct uart_8250_port *uart) in probe_setup_port()
439 static void fintek_8250_set_rs485_handler(struct uart_8250_port *uart) in fintek_8250_set_rs485_handler()
456 int fintek_8250_probe(struct uart_8250_port *uart) in fintek_8250_probe()
D8250_pci.c42 struct uart_8250_port *, int);
72 const struct pciserial_board*, struct uart_8250_port *, int);
87 setup_port(struct serial_private *priv, struct uart_8250_port *port, in setup_port()
119 struct uart_8250_port *port, int idx) in addidata_apci7800_setup()
146 struct uart_8250_port *port, int idx) in afavlab_setup()
201 struct uart_8250_port *port, int idx) in pci_hp_diva_setup()
370 struct uart_8250_port *port, int idx) in sbs_setup()
525 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_mid.c79 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()
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_pxa.c65 static void serial_pxa_dl_write(struct uart_8250_port *up, int value) in serial_pxa_dl_write()
94 struct uart_8250_port uart = {}; in serial_pxa_probe()
D8250_of.c212 struct uart_8250_port port8250; in of_platform_serial_probe()
289 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend()
304 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_resume()
D8250_lpss.c255 static int lpss8250_dma_setup(struct lpss8250 *lpss, struct uart_8250_port *port) in lpss8250_dma_setup()
288 struct uart_8250_port uart; in lpss8250_probe()
302 memset(&uart, 0, sizeof(struct uart_8250_port)); in lpss8250_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()
D8250_hp300.c160 struct uart_8250_port uart; in hpdca_init_one()
209 struct uart_8250_port uart; in hp300_8250_init()
D8250_dw.c72 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_force_idle()
224 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq()
309 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc()
387 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe()
D8250_fsl.c32 struct uart_8250_port *up = up_to_u8250p(port); in fsl8250_handle_irq()
D8250_gsc.c25 struct uart_8250_port uart; in serial_init_chip()
D8250_dwlib.c82 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_setup_port()
/Linux-v5.4/include/linux/
Dserial_8250.h63 struct uart_8250_port;
74 int (*setup_irq)(struct uart_8250_port *);
75 void (*release_irq)(struct uart_8250_port *);
82 struct uart_8250_port *port; /* for hrtimer callbacks */
92 struct uart_8250_port { struct
130 int (*dl_read)(struct uart_8250_port *); argument
131 void (*dl_write)(struct uart_8250_port *, int); argument
140 static inline struct uart_8250_port *up_to_u8250p(struct uart_port *up) in up_to_u8250p() argument
142 return container_of(up, struct uart_8250_port, port); in up_to_u8250p()
145 int serial8250_register_8250_port(struct uart_8250_port *);
[all …]
/Linux-v5.4/drivers/misc/ibmasm/
Duart.c22 struct uart_8250_port uart; in ibmasm_register_uart()

12