| /linux/include/linux/ |
| A D | serial_core.h | 29 struct uart_port; 42 void (*stop_tx)(struct uart_port *); 43 void (*start_tx)(struct uart_port *); 44 void (*throttle)(struct uart_port *); 47 void (*stop_rx)(struct uart_port *); 50 int (*startup)(struct uart_port *); 106 struct uart_port { struct 294 struct uart_port *uart_port; member 348 struct uart_port port; 391 struct uart_port *uart_get_console(struct uart_port *ports, int nr, [all …]
|
| A D | serial_8250.h | 31 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 *); 95 struct uart_port port; 184 int serial8250_console_exit(struct uart_port *port); [all …]
|
| /linux/drivers/tty/serial/ |
| A D | mpc52xx_uart.c | 85 void (*fifo_init)(struct uart_port *port); 88 int (*rx_rdy)(struct uart_port *port); 89 int (*tx_rdy)(struct uart_port *port); 90 int (*tx_empty)(struct uart_port *port); 91 void (*stop_rx)(struct uart_port *port); 92 void (*start_tx)(struct uart_port *port); 93 void (*stop_tx)(struct uart_port *port); 111 u8 (*get_ipcr)(struct uart_port *port); 118 u8 (*get_mr1)(struct uart_port *port); 1509 struct uart_port *port = dev_id; in mpc52xx_uart_int() [all …]
|
| A D | sunhv.c | 171 int (*receive_chars)(struct uart_port *port); 199 static void transmit_chars(struct uart_port *port) in transmit_chars() 218 struct uart_port *port = dev_id; in sunhv_interrupt() 256 static void sunhv_stop_tx(struct uart_port *port) in sunhv_stop_tx() 262 static void sunhv_start_tx(struct uart_port *port) in sunhv_start_tx() 289 static void sunhv_stop_rx(struct uart_port *port) in sunhv_stop_rx() 314 static int sunhv_startup(struct uart_port *port) in sunhv_startup() 400 static struct uart_port *sunhv_port; 437 struct uart_port *port = sunhv_port; in sunhv_console_write_paged() 492 struct uart_port *port = sunhv_port; in sunhv_console_write_bychar() [all …]
|
| A D | liteuart.c | 45 struct uart_port port; 73 struct uart_port *port = &uart->port; in liteuart_timer() 123 static void liteuart_stop_tx(struct uart_port *port) in liteuart_stop_tx() 127 static void liteuart_start_tx(struct uart_port *port) in liteuart_start_tx() 149 static void liteuart_stop_rx(struct uart_port *port) in liteuart_stop_rx() 162 static int liteuart_startup(struct uart_port *port) in liteuart_startup() 176 static void liteuart_shutdown(struct uart_port *port) in liteuart_shutdown() 249 struct uart_port *port; in liteuart_probe() 336 struct uart_port *port; in liteuart_console_write() 350 struct uart_port *port; in liteuart_console_setup() [all …]
|
| A D | apbuart.c | 39 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() 159 struct uart_port *port = dev_id; in apbuart_int() 197 static int apbuart_startup(struct uart_port *port) in apbuart_startup() 473 struct uart_port *port; in apbuart_console_setup() 550 struct uart_port *port = NULL; in apbuart_probe() 563 apbuart_flush_fifo((struct uart_port *) port); in apbuart_probe() [all …]
|
| A D | 21285.c | 51 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() 219 static int serial21285_startup(struct uart_port *port) in serial21285_startup() 391 static struct uart_port serial21285_port = { [all …]
|
| A D | altera_uart.c | 78 struct uart_port port; 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() 204 struct uart_port *port = &pp->port; in altera_uart_rx_chars() 251 struct uart_port *port = &pp->port; in altera_uart_tx_chars() 283 struct uart_port *port = data; in altera_uart_interrupt() 302 struct uart_port *port = &pp->port; in altera_uart_timer() 318 static int altera_uart_startup(struct uart_port *port) in altera_uart_startup() 460 struct uart_port *port; in altera_uart_console_setup() 511 struct uart_port *port = &dev->port; in altera_uart_earlycon_setup() [all …]
|
| A D | altera_jtaguart.c | 57 struct uart_port port; 77 static void altera_jtaguart_start_tx(struct uart_port *port) in altera_jtaguart_start_tx() 86 static void altera_jtaguart_stop_tx(struct uart_port *port) in altera_jtaguart_stop_tx() 95 static void altera_jtaguart_stop_rx(struct uart_port *port) in altera_jtaguart_stop_rx() 119 struct uart_port *port = &pp->port; in altera_jtaguart_rx_chars() 139 struct uart_port *port = &pp->port; in altera_jtaguart_tx_chars() 179 struct uart_port *port = data; in altera_jtaguart_interrupt() 207 static int altera_jtaguart_startup(struct uart_port *port) in altera_jtaguart_startup() 348 struct uart_port *port; in altera_jtaguart_console_setup() 420 struct uart_port *port; in altera_jtaguart_probe() [all …]
|
| A D | st-asc.c | 37 struct uart_port port; 358 struct uart_port *port = ptr; in asc_interrupt() 427 static void asc_start_tx(struct uart_port *port) in asc_start_tx() 436 static void asc_stop_tx(struct uart_port *port) in asc_stop_tx() 442 static void asc_stop_rx(struct uart_port *port) in asc_stop_rx() 456 static int asc_startup(struct uart_port *port) in asc_startup() 470 static void asc_shutdown(struct uart_port *port) in asc_shutdown() 635 static const char *asc_type(struct uart_port *port) in asc_type() 717 struct uart_port *port = &ascport->port; in asc_init_port() 840 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_suspend() [all …]
|
| A D | mux.c | 47 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() 181 static void mux_write(struct uart_port *port) in mux_write() 225 static void mux_read(struct uart_port *port) in mux_read() 265 static int mux_startup(struct uart_port *port) in mux_startup() 277 static void mux_shutdown(struct uart_port *port) in mux_shutdown() 303 static const char *mux_type(struct uart_port *port) in mux_type() 327 static int mux_request_port(struct uart_port *port) in mux_request_port() [all …]
|
| A D | arc_uart.c | 96 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() 192 static void arc_serial_start_tx(struct uart_port *port) in arc_serial_start_tx() 273 struct uart_port *port = dev_id; in arc_serial_isr() 331 static int arc_serial_startup(struct uart_port *port) in arc_serial_startup() 347 static void arc_serial_shutdown(struct uart_port *port) in arc_serial_shutdown() 484 struct uart_port *port; in arc_serial_console_setup() 554 struct uart_port *port = &dev->port; in arc_early_console_setup() [all …]
|
| A D | vr41xx_siu.c | 60 struct uart_port *port; in vr41xx_select_siu_interface() 81 struct uart_port *port; in vr41xx_use_irda() 102 struct uart_port *port; in vr41xx_select_irda_module() 409 struct uart_port *port; in siu_interrupt() 689 struct uart_port *port; in siu_init_ports() 754 struct uart_port *port; in siu_console_write() 770 struct uart_port *port; in siu_console_setup() 809 struct uart_port *port; in siu_console_init() 852 struct uart_port *port; in siu_probe() 887 struct uart_port *port; in siu_remove() [all …]
|
| A D | lantiq.c | 111 struct uart_port port; 139 lqasc_stop_tx(struct uart_port *port) in lqasc_stop_tx() 145 lqasc_start_tx(struct uart_port *port) in lqasc_start_tx() 157 lqasc_stop_rx(struct uart_port *port) in lqasc_stop_rx() 259 struct uart_port *port = (struct uart_port *)_port; in lqasc_tx_int() 273 struct uart_port *port = (struct uart_port *)_port; in lqasc_err_int() 288 struct uart_port *port = (struct uart_port *)_port; in lqasc_rx_int() 302 struct uart_port *port = p; in lqasc_irq() 511 lqasc_type(struct uart_port *port) in lqasc_type() 645 struct uart_port *port; in lqasc_console_setup() [all …]
|
| A D | uartlite.c | 64 static struct uart_port *console_port; 218 struct uart_port *port = dev_id; in ulite_isr() 262 static void ulite_stop_tx(struct uart_port *port) in ulite_stop_tx() 284 static int ulite_startup(struct uart_port *port) in ulite_startup() 494 struct uart_port *port = console_port; in ulite_console_write() 522 struct uart_port *port = NULL; in ulite_console_setup() 632 struct uart_port *port; in ulite_assign() 689 struct uart_port *port = dev_get_drvdata(dev); in ulite_release() 709 struct uart_port *port = dev_get_drvdata(dev); in ulite_suspend() 725 struct uart_port *port = dev_get_drvdata(dev); in ulite_resume() [all …]
|
| A D | sprd_serial.c | 122 struct uart_port port; 174 static void sprd_stop_rx(struct uart_port *port) in sprd_stop_rx() 246 struct uart_port *port = (struct uart_port *)data; in sprd_complete_tx_dma() 428 struct uart_port *port = (struct uart_port *)data; in sprd_complete_rx_dma() 518 static void sprd_stop_tx(struct uart_port *port) in sprd_stop_tx() 539 static void sprd_start_tx(struct uart_port *port) in sprd_start_tx() 663 struct uart_port *port = dev_id; in sprd_handle_irq() 712 static int sprd_startup(struct uart_port *port) in sprd_startup() 766 static void sprd_shutdown(struct uart_port *port) in sprd_shutdown() 922 static int sprd_poll_init(struct uart_port *port) in sprd_poll_init() [all …]
|
| A D | mps2-uart.c | 72 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() 157 static void mps2_uart_start_tx(struct uart_port *port) in mps2_uart_start_tx() 175 static void mps2_uart_stop_rx(struct uart_port *port) in mps2_uart_stop_rx() 188 static void mps2_uart_rx_chars(struct uart_port *port) in mps2_uart_rx_chars() 204 struct uart_port *port = data; in mps2_uart_rxirq() 222 struct uart_port *port = data; in mps2_uart_txirq() 241 struct uart_port *port = data; in mps2_uart_oerrirq() 285 static int mps2_uart_startup(struct uart_port *port) in mps2_uart_startup() [all …]
|
| A D | digicolor-usart.c | 77 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() 221 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 D | timbuart.c | 25 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() 238 static int timbuart_startup(struct uart_port *port) in timbuart_startup() 255 static void timbuart_shutdown(struct uart_port *port) in timbuart_shutdown() 277 static void timbuart_set_termios(struct uart_port *port, in timbuart_set_termios() [all …]
|
| A D | bcm63xx_uart.c | 31 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() 360 struct uart_port *port; in bcm_uart_interrupt() 417 static void bcm_uart_flush(struct uart_port *port) in bcm_uart_flush() 696 struct uart_port *port; in bcm_console_write() 730 struct uart_port *port; in bcm_console_setup() 808 struct uart_port *port; in bcm_uart_probe() [all …]
|
| A D | vt8500_serial.c | 96 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() 190 static void handle_tx(struct uart_port *port) in handle_tx() 221 static void vt8500_start_tx(struct uart_port *port) in vt8500_start_tx() 242 struct uart_port *port = dev_id; in vt8500_irq() 324 static int vt8500_startup(struct uart_port *port) in vt8500_startup() 343 static void vt8500_shutdown(struct uart_port *port) in vt8500_shutdown() [all …]
|
| A D | meson_uart.c | 101 static void meson_uart_stop_tx(struct uart_port *port) in meson_uart_stop_tx() 110 static void meson_uart_stop_rx(struct uart_port *port) in meson_uart_stop_rx() 234 struct uart_port *port = (struct uart_port *)dev_id; in meson_uart_interrupt() 256 static void meson_uart_reset(struct uart_port *port) in meson_uart_reset() 268 static int meson_uart_startup(struct uart_port *port) in meson_uart_startup() 558 struct uart_port *port; in meson_serial_console_write() 569 struct uart_port *port; in meson_serial_console_setup() 677 struct uart_port *port) in meson_uart_probe_clocks_legacy() 691 struct uart_port *port) in meson_uart_probe_clocks() 717 struct uart_port *port; in meson_uart_probe() [all …]
|
| A D | mvebu-uart.c | 128 struct uart_port *port; 183 static void mvebu_uart_stop_tx(struct uart_port *port) in mvebu_uart_stop_tx() 337 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_isr() 352 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_rx_isr() 364 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_tx_isr() 646 static void wait_for_xmitr(struct uart_port *port) in wait_for_xmitr() 654 static void wait_for_xmite(struct uart_port *port) in wait_for_xmite() 705 struct uart_port *port; in mvebu_uart_console_setup() 764 struct uart_port *port = mvuart->port; in mvebu_uart_suspend() 784 struct uart_port *port = mvuart->port; in mvebu_uart_resume() [all …]
|
| /linux/drivers/tty/serial/jsm/ |
| A D | jsm_tty.c | 67 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/arch/mips/ar7/ |
| A D | platform.c | 552 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 …]
|