Home
last modified time | relevance | path

Searched refs:uart_port (Results 1 – 25 of 142) sorted by relevance

123456

/linux-6.3-rc2/include/linux/
A Dserial_core.h29 struct uart_port;
377 void (*stop_tx)(struct uart_port *);
378 void (*start_tx)(struct uart_port *);
379 void (*throttle)(struct uart_port *);
382 void (*stop_rx)(struct uart_port *);
386 int (*startup)(struct uart_port *);
428 struct uart_port { struct
620 struct uart_port *uart_port; member
784 struct uart_port port;
838 struct uart_port *uart_get_console(struct uart_port *ports, int nr,
[all …]
A Dserial_8250.h31 unsigned int (*serial_in)(struct uart_port *, int);
32 void (*serial_out)(struct uart_port *, int, int);
33 void (*set_termios)(struct uart_port *,
36 void (*set_ldisc)(struct uart_port *,
38 unsigned int (*get_mctrl)(struct uart_port *);
39 int (*handle_irq)(struct uart_port *);
40 void (*pm)(struct uart_port *, unsigned int state,
42 void (*handle_break)(struct uart_port *);
96 struct uart_port port;
184 int serial8250_console_exit(struct uart_port *port);
[all …]
/linux-6.3-rc2/drivers/tty/serial/
A Dmpc52xx_uart.c87 void (*fifo_init)(struct uart_port *port);
93 void (*stop_rx)(struct uart_port *port);
94 void (*start_tx)(struct uart_port *port);
95 void (*stop_tx)(struct uart_port *port);
96 void (*rx_clr_irq)(struct uart_port *port);
112 u16 (*get_status)(struct uart_port *port);
113 u8 (*get_ipcr)(struct uart_port *port);
117 void (*enable_ms)(struct uart_port *port);
120 u8 (*get_mr1)(struct uart_port *port);
1477 struct uart_port *port = dev_id; in mpc52xx_uart_int()
[all …]
A Dsunhv.c169 int (*receive_chars)(struct uart_port *port);
197 static void transmit_chars(struct uart_port *port) in transmit_chars()
216 struct uart_port *port = dev_id; in sunhv_interrupt()
254 static void sunhv_stop_tx(struct uart_port *port) in sunhv_stop_tx()
260 static void sunhv_start_tx(struct uart_port *port) in sunhv_start_tx()
287 static void sunhv_stop_rx(struct uart_port *port) in sunhv_stop_rx()
312 static int sunhv_startup(struct uart_port *port) in sunhv_startup()
398 static struct uart_port *sunhv_port;
435 struct uart_port *port = sunhv_port; in sunhv_console_write_paged()
490 struct uart_port *port = sunhv_port; in sunhv_console_write_bychar()
[all …]
A Daltera_jtaguart.c77 static void altera_jtaguart_start_tx(struct uart_port *port) in altera_jtaguart_start_tx()
84 static void altera_jtaguart_stop_tx(struct uart_port *port) in altera_jtaguart_stop_tx()
91 static void altera_jtaguart_stop_rx(struct uart_port *port) in altera_jtaguart_stop_rx()
111 static void altera_jtaguart_rx_chars(struct uart_port *port) in altera_jtaguart_rx_chars()
129 static void altera_jtaguart_tx_chars(struct uart_port *port) in altera_jtaguart_tx_chars()
144 struct uart_port *port = data; in altera_jtaguart_interrupt()
170 static int altera_jtaguart_startup(struct uart_port *port) in altera_jtaguart_startup()
195 static void altera_jtaguart_shutdown(struct uart_port *port) in altera_jtaguart_shutdown()
308 struct uart_port *port; in altera_jtaguart_console_setup()
380 struct uart_port *port; in altera_jtaguart_probe()
[all …]
A Dapbuart.c39 static void apbuart_tx_chars(struct uart_port *port);
41 static void apbuart_stop_tx(struct uart_port *port) in apbuart_stop_tx()
50 static void apbuart_start_tx(struct uart_port *port) in apbuart_start_tx()
62 static void apbuart_stop_rx(struct uart_port *port) in apbuart_stop_rx()
71 static void apbuart_rx_chars(struct uart_port *port) in apbuart_rx_chars()
135 struct uart_port *port = dev_id; in apbuart_int()
173 static int apbuart_startup(struct uart_port *port) in apbuart_startup()
449 struct uart_port *port; in apbuart_console_setup()
526 struct uart_port *port = NULL; in apbuart_probe()
539 apbuart_flush_fifo((struct uart_port *) port); in apbuart_probe()
[all …]
A D21285.c51 static bool is_enabled(struct uart_port *port, int bit) in is_enabled()
60 static void enable(struct uart_port *port, int bit) in enable()
67 static void disable(struct uart_port *port, int bit) in disable()
93 static void serial21285_stop_tx(struct uart_port *port) in serial21285_stop_tx()
101 static void serial21285_start_tx(struct uart_port *port) in serial21285_start_tx()
109 static void serial21285_stop_rx(struct uart_port *port) in serial21285_stop_rx()
119 struct uart_port *port = dev_id; in serial21285_rx_chars()
156 struct uart_port *port = dev_id; in serial21285_tx_chars()
197 static int serial21285_startup(struct uart_port *port) in serial21285_startup()
369 static struct uart_port serial21285_port = {
[all …]
A Dst-asc.c36 struct uart_port port;
319 struct uart_port *port = ptr; in asc_interrupt()
388 static void asc_start_tx(struct uart_port *port) in asc_start_tx()
397 static void asc_stop_tx(struct uart_port *port) in asc_stop_tx()
403 static void asc_stop_rx(struct uart_port *port) in asc_stop_rx()
417 static int asc_startup(struct uart_port *port) in asc_startup()
431 static void asc_shutdown(struct uart_port *port) in asc_shutdown()
600 static const char *asc_type(struct uart_port *port) in asc_type()
682 struct uart_port *port = &ascport->port; in asc_init_port()
805 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_suspend()
[all …]
A Dmux.c47 struct uart_port port;
139 static void mux_stop_tx(struct uart_port *port) in mux_stop_tx()
149 static void mux_start_tx(struct uart_port *port) in mux_start_tx()
159 static void mux_stop_rx(struct uart_port *port) in mux_stop_rx()
174 static void mux_tx_done(struct uart_port *port) in mux_tx_done()
188 static void mux_write(struct uart_port *port) in mux_write()
206 static void mux_read(struct uart_port *port) in mux_read()
246 static int mux_startup(struct uart_port *port) in mux_startup()
258 static void mux_shutdown(struct uart_port *port) in mux_shutdown()
284 static const char *mux_type(struct uart_port *port) in mux_type()
[all …]
A Dserial_txx9.c193 sio_quot_set(struct uart_port *up, int quot) in sio_quot_set()
335 struct uart_port *up = dev_id; in serial_txx9_interrupt()
786 serial_txx9_type(struct uart_port *port) in serial_txx9_type()
876 struct uart_port *up; in serial_txx9_console_setup()
962 struct uart_port *uart; in serial_txx9_register_port()
1028 struct uart_port port; in serial_txx9_probe()
1031 memset(&port, 0, sizeof(struct uart_port)); in serial_txx9_probe()
1119 struct uart_port port; in pciserial_txx9_init_one()
1148 struct uart_port *up = pci_get_drvdata(dev); in pciserial_txx9_remove_one()
1159 struct uart_port *up = pci_get_drvdata(dev); in pciserial_txx9_suspend_one()
[all …]
A Dliteuart.c47 struct uart_port port;
85 static void liteuart_stop_tx(struct uart_port *port) in liteuart_stop_tx()
90 static void liteuart_start_tx(struct uart_port *port) in liteuart_start_tx()
95 static void liteuart_stop_rx(struct uart_port *port) in liteuart_stop_rx()
135 struct uart_port *port = &uart->port; in liteuart_interrupt()
157 struct uart_port *port = &uart->port; in liteuart_timer()
182 static int liteuart_startup(struct uart_port *port) in liteuart_startup()
284 struct uart_port *port; in liteuart_probe()
380 struct uart_port *port; in liteuart_console_write()
394 struct uart_port *port; in liteuart_console_setup()
[all …]
A Duartlite.c64 static struct uart_port *console_port;
217 struct uart_port *port = dev_id; in ulite_isr()
261 static void ulite_stop_tx(struct uart_port *port) in ulite_stop_tx()
283 static int ulite_startup(struct uart_port *port) in ulite_startup()
495 struct uart_port *port = console_port; in ulite_console_write()
523 struct uart_port *port = NULL; in ulite_console_setup()
633 struct uart_port *port; in ulite_assign()
690 struct uart_port *port = dev_get_drvdata(dev); in ulite_release()
710 struct uart_port *port = dev_get_drvdata(dev); in ulite_suspend()
726 struct uart_port *port = dev_get_drvdata(dev); in ulite_resume()
[all …]
A Daltera_uart.c78 struct uart_port port;
138 static void altera_uart_start_tx(struct uart_port *port) in altera_uart_start_tx()
146 static void altera_uart_stop_tx(struct uart_port *port) in altera_uart_stop_tx()
154 static void altera_uart_stop_rx(struct uart_port *port) in altera_uart_stop_rx()
260 struct uart_port *port = data; in altera_uart_interrupt()
280 struct uart_port *port = &pp->port; in altera_uart_timer()
296 static int altera_uart_startup(struct uart_port *port) in altera_uart_startup()
438 struct uart_port *port; in altera_uart_console_setup()
489 struct uart_port *port = &dev->port; in altera_uart_earlycon_setup()
532 struct uart_port *port; in altera_uart_probe()
[all …]
A Darc_uart.c96 struct uart_port port;
122 static void arc_serial_stop_rx(struct uart_port *port) in arc_serial_stop_rx()
127 static void arc_serial_stop_tx(struct uart_port *port) in arc_serial_stop_tx()
156 static void arc_serial_tx_chars(struct uart_port *port) in arc_serial_tx_chars()
191 static void arc_serial_start_tx(struct uart_port *port) in arc_serial_start_tx()
272 struct uart_port *port = dev_id; in arc_serial_isr()
330 static int arc_serial_startup(struct uart_port *port) in arc_serial_startup()
346 static void arc_serial_shutdown(struct uart_port *port) in arc_serial_shutdown()
483 struct uart_port *port; in arc_serial_console_setup()
553 struct uart_port *port = &dev->port; in arc_early_console_setup()
[all …]
A Dlantiq.c108 struct uart_port port;
136 lqasc_stop_tx(struct uart_port *port) in lqasc_stop_tx()
149 lqasc_start_tx(struct uart_port *port) in lqasc_start_tx()
164 lqasc_stop_rx(struct uart_port *port) in lqasc_stop_rx()
235 struct uart_port *port = (struct uart_port *)_port; in lqasc_tx_int()
249 struct uart_port *port = (struct uart_port *)_port; in lqasc_err_int()
264 struct uart_port *port = (struct uart_port *)_port; in lqasc_rx_int()
278 struct uart_port *port = p; in lqasc_irq()
487 lqasc_type(struct uart_port *port) in lqasc_type()
618 struct uart_port *port; in lqasc_console_setup()
[all …]
A Dmps2-uart.c72 struct uart_port port;
121 static void mps2_uart_stop_tx(struct uart_port *port) in mps2_uart_stop_tx()
130 static void mps2_uart_tx_chars(struct uart_port *port) in mps2_uart_tx_chars()
139 static void mps2_uart_start_tx(struct uart_port *port) in mps2_uart_start_tx()
157 static void mps2_uart_stop_rx(struct uart_port *port) in mps2_uart_stop_rx()
170 static void mps2_uart_rx_chars(struct uart_port *port) in mps2_uart_rx_chars()
186 struct uart_port *port = data; in mps2_uart_rxirq()
204 struct uart_port *port = data; in mps2_uart_txirq()
223 struct uart_port *port = data; in mps2_uart_oerrirq()
267 static int mps2_uart_startup(struct uart_port *port) in mps2_uart_startup()
[all …]
A Dvt8500_serial.c96 struct uart_port uart;
122 static void vt8500_stop_tx(struct uart_port *port) in vt8500_stop_tx()
132 static void vt8500_stop_rx(struct uart_port *port) in vt8500_stop_rx()
142 static void vt8500_enable_ms(struct uart_port *port) in vt8500_enable_ms()
152 static void handle_rx(struct uart_port *port) in handle_rx()
197 static void handle_tx(struct uart_port *port) in handle_tx()
206 static void vt8500_start_tx(struct uart_port *port) in vt8500_start_tx()
227 struct uart_port *port = dev_id; in vt8500_irq()
303 static int vt8500_startup(struct uart_port *port) in vt8500_startup()
322 static void vt8500_shutdown(struct uart_port *port) in vt8500_shutdown()
[all …]
A Ddigicolor-usart.c77 struct uart_port port;
83 static bool digicolor_uart_tx_full(struct uart_port *port) in digicolor_uart_tx_full()
89 static bool digicolor_uart_rx_empty(struct uart_port *port) in digicolor_uart_rx_empty()
95 static void digicolor_uart_stop_tx(struct uart_port *port) in digicolor_uart_stop_tx()
111 static void digicolor_uart_stop_rx(struct uart_port *port) in digicolor_uart_stop_rx()
132 static void digicolor_uart_rx(struct uart_port *port) in digicolor_uart_rx()
181 static void digicolor_uart_tx(struct uart_port *port) in digicolor_uart_tx()
220 struct uart_port *port = dev_id; in digicolor_uart_int()
396 struct uart_port *port = digicolor_ports[co->index]; in digicolor_uart_console_write()
420 struct uart_port *port; in digicolor_uart_console_setup()
[all …]
A Dsprd_serial.c122 struct uart_port port;
174 static void sprd_stop_rx(struct uart_port *port) in sprd_stop_rx()
244 struct uart_port *port = (struct uart_port *)data; in sprd_complete_tx_dma()
425 struct uart_port *port = (struct uart_port *)data; in sprd_complete_rx_dma()
515 static void sprd_stop_tx(struct uart_port *port) in sprd_stop_tx()
536 static void sprd_start_tx(struct uart_port *port) in sprd_start_tx()
637 struct uart_port *port = dev_id; in sprd_handle_irq()
686 static int sprd_startup(struct uart_port *port) in sprd_startup()
740 static void sprd_shutdown(struct uart_port *port) in sprd_shutdown()
895 static int sprd_poll_init(struct uart_port *port) in sprd_poll_init()
[all …]
A Dtimbuart.c25 struct uart_port port;
39 static void timbuart_stop_rx(struct uart_port *port) in timbuart_stop_rx()
46 static void timbuart_stop_tx(struct uart_port *port) in timbuart_stop_tx()
53 static void timbuart_start_tx(struct uart_port *port) in timbuart_start_tx()
69 static void timbuart_flush_buffer(struct uart_port *port) in timbuart_flush_buffer()
80 static void timbuart_rx_chars(struct uart_port *port) in timbuart_rx_chars()
96 static void timbuart_tx_chars(struct uart_port *port) in timbuart_tx_chars()
237 static int timbuart_startup(struct uart_port *port) in timbuart_startup()
254 static void timbuart_shutdown(struct uart_port *port) in timbuart_shutdown()
276 static void timbuart_set_termios(struct uart_port *port, in timbuart_set_termios()
[all …]
A Dbcm63xx_uart.c31 static struct uart_port ports[BCM63XX_NR_UARTS];
143 static void bcm_uart_stop_tx(struct uart_port *port) in bcm_uart_stop_tx()
175 static void bcm_uart_stop_rx(struct uart_port *port) in bcm_uart_stop_rx()
227 static void bcm_uart_do_rx(struct uart_port *port) in bcm_uart_do_rx()
304 static void bcm_uart_do_tx(struct uart_port *port) in bcm_uart_do_tx()
331 struct uart_port *port; in bcm_uart_interrupt()
388 static void bcm_uart_flush(struct uart_port *port) in bcm_uart_flush()
666 struct uart_port *port; in bcm_console_write()
700 struct uart_port *port; in bcm_console_setup()
778 struct uart_port *port; in bcm_uart_probe()
[all …]
A Dfsl_linflexuart.c132 static struct uart_port *earlycon_port;
143 static void linflex_stop_tx(struct uart_port *port) in linflex_stop_tx()
152 static void linflex_stop_rx(struct uart_port *port) in linflex_stop_rx()
202 struct uart_port *sport = dev_id; in linflex_txint()
226 struct uart_port *sport = dev_id; in linflex_rxint()
278 struct uart_port *sport = dev_id; in linflex_int()
552 static struct uart_port *linflex_ports[UART_NR];
694 struct uart_port *sport; in linflex_console_setup()
809 struct uart_port *sport; in linflex_probe()
866 struct uart_port *sport = dev_get_drvdata(dev); in linflex_suspend()
[all …]
A Dmcf.c53 struct uart_port port;
114 static void mcf_stop_tx(struct uart_port *port) in mcf_stop_tx()
124 static void mcf_stop_rx(struct uart_port *port) in mcf_stop_rx()
148 static int mcf_startup(struct uart_port *port) in mcf_startup()
283 struct uart_port *port = &pp->port; in mcf_rx_chars()
329 struct uart_port *port = &pp->port; in mcf_tx_chars()
346 struct uart_port *port = data; in mcf_interrupt()
475 struct uart_port *port; in early_mcf_setup()
531 struct uart_port *port; in mcf_console_setup()
601 struct uart_port *port; in mcf_probe()
[all …]
/linux-6.3-rc2/drivers/tty/serial/jsm/
A Djsm_tty.c67 container_of(port, struct jsm_channel, uart_port); in jsm_tty_get_mctrl()
115 static void jsm_tty_write(struct uart_port *port) in jsm_tty_write()
188 static int jsm_tty_open(struct uart_port *port) in jsm_tty_open()
454 brd->channels[i]->uart_port.irq = brd->irq; in jsm_uart_port_init()
456 brd->channels[i]->uart_port.type = PORT_JSM; in jsm_uart_port_init()
457 brd->channels[i]->uart_port.iotype = UPIO_MEM; in jsm_uart_port_init()
459 brd->channels[i]->uart_port.fifosize = 16; in jsm_uart_port_init()
460 brd->channels[i]->uart_port.ops = &jsm_ops; in jsm_uart_port_init()
467 brd->channels[i]->uart_port.line = line; in jsm_uart_port_init()
504 clear_bit(ch->uart_port.line, linemap); in jsm_remove_uart_port()
[all …]
/linux-6.3-rc2/arch/mips/ar7/
A Dplatform.c552 static struct uart_port uart_port __initdata; in ar7_register_uarts()
556 memset(&uart_port, 0, sizeof(struct uart_port)); in ar7_register_uarts()
562 uart_port.type = PORT_AR7; in ar7_register_uarts()
564 uart_port.iotype = UPIO_MEM32; in ar7_register_uarts()
566 uart_port.regshift = 2; in ar7_register_uarts()
568 uart_port.line = 0; in ar7_register_uarts()
569 uart_port.irq = AR7_IRQ_UART0; in ar7_register_uarts()
571 uart_port.membase = ioremap(uart_port.mapbase, 256); in ar7_register_uarts()
579 uart_port.line = 1; in ar7_register_uarts()
580 uart_port.irq = AR7_IRQ_UART1; in ar7_register_uarts()
[all …]

Completed in 57 milliseconds

123456