/linux-3.4.99/include/linux/ |
D | serial_core.h | 232 struct uart_port; 241 unsigned int (*tx_empty)(struct uart_port *); 242 void (*set_mctrl)(struct uart_port *, unsigned int mctrl); 243 unsigned int (*get_mctrl)(struct uart_port *); 244 void (*stop_tx)(struct uart_port *); 245 void (*start_tx)(struct uart_port *); 246 void (*send_xchar)(struct uart_port *, char ch); 247 void (*stop_rx)(struct uart_port *); 248 void (*enable_ms)(struct uart_port *); 249 void (*break_ctl)(struct uart_port *, int ctl); [all …]
|
D | serial_8250.h | 33 unsigned int (*serial_in)(struct uart_port *, int); 34 void (*serial_out)(struct uart_port *, int, int); 35 void (*set_termios)(struct uart_port *, 38 int (*handle_irq)(struct uart_port *); 39 void (*pm)(struct uart_port *, unsigned int state, 68 struct uart_port; 71 int serial8250_register_port(struct uart_port *); 76 extern int early_serial_setup(struct uart_port *port); 78 extern int serial8250_find_port(struct uart_port *p); 81 extern void serial8250_do_set_termios(struct uart_port *port, [all …]
|
/linux-3.4.99/drivers/tty/serial/ |
D | mpc52xx_uart.c | 65 static struct uart_port mpc52xx_uart_ports[MPC52xx_PSC_MAXNUM]; 85 static irqreturn_t mpc5xxx_uart_process_int(struct uart_port *port); 102 void (*fifo_init)(struct uart_port *port); 103 int (*raw_rx_rdy)(struct uart_port *port); 104 int (*raw_tx_rdy)(struct uart_port *port); 105 int (*rx_rdy)(struct uart_port *port); 106 int (*tx_rdy)(struct uart_port *port); 107 int (*tx_empty)(struct uart_port *port); 108 void (*stop_rx)(struct uart_port *port); 109 void (*start_tx)(struct uart_port *port); [all …]
|
D | sunhv.c | 46 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar() 59 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write() 75 static int receive_chars_getchar(struct uart_port *port, struct tty_struct *tty) in receive_chars_getchar() 118 static int receive_chars_read(struct uart_port *port, struct tty_struct *tty) in receive_chars_read() 167 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit); 168 int (*receive_chars)(struct uart_port *port, struct tty_struct *tty); 183 static struct tty_struct *receive_chars(struct uart_port *port) in receive_chars() 196 static void transmit_chars(struct uart_port *port) in transmit_chars() 215 struct uart_port *port = dev_id; in sunhv_interrupt() 231 static unsigned int sunhv_tx_empty(struct uart_port *port) in sunhv_tx_empty() [all …]
|
D | apbuart.c | 42 static void apbuart_tx_chars(struct uart_port *port); 44 static void apbuart_stop_tx(struct uart_port *port) in apbuart_stop_tx() 53 static void apbuart_start_tx(struct uart_port *port) in apbuart_start_tx() 65 static void apbuart_stop_rx(struct uart_port *port) in apbuart_stop_rx() 74 static void apbuart_enable_ms(struct uart_port *port) in apbuart_enable_ms() 79 static void apbuart_rx_chars(struct uart_port *port) in apbuart_rx_chars() 132 static void apbuart_tx_chars(struct uart_port *port) in apbuart_tx_chars() 168 struct uart_port *port = dev_id; in apbuart_int() 184 static unsigned int apbuart_tx_empty(struct uart_port *port) in apbuart_tx_empty() 190 static unsigned int apbuart_get_mctrl(struct uart_port *port) in apbuart_get_mctrl() [all …]
|
D | serial_core.c | 70 void uart_write_wakeup(struct uart_port *port) in uart_write_wakeup() 84 struct uart_port *port = state->uart_port; in uart_stop() 95 struct uart_port *port = state->uart_port; in __uart_start() 105 struct uart_port *port = state->uart_port; in uart_start() 114 uart_update_mctrl(struct uart_port *port, unsigned int set, unsigned int clear) in uart_update_mctrl() 137 struct uart_port *uport = state->uart_port; in uart_port_startup() 230 struct uart_port *uport = state->uart_port; in uart_shutdown() 275 uart_update_timeout(struct uart_port *port, unsigned int cflag, in uart_update_timeout() 335 uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, in uart_get_baud_rate() 414 uart_get_divisor(struct uart_port *port, unsigned int baud) in uart_get_divisor() [all …]
|
D | altera_jtaguart.c | 61 struct uart_port port; 66 static unsigned int altera_jtaguart_tx_empty(struct uart_port *port) in altera_jtaguart_tx_empty() 72 static unsigned int altera_jtaguart_get_mctrl(struct uart_port *port) in altera_jtaguart_get_mctrl() 77 static void altera_jtaguart_set_mctrl(struct uart_port *port, unsigned int sigs) in altera_jtaguart_set_mctrl() 81 static void altera_jtaguart_start_tx(struct uart_port *port) in altera_jtaguart_start_tx() 90 static void altera_jtaguart_stop_tx(struct uart_port *port) in altera_jtaguart_stop_tx() 99 static void altera_jtaguart_stop_rx(struct uart_port *port) in altera_jtaguart_stop_rx() 108 static void altera_jtaguart_break_ctl(struct uart_port *port, int break_state) in altera_jtaguart_break_ctl() 112 static void altera_jtaguart_enable_ms(struct uart_port *port) in altera_jtaguart_enable_ms() 116 static void altera_jtaguart_set_termios(struct uart_port *port, in altera_jtaguart_set_termios() [all …]
|
D | altera_uart.c | 82 struct uart_port port; 88 static u32 altera_uart_readl(struct uart_port *port, int reg) in altera_uart_readl() 93 static void altera_uart_writel(struct uart_port *port, u32 dat, int reg) in altera_uart_writel() 98 static unsigned int altera_uart_tx_empty(struct uart_port *port) in altera_uart_tx_empty() 104 static unsigned int altera_uart_get_mctrl(struct uart_port *port) in altera_uart_get_mctrl() 116 static void altera_uart_set_mctrl(struct uart_port *port, unsigned int sigs) in altera_uart_set_mctrl() 128 static void altera_uart_start_tx(struct uart_port *port) in altera_uart_start_tx() 136 static void altera_uart_stop_tx(struct uart_port *port) in altera_uart_stop_tx() 144 static void altera_uart_stop_rx(struct uart_port *port) in altera_uart_stop_rx() 152 static void altera_uart_break_ctl(struct uart_port *port, int break_state) in altera_uart_break_ctl() [all …]
|
D | mux.c | 55 struct uart_port port; 112 static unsigned int mux_tx_empty(struct uart_port *port) in mux_tx_empty() 125 static void mux_set_mctrl(struct uart_port *port, unsigned int mctrl) in mux_set_mctrl() 136 static unsigned int mux_get_mctrl(struct uart_port *port) in mux_get_mctrl() 147 static void mux_stop_tx(struct uart_port *port) in mux_stop_tx() 157 static void mux_start_tx(struct uart_port *port) in mux_start_tx() 167 static void mux_stop_rx(struct uart_port *port) in mux_stop_rx() 177 static void mux_enable_ms(struct uart_port *port) in mux_enable_ms() 188 static void mux_break_ctl(struct uart_port *port, int break_state) in mux_break_ctl() 199 static void mux_write(struct uart_port *port) in mux_write() [all …]
|
D | serial_ks8695.c | 65 static inline int tx_enabled(struct uart_port *port) in tx_enabled() 70 static inline int rx_enabled(struct uart_port *port) in rx_enabled() 75 static inline int ms_enabled(struct uart_port *port) in ms_enabled() 80 static inline void ms_enable(struct uart_port *port, int enabled) in ms_enable() 88 static inline void rx_enable(struct uart_port *port, int enabled) in rx_enable() 96 static inline void tx_enable(struct uart_port *port, int enabled) in tx_enable() 109 static void ks8695uart_stop_tx(struct uart_port *port) in ks8695uart_stop_tx() 121 static void ks8695uart_start_tx(struct uart_port *port) in ks8695uart_start_tx() 129 static void ks8695uart_stop_rx(struct uart_port *port) in ks8695uart_stop_rx() 137 static void ks8695uart_enable_ms(struct uart_port *port) in ks8695uart_enable_ms() [all …]
|
D | 21285.c | 57 static void serial21285_stop_tx(struct uart_port *port) in serial21285_stop_tx() 65 static void serial21285_start_tx(struct uart_port *port) in serial21285_start_tx() 73 static void serial21285_stop_rx(struct uart_port *port) in serial21285_stop_rx() 81 static void serial21285_enable_ms(struct uart_port *port) in serial21285_enable_ms() 87 struct uart_port *port = dev_id; in serial21285_rx_chars() 125 struct uart_port *port = dev_id; in serial21285_tx_chars() 158 static unsigned int serial21285_tx_empty(struct uart_port *port) in serial21285_tx_empty() 164 static unsigned int serial21285_get_mctrl(struct uart_port *port) in serial21285_get_mctrl() 169 static void serial21285_set_mctrl(struct uart_port *port, unsigned int mctrl) in serial21285_set_mctrl() 173 static void serial21285_break_ctl(struct uart_port *port, int break_state) in serial21285_break_ctl() [all …]
|
D | uartlite.c | 61 static struct uart_port ulite_ports[ULITE_NR_UARTS]; 67 static int ulite_receive(struct uart_port *port, int stat) in ulite_receive() 117 static int ulite_transmit(struct uart_port *port, int stat) in ulite_transmit() 147 struct uart_port *port = dev_id; in ulite_isr() 166 static unsigned int ulite_tx_empty(struct uart_port *port) in ulite_tx_empty() 178 static unsigned int ulite_get_mctrl(struct uart_port *port) in ulite_get_mctrl() 183 static void ulite_set_mctrl(struct uart_port *port, unsigned int mctrl) in ulite_set_mctrl() 188 static void ulite_stop_tx(struct uart_port *port) in ulite_stop_tx() 193 static void ulite_start_tx(struct uart_port *port) in ulite_start_tx() 198 static void ulite_stop_rx(struct uart_port *port) in ulite_stop_rx() [all …]
|
D | vr41xx_siu.c | 61 static struct uart_port siu_uart_ports[SIU_PORTS_MAX] = { 77 struct uart_port *port; in vr41xx_select_siu_interface() 98 struct uart_port *port; in vr41xx_use_irda() 119 struct uart_port *port; in vr41xx_select_irda_module() 150 static inline void siu_clear_fifo(struct uart_port *port) in siu_clear_fifo() 158 static inline unsigned long siu_port_size(struct uart_port *port) in siu_port_size() 170 static inline unsigned int siu_check_type(struct uart_port *port) in siu_check_type() 180 static inline const char *siu_type_name(struct uart_port *port) in siu_type_name() 192 static unsigned int siu_tx_empty(struct uart_port *port) in siu_tx_empty() 203 static void siu_set_mctrl(struct uart_port *port, unsigned int mctrl) in siu_set_mctrl() [all …]
|
D | lantiq.c | 110 static void lqasc_tx_chars(struct uart_port *port); 116 struct uart_port port; 124 ltq_uart_port *to_ltq_uart_port(struct uart_port *port) in to_ltq_uart_port() 130 lqasc_stop_tx(struct uart_port *port) in lqasc_stop_tx() 136 lqasc_start_tx(struct uart_port *port) in lqasc_start_tx() 146 lqasc_stop_rx(struct uart_port *port) in lqasc_stop_rx() 152 lqasc_enable_ms(struct uart_port *port) in lqasc_enable_ms() 157 lqasc_rx_chars(struct uart_port *port) in lqasc_rx_chars() 222 lqasc_tx_chars(struct uart_port *port) in lqasc_tx_chars() 256 struct uart_port *port = (struct uart_port *)_port; in lqasc_tx_int() [all …]
|
D | clps711x.c | 66 static void clps711xuart_stop_tx(struct uart_port *port) in clps711xuart_stop_tx() 74 static void clps711xuart_start_tx(struct uart_port *port) in clps711xuart_start_tx() 82 static void clps711xuart_stop_rx(struct uart_port *port) in clps711xuart_stop_rx() 87 static void clps711xuart_enable_ms(struct uart_port *port) in clps711xuart_enable_ms() 93 struct uart_port *port = dev_id; in clps711xuart_int_rx() 147 struct uart_port *port = dev_id; in clps711xuart_int_tx() 182 static unsigned int clps711xuart_tx_empty(struct uart_port *port) in clps711xuart_tx_empty() 188 static unsigned int clps711xuart_get_mctrl(struct uart_port *port) in clps711xuart_get_mctrl() 209 clps711xuart_set_mctrl_null(struct uart_port *port, unsigned int mctrl) in clps711xuart_set_mctrl_null() 213 static void clps711xuart_break_ctl(struct uart_port *port, int break_state) in clps711xuart_break_ctl() [all …]
|
D | vt8500_serial.c | 80 struct uart_port uart; 86 static inline void vt8500_write(struct uart_port *port, unsigned int val, in vt8500_write() 92 static inline unsigned int vt8500_read(struct uart_port *port, unsigned int off) in vt8500_read() 97 static void vt8500_stop_tx(struct uart_port *port) in vt8500_stop_tx() 107 static void vt8500_stop_rx(struct uart_port *port) in vt8500_stop_rx() 117 static void vt8500_enable_ms(struct uart_port *port) in vt8500_enable_ms() 127 static void handle_rx(struct uart_port *port) in handle_rx() 174 static void handle_tx(struct uart_port *port) in handle_tx() 205 static void vt8500_start_tx(struct uart_port *port) in vt8500_start_tx() 218 static void handle_delta_cts(struct uart_port *port) in handle_delta_cts() [all …]
|
D | timbuart.c | 37 struct uart_port port; 47 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier); 51 static void timbuart_stop_rx(struct uart_port *port) in timbuart_stop_rx() 58 static void timbuart_stop_tx(struct uart_port *port) in timbuart_stop_tx() 65 static void timbuart_start_tx(struct uart_port *port) in timbuart_start_tx() 74 static unsigned int timbuart_tx_empty(struct uart_port *port) in timbuart_tx_empty() 81 static void timbuart_flush_buffer(struct uart_port *port) in timbuart_flush_buffer() 92 static void timbuart_rx_chars(struct uart_port *port) in timbuart_rx_chars() 110 static void timbuart_tx_chars(struct uart_port *port) in timbuart_tx_chars() 131 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_tx_port() [all …]
|
D | bcm63xx_uart.c | 40 static struct uart_port ports[BCM63XX_NR_UARTS]; 82 static inline unsigned int bcm_uart_readl(struct uart_port *port, in bcm_uart_readl() 88 static inline void bcm_uart_writel(struct uart_port *port, in bcm_uart_writel() 97 static unsigned int bcm_uart_tx_empty(struct uart_port *port) in bcm_uart_tx_empty() 108 static void bcm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in bcm_uart_set_mctrl() 132 static unsigned int bcm_uart_get_mctrl(struct uart_port *port) in bcm_uart_get_mctrl() 152 static void bcm_uart_stop_tx(struct uart_port *port) in bcm_uart_stop_tx() 168 static void bcm_uart_start_tx(struct uart_port *port) in bcm_uart_start_tx() 184 static void bcm_uart_stop_rx(struct uart_port *port) in bcm_uart_stop_rx() 196 static void bcm_uart_enable_ms(struct uart_port *port) in bcm_uart_enable_ms() [all …]
|
D | xilinx_uartps.c | 149 struct uart_port *port = (struct uart_port *)dev_id; in xuartps_isr() 253 static unsigned int xuartps_set_baud_rate(struct uart_port *port, in xuartps_set_baud_rate() 310 static void xuartps_start_tx(struct uart_port *port) in xuartps_start_tx() 358 static void xuartps_stop_tx(struct uart_port *port) in xuartps_stop_tx() 373 static void xuartps_stop_rx(struct uart_port *port) in xuartps_stop_rx() 389 static unsigned int xuartps_tx_empty(struct uart_port *port) in xuartps_tx_empty() 404 static void xuartps_break_ctl(struct uart_port *port, int ctl) in xuartps_break_ctl() 432 static void xuartps_set_termios(struct uart_port *port, in xuartps_set_termios() 547 static int xuartps_startup(struct uart_port *port) in xuartps_startup() 605 static void xuartps_shutdown(struct uart_port *port) in xuartps_shutdown() [all …]
|
D | sc26xx.c | 35 struct uart_port port[2]; 98 static inline u8 read_sc_port(struct uart_port *p, u8 reg) in read_sc_port() 103 static inline void write_sc_port(struct uart_port *p, u8 reg, u8 val) in write_sc_port() 111 static void sc26xx_enable_irq(struct uart_port *port, int mask) in sc26xx_enable_irq() 123 static void sc26xx_disable_irq(struct uart_port *port, int mask) in sc26xx_disable_irq() 135 static struct tty_struct *receive_chars(struct uart_port *port) in receive_chars() 189 static void transmit_chars(struct uart_port *port) in transmit_chars() 251 static unsigned int sc26xx_tx_empty(struct uart_port *port) in sc26xx_tx_empty() 257 static void sc26xx_set_mctrl(struct uart_port *port, unsigned int mctrl) in sc26xx_set_mctrl() 280 static unsigned int sc26xx_get_mctrl(struct uart_port *port) in sc26xx_get_mctrl() [all …]
|
/linux-3.4.99/arch/avr32/include/asm/mach/ |
D | serial_at91.h | 11 struct uart_port; 18 void (*set_mctrl)(struct uart_port *, u_int); 19 u_int (*get_mctrl)(struct uart_port *); 20 void (*enable_ms)(struct uart_port *); 21 void (*pm)(struct uart_port *, u_int, u_int); 22 int (*set_wake)(struct uart_port *, u_int); 23 int (*open)(struct uart_port *); 24 void (*close)(struct uart_port *);
|
/linux-3.4.99/arch/arm/include/asm/mach/ |
D | serial_at91.h | 11 struct uart_port; 18 void (*set_mctrl)(struct uart_port *, u_int); 19 u_int (*get_mctrl)(struct uart_port *); 20 void (*enable_ms)(struct uart_port *); 21 void (*pm)(struct uart_port *, u_int, u_int); 22 int (*set_wake)(struct uart_port *, u_int); 23 int (*open)(struct uart_port *); 24 void (*close)(struct uart_port *);
|
D | serial_sa1100.h | 11 struct uart_port; 19 void (*set_mctrl)(struct uart_port *, u_int); 20 u_int (*get_mctrl)(struct uart_port *); 21 void (*pm)(struct uart_port *, u_int, u_int); 22 int (*set_wake)(struct uart_port *, u_int);
|
/linux-3.4.99/drivers/tty/serial/jsm/ |
D | jsm_tty.c | 69 static unsigned int jsm_tty_tx_empty(struct uart_port *port) in jsm_tty_tx_empty() 77 static unsigned int jsm_tty_get_mctrl(struct uart_port *port) in jsm_tty_get_mctrl() 99 static void jsm_tty_set_mctrl(struct uart_port *port, unsigned int mctrl) in jsm_tty_set_mctrl() 127 static void jsm_tty_write(struct uart_port *port) in jsm_tty_write() 130 channel = container_of(port, struct jsm_channel, uart_port); in jsm_tty_write() 134 static void jsm_tty_start_tx(struct uart_port *port) in jsm_tty_start_tx() 146 static void jsm_tty_stop_tx(struct uart_port *port) in jsm_tty_stop_tx() 157 static void jsm_tty_send_xchar(struct uart_port *port, char ch) in jsm_tty_send_xchar() 173 static void jsm_tty_stop_rx(struct uart_port *port) in jsm_tty_stop_rx() 180 static void jsm_tty_enable_ms(struct uart_port *port) in jsm_tty_enable_ms() [all …]
|
/linux-3.4.99/arch/mips/ar7/ |
D | platform.c | 568 static struct uart_port uart_port __initdata; in ar7_register_uarts() 572 memset(&uart_port, 0, sizeof(struct uart_port)); in ar7_register_uarts() 578 uart_port.type = PORT_AR7; in ar7_register_uarts() 579 uart_port.uartclk = clk_get_rate(bus_clk) / 2; in ar7_register_uarts() 580 uart_port.iotype = UPIO_MEM32; in ar7_register_uarts() 581 uart_port.regshift = 2; in ar7_register_uarts() 583 uart_port.line = 0; in ar7_register_uarts() 584 uart_port.irq = AR7_IRQ_UART0; in ar7_register_uarts() 585 uart_port.mapbase = AR7_REGS_UART0; in ar7_register_uarts() 586 uart_port.membase = ioremap(uart_port.mapbase, 256); in ar7_register_uarts() [all …]
|