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

12

/linux-master/drivers/tty/serial/8250/
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.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)
120 static inline void serial_out(struct uart_8250_port *up, int offset, int value)
135 static inline u16 serial_lsr_in(struct uart_8250_port *up)
148 static void serial_icr_write(struct uart_8250_port *up, int offset, int value)
154 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up,
167 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *
[all...]
H A D8250_port.c325 static u32 default_serial_dl_read(struct uart_8250_port *up)
335 static void default_serial_dl_write(struct uart_8250_port *up, u32 value)
419 struct uart_8250_port *up = up_to_u8250p(p);
480 static void serial8250_clear_fifos(struct uart_8250_port *p)
493 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p)
500 void serial8250_rpm_get(struct uart_8250_port *p)
508 void serial8250_rpm_put(struct uart_8250_port *p)
518 * serial8250_em485_init() - put uart_8250_port into rs485 emulating
519 * @p: uart_8250_port port instance
522 * &struct uart_8250_port*
[all...]
H A D8250_core.c124 struct uart_8250_port *up;
127 up = list_entry(l, struct uart_8250_port, list);
156 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up)
176 static int serial_link_irq_chain(struct uart_8250_port *up)
222 static void serial_unlink_irq_chain(struct uart_8250_port *up)
253 struct uart_8250_port *up = from_timer(up, t, timer);
261 struct uart_8250_port *up = from_timer(up, t, timer);
306 static void univ8250_setup_timer(struct uart_8250_port *up)
331 static int univ8250_setup_irq(struct uart_8250_port *up)
341 static void univ8250_release_irq(struct uart_8250_port *u
[all...]
H A D8250_rt288x.c55 static u32 au_serial_dl_read(struct uart_8250_port *up)
60 static void au_serial_dl_write(struct uart_8250_port *up, u32 value)
84 struct uart_8250_port *up = up_to_u8250p(p);
H A D8250_aspeed_vuart.c39 struct uart_8250_port *port;
249 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); local
250 struct aspeed_vuart *vuart = uart_8250_port->port.private_data;
264 struct uart_8250_port *uart_8250_port = up_to_u8250p(uart_port); local
265 struct aspeed_vuart *vuart = uart_8250_port->port.private_data;
272 static void __aspeed_vuart_set_throttle(struct uart_8250_port *up,
287 struct uart_8250_port *up = up_to_u8250p(port);
308 struct uart_8250_port *u
[all...]
H A D8250_ioc3.c37 struct uart_8250_port up;
59 memset(&up, 0, sizeof(struct uart_8250_port));
H A D8250_dma.c16 struct uart_8250_port *p = param;
41 static void __dma_rx_complete(struct uart_8250_port *p)
69 struct uart_8250_port *p = param;
86 int serial8250_tx_dma(struct uart_8250_port *p)
151 int serial8250_rx_dma(struct uart_8250_port *p)
178 void serial8250_rx_dma_flush(struct uart_8250_port *p)
190 int serial8250_request_dma(struct uart_8250_port *p)
286 void serial8250_release_dma(struct uart_8250_port *p)
H A D8250_uniphier.c148 static u32 uniphier_serial_dl_read(struct uart_8250_port *up)
153 static void uniphier_serial_dl_write(struct uart_8250_port *up, u32 value)
161 struct uart_8250_port up;
246 struct uart_8250_port *up = serial8250_get_port(priv->line);
259 struct uart_8250_port *up = serial8250_get_port(priv->line);
H A D8250_omap.c166 static void omap_8250_rx_dma_flush(struct uart_8250_port *p);
168 static inline void omap_8250_rx_dma_flush(struct uart_8250_port *p) { }
182 struct uart_8250_port *up = up_to_u8250p(port);
227 static void omap_8250_mdr1_errataset(struct uart_8250_port *up,
279 static void omap8250_update_scr(struct uart_8250_port *up,
299 static void omap8250_update_mdr1(struct uart_8250_port *up,
308 static void omap8250_restore_regs(struct uart_8250_port *up)
383 struct uart_8250_port *up = up_to_u8250p(port);
534 struct uart_8250_port *up = up_to_u8250p(port);
558 static void omap_serial_fill_features_erratas(struct uart_8250_port *u
[all...]
H A D8250_tegra.c45 struct uart_8250_port port8250;
136 struct uart_8250_port *port8250 = serial8250_get_port(uart->line);
150 struct uart_8250_port *port8250 = serial8250_get_port(uart->line);
H A D8250_mtk.c89 static void mtk8250_rx_dma(struct uart_8250_port *up);
93 struct uart_8250_port *up = param;
134 static void mtk8250_rx_dma(struct uart_8250_port *up)
155 static void mtk8250_dma_enable(struct uart_8250_port *up)
193 struct uart_8250_port *up = up_to_u8250p(port);
212 struct uart_8250_port *up = up_to_u8250p(port);
227 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask)
235 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask)
243 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode)
315 struct uart_8250_port *u
[all...]
H A D8250_acorn.c43 struct uart_8250_port uart;
62 memset(&uart, 0, sizeof(struct uart_8250_port));
H A D8250_pcilib.c15 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port,
H A D8250_of.c72 struct uart_8250_port *port8250 = serial8250_get_port(info->line);
87 int type, struct uart_8250_port *up,
194 struct uart_8250_port port8250;
286 struct uart_8250_port *port8250 = serial8250_get_port(info->line);
301 struct uart_8250_port *port8250 = serial8250_get_port(info->line);
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);
534 struct uart_8250_port *up = up_to_u8250p(port);
554 struct uart_8250_port *port)
591 struct uart_8250_port *port, int idx)
885 struct uart_8250_port *port)
929 struct uart_8250_port *port,
968 struct uart_8250_port *port,
1033 struct uart_8250_port *por
[all...]
H A D8250_dfl.c52 static int dfl_uart_get_params(struct dfl_device *dfl_dev, struct uart_8250_port *uart)
112 struct uart_8250_port uart = { };
H A D8250_fsl.c31 struct uart_8250_port *up = up_to_u8250p(port);
109 struct uart_8250_port port8250;
H A D8250_dw.c112 struct uart_8250_port *up = up_to_u8250p(p);
170 struct uart_8250_port *up = up_to_u8250p(p);
261 struct uart_8250_port *up = up_to_u8250p(p);
317 struct uart_8250_port *up;
392 struct uart_8250_port *up = up_to_u8250p(p);
434 static void dw8250_prepare_tx_dma(struct uart_8250_port *p)
447 static void dw8250_prepare_rx_dma(struct uart_8250_port *p)
511 struct uart_8250_port uart = {}, *up = &uart;
H A D8250_pxa.c63 static void serial_pxa_dl_write(struct uart_8250_port *up, u32 value)
92 struct uart_8250_port uart = {};
H A D8250_em.c142 static u32 serial8250_em_serial_dl_read(struct uart_8250_port *up)
147 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, u32 value)
157 struct uart_8250_port up;
H A D8250_bcm2835aux.c48 static void bcm2835aux_rs485_start_tx(struct uart_8250_port *up)
67 static void bcm2835aux_rs485_stop_tx(struct uart_8250_port *up)
85 struct uart_8250_port up = { };
H A D8250_mid.c83 struct uart_8250_port *up = up_to_u8250p(p);
139 struct uart_8250_port *up = up_to_u8250p(p);
253 static int mid8250_dma_setup(struct mid8250 *mid, struct uart_8250_port *port)
290 struct uart_8250_port uart;
304 memset(&uart, 0, sizeof(struct uart_8250_port));
/linux-master/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 { struct
[all...]
/linux-master/drivers/misc/ibmasm/
H A Duart.c22 struct uart_8250_port uart;

Completed in 511 milliseconds

12