Home
last modified time | relevance | path

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

12

/linux/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);
126 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in()
131 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out()
146 static inline u16 serial_lsr_in(struct uart_8250_port *up) in serial_lsr_in()
159 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write()
165 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up, in serial_icr_read()
178 void serial8250_clear_fifos(struct uart_8250_port *p);
[all …]
H A D8250_rsa.c19 static int rsa8250_request_resource(struct uart_8250_port *up) in rsa8250_request_resource()
37 static void rsa8250_release_resource(struct uart_8250_port *up) in rsa8250_release_resource()
55 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port()
80 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port()
95 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port()
126 static int __rsa_enable(struct uart_8250_port *up) in __rsa_enable()
149 void rsa_enable(struct uart_8250_port *up) in rsa_enable()
167 void rsa_disable(struct uart_8250_port *up) in rsa_disable()
193 void rsa_autoconfig(struct uart_8250_port *up) in rsa_autoconfig()
205 void rsa_reset(struct uart_8250_port *up) in rsa_reset()
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()
183 int serial8250_rx_dma(struct uart_8250_port *p) in serial8250_rx_dma()
210 void serial8250_rx_dma_flush(struct uart_8250_port *p) in serial8250_rx_dma_flush()
222 int serial8250_request_dma(struct uart_8250_port *p) in serial8250_request_dma()
318 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()
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()
419 struct uart_8250_port port; in aspeed_vuart_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_ni.c109 struct uart_8250_port *up = container_of(port, struct uart_8250_port, port); in ni16550_rs485_config()
133 static bool is_pmr_rs232_mode(struct uart_8250_port *up) in is_pmr_rs232_mode()
159 static void ni16550_config_prescaler(struct uart_8250_port *up, in ni16550_config_prescaler()
258 static u8 ni16550_read_fifo_size(struct uart_8250_port *uart, int reg) in ni16550_read_fifo_size()
270 struct uart_8250_port *up = up_to_u8250p(port); in ni16550_set_mctrl()
278 struct uart_8250_port *uart __free(kfree) = NULL; in ni16550_probe()
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_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_platform.c79 struct uart_8250_port *up = serial8250_get_port(i); in __serial8250_isa_init_ports()
114 struct uart_8250_port *uart __free(kfree) = kzalloc_obj(*uart); in serial8250_probe_acpi()
159 struct uart_8250_port *uart __free(kfree) = kzalloc_obj(*uart); in serial8250_probe_platform()
238 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_remove()
250 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_suspend()
264 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_resume()
H A D8250_exar.c234 int (*register_gpio)(struct pci_dev *pcidev, struct uart_8250_port *port);
235 void (*unregister_gpio)(struct uart_8250_port *port);
249 struct uart_8250_port *port, int idx);
482 struct uart_8250_port *up = up_to_u8250p(port); in exar_shutdown()
502 struct uart_8250_port *port) in default_setup()
539 struct uart_8250_port *port, int idx) in pci_fastcom335_setup()
829 struct uart_8250_port *port) in cti_port_setup_common()
873 struct uart_8250_port *port, in cti_port_setup_fpga()
912 struct uart_8250_port *port, in cti_port_setup_xr17v35x()
977 struct uart_8250_port *port, in cti_port_setup_xr17v25x()
[all …]
H A D8250_loongson.c100 struct uart_8250_port *up = up_to_u8250p(port); in loongson_frac_set_divisor()
110 struct uart_8250_port uart = {}; in loongson_uart_probe()
187 struct uart_8250_port *up = serial8250_get_port(priv->line); in loongson_uart_suspend()
200 struct uart_8250_port *up = serial8250_get_port(priv->line); in loongson_uart_resume()
H A D8250_of.c73 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_platform_serial_clk_notifier_cb()
88 int type, struct uart_8250_port *up, in of_platform_serial_setup()
204 struct uart_8250_port port8250; in of_platform_serial_probe()
296 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend()
312 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_resume()
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_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_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_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_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_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_pcilib.c24 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, in serial8250_pci_setup_port()
H A D8250_pci1xxxx.c488 struct uart_8250_port *up = up_to_u8250p(port); in pci1xxxx_tx_burst()
556 struct uart_8250_port *up = serial8250_get_port(line); in pci1xxxx_port_suspend()
583 struct uart_8250_port *up = serial8250_get_port(line); in pci1xxxx_port_resume()
674 struct uart_8250_port *port, int port_idx, struct pci1xxxx_8250 *priv) in pci1xxxx_setup()
767 struct uart_8250_port uart; in pci1xxxx_serial_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()
/linux/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 *);
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 …]
/linux/drivers/misc/ibmasm/
H A Duart.c22 struct uart_8250_port uart; in ibmasm_register_uart()

12