Home
last modified time | relevance | path

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

123456

/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);
1476 struct uart_port *port = dev_id; in mpc52xx_uart_int()
[all …]
A Dsh-sci-common.h38 void sci_release_port(struct uart_port *port);
39 int sci_request_port(struct uart_port *port);
77 u32 (*read_reg)(struct uart_port *port, int reg);
81 void (*transmit_chars)(struct uart_port *port);
82 void (*receive_chars)(struct uart_port *port);
87 int (*rtrg_enabled)(struct uart_port *port);
92 void (*console_save)(struct uart_port *port);
93 void (*console_restore)(struct uart_port *port);
106 struct uart_port port;
165 int sci_startup(struct uart_port *port);
[all …]
A Desp32_acm.c46 static struct uart_port *esp32s3_acm_ports[UART_NR];
65 static u32 esp32s3_acm_tx_fifo_cnt(struct uart_port *port) in esp32s3_acm_tx_fifo_cnt()
94 static void esp32s3_acm_stop_tx(struct uart_port *port) in esp32s3_acm_stop_tx()
103 static void esp32s3_acm_rxint(struct uart_port *port) in esp32s3_acm_rxint()
126 static void esp32s3_acm_push(struct uart_port *port) in esp32s3_acm_push()
177 static void esp32s3_acm_txint(struct uart_port *port) in esp32s3_acm_txint()
184 struct uart_port *port = dev_id; in esp32s3_acm_int()
203 static void esp32s3_acm_stop_rx(struct uart_port *port) in esp32s3_acm_stop_rx()
212 static int esp32s3_acm_startup(struct uart_port *port) in esp32s3_acm_startup()
370 struct uart_port *port; in esp32s3_acm_probe()
[all …]
A Dsunhv.c174 int (*receive_chars)(struct uart_port *port);
202 static void transmit_chars(struct uart_port *port) in transmit_chars()
221 struct uart_port *port = dev_id; in sunhv_interrupt()
259 static void sunhv_stop_tx(struct uart_port *port) in sunhv_stop_tx()
265 static void sunhv_start_tx(struct uart_port *port) in sunhv_start_tx()
292 static void sunhv_stop_rx(struct uart_port *port) in sunhv_stop_rx()
317 static int sunhv_startup(struct uart_port *port) in sunhv_startup()
403 static struct uart_port *sunhv_port;
440 struct uart_port *port = sunhv_port; in sunhv_console_write_paged()
495 struct uart_port *port = sunhv_port; in sunhv_console_write_bychar()
[all …]
A Dserial_base.h13 struct uart_port;
24 struct uart_port *port;
34 void serial_base_port_startup(struct uart_port *port);
35 void serial_base_port_shutdown(struct uart_port *port);
40 struct serial_ctrl_device *serial_base_ctrl_add(struct uart_port *port,
42 struct serial_port_device *serial_base_port_add(struct uart_port *port,
47 int serial_ctrl_register_port(struct uart_driver *drv, struct uart_port *port);
48 void serial_ctrl_unregister_port(struct uart_driver *drv, struct uart_port *port);
50 int serial_core_register_port(struct uart_driver *drv, struct uart_port *port);
56 struct uart_port *port);
[all …]
A Daltera_jtaguart.c75 static void altera_jtaguart_start_tx(struct uart_port *port) in altera_jtaguart_start_tx()
82 static void altera_jtaguart_stop_tx(struct uart_port *port) in altera_jtaguart_stop_tx()
89 static void altera_jtaguart_stop_rx(struct uart_port *port) in altera_jtaguart_stop_rx()
109 static void altera_jtaguart_rx_chars(struct uart_port *port) in altera_jtaguart_rx_chars()
127 static void altera_jtaguart_tx_chars(struct uart_port *port) in altera_jtaguart_tx_chars()
142 struct uart_port *port = data; in altera_jtaguart_interrupt()
168 static int altera_jtaguart_startup(struct uart_port *port) in altera_jtaguart_startup()
193 static void altera_jtaguart_shutdown(struct uart_port *port) in altera_jtaguart_shutdown()
306 struct uart_port *port; in altera_jtaguart_console_setup()
378 struct uart_port *port; in altera_jtaguart_probe()
[all …]
A Dapbuart.c36 static void apbuart_tx_chars(struct uart_port *port);
38 static void apbuart_stop_tx(struct uart_port *port) in apbuart_stop_tx()
47 static void apbuart_start_tx(struct uart_port *port) in apbuart_start_tx()
59 static void apbuart_stop_rx(struct uart_port *port) in apbuart_stop_rx()
68 static void apbuart_rx_chars(struct uart_port *port) in apbuart_rx_chars()
133 struct uart_port *port = dev_id; in apbuart_int()
171 static int apbuart_startup(struct uart_port *port) in apbuart_startup()
447 struct uart_port *port; in apbuart_console_setup()
524 struct uart_port *port = NULL; in apbuart_probe()
537 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()
157 struct uart_port *port = dev_id; in serial21285_tx_chars()
198 static int serial21285_startup(struct uart_port *port) in serial21285_startup()
370 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()
608 static const char *asc_type(struct uart_port *port) in asc_type()
690 struct uart_port *port = &ascport->port; in asc_init_port()
813 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_suspend()
[all …]
A Dserial_txx9.c194 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()
1118 struct uart_port port; in pciserial_txx9_init_one()
1147 struct uart_port *up = pci_get_drvdata(dev); in pciserial_txx9_remove_one()
1158 struct uart_port *up = pci_get_drvdata(dev); in pciserial_txx9_suspend_one()
[all …]
A Duartlite.c66 static struct uart_port *console_port;
222 struct uart_port *port = dev_id; in ulite_isr()
266 static void ulite_stop_tx(struct uart_port *port) in ulite_stop_tx()
288 static int ulite_startup(struct uart_port *port) in ulite_startup()
500 struct uart_port *port = console_port; in ulite_console_write()
528 struct uart_port *port = NULL; in ulite_console_setup()
638 struct uart_port *port; in ulite_assign()
695 struct uart_port *port = dev_get_drvdata(dev); in ulite_release()
712 struct uart_port *port = dev_get_drvdata(dev); in ulite_suspend()
728 struct uart_port *port = dev_get_drvdata(dev); in ulite_resume()
[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 Dliteuart.c46 struct uart_port port;
84 static void liteuart_stop_tx(struct uart_port *port) in liteuart_stop_tx()
89 static void liteuart_start_tx(struct uart_port *port) in liteuart_start_tx()
94 static void liteuart_stop_rx(struct uart_port *port) in liteuart_stop_rx()
134 struct uart_port *port = &uart->port; in liteuart_interrupt()
156 struct uart_port *port = &uart->port; in liteuart_timer()
181 static int liteuart_startup(struct uart_port *port) in liteuart_startup()
283 struct uart_port *port; in liteuart_probe()
377 struct uart_port *port; in liteuart_console_write()
391 struct uart_port *port; in liteuart_console_setup()
[all …]
A Daltera_uart.c77 struct uart_port port;
137 static void altera_uart_start_tx(struct uart_port *port) in altera_uart_start_tx()
145 static void altera_uart_stop_tx(struct uart_port *port) in altera_uart_stop_tx()
153 static void altera_uart_stop_rx(struct uart_port *port) in altera_uart_stop_rx()
259 struct uart_port *port = data; in altera_uart_interrupt()
279 struct uart_port *port = &pp->port; in altera_uart_timer()
295 static int altera_uart_startup(struct uart_port *port) in altera_uart_startup()
437 struct uart_port *port; in altera_uart_console_setup()
488 struct uart_port *port = &dev->port; in altera_uart_earlycon_setup()
531 struct uart_port *port; in altera_uart_probe()
[all …]
A Dlantiq.c109 struct uart_port port;
137 lqasc_stop_tx(struct uart_port *port) in lqasc_stop_tx()
150 lqasc_start_tx(struct uart_port *port) in lqasc_start_tx()
165 lqasc_stop_rx(struct uart_port *port) in lqasc_stop_rx()
236 struct uart_port *port = (struct uart_port *)_port; in lqasc_tx_int()
250 struct uart_port *port = (struct uart_port *)_port; in lqasc_err_int()
266 struct uart_port *port = (struct uart_port *)_port; in lqasc_rx_int()
280 struct uart_port *port = p; in lqasc_irq()
489 lqasc_type(struct uart_port *port) in lqasc_type()
620 struct uart_port *port; in lqasc_console_setup()
[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()
189 static void arc_serial_start_tx(struct uart_port *port) in arc_serial_start_tx()
267 struct uart_port *port = dev_id; in arc_serial_isr()
325 static int arc_serial_startup(struct uart_port *port) in arc_serial_startup()
341 static void arc_serial_shutdown(struct uart_port *port) in arc_serial_shutdown()
478 struct uart_port *port; in arc_serial_console_setup()
548 struct uart_port *port = &dev->port; in arc_early_console_setup()
[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()
303 static void bcm_uart_do_tx(struct uart_port *port) in bcm_uart_do_tx()
333 struct uart_port *port; in bcm_uart_interrupt()
390 static void bcm_uart_flush(struct uart_port *port) in bcm_uart_flush()
706 struct uart_port *port; in bcm_console_write()
733 struct uart_port *port; in bcm_console_setup()
811 struct uart_port *port; in bcm_uart_probe()
[all …]
A Dmps2-uart.c71 struct uart_port port;
120 static void mps2_uart_stop_tx(struct uart_port *port) in mps2_uart_stop_tx()
129 static void mps2_uart_tx_chars(struct uart_port *port) in mps2_uart_tx_chars()
138 static void mps2_uart_start_tx(struct uart_port *port) in mps2_uart_start_tx()
156 static void mps2_uart_stop_rx(struct uart_port *port) in mps2_uart_stop_rx()
169 static void mps2_uart_rx_chars(struct uart_port *port) in mps2_uart_rx_chars()
185 struct uart_port *port = data; in mps2_uart_rxirq()
203 struct uart_port *port = data; in mps2_uart_txirq()
222 struct uart_port *port = data; in mps2_uart_oerrirq()
266 static int mps2_uart_startup(struct uart_port *port) in mps2_uart_startup()
[all …]
A Drsci.c134 static void rsci_clear_DRxC(struct uart_port *port) in rsci_clear_DRxC()
145 static void rsci_start_rx(struct uart_port *port) in rsci_start_rx()
171 static int rsci_txfill(struct uart_port *port) in rsci_txfill()
176 static int rsci_rxfill(struct uart_port *port) in rsci_rxfill()
207 static void rsci_start_tx(struct uart_port *port) in rsci_start_tx()
225 static void rsci_stop_tx(struct uart_port *port) in rsci_stop_tx()
234 static void rsci_stop_rx(struct uart_port *port) in rsci_stop_rx()
243 static int rsci_txroom(struct uart_port *port) in rsci_txroom()
248 static void rsci_transmit_chars(struct uart_port *port) in rsci_transmit_chars()
295 static void rsci_receive_chars(struct uart_port *port) in rsci_receive_chars()
[all …]
A Dsprd_serial.c131 struct uart_port port;
196 static void sprd_stop_rx(struct uart_port *port) in sprd_stop_rx()
266 struct uart_port *port = (struct uart_port *)data; in sprd_complete_tx_dma()
447 struct uart_port *port = (struct uart_port *)data; in sprd_complete_rx_dma()
537 static void sprd_stop_tx(struct uart_port *port) in sprd_stop_tx()
558 static void sprd_start_tx(struct uart_port *port) in sprd_start_tx()
660 struct uart_port *port = dev_id; in sprd_handle_irq()
711 static int sprd_startup(struct uart_port *port) in sprd_startup()
765 static void sprd_shutdown(struct uart_port *port) in sprd_shutdown()
920 static int sprd_poll_init(struct uart_port *port) in sprd_poll_init()
[all …]
A Desp32_uart.c93 struct uart_port port;
205 static void esp32_uart_stop_tx(struct uart_port *port) in esp32_uart_stop_tx()
214 static void esp32_uart_rxint(struct uart_port *port) in esp32_uart_rxint()
287 static void esp32_uart_txint(struct uart_port *port) in esp32_uart_txint()
294 struct uart_port *port = dev_id; in esp32_uart_int()
309 static void esp32_uart_start_tx(struct uart_port *port) in esp32_uart_start_tx()
314 static void esp32_uart_stop_rx(struct uart_port *port) in esp32_uart_stop_rx()
323 static int esp32_uart_startup(struct uart_port *port) in esp32_uart_startup()
535 struct uart_port *port = &sport->port; in esp32_uart_console_write()
682 struct uart_port *port; in esp32_uart_probe()
[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()
180 static void digicolor_uart_tx(struct uart_port *port) in digicolor_uart_tx()
219 struct uart_port *port = dev_id; in digicolor_uart_int()
395 struct uart_port *port = digicolor_ports[co->index]; in digicolor_uart_console_write()
419 struct uart_port *port; in digicolor_uart_console_setup()
[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()
234 static int timbuart_startup(struct uart_port *port) in timbuart_startup()
251 static void timbuart_shutdown(struct uart_port *port) in timbuart_shutdown()
273 static void timbuart_set_termios(struct uart_port *port, in timbuart_set_termios()
[all …]
/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()
455 brd->channels[i]->uart_port.irq = brd->irq; in jsm_uart_port_init()
457 brd->channels[i]->uart_port.type = PORT_JSM; in jsm_uart_port_init()
458 brd->channels[i]->uart_port.iotype = UPIO_MEM; in jsm_uart_port_init()
460 brd->channels[i]->uart_port.fifosize = 16; in jsm_uart_port_init()
461 brd->channels[i]->uart_port.ops = &jsm_ops; in jsm_uart_port_init()
468 brd->channels[i]->uart_port.line = line; in jsm_uart_port_init()
505 clear_bit(ch->uart_port.line, linemap); in jsm_remove_uart_port()
[all …]

Completed in 72 milliseconds

123456