Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/tty/serial/8250/
D8250.h18 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);
115 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in()
120 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out()
135 static inline u16 serial_lsr_in(struct uart_8250_port *up) in serial_lsr_in()
148 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write()
154 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up, in serial_icr_read()
167 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p);
[all …]
D8250_port.c336 static u32 default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read()
346 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in default_serial_dl_write()
430 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio()
491 static void serial8250_clear_fifos(struct uart_8250_port *p) in serial8250_clear_fifos()
504 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p) in serial8250_clear_and_reinit_fifos()
511 void serial8250_rpm_get(struct uart_8250_port *p) in serial8250_rpm_get()
519 void serial8250_rpm_put(struct uart_8250_port *p) in serial8250_rpm_put()
548 static int serial8250_em485_init(struct uart_8250_port *p) in serial8250_em485_init()
590 void serial8250_em485_destroy(struct uart_8250_port *p) in serial8250_em485_destroy()
624 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config()
[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()
219 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain()
250 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_timeout()
258 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_backup_timeout()
302 static void univ8250_setup_timer(struct uart_8250_port *up) in univ8250_setup_timer()
327 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq()
337 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq()
[all …]
D8250_omap.c158 static void omap_8250_rx_dma_flush(struct uart_8250_port *p);
160 static inline void omap_8250_rx_dma_flush(struct uart_8250_port *p) { } in omap_8250_rx_dma_flush()
174 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl()
219 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset()
271 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr()
291 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1()
300 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs()
375 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()
550 static void omap_serial_fill_features_erratas(struct uart_8250_port *up, in omap_serial_fill_features_erratas()
[all …]
D8250_aspeed_vuart.c40 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()
288 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_set_throttle()
309 struct uart_8250_port *up = vuart->port; in aspeed_vuart_unthrottle_exp()
333 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_handle_irq()
418 struct uart_8250_port port; in aspeed_vuart_probe()
D8250_dma.c16 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()
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()
231 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs()
239 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl()
311 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios()
[all …]
D8250_exar.c128 int (*register_gpio)(struct pci_dev *, struct uart_8250_port *);
129 void (*unregister_gpio)(struct uart_8250_port *);
143 struct uart_8250_port *, int);
214 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown()
233 struct uart_8250_port *port) in default_setup()
271 struct uart_8250_port *port, int idx) in pci_fastcom335_setup()
319 struct uart_8250_port *port, int idx) in pci_connect_tech_setup()
330 struct uart_8250_port *port, int idx) in pci_xr17c154_setup()
409 static int xr17v35x_register_gpio(struct pci_dev *pcidev, struct uart_8250_port *port) in xr17v35x_register_gpio()
418 static void xr17v35x_unregister_gpio(struct uart_8250_port *port) in xr17v35x_unregister_gpio()
[all …]
D8250_pcilib.h12 struct uart_8250_port;
14 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, u8 bar,
D8250_uniphier.c148 static u32 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, u32 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_rt288x.c55 static u32 au_serial_dl_read(struct uart_8250_port *up) in au_serial_dl_read()
60 static void au_serial_dl_write(struct uart_8250_port *up, u32 value) in au_serial_dl_write()
84 struct uart_8250_port *up = up_to_u8250p(p); in rt288x_setup()
D8250_bcm7271.c367 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()
543 struct uart_8250_port *port_8250 = up_to_u8250p(up); in brcmuart_tx_isr()
591 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_startup()
628 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_shutdown()
762 struct uart_8250_port *p8250 = up_to_u8250p(up); in brcmstb_set_termios()
779 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_handle_irq()
827 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_hrtimer_func()
[all …]
D8250_pci.c44 struct uart_8250_port *, int);
78 const struct pciserial_board*, struct uart_8250_port *, int);
92 setup_port(struct serial_private *priv, struct uart_8250_port *port, in setup_port()
103 struct uart_8250_port *port, int idx) in addidata_apci7800_setup()
130 struct uart_8250_port *port, int idx) in afavlab_setup()
185 struct uart_8250_port *port, int idx) in pci_hp_diva_setup()
354 struct uart_8250_port *port, int idx) in sbs_setup()
509 struct uart_8250_port *port, int idx) in pci_siig_setup()
602 struct uart_8250_port *port, int idx) in pci_timedia_setup()
636 struct uart_8250_port *port, int idx) in titan_400l_800l_setup()
[all …]
D8250_tegra.c45 struct uart_8250_port port8250; in tegra_uart_probe()
146 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_suspend()
160 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_resume()
D8250_dw.c85 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()
D8250_lpss.c167 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()
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()
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()
D8250_bcm2835aux.c52 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()
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_em.c142 static u32 serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_dl_read()
147 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, u32 value) in serial8250_em_serial_dl_write()
157 struct uart_8250_port up; in serial8250_em_probe()
D8250_of.c32 int type, struct uart_8250_port *up, in of_platform_serial_setup()
202 struct uart_8250_port port8250; in of_platform_serial_probe()
283 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend()
298 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.c344 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()
D8250_dfl.c52 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()
/Linux-v6.6/include/linux/
Dserial_8250.h15 struct uart_8250_port;
51 u32 (*dl_read)(struct uart_8250_port *up);
52 void (*dl_write)(struct uart_8250_port *up, u32 value);
84 struct uart_8250_port;
95 int (*setup_irq)(struct uart_8250_port *);
96 void (*release_irq)(struct uart_8250_port *);
97 void (*setup_timer)(struct uart_8250_port *);
104 struct uart_8250_port *port; /* for hrtimer callbacks */
124 struct uart_8250_port { struct
160 u32 (*dl_read)(struct uart_8250_port *up); argument
[all …]

12