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.c121 struct uart_8250_port *up;
124 up = list_entry(l, struct uart_8250_port, list);
153 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up)
173 static int serial_link_irq_chain(struct uart_8250_port *up)
219 static void serial_unlink_irq_chain(struct uart_8250_port *up)
250 struct uart_8250_port *up = from_timer(up, t, timer);
258 struct uart_8250_port *up = from_timer(up, t, timer);
302 static void univ8250_setup_timer(struct uart_8250_port *up)
327 static int univ8250_setup_irq(struct uart_8250_port *up)
337 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_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)
142 int serial8250_rx_dma(struct uart_8250_port *p)
169 void serial8250_rx_dma_flush(struct uart_8250_port *p)
181 int serial8250_request_dma(struct uart_8250_port *p)
277 void serial8250_release_dma(struct uart_8250_port *p)
H A D8250_ioc3.c37 struct uart_8250_port up;
59 memset(&up, 0, sizeof(struct uart_8250_port));
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.c167 static void omap_8250_rx_dma_flush(struct uart_8250_port *p);
169 static inline void omap_8250_rx_dma_flush(struct uart_8250_port *p) { }
183 struct uart_8250_port *up = up_to_u8250p(port);
228 static void omap_8250_mdr1_errataset(struct uart_8250_port *up,
280 static void omap8250_update_scr(struct uart_8250_port *up,
300 static void omap8250_update_mdr1(struct uart_8250_port *up,
309 static void omap8250_restore_regs(struct uart_8250_port *up)
384 struct uart_8250_port *up = up_to_u8250p(port);
535 struct uart_8250_port *up = up_to_u8250p(port);
559 static void omap_serial_fill_features_erratas(struct uart_8250_port *u
[all...]
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);
213 struct uart_8250_port *up = up_to_u8250p(port);
223 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask)
231 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask)
239 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode)
311 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_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_exar.c130 int (*register_gpio)(struct pci_dev *, struct uart_8250_port *);
131 void (*unregister_gpio)(struct uart_8250_port *);
145 struct uart_8250_port *, int);
216 struct uart_8250_port *up = up_to_u8250p(port);
235 struct uart_8250_port *port)
272 struct uart_8250_port *port, int idx)
320 struct uart_8250_port *port, int idx)
331 struct uart_8250_port *port, int idx)
410 static int xr17v35x_register_gpio(struct pci_dev *pcidev, struct uart_8250_port *port)
419 static void xr17v35x_unregister_gpio(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_pxa.c63 static void serial_pxa_dl_write(struct uart_8250_port *up, u32 value)
92 struct uart_8250_port uart = {};
H A D8250_dw.c84 struct uart_8250_port *up = up_to_u8250p(p);
138 struct uart_8250_port *up = up_to_u8250p(p);
246 struct uart_8250_port *up = up_to_u8250p(p);
302 struct uart_8250_port *up;
377 struct uart_8250_port *up = up_to_u8250p(p);
419 static void dw8250_prepare_tx_dma(struct uart_8250_port *p)
432 static void dw8250_prepare_rx_dma(struct uart_8250_port *p)
492 struct uart_8250_port uart = {}, *up = &uart;
H A D8250_of.c65 int type, struct uart_8250_port *up,
172 struct uart_8250_port port8250;
249 struct uart_8250_port *port8250 = serial8250_get_port(info->line);
264 struct uart_8250_port *port8250 = serial8250_get_port(info->line);
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 175 milliseconds

12