Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dserial_8250.h15 struct uart_8250_port;
23 * @dl_read: ``u32 ()(struct uart_8250_port *up)``
27 * @dl_write: ``void ()(struct uart_8250_port *up, u32 value)``
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 *por
124 struct uart_8250_port { global() struct
125 portuart_8250_port global() argument
126 timeruart_8250_port global() argument
127 listuart_8250_port global() argument
128 capabilitiesuart_8250_port global() argument
129 bugsuart_8250_port global() argument
130 tx_loadszuart_8250_port global() argument
131 acruart_8250_port global() argument
132 fcruart_8250_port global() argument
133 ieruart_8250_port global() argument
134 lcruart_8250_port global() argument
135 mcruart_8250_port global() argument
136 cur_iotypeuart_8250_port global() argument
160 dl_readuart_8250_port global() argument
161 dl_writeuart_8250_port global() argument
164 rs485_start_txuart_8250_port global() argument
165 rs485_stop_txuart_8250_port global() argument
172 overrun_backoff_time_msuart_8250_port up_to_u8250p() argument
[all...]
/linux/drivers/tty/serial/8250/
H A D8250_core.c80 struct uart_8250_port *up; in serial8250_interrupt()
83 up = list_entry(l, struct uart_8250_port, list); in serial8250_interrupt()
112 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink()
132 static int serial_link_irq_chain(struct uart_8250_port *up) in serial_link_irq_chain()
178 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain()
209 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_timeout()
217 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_backup_timeout()
262 static void univ8250_setup_timer(struct uart_8250_port *up) in univ8250_setup_timer()
287 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq()
297 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq()
[all …]
H A D8250_rsa.c17 static int rsa8250_request_resource(struct uart_8250_port *up) in rsa8250_request_resource()
38 static void rsa8250_release_resource(struct uart_8250_port *up) in rsa8250_release_resource()
54 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port()
79 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port()
94 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port()
H A D8250_aspeed_vuart.c39 struct uart_8250_port *port;
249 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_startup() local
250 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_startup()
264 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); in aspeed_vuart_shutdown() local
265 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_shutdown()
272 static void __aspeed_vuart_set_throttle(struct uart_8250_port *up, in __aspeed_vuart_set_throttle()
287 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_set_throttle()
308 struct uart_8250_port *up = vuart->port; in aspeed_vuart_unthrottle_exp()
332 struct uart_8250_port *up = up_to_u8250p(port); in aspeed_vuart_handle_irq()
418 struct uart_8250_port port; in aspeed_vuart_probe()
H A 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()
212 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_shutdown()
227 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask) in mtk8250_disable_intrs()
235 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs()
243 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl()
315 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios()
[all …]
H A 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()
246 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_suspend()
259 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_resume()
H A D8250_exar.c232 int (*register_gpio)(struct pci_dev *pcidev, struct uart_8250_port *port);
233 void (*unregister_gpio)(struct uart_8250_port *port);
247 struct uart_8250_port *port, int idx);
480 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown()
500 struct uart_8250_port *port) in default_setup()
537 struct uart_8250_port *port, int idx) in pci_fastcom335_setup()
827 struct uart_8250_port *port) in cti_port_setup_common()
871 struct uart_8250_port *port, in cti_port_setup_fpga()
910 struct uart_8250_port *port, in cti_port_setup_xr17v35x()
975 struct uart_8250_port *port, in cti_port_setup_xr17v25x()
[all …]
H A 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()
H A D8250_bcm7271.c366 static void start_rx_dma(struct uart_8250_port *p) in start_rx_dma()
387 static void stop_rx_dma(struct uart_8250_port *p) in stop_rx_dma()
396 static int stop_tx_dma(struct uart_8250_port *p) in stop_tx_dma()
413 static int brcmuart_tx_dma(struct uart_8250_port *p) in brcmuart_tx_dma()
540 struct uart_8250_port *port_8250 = up_to_u8250p(up); in brcmuart_tx_isr()
588 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_startup()
625 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_shutdown()
778 struct uart_8250_port *p8250 = up_to_u8250p(up); in brcmstb_set_termios()
795 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_handle_irq()
843 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_hrtimer_func()
[all …]
H A D8250_tegra.c45 struct uart_8250_port port8250; in tegra_uart_probe()
136 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_suspend()
150 struct uart_8250_port *port8250 = serial8250_get_port(uart->line); in tegra_uart_resume()
H A D8250_dw.c112 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_force_idle()
170 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_tx_wait_empty()
261 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq()
317 struct uart_8250_port *up; in dw8250_clk_work_cb()
392 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc()
434 static void dw8250_prepare_tx_dma(struct uart_8250_port *p) in dw8250_prepare_tx_dma()
447 static void dw8250_prepare_rx_dma(struct uart_8250_port *p) in dw8250_prepare_rx_dma()
511 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe()
H A D8250_pci.c117 struct uart_8250_port *, int);
151 const struct pciserial_board*, struct uart_8250_port *, int);
165 setup_port(struct serial_private *priv, struct uart_8250_port *port, in setup_port()
176 struct uart_8250_port *port, int idx) in addidata_apci7800_setup()
203 struct uart_8250_port *port, int idx) in afavlab_setup()
258 struct uart_8250_port *port, int idx) in pci_hp_diva_setup()
427 struct uart_8250_port *port, int idx) in sbs_setup()
582 struct uart_8250_port *port, int idx) in pci_siig_setup()
675 struct uart_8250_port *port, int idx) in pci_timedia_setup()
709 struct uart_8250_port *port, int idx) in titan_400l_800l_setup()
[all …]
H A 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()
313 struct uart_8250_port uart; in lpss8250_probe()
333 memset(&uart, 0, sizeof(struct uart_8250_port)); in lpss8250_probe()
H A D8250_mid.c83 struct uart_8250_port *up = up_to_u8250p(p); in tng_handle_irq()
139 struct uart_8250_port *up = up_to_u8250p(p); in dnv_handle_irq()
253 static int mid8250_dma_setup(struct mid8250 *mid, struct uart_8250_port *port) in mid8250_dma_setup()
290 struct uart_8250_port uart; in mid8250_probe()
304 memset(&uart, 0, sizeof(struct uart_8250_port)); in mid8250_probe()
H A 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()
H A 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()
H A D8250_fintek.c350 static void fintek_8250_set_termios_handler(struct uart_8250_port *uart) in fintek_8250_set_termios_handler()
368 struct uart_8250_port *uart) in probe_setup_port()
431 static void fintek_8250_set_rs485_handler(struct uart_8250_port *uart) in fintek_8250_set_rs485_handler()
458 int fintek_8250_probe(struct uart_8250_port *uart) in fintek_8250_probe()
H A 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()
H A 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()
H A D8250_pxa.c63 static void serial_pxa_dl_write(struct uart_8250_port *up, u32 value) in serial_pxa_dl_write()
92 struct uart_8250_port uart = {}; in serial_pxa_probe()
H A D8250_fsl.c31 struct uart_8250_port *up = up_to_u8250p(port); in fsl8250_handle_irq()
109 struct uart_8250_port port8250; in fsl8250_acpi_probe()
H A D8250_pci1xxxx.c487 struct uart_8250_port *up = up_to_u8250p(port); in pci1xxxx_tx_burst()
555 struct uart_8250_port *up = serial8250_get_port(line); in pci1xxxx_port_suspend()
582 struct uart_8250_port *up = serial8250_get_port(line); in pci1xxxx_port_resume()
664 struct uart_8250_port *port, int port_idx, int rev) in pci1xxxx_setup()
757 struct uart_8250_port uart; in pci1xxxx_serial_probe()
H A D8250_lpc18xx.c38 struct uart_8250_port *up = up_to_u8250p(port); in lpc18xx_rs485_config()
93 struct uart_8250_port uart; in lpc18xx_serial_probe()
H A D8250_men_mcb.c185 struct uart_8250_port uart; in serial_8250_men_mcb_probe()
211 memset(&uart, 0, sizeof(struct uart_8250_port)); in serial_8250_men_mcb_probe()
H A D8250_pericom.c73 struct uart_8250_port *up = up_to_u8250p(port); in pericom_do_set_divisor()
89 struct uart_8250_port uart; in pericom8250_probe()

12