Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/tty/serial/8250/
H A 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);
224 struct uart_8250_port *serial8250_get_port(int line);
226 void serial8250_rpm_get(struct uart_8250_port *p);
227 void serial8250_rpm_put(struct uart_8250_port *p);
229 void serial8250_rpm_get_tx(struct uart_8250_port *p);
230 void serial8250_rpm_put_tx(struct uart_8250_port *p);
332 int fintek_8250_probe(struct uart_8250_port *uart);
[all …]
H A D8250_port.c431 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio()
520 void serial8250_rpm_get(struct uart_8250_port *p) in serial8250_rpm_get()
528 void serial8250_rpm_put(struct uart_8250_port *p) in serial8250_rpm_put()
631 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config()
745 static void enable_rsa(struct uart_8250_port *up) in enable_rsa()
793 static int size_fifo(struct uart_8250_port *up) in size_fifo()
962 static int broken_efr(struct uart_8250_port *up) in broken_efr()
1383 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_stop_rx()
1436 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_stop_tx()
1626 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_start_tx()
[all …]
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()
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()
330 struct uart_8250_port *serial8250_get_port(int line) in serial8250_get_port()
343 struct uart_8250_port *up; in serial8250_setup_port()
371 struct uart_8250_port *up = &serial8250_ports[i]; in serial8250_register_ports()
401 struct uart_8250_port *up; in univ8250_console_setup()
582 struct uart_8250_port *up = &serial8250_ports[line]; in serial8250_suspend_port()
670 struct uart_8250_port *up = in serial_8250_overrun_backoff_work()
[all …]
H A D8250_rsa.c17 static int rsa8250_request_resource(struct uart_8250_port *up) in rsa8250_request_resource()
35 static void rsa8250_release_resource(struct uart_8250_port *up) in rsa8250_release_resource()
51 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port()
76 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port()
91 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port()
H A 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()
152 void serial8250_tx_dma_flush(struct uart_8250_port *p) in serial8250_tx_dma_flush()
168 int serial8250_rx_dma(struct uart_8250_port *p) in serial8250_rx_dma()
195 void serial8250_rx_dma_flush(struct uart_8250_port *p) in serial8250_rx_dma_flush()
207 int serial8250_request_dma(struct uart_8250_port *p) in serial8250_request_dma()
303 void serial8250_release_dma(struct uart_8250_port *p) in serial8250_release_dma()
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_omap.c178 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl()
379 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios()
536 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm()
718 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_startup()
782 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_shutdown()
985 struct uart_8250_port *p = param; in __dma_rx_complete()
1107 struct uart_8250_port *p = param; in omap_8250_dma_tx_complete()
1424 struct uart_8250_port up; in omap8250_probe()
1616 struct uart_8250_port *up; in omap8250_remove()
1759 struct uart_8250_port *up = NULL; in omap8250_runtime_suspend()
[all …]
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()
315 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios()
432 struct uart_8250_port *up = serial8250_get_port(data->line); in mtk8250_runtime_suspend()
[all …]
H A D8250_ni.c105 struct uart_8250_port *up = container_of(port, struct uart_8250_port, port); in ni16550_rs485_config()
129 static bool is_pmr_rs232_mode(struct uart_8250_port *up) in is_pmr_rs232_mode()
155 static void ni16550_config_prescaler(struct uart_8250_port *up, in ni16550_config_prescaler()
259 static u8 ni16550_read_fifo_size(struct uart_8250_port *uart, int reg) in ni16550_read_fifo_size()
271 struct uart_8250_port *up = up_to_u8250p(port); in ni16550_set_mctrl()
281 struct uart_8250_port uart = {}; in ni16550_probe()
H A D8250_pcilib.h12 struct uart_8250_port;
14 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, u8 bar,
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_platform.c83 struct uart_8250_port *up = serial8250_get_port(i); in __serial8250_isa_init_ports()
113 struct uart_8250_port uart = { }; in serial8250_probe_acpi()
156 struct uart_8250_port uart; in serial8250_probe_platform()
236 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_remove()
248 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_suspend()
262 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_resume()
H A D8250_exar.c247 struct uart_8250_port *port, int idx);
500 struct uart_8250_port *port) in default_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()
1053 struct uart_8250_port *port, in cti_port_setup_xr17c15x()
1097 struct uart_8250_port *port, int idx) in pci_xr17c154_setup()
1288 struct uart_8250_port *port) in iot2040_register_gpio()
1338 struct uart_8250_port *port, int idx) in pci_xr17v35x_setup()
[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_bcm2835aux.c49 static void bcm2835aux_rs485_start_tx(struct uart_8250_port *up, bool toggle_ier) in bcm2835aux_rs485_start_tx()
68 static void bcm2835aux_rs485_stop_tx(struct uart_8250_port *up, bool toggle_ier) in bcm2835aux_rs485_stop_tx()
86 struct uart_8250_port up = { }; in bcm2835aux_serial_probe()
220 struct uart_8250_port *up = serial8250_get_port(data->line); in bcm2835aux_can_disable_clock()
H A D8250_of.c72 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_platform_serial_clk_notifier_cb()
87 int type, struct uart_8250_port *up, in of_platform_serial_setup()
193 struct uart_8250_port port8250; in of_platform_serial_probe()
285 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend()
300 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_resume()
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()
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()
956 struct uart_8250_port *new_port; in brcmuart_probe()
[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.c117 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_force_idle()
187 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_tx_wait_empty()
278 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq()
334 struct uart_8250_port *up; in dw8250_clk_work_cb()
409 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc()
463 static void dw8250_prepare_tx_dma(struct uart_8250_port *p) in dw8250_prepare_tx_dma()
476 static void dw8250_prepare_rx_dma(struct uart_8250_port *p) in dw8250_prepare_rx_dma()
532 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe()
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_pci.c117 struct uart_8250_port *, int);
176 struct uart_8250_port *port, int idx) in addidata_apci7800_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()
675 struct uart_8250_port *port, int idx) in pci_timedia_setup()
810 struct uart_8250_port *port, int idx) in pci_ni8430_setup()
837 struct uart_8250_port *port, int idx) in pci_netmos_9900_setup()
1910 struct uart_8250_port *port, int idx) in pci_wch_ch355_setup()
1976 struct uart_8250_port *port, int idx) in pci_sunix_setup()
2113 struct uart_8250_port *port, int idx) in pci_moxa_setup()
[all …]
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()
/linux-6.15/include/linux/
H A 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 *);
124 struct uart_8250_port { struct
160 u32 (*dl_read)(struct uart_8250_port *up); argument
201 void serial8250_tx_chars(struct uart_8250_port *up);
[all …]

12