/linux-4.4.14/include/linux/ |
D | serial_core.h | 41 struct uart_port; 50 unsigned int (*tx_empty)(struct uart_port *); 51 void (*set_mctrl)(struct uart_port *, unsigned int mctrl); 52 unsigned int (*get_mctrl)(struct uart_port *); 53 void (*stop_tx)(struct uart_port *); 54 void (*start_tx)(struct uart_port *); 55 void (*throttle)(struct uart_port *); 56 void (*unthrottle)(struct uart_port *); 57 void (*send_xchar)(struct uart_port *, char ch); 58 void (*stop_rx)(struct uart_port *); [all …]
|
D | serial_8250.h | 34 unsigned int (*serial_in)(struct uart_port *, int); 35 void (*serial_out)(struct uart_port *, int, int); 36 void (*set_termios)(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 *); 87 struct uart_port port; 127 static inline struct uart_8250_port *up_to_u8250p(struct uart_port *up) in up_to_u8250p() 137 extern int early_serial_setup(struct uart_port *port); 141 extern void serial8250_do_set_termios(struct uart_port *port, [all …]
|
D | nwpserial.h | 15 int nwpserial_register_port(struct uart_port *port);
|
D | serial_pnx8xxx.h | 27 struct uart_port port;
|
D | serial_sci.h | 46 void (*init_pins)(struct uart_port *, unsigned int cflag);
|
D | kgdb.h | 39 struct uart_port;
|
/linux-4.4.14/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); 92 void (*fifo_init)(struct uart_port *port); 93 int (*raw_rx_rdy)(struct uart_port *port); 94 int (*raw_tx_rdy)(struct uart_port *port); 95 int (*rx_rdy)(struct uart_port *port); 96 int (*tx_rdy)(struct uart_port *port); 97 int (*tx_empty)(struct uart_port *port); 98 void (*stop_rx)(struct uart_port *port); 99 void (*start_tx)(struct uart_port *port); [all …]
|
D | sunhv.c | 45 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar() 58 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write() 74 static int receive_chars_getchar(struct uart_port *port) in receive_chars_getchar() 117 static int receive_chars_read(struct uart_port *port) in receive_chars_read() 169 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit); 170 int (*receive_chars)(struct uart_port *port); 185 static struct tty_port *receive_chars(struct uart_port *port) in receive_chars() 198 static void transmit_chars(struct uart_port *port) in transmit_chars() 217 struct uart_port *port = dev_id; in sunhv_interrupt() 233 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_rx_chars(struct uart_port *port) in apbuart_rx_chars() 128 static void apbuart_tx_chars(struct uart_port *port) in apbuart_tx_chars() 164 struct uart_port *port = dev_id; in apbuart_int() 180 static unsigned int apbuart_tx_empty(struct uart_port *port) in apbuart_tx_empty() 186 static unsigned int apbuart_get_mctrl(struct uart_port *port) in apbuart_get_mctrl() 192 static void apbuart_set_mctrl(struct uart_port *port, unsigned int mctrl) in apbuart_set_mctrl() [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_set_termios(struct uart_port *port, in altera_jtaguart_set_termios() 123 struct uart_port *port = &pp->port; in altera_jtaguart_rx_chars() [all …]
|
D | st-asc.c | 40 struct uart_port port; 147 static inline struct asc_port *to_asc_port(struct uart_port *port) in to_asc_port() 152 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in() 161 static inline void asc_out(struct uart_port *port, u32 offset, u32 value) in asc_out() 174 static inline void asc_disable_tx_interrupts(struct uart_port *port) in asc_disable_tx_interrupts() 181 static inline void asc_enable_tx_interrupts(struct uart_port *port) in asc_enable_tx_interrupts() 187 static inline void asc_disable_rx_interrupts(struct uart_port *port) in asc_disable_rx_interrupts() 194 static inline void asc_enable_rx_interrupts(struct uart_port *port) in asc_enable_rx_interrupts() 200 static inline u32 asc_txfifo_is_empty(struct uart_port *port) in asc_txfifo_is_empty() 205 static inline u32 asc_txfifo_is_half_empty(struct uart_port *port) in asc_txfifo_is_half_empty() [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 | 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() 178 static void mux_break_ctl(struct uart_port *port, int break_state) in mux_break_ctl() 189 static void mux_write(struct uart_port *port) in mux_write() 233 static void mux_read(struct uart_port *port) in mux_read() [all …]
|
D | serial_core.c | 62 static int uart_dcd_enabled(struct uart_port *uport) in uart_dcd_enabled() 71 void uart_write_wakeup(struct uart_port *port) in uart_write_wakeup() 85 struct uart_port *port = state->uart_port; in uart_stop() 96 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() 227 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() [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() 83 struct uart_port *port = dev_id; in serial21285_rx_chars() 120 struct uart_port *port = dev_id; in serial21285_tx_chars() 153 static unsigned int serial21285_tx_empty(struct uart_port *port) in serial21285_tx_empty() 159 static unsigned int serial21285_get_mctrl(struct uart_port *port) in serial21285_get_mctrl() 164 static void serial21285_set_mctrl(struct uart_port *port, unsigned int mctrl) in serial21285_set_mctrl() 168 static void serial21285_break_ctl(struct uart_port *port, int break_state) in serial21285_break_ctl() 183 static int serial21285_startup(struct uart_port *port) in serial21285_startup() [all …]
|
D | arc_uart.c | 103 struct uart_port port; 129 static void arc_serial_stop_rx(struct uart_port *port) in arc_serial_stop_rx() 134 static void arc_serial_stop_tx(struct uart_port *port) in arc_serial_stop_tx() 145 static unsigned int arc_serial_tx_empty(struct uart_port *port) in arc_serial_tx_empty() 163 static void arc_serial_tx_chars(struct uart_port *port) in arc_serial_tx_chars() 199 static void arc_serial_start_tx(struct uart_port *port) in arc_serial_start_tx() 204 static void arc_serial_rx_chars(struct uart_port *port, unsigned int status) in arc_serial_rx_chars() 282 struct uart_port *port = dev_id; in arc_serial_isr() 318 static unsigned int arc_serial_get_mctrl(struct uart_port *port) in arc_serial_get_mctrl() 330 static void arc_serial_set_mctrl(struct uart_port *port, unsigned int mctrl) in arc_serial_set_mctrl() [all …]
|
D | uartlite.c | 95 static inline u32 uart_in32(u32 offset, struct uart_port *port) in uart_in32() 102 static inline void uart_out32(u32 val, u32 offset, struct uart_port *port) in uart_out32() 109 static struct uart_port ulite_ports[ULITE_NR_UARTS]; 115 static int ulite_receive(struct uart_port *port, int stat) in ulite_receive() 165 static int ulite_transmit(struct uart_port *port, int stat) in ulite_transmit() 195 struct uart_port *port = dev_id; in ulite_isr() 214 static unsigned int ulite_tx_empty(struct uart_port *port) in ulite_tx_empty() 226 static unsigned int ulite_get_mctrl(struct uart_port *port) in ulite_get_mctrl() 231 static void ulite_set_mctrl(struct uart_port *port, unsigned int mctrl) in ulite_set_mctrl() 236 static void ulite_stop_tx(struct uart_port *port) in ulite_stop_tx() [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 | 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 | 112 static void lqasc_tx_chars(struct uart_port *port); 118 struct uart_port port; 129 ltq_uart_port *to_ltq_uart_port(struct uart_port *port) in to_ltq_uart_port() 135 lqasc_stop_tx(struct uart_port *port) in lqasc_stop_tx() 141 lqasc_start_tx(struct uart_port *port) in lqasc_start_tx() 151 lqasc_stop_rx(struct uart_port *port) in lqasc_stop_rx() 157 lqasc_rx_chars(struct uart_port *port) in lqasc_rx_chars() 218 lqasc_tx_chars(struct uart_port *port) in lqasc_tx_chars() 252 struct uart_port *port = (struct uart_port *)_port; in lqasc_tx_int() 264 struct uart_port *port = (struct uart_port *)_port; in lqasc_err_int() [all …]
|
D | stm32-usart.c | 118 struct uart_port port; 126 static void stm32_stop_tx(struct uart_port *port); 128 static inline struct stm32_port *to_stm32_port(struct uart_port *port) in to_stm32_port() 133 static void stm32_set_bits(struct uart_port *port, u32 reg, u32 bits) in stm32_set_bits() 142 static void stm32_clr_bits(struct uart_port *port, u32 reg, u32 bits) in stm32_clr_bits() 151 static void stm32_receive_chars(struct uart_port *port) in stm32_receive_chars() 200 static void stm32_transmit_chars(struct uart_port *port) in stm32_transmit_chars() 234 struct uart_port *port = ptr; in stm32_interrupt() 252 static unsigned int stm32_tx_empty(struct uart_port *port) in stm32_tx_empty() 257 static void stm32_set_mctrl(struct uart_port *port, unsigned int mctrl) in stm32_set_mctrl() [all …]
|
D | digicolor-usart.c | 81 struct uart_port port; 85 static struct uart_port *digicolor_ports[DIGICOLOR_USART_NR]; 87 static bool digicolor_uart_tx_full(struct uart_port *port) in digicolor_uart_tx_full() 93 static bool digicolor_uart_rx_empty(struct uart_port *port) in digicolor_uart_rx_empty() 99 static void digicolor_uart_stop_tx(struct uart_port *port) in digicolor_uart_stop_tx() 107 static void digicolor_uart_start_tx(struct uart_port *port) in digicolor_uart_start_tx() 115 static void digicolor_uart_stop_rx(struct uart_port *port) in digicolor_uart_stop_rx() 136 static void digicolor_uart_rx(struct uart_port *port) in digicolor_uart_rx() 185 static void digicolor_uart_tx(struct uart_port *port) in digicolor_uart_tx() 225 struct uart_port *port = dev_id; in digicolor_uart_int() [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 | 38 static struct uart_port ports[BCM63XX_NR_UARTS]; 80 static inline unsigned int bcm_uart_readl(struct uart_port *port, in bcm_uart_readl() 86 static inline void bcm_uart_writel(struct uart_port *port, in bcm_uart_writel() 95 static unsigned int bcm_uart_tx_empty(struct uart_port *port) in bcm_uart_tx_empty() 106 static void bcm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in bcm_uart_set_mctrl() 130 static unsigned int bcm_uart_get_mctrl(struct uart_port *port) in bcm_uart_get_mctrl() 150 static void bcm_uart_stop_tx(struct uart_port *port) in bcm_uart_stop_tx() 166 static void bcm_uart_start_tx(struct uart_port *port) in bcm_uart_start_tx() 182 static void bcm_uart_stop_rx(struct uart_port *port) in bcm_uart_stop_rx() 194 static void bcm_uart_enable_ms(struct uart_port *port) in bcm_uart_enable_ms() [all …]
|
D | sprd_serial.c | 116 struct uart_port port; 124 static inline unsigned int serial_in(struct uart_port *port, int offset) in serial_in() 129 static inline void serial_out(struct uart_port *port, int offset, int value) in serial_out() 134 static unsigned int sprd_tx_empty(struct uart_port *port) in sprd_tx_empty() 142 static unsigned int sprd_get_mctrl(struct uart_port *port) in sprd_get_mctrl() 147 static void sprd_set_mctrl(struct uart_port *port, unsigned int mctrl) in sprd_set_mctrl() 152 static void sprd_stop_tx(struct uart_port *port) in sprd_stop_tx() 166 static void sprd_start_tx(struct uart_port *port) in sprd_start_tx() 177 static void sprd_stop_rx(struct uart_port *port) in sprd_stop_rx() 192 static void sprd_break_ctl(struct uart_port *port, int break_state) in sprd_break_ctl() [all …]
|
D | vt8500_serial.c | 109 struct uart_port uart; 124 static inline void vt8500_write(struct uart_port *port, unsigned int val, in vt8500_write() 130 static inline unsigned int vt8500_read(struct uart_port *port, unsigned int off) in vt8500_read() 135 static void vt8500_stop_tx(struct uart_port *port) in vt8500_stop_tx() 145 static void vt8500_stop_rx(struct uart_port *port) in vt8500_stop_rx() 155 static void vt8500_enable_ms(struct uart_port *port) in vt8500_enable_ms() 165 static void handle_rx(struct uart_port *port) in handle_rx() 205 static void handle_tx(struct uart_port *port) in handle_tx() 236 static void vt8500_start_tx(struct uart_port *port) in vt8500_start_tx() 249 static void handle_delta_cts(struct uart_port *port) in handle_delta_cts() [all …]
|
D | tilegx.c | 46 struct uart_port uart; 135 struct uart_port *port; in handle_transmit() 181 struct uart_port *port = dev_id; in tilegx_interrupt() 207 static u_int tilegx_tx_empty(struct uart_port *port) in tilegx_tx_empty() 230 static void tilegx_set_mctrl(struct uart_port *port, u_int mctrl) in tilegx_set_mctrl() 239 static u_int tilegx_get_mctrl(struct uart_port *port) in tilegx_get_mctrl() 248 static void tilegx_stop_tx(struct uart_port *port) in tilegx_stop_tx() 257 static void tilegx_start_tx(struct uart_port *port) in tilegx_start_tx() 299 static void tilegx_stop_rx(struct uart_port *port) in tilegx_stop_rx() 320 static void tilegx_break_ctl(struct uart_port *port, int break_state) in tilegx_break_ctl() [all …]
|
D | meson_uart.c | 87 static struct uart_port *meson_ports[AML_UART_PORT_NUM]; 89 static void meson_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in meson_uart_set_mctrl() 93 static unsigned int meson_uart_get_mctrl(struct uart_port *port) in meson_uart_get_mctrl() 98 static unsigned int meson_uart_tx_empty(struct uart_port *port) in meson_uart_tx_empty() 106 static void meson_uart_stop_tx(struct uart_port *port) in meson_uart_stop_tx() 115 static void meson_uart_stop_rx(struct uart_port *port) in meson_uart_stop_rx() 124 static void meson_uart_shutdown(struct uart_port *port) in meson_uart_shutdown() 141 static void meson_uart_start_tx(struct uart_port *port) in meson_uart_start_tx() 172 static void meson_receive_chars(struct uart_port *port) in meson_receive_chars() 224 struct uart_port *port = (struct uart_port *)dev_id; in meson_uart_interrupt() [all …]
|
D | atmel_serial.c | 76 static void atmel_start_rx(struct uart_port *port); 77 static void atmel_stop_rx(struct uart_port *port); 124 struct uart_port uart; /* uart */ 172 int (*prepare_rx)(struct uart_port *port); 173 int (*prepare_tx)(struct uart_port *port); 174 void (*schedule_rx)(struct uart_port *port); 175 void (*schedule_tx)(struct uart_port *port); 176 void (*release_rx)(struct uart_port *port); 177 void (*release_tx)(struct uart_port *port); 198 to_atmel_uart_port(struct uart_port *uart) in to_atmel_uart_port() [all …]
|
D | mcf.c | 57 struct uart_port port; 64 static unsigned int mcf_tx_empty(struct uart_port *port) in mcf_tx_empty() 72 static unsigned int mcf_get_mctrl(struct uart_port *port) in mcf_get_mctrl() 88 static void mcf_set_mctrl(struct uart_port *port, unsigned int sigs) in mcf_set_mctrl() 102 static void mcf_start_tx(struct uart_port *port) in mcf_start_tx() 118 static void mcf_stop_tx(struct uart_port *port) in mcf_stop_tx() 128 static void mcf_stop_rx(struct uart_port *port) in mcf_stop_rx() 138 static void mcf_break_ctl(struct uart_port *port, int break_state) in mcf_break_ctl() 152 static int mcf_startup(struct uart_port *port) in mcf_startup() 178 static void mcf_shutdown(struct uart_port *port) in mcf_shutdown() [all …]
|
D | netx-serial.c | 115 struct uart_port port; 118 static void netx_stop_tx(struct uart_port *port) in netx_stop_tx() 125 static void netx_stop_rx(struct uart_port *port) in netx_stop_rx() 132 static void netx_enable_ms(struct uart_port *port) in netx_enable_ms() 139 static inline void netx_transmit_buffer(struct uart_port *port) in netx_transmit_buffer() 170 static void netx_start_tx(struct uart_port *port) in netx_start_tx() 179 static unsigned int netx_tx_empty(struct uart_port *port) in netx_tx_empty() 184 static void netx_txint(struct uart_port *port) in netx_txint() 199 static void netx_rxint(struct uart_port *port, unsigned long *flags) in netx_rxint() 246 struct uart_port *port = dev_id; in netx_int() [all …]
|
D | clps711x.c | 63 struct uart_port port; 79 static void uart_clps711x_stop_tx(struct uart_port *port) in uart_clps711x_stop_tx() 89 static void uart_clps711x_start_tx(struct uart_port *port) in uart_clps711x_start_tx() 101 struct uart_port *port = dev_id; in uart_clps711x_int_rx() 154 struct uart_port *port = dev_id; in uart_clps711x_int_tx() 191 static unsigned int uart_clps711x_tx_empty(struct uart_port *port) in uart_clps711x_tx_empty() 201 static unsigned int uart_clps711x_get_mctrl(struct uart_port *port) in uart_clps711x_get_mctrl() 209 static void uart_clps711x_set_mctrl(struct uart_port *port, unsigned int mctrl) in uart_clps711x_set_mctrl() 216 static void uart_clps711x_break_ctl(struct uart_port *port, int break_state) in uart_clps711x_break_ctl() 228 static void uart_clps711x_set_ldisc(struct uart_port *port, in uart_clps711x_set_ldisc() [all …]
|
D | nwpserial.c | 35 struct uart_port port; 59 static void nwpserial_console_putchar(struct uart_port *port, int c) in nwpserial_console_putchar() 114 static int nwpserial_request_port(struct uart_port *port) in nwpserial_request_port() 119 static void nwpserial_release_port(struct uart_port *port) in nwpserial_release_port() 124 static void nwpserial_config_port(struct uart_port *port, int flags) in nwpserial_config_port() 166 static int nwpserial_startup(struct uart_port *port) in nwpserial_startup() 193 static void nwpserial_shutdown(struct uart_port *port) in nwpserial_shutdown() 209 static int nwpserial_verify_port(struct uart_port *port, in nwpserial_verify_port() 215 static const char *nwpserial_type(struct uart_port *port) in nwpserial_type() 220 static void nwpserial_set_termios(struct uart_port *port, in nwpserial_set_termios() [all …]
|
D | lpc32xx_hs.c | 96 struct uart_port port; 105 static void wait_for_xmit_empty(struct uart_port *port) in wait_for_xmit_empty() 119 static void wait_for_xmit_ready(struct uart_port *port) in wait_for_xmit_ready() 133 static void lpc32xx_hsuart_console_putchar(struct uart_port *port, int ch) in lpc32xx_hsuart_console_putchar() 166 struct uart_port *port; in lpc32xx_hsuart_console_setup() 248 static void __serial_uart_flush(struct uart_port *port) in __serial_uart_flush() 258 static void __serial_lpc32xx_rx(struct uart_port *port) in __serial_lpc32xx_rx() 288 static void __serial_lpc32xx_tx(struct uart_port *port) in __serial_lpc32xx_tx() 327 struct uart_port *port = dev_id; in serial_lpc32xx_interrupt() 372 static unsigned int serial_lpc32xx_tx_empty(struct uart_port *port) in serial_lpc32xx_tx_empty() [all …]
|
D | msm_serial.h | 135 #define UART_TO_MSM(uart_port) ((struct msm_port *) uart_port) argument 138 void msm_write(struct uart_port *port, unsigned int val, unsigned int off) in msm_write() 144 unsigned int msm_read(struct uart_port *port, unsigned int off) in msm_read() 152 static inline void msm_serial_set_mnd_regs_tcxo(struct uart_port *port) in msm_serial_set_mnd_regs_tcxo() 164 static inline void msm_serial_set_mnd_regs_tcxoby4(struct uart_port *port) in msm_serial_set_mnd_regs_tcxoby4() 174 void msm_serial_set_mnd_regs_from_uartclk(struct uart_port *port) in msm_serial_set_mnd_regs_from_uartclk()
|
D | men_z135_uart.c | 123 struct uart_port port; 142 struct uart_port *port = &uart->port; in men_z135_reg_set() 164 struct uart_port *port = &uart->port; in men_z135_reg_clr() 200 struct uart_port *port = &uart->port; in men_z135_handle_lsr() 225 struct uart_port *port = &uart->port; in get_rx_fifo_content() 248 struct uart_port *port = &uart->port; in men_z135_handle_rx() 298 struct uart_port *port = &uart->port; in men_z135_handle_tx() 392 struct uart_port *port = &uart->port; in men_z135_intr() 443 struct uart_port *port = &uart->port; in men_z135_request_irq() 461 static unsigned int men_z135_tx_empty(struct uart_port *port) in men_z135_tx_empty() [all …]
|
D | sb1250-duart.c | 94 struct uart_port port; 241 static unsigned int sbd_tx_empty(struct uart_port *uport) in sbd_tx_empty() 248 static unsigned int sbd_get_mctrl(struct uart_port *uport) in sbd_get_mctrl() 262 static void sbd_set_mctrl(struct uart_port *uport, unsigned int mctrl) in sbd_set_mctrl() 290 static void sbd_stop_tx(struct uart_port *uport) in sbd_stop_tx() 298 static void sbd_start_tx(struct uart_port *uport) in sbd_start_tx() 313 static void sbd_stop_rx(struct uart_port *uport) in sbd_stop_rx() 320 static void sbd_enable_ms(struct uart_port *uport) in sbd_enable_ms() 328 static void sbd_break_ctl(struct uart_port *uport, int break_state) in sbd_break_ctl() 341 struct uart_port *uport = &sport->port; in sbd_receive_chars() [all …]
|
D | dz.c | 75 struct uart_port port; 88 static inline struct dz_port *to_dport(struct uart_port *uport) in to_dport() 126 static void dz_stop_tx(struct uart_port *uport) in dz_stop_tx() 136 static void dz_start_tx(struct uart_port *uport) in dz_start_tx() 146 static void dz_stop_rx(struct uart_port *uport) in dz_stop_rx() 183 struct uart_port *uport; in dz_receive_chars() 360 static unsigned int dz_get_mctrl(struct uart_port *uport) in dz_get_mctrl() 376 static void dz_set_mctrl(struct uart_port *uport, unsigned int mctrl) in dz_set_mctrl() 401 static int dz_startup(struct uart_port *uport) in dz_startup() 442 static void dz_shutdown(struct uart_port *uport) in dz_shutdown() [all …]
|
D | msm_serial.c | 69 struct uart_port uart; 81 static void msm_handle_tx(struct uart_port *port); 84 void msm_stop_dma(struct uart_port *port, struct msm_dma *dma) in msm_stop_dma() 223 static inline void msm_wait_for_xmitr(struct uart_port *port) in msm_wait_for_xmitr() 233 static void msm_stop_tx(struct uart_port *port) in msm_stop_tx() 241 static void msm_start_tx(struct uart_port *port) in msm_start_tx() 254 static void msm_reset_dm_count(struct uart_port *port, int count) in msm_reset_dm_count() 264 struct uart_port *port = &msm_port->uart; in msm_complete_tx_dma() 314 struct uart_port *port = &msm_port->uart; in msm_handle_tx_dma() 374 struct uart_port *port = &msm_port->uart; in msm_complete_rx_dma() [all …]
|
D | etraxfs-uart.c | 26 struct uart_port port; 39 static struct uart_port *console_port; 43 static void cris_serial_port_init(struct uart_port *port, int line); 44 static void etraxfs_uart_stop_rx(struct uart_port *port); 45 static inline void etraxfs_uart_start_tx_bottom(struct uart_port *port); 92 struct uart_port *port; in cris_console_setup() 191 static void etraxfs_uart_send_xchar(struct uart_port *port, char ch) in etraxfs_uart_send_xchar() 271 static void etraxfs_uart_start_tx(struct uart_port *port) in etraxfs_uart_start_tx() 285 static inline void etraxfs_uart_start_tx_bottom(struct uart_port *port) in etraxfs_uart_start_tx_bottom() 310 static void etraxfs_uart_stop_tx(struct uart_port *port) in etraxfs_uart_stop_tx() [all …]
|
D | sc16is7xx.c | 317 struct uart_port port; 349 static int sc16is7xx_line(struct uart_port *port) in sc16is7xx_line() 356 static u8 sc16is7xx_port_read(struct uart_port *port, u8 reg) in sc16is7xx_port_read() 367 static void sc16is7xx_port_write(struct uart_port *port, u8 reg, u8 val) in sc16is7xx_port_write() 375 static void sc16is7xx_fifo_read(struct uart_port *port, unsigned int rxlen) in sc16is7xx_fifo_read() 386 static void sc16is7xx_fifo_write(struct uart_port *port, u8 to_send) in sc16is7xx_fifo_write() 397 static void sc16is7xx_port_update(struct uart_port *port, u8 reg, in sc16is7xx_port_update() 420 static void sc16is7xx_power(struct uart_port *port, int on) in sc16is7xx_power() 487 static int sc16is7xx_set_baud(struct uart_port *port, int baud) in sc16is7xx_set_baud() 534 static void sc16is7xx_handle_rx(struct uart_port *port, unsigned int rxlen, in sc16is7xx_handle_rx() [all …]
|
D | icom.c | 631 static int icom_write(struct uart_port *port) in icom_write() 685 spin_lock(&icom_port->uart_port.lock); in check_modem_status() 693 icom_port->uart_port.icount.rng++; in check_modem_status() 695 icom_port->uart_port.icount.dsr++; in check_modem_status() 697 uart_handle_dcd_change(&icom_port->uart_port, in check_modem_status() 700 uart_handle_cts_change(&icom_port->uart_port, in check_modem_status() 703 wake_up_interruptible(&icom_port->uart_port.state-> in check_modem_status() 707 spin_unlock(&icom_port->uart_port.lock); in check_modem_status() 724 icom_port->uart_port.icount.tx += count; in xmit_interrupt() 727 !uart_circ_empty(&icom_port->uart_port.state->xmit); i++) { in xmit_interrupt() [all …]
|
D | samsung.c | 95 static inline struct s3c24xx_uart_port *to_ourport(struct uart_port *port) in to_ourport() 102 static inline const char *s3c24xx_serial_portname(struct uart_port *port) in s3c24xx_serial_portname() 107 static int s3c24xx_serial_txempty_nofifo(struct uart_port *port) in s3c24xx_serial_txempty_nofifo() 117 static int s3c24xx_serial_has_interrupt_mask(struct uart_port *port) in s3c24xx_serial_has_interrupt_mask() 122 static void s3c24xx_serial_rx_enable(struct uart_port *port) in s3c24xx_serial_rx_enable() 145 static void s3c24xx_serial_rx_disable(struct uart_port *port) in s3c24xx_serial_rx_disable() 160 static void s3c24xx_serial_stop_tx(struct uart_port *port) in s3c24xx_serial_stop_tx() 203 struct uart_port *port = &ourport->port; in s3c24xx_serial_tx_dma_complete() 233 struct uart_port *port = &ourport->port; in enable_tx_dma() 256 struct uart_port *port = &ourport->port; in enable_tx_pio() [all …]
|
D | xilinx_uartps.c | 166 struct uart_port *port; 184 struct uart_port *port = (struct uart_port *)dev_id; in cdns_uart_isr() 385 static unsigned int cdns_uart_set_baud_rate(struct uart_port *port, in cdns_uart_set_baud_rate() 423 struct uart_port *port; in cdns_uart_clk_notifier_cb() 511 static void cdns_uart_start_tx(struct uart_port *port) in cdns_uart_start_tx() 556 static void cdns_uart_stop_tx(struct uart_port *port) in cdns_uart_stop_tx() 570 static void cdns_uart_stop_rx(struct uart_port *port) in cdns_uart_stop_rx() 586 static unsigned int cdns_uart_tx_empty(struct uart_port *port) in cdns_uart_tx_empty() 601 static void cdns_uart_break_ctl(struct uart_port *port, int ctl) in cdns_uart_break_ctl() 628 static void cdns_uart_set_termios(struct uart_port *port, in cdns_uart_set_termios() [all …]
|
D | efm32-uart.c | 81 struct uart_port port; 102 static unsigned int efm32_uart_tx_empty(struct uart_port *port) in efm32_uart_tx_empty() 113 static void efm32_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in efm32_uart_set_mctrl() 118 static unsigned int efm32_uart_get_mctrl(struct uart_port *port) in efm32_uart_get_mctrl() 124 static void efm32_uart_stop_tx(struct uart_port *port) in efm32_uart_stop_tx() 136 struct uart_port *port = &efm_port->port; in efm32_uart_tx_chars() 166 static void efm32_uart_start_tx(struct uart_port *port) in efm32_uart_start_tx() 181 static void efm32_uart_stop_rx(struct uart_port *port) in efm32_uart_stop_rx() 188 static void efm32_uart_break_ctl(struct uart_port *port, int ctl) in efm32_uart_break_ctl() 195 struct uart_port *port = &efm_port->port; in efm32_uart_rx_chars() [all …]
|
D | sh-sci.c | 79 struct uart_port port; 126 to_sci_port(struct uart_port *uart) in to_sci_port() 389 static unsigned int sci_serial_in(struct uart_port *p, int offset) in sci_serial_in() 403 static void sci_serial_out(struct uart_port *p, int offset, int value) in sci_serial_out() 481 static inline unsigned long port_rx_irq_mask(struct uart_port *port) in port_rx_irq_mask() 493 static void sci_start_tx(struct uart_port *port) in sci_start_tx() 523 static void sci_stop_tx(struct uart_port *port) in sci_stop_tx() 538 static void sci_start_rx(struct uart_port *port) in sci_start_rx() 550 static void sci_stop_rx(struct uart_port *port) in sci_stop_rx() 564 static void sci_clear_SCxSR(struct uart_port *port, unsigned int mask) in sci_clear_SCxSR() [all …]
|
D | ar933x_uart.c | 48 struct uart_port port; 120 static unsigned int ar933x_uart_tx_empty(struct uart_port *port) in ar933x_uart_tx_empty() 134 static unsigned int ar933x_uart_get_mctrl(struct uart_port *port) in ar933x_uart_get_mctrl() 139 static void ar933x_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in ar933x_uart_set_mctrl() 143 static void ar933x_uart_start_tx(struct uart_port *port) in ar933x_uart_start_tx() 151 static void ar933x_uart_stop_tx(struct uart_port *port) in ar933x_uart_stop_tx() 159 static void ar933x_uart_stop_rx(struct uart_port *port) in ar933x_uart_stop_rx() 168 static void ar933x_uart_break_ctl(struct uart_port *port, int break_state) in ar933x_uart_break_ctl() 235 static void ar933x_uart_set_termios(struct uart_port *port, in ar933x_uart_set_termios() 411 static int ar933x_uart_startup(struct uart_port *port) in ar933x_uart_startup() [all …]
|
D | sccnxp.c | 113 struct uart_port port[SCCNXP_MAX_UARTS]; 215 static inline u8 sccnxp_read(struct uart_port *port, u8 reg) in sccnxp_read() 220 static inline void sccnxp_write(struct uart_port *port, u8 reg, u8 v) in sccnxp_write() 225 static inline u8 sccnxp_port_read(struct uart_port *port, u8 reg) in sccnxp_port_read() 230 static inline void sccnxp_port_write(struct uart_port *port, u8 reg, u8 v) in sccnxp_port_write() 284 static int sccnxp_set_baud(struct uart_port *port, int baud) in sccnxp_set_baud() 323 static void sccnxp_enable_irq(struct uart_port *port, int mask) in sccnxp_enable_irq() 331 static void sccnxp_disable_irq(struct uart_port *port, int mask) in sccnxp_disable_irq() 339 static void sccnxp_set_bit(struct uart_port *port, int sig, int state) in sccnxp_set_bit() 353 static void sccnxp_handle_rx(struct uart_port *port) in sccnxp_handle_rx() [all …]
|
D | sn_console.c | 94 struct uart_port sc_port; 244 static const char *snp_type(struct uart_port *port) in snp_type() 254 static unsigned int snp_tx_empty(struct uart_port *port) in snp_tx_empty() 264 static void snp_stop_tx(struct uart_port *port) in snp_stop_tx() 273 static void snp_release_port(struct uart_port *port) in snp_release_port() 282 static void snp_shutdown(struct uart_port *port) in snp_shutdown() 292 static void snp_set_mctrl(struct uart_port *port, unsigned int mctrl) in snp_set_mctrl() 301 static unsigned int snp_get_mctrl(struct uart_port *port) in snp_get_mctrl() 311 static void snp_stop_rx(struct uart_port *port) in snp_stop_rx() 320 static void snp_start_tx(struct uart_port *port) in snp_start_tx() [all …]
|
D | serial_txx9.c | 68 struct uart_port port; 223 static struct uart_txx9_port *to_uart_txx9_port(struct uart_port *port) in to_uart_txx9_port() 228 static void serial_txx9_stop_tx(struct uart_port *port) in serial_txx9_stop_tx() 234 static void serial_txx9_start_tx(struct uart_port *port) in serial_txx9_start_tx() 240 static void serial_txx9_stop_rx(struct uart_port *port) in serial_txx9_stop_rx() 246 static void serial_txx9_initialize(struct uart_port *port) in serial_txx9_initialize() 413 static unsigned int serial_txx9_tx_empty(struct uart_port *port) in serial_txx9_tx_empty() 426 static unsigned int serial_txx9_get_mctrl(struct uart_port *port) in serial_txx9_get_mctrl() 439 static void serial_txx9_set_mctrl(struct uart_port *port, unsigned int mctrl) in serial_txx9_set_mctrl() 449 static void serial_txx9_break_ctl(struct uart_port *port, int break_state) in serial_txx9_break_ctl() [all …]
|
D | max310x.c | 258 void (*power)(struct uart_port *, int); 262 struct uart_port port; 279 static u8 max310x_port_read(struct uart_port *port, u8 reg) in max310x_port_read() 289 static void max310x_port_write(struct uart_port *port, u8 reg, u8 val) in max310x_port_write() 296 static void max310x_port_update(struct uart_port *port, u8 reg, u8 mask, u8 val) in max310x_port_update() 365 static void max310x_power(struct uart_port *port, int on) in max310x_power() 396 static void max14830_power(struct uart_port *port, int on) in max14830_power() 487 static int max310x_set_baud(struct uart_port *port, int baud) in max310x_set_baud() 592 static void max310x_handle_rx(struct uart_port *port, unsigned int rxlen) in max310x_handle_rx() 650 static void max310x_handle_tx(struct uart_port *port) in max310x_handle_tx() [all …]
|
D | amba-pl010.c | 69 struct uart_port port; 76 static void pl010_stop_tx(struct uart_port *port) in pl010_stop_tx() 87 static void pl010_start_tx(struct uart_port *port) in pl010_start_tx() 98 static void pl010_stop_rx(struct uart_port *port) in pl010_stop_rx() 109 static void pl010_disable_ms(struct uart_port *port) in pl010_disable_ms() 119 static void pl010_enable_ms(struct uart_port *port) in pl010_enable_ms() 274 static unsigned int pl010_tx_empty(struct uart_port *port) in pl010_tx_empty() 282 static unsigned int pl010_get_mctrl(struct uart_port *port) in pl010_get_mctrl() 300 static void pl010_set_mctrl(struct uart_port *port, unsigned int mctrl) in pl010_set_mctrl() 309 static void pl010_break_ctl(struct uart_port *port, int break_state) in pl010_break_ctl() [all …]
|
D | bfin_sport_uart.c | 45 struct uart_port port; 60 static void sport_stop_tx(struct uart_port *port); 216 static unsigned int sport_get_mctrl(struct uart_port *port) in sport_get_mctrl() 229 static void sport_set_mctrl(struct uart_port *port, unsigned int mctrl) in sport_set_mctrl() 256 static unsigned int sport_get_mctrl(struct uart_port *port) in sport_get_mctrl() 262 static void sport_set_mctrl(struct uart_port *port, unsigned int mctrl) in sport_set_mctrl() 269 static int sport_startup(struct uart_port *port) in sport_startup() 367 static unsigned int sport_tx_empty(struct uart_port *port) in sport_tx_empty() 380 static void sport_stop_tx(struct uart_port *port) in sport_stop_tx() 404 static void sport_start_tx(struct uart_port *port) in sport_start_tx() [all …]
|
D | pxa.c | 51 struct uart_port port; 72 static void serial_pxa_enable_ms(struct uart_port *port) in serial_pxa_enable_ms() 80 static void serial_pxa_stop_tx(struct uart_port *port) in serial_pxa_stop_tx() 90 static void serial_pxa_stop_rx(struct uart_port *port) in serial_pxa_stop_rx() 216 static void serial_pxa_start_tx(struct uart_port *port) in serial_pxa_start_tx() 270 static unsigned int serial_pxa_tx_empty(struct uart_port *port) in serial_pxa_tx_empty() 283 static unsigned int serial_pxa_get_mctrl(struct uart_port *port) in serial_pxa_get_mctrl() 303 static void serial_pxa_set_mctrl(struct uart_port *port, unsigned int mctrl) in serial_pxa_set_mctrl() 324 static void serial_pxa_break_ctl(struct uart_port *port, int break_state) in serial_pxa_break_ctl() 338 static int serial_pxa_startup(struct uart_port *port) in serial_pxa_startup() [all …]
|
D | pnx8xxx_uart.c | 127 static void pnx8xxx_stop_tx(struct uart_port *port) in pnx8xxx_stop_tx() 144 static void pnx8xxx_start_tx(struct uart_port *port) in pnx8xxx_start_tx() 161 static void pnx8xxx_stop_rx(struct uart_port *port) in pnx8xxx_stop_rx() 178 static void pnx8xxx_enable_ms(struct uart_port *port) in pnx8xxx_enable_ms() 318 static unsigned int pnx8xxx_tx_empty(struct uart_port *port) in pnx8xxx_tx_empty() 326 static unsigned int pnx8xxx_get_mctrl(struct uart_port *port) in pnx8xxx_get_mctrl() 343 static void pnx8xxx_set_mctrl(struct uart_port *port, unsigned int mctrl) in pnx8xxx_set_mctrl() 354 static void pnx8xxx_break_ctl(struct uart_port *port, int break_state) in pnx8xxx_break_ctl() 371 static int pnx8xxx_startup(struct uart_port *port) in pnx8xxx_startup() 406 static void pnx8xxx_shutdown(struct uart_port *port) in pnx8xxx_shutdown() [all …]
|
D | m32r_sio.c | 108 struct uart_port port; 122 void (*pm)(struct uart_port *port, 250 static void m32r_sio_stop_tx(struct uart_port *port) in m32r_sio_stop_tx() 261 static void m32r_sio_start_tx(struct uart_port *port) in m32r_sio_start_tx() 289 static void m32r_sio_stop_rx(struct uart_port *port) in m32r_sio_stop_rx() 299 static void m32r_sio_enable_ms(struct uart_port *port) in m32r_sio_enable_ms() 587 static unsigned int m32r_sio_tx_empty(struct uart_port *port) in m32r_sio_tx_empty() 601 static unsigned int m32r_sio_get_mctrl(struct uart_port *port) in m32r_sio_get_mctrl() 606 static void m32r_sio_set_mctrl(struct uart_port *port, unsigned int mctrl) in m32r_sio_set_mctrl() 611 static void m32r_sio_break_ctl(struct uart_port *port, int break_state) in m32r_sio_break_ctl() [all …]
|
D | rp2.c | 182 struct uart_port port; 232 static inline struct rp2_uart_port *port_to_up(struct uart_port *port) in port_to_up() 273 static unsigned int rp2_uart_tx_empty(struct uart_port *port) in rp2_uart_tx_empty() 290 static unsigned int rp2_uart_get_mctrl(struct uart_port *port) in rp2_uart_get_mctrl() 302 static void rp2_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in rp2_uart_set_mctrl() 311 static void rp2_uart_start_tx(struct uart_port *port) in rp2_uart_start_tx() 316 static void rp2_uart_stop_tx(struct uart_port *port) in rp2_uart_stop_tx() 321 static void rp2_uart_stop_rx(struct uart_port *port) in rp2_uart_stop_rx() 326 static void rp2_uart_break_ctl(struct uart_port *port, int break_state) in rp2_uart_break_ctl() 336 static void rp2_uart_enable_ms(struct uart_port *port) in rp2_uart_enable_ms() [all …]
|
D | sa1100.c | 90 struct uart_port port; 143 static void sa1100_stop_tx(struct uart_port *port) in sa1100_stop_tx() 157 static void sa1100_start_tx(struct uart_port *port) in sa1100_start_tx() 171 static void sa1100_stop_rx(struct uart_port *port) in sa1100_stop_rx() 184 static void sa1100_enable_ms(struct uart_port *port) in sa1100_enable_ms() 328 static unsigned int sa1100_tx_empty(struct uart_port *port) in sa1100_tx_empty() 336 static unsigned int sa1100_get_mctrl(struct uart_port *port) in sa1100_get_mctrl() 341 static void sa1100_set_mctrl(struct uart_port *port, unsigned int mctrl) in sa1100_set_mctrl() 348 static void sa1100_break_ctl(struct uart_port *port, int break_state) in sa1100_break_ctl() 365 static int sa1100_startup(struct uart_port *port) in sa1100_startup() [all …]
|
D | mxs-auart.c | 147 struct uart_port port; 202 static void mxs_auart_stop_tx(struct uart_port *u); 389 static int mxs_auart_request_port(struct uart_port *u) in mxs_auart_request_port() 394 static int mxs_auart_verify_port(struct uart_port *u, in mxs_auart_verify_port() 402 static void mxs_auart_config_port(struct uart_port *u, int flags) in mxs_auart_config_port() 406 static const char *mxs_auart_type(struct uart_port *u) in mxs_auart_type() 413 static void mxs_auart_release_port(struct uart_port *u) in mxs_auart_release_port() 417 static void mxs_auart_set_mctrl(struct uart_port *u, unsigned mctrl) in mxs_auart_set_mctrl() 459 static u32 mxs_auart_get_mctrl(struct uart_port *u) in mxs_auart_get_mctrl() 474 static void mxs_auart_enable_ms(struct uart_port *port) in mxs_auart_enable_ms() [all …]
|
D | zs.c | 307 static unsigned int zs_tx_empty(struct uart_port *uport) in zs_tx_empty() 375 static unsigned int zs_get_mctrl(struct uart_port *uport) in zs_get_mctrl() 388 static void zs_set_mctrl(struct uart_port *uport, unsigned int mctrl) in zs_set_mctrl() 428 static void zs_stop_tx(struct uart_port *uport) in zs_stop_tx() 440 static void zs_start_tx(struct uart_port *uport) in zs_start_tx() 454 static void zs_stop_rx(struct uart_port *uport) in zs_stop_rx() 488 static void zs_enable_ms(struct uart_port *uport) in zs_enable_ms() 518 static void zs_break_ctl(struct uart_port *uport, int break_state) in zs_break_ctl() 542 struct uart_port *uport = &zport->port; in zs_receive_chars() 651 struct uart_port *uport = &zport->port; in zs_status_handle() [all …]
|
D | serial-tegra.c | 101 struct uart_port uport; 153 static inline struct tegra_uart_port *to_tegra_uport(struct uart_port *u) in to_tegra_uport() 158 static unsigned int tegra_uart_get_mctrl(struct uart_port *u) in tegra_uart_get_mctrl() 206 static void tegra_uart_set_mctrl(struct uart_port *u, unsigned int mctrl) in tegra_uart_set_mctrl() 220 static void tegra_uart_break_ctl(struct uart_port *u, int break_ctl) in tegra_uart_break_ctl() 362 static int tegra_uart_request_port(struct uart_port *u) in tegra_uart_request_port() 367 static void tegra_uart_release_port(struct uart_port *u) in tegra_uart_release_port() 470 static void tegra_uart_start_tx(struct uart_port *u) in tegra_uart_start_tx() 479 static unsigned int tegra_uart_tx_empty(struct uart_port *u) in tegra_uart_tx_empty() 495 static void tegra_uart_stop_tx(struct uart_port *u) in tegra_uart_stop_tx() [all …]
|
D | sirfsoc_uart.c | 35 sirfsoc_uart_pio_rx_chars(struct uart_port *port, unsigned int max_rx_count); 62 static inline struct sirfsoc_uart_port *to_sirfport(struct uart_port *port) in to_sirfport() 67 static inline unsigned int sirfsoc_uart_tx_empty(struct uart_port *port) in sirfsoc_uart_tx_empty() 77 static unsigned int sirfsoc_uart_get_mctrl(struct uart_port *port) in sirfsoc_uart_get_mctrl() 101 static void sirfsoc_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in sirfsoc_uart_set_mctrl() 143 static void sirfsoc_uart_stop_tx(struct uart_port *port) in sirfsoc_uart_stop_tx() 178 struct uart_port *port = &sirfport->port; in sirfsoc_uart_tx_with_dma() 262 static void sirfsoc_uart_start_tx(struct uart_port *port) in sirfsoc_uart_start_tx() 286 static void sirfsoc_uart_stop_rx(struct uart_port *port) in sirfsoc_uart_stop_rx() 319 static void sirfsoc_uart_disable_ms(struct uart_port *port) in sirfsoc_uart_disable_ms() [all …]
|
D | serial_mctrl_gpio.h | 25 struct uart_port; 71 struct mctrl_gpios *mctrl_gpio_init(struct uart_port *port, unsigned int idx); 120 struct mctrl_gpios *mctrl_gpio_init(struct uart_port *port, unsigned int idx) in mctrl_gpio_init()
|
D | max3100.c | 98 struct uart_port port; 340 static void max3100_enable_ms(struct uart_port *port) in max3100_enable_ms() 351 static void max3100_start_tx(struct uart_port *port) in max3100_start_tx() 362 static void max3100_stop_rx(struct uart_port *port) in max3100_stop_rx() 378 static unsigned int max3100_tx_empty(struct uart_port *port) in max3100_tx_empty() 391 static unsigned int max3100_get_mctrl(struct uart_port *port) in max3100_get_mctrl() 405 static void max3100_set_mctrl(struct uart_port *port, unsigned int mctrl) in max3100_set_mctrl() 426 max3100_set_termios(struct uart_port *port, struct ktermios *termios, in max3100_set_termios() 550 static void max3100_shutdown(struct uart_port *port) in max3100_shutdown() 585 static int max3100_startup(struct uart_port *port) in max3100_startup() [all …]
|
D | pch_uart.c | 228 struct uart_port port; 593 struct uart_port *port = &priv->port; in pch_uart_hal_read() 645 struct uart_port *port = &priv->port; in push_rx() 657 struct uart_port *port = &priv->port; in pop_tx_x() 673 struct uart_port *port = &priv->port; in dma_push_rx() 691 static void pch_free_dma(struct uart_port *port) in pch_free_dma() 728 static void pch_request_dma(struct uart_port *port) in pch_request_dma() 781 struct uart_port *port = &priv->port; in pch_dma_rx_complete() 796 struct uart_port *port = &priv->port; in pch_dma_tx_complete() 817 struct uart_port *port = &priv->port; in pop_tx() [all …]
|
D | ioc3_serial.c | 126 struct uart_port icp_uart_port[LOGICAL_PORTS]; 137 struct uart_port *ip_port; 355 static struct ioc3_port *get_ioc3_port(struct uart_port *the_port) in get_ioc3_port() 598 __func__, ((struct uart_port *)port->ip_port)->line, in config_port() 825 static inline int set_mcr(struct uart_port *the_port, in set_mcr() 895 static void transmit_chars(struct uart_port *the_port) in transmit_chars() 954 ioc3_change_speed(struct uart_port *the_port, in ioc3_change_speed() 1049 static inline int ic3_startup_local(struct uart_port *the_port) in ic3_startup_local() 1093 static void ioc3_cb_post_ncs(struct uart_port *the_port, int ncs) in ioc3_cb_post_ncs() 1117 static inline int do_read(struct uart_port *the_port, char *buf, int len) in do_read() [all …]
|
D | bfin_uart.c | 75 static void bfin_serial_reset_irda(struct uart_port *port); 79 static unsigned int bfin_serial_get_mctrl(struct uart_port *port) in bfin_serial_get_mctrl() 92 static void bfin_serial_set_mctrl(struct uart_port *port, unsigned int mctrl) in bfin_serial_set_mctrl() 111 struct uart_port *uport = &uart->port; in bfin_serial_mctrl_cts_int() 132 static unsigned int bfin_serial_get_mctrl(struct uart_port *port) in bfin_serial_get_mctrl() 137 static void bfin_serial_set_mctrl(struct uart_port *port, unsigned int mctrl) in bfin_serial_set_mctrl() 145 static void bfin_serial_stop_tx(struct uart_port *port) in bfin_serial_stop_tx() 173 static void bfin_serial_start_tx(struct uart_port *port) in bfin_serial_start_tx() 197 static void bfin_serial_stop_rx(struct uart_port *port) in bfin_serial_stop_rx() 568 static unsigned int bfin_serial_tx_empty(struct uart_port *port) in bfin_serial_tx_empty() [all …]
|
D | ip22zilog.c | 66 struct uart_port port; 492 static __inline__ unsigned char ip22zilog_read_channel_status(struct uart_port *port) in ip22zilog_read_channel_status() 505 static unsigned int ip22zilog_tx_empty(struct uart_port *port) in ip22zilog_tx_empty() 526 static unsigned int ip22zilog_get_mctrl(struct uart_port *port) in ip22zilog_get_mctrl() 545 static void ip22zilog_set_mctrl(struct uart_port *port, unsigned int mctrl) in ip22zilog_set_mctrl() 570 static void ip22zilog_stop_tx(struct uart_port *port) in ip22zilog_stop_tx() 579 static void ip22zilog_start_tx(struct uart_port *port) in ip22zilog_start_tx() 624 static void ip22zilog_stop_rx(struct uart_port *port) in ip22zilog_stop_rx() 640 static void ip22zilog_enable_ms(struct uart_port *port) in ip22zilog_enable_ms() 657 static void ip22zilog_break_ctl(struct uart_port *port, int break_state) in ip22zilog_break_ctl() [all …]
|
D | fsl_lpuart.c | 234 struct uart_port port; 285 static void lpuart_stop_tx(struct uart_port *port) in lpuart_stop_tx() 294 static void lpuart32_stop_tx(struct uart_port *port) in lpuart32_stop_tx() 303 static void lpuart_stop_rx(struct uart_port *port) in lpuart_stop_rx() 311 static void lpuart32_stop_rx(struct uart_port *port) in lpuart32_stop_rx() 458 static void lpuart_flush_buffer(struct uart_port *port) in lpuart_flush_buffer() 572 static void lpuart_start_tx(struct uart_port *port) in lpuart_start_tx() 591 static void lpuart32_start_tx(struct uart_port *port) in lpuart32_start_tx() 811 static unsigned int lpuart_tx_empty(struct uart_port *port) in lpuart_tx_empty() 817 static unsigned int lpuart32_tx_empty(struct uart_port *port) in lpuart32_tx_empty() [all …]
|
D | of_serial.c | 37 void tegra_serial_handle_break(struct uart_port *p) in tegra_serial_handle_break() 53 static inline void tegra_serial_handle_break(struct uart_port *port) in tegra_serial_handle_break() 62 int type, struct uart_port *port, in of_platform_serial_setup() 177 struct uart_port port; in of_platform_serial_probe() 274 struct uart_port *port = &port8250->port; in of_serial_suspend_8250() 284 struct uart_port *port = &port8250->port; in of_serial_resume_8250()
|
D | omap-serial.c | 136 struct uart_port port; 229 static inline int calculate_baud_abs_diff(struct uart_port *port, in calculate_baud_abs_diff() 257 serial_omap_baud_is_mode16(struct uart_port *port, unsigned int baud) in serial_omap_baud_is_mode16() 271 serial_omap_get_divisor(struct uart_port *port, unsigned int baud) in serial_omap_get_divisor() 282 static void serial_omap_enable_ms(struct uart_port *port) in serial_omap_enable_ms() 295 static void serial_omap_stop_tx(struct uart_port *port) in serial_omap_stop_tx() 359 static void serial_omap_stop_rx(struct uart_port *port) in serial_omap_stop_rx() 410 static void serial_omap_start_tx(struct uart_port *port) in serial_omap_start_tx() 441 static void serial_omap_throttle(struct uart_port *port) in serial_omap_throttle() 455 static void serial_omap_unthrottle(struct uart_port *port) in serial_omap_unthrottle() [all …]
|
D | sunsab.c | 52 struct uart_port port; /* Generic UART port */ 231 static void sunsab_stop_tx(struct uart_port *); 346 static unsigned int sunsab_tx_empty(struct uart_port *port) in sunsab_tx_empty() 362 static void sunsab_set_mctrl(struct uart_port *port, unsigned int mctrl) in sunsab_set_mctrl() 386 static unsigned int sunsab_get_mctrl(struct uart_port *port) in sunsab_get_mctrl() 408 static void sunsab_stop_tx(struct uart_port *port) in sunsab_stop_tx() 437 static void sunsab_start_tx(struct uart_port *port) in sunsab_start_tx() 471 static void sunsab_send_xchar(struct uart_port *port, char ch) in sunsab_send_xchar() 489 static void sunsab_stop_rx(struct uart_port *port) in sunsab_stop_rx() 499 static void sunsab_break_ctl(struct uart_port *port, int break_state) in sunsab_break_ctl() [all …]
|
D | ioc4_serial.c | 410 struct uart_port icp_uart_port[UART_PORT_COUNT]; 454 struct uart_port *ip_port; /* current active port ptr */ 456 struct uart_port *ip_all_ports[UART_PORT_COUNT]; 636 static void receive_chars(struct uart_port *); 645 struct uart_port *uart_port) in port_is_active() argument 649 && (port->ip_port == uart_port)) in port_is_active() 743 static struct ioc4_port *get_ioc4_port(struct uart_port *the_port, int set) in get_ioc4_port() 1556 static inline int set_mcr(struct uart_port *the_port, in set_mcr() 1625 static void transmit_chars(struct uart_port *the_port) in transmit_chars() 1684 ioc4_change_speed(struct uart_port *the_port, in ioc4_change_speed() [all …]
|
D | ucc_uart.c | 176 struct uart_port port; 255 static unsigned int qe_uart_tx_empty(struct uart_port *port) in qe_uart_tx_empty() 284 void qe_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in qe_uart_set_mctrl() 295 static unsigned int qe_uart_get_mctrl(struct uart_port *port) in qe_uart_get_mctrl() 307 static void qe_uart_stop_tx(struct uart_port *port) in qe_uart_stop_tx() 334 struct uart_port *port = &qe_port->port; in qe_uart_tx_pump() 413 static void qe_uart_start_tx(struct uart_port *port) in qe_uart_start_tx() 430 static void qe_uart_stop_rx(struct uart_port *port) in qe_uart_stop_rx() 444 static void qe_uart_break_ctl(struct uart_port *port, int break_state) in qe_uart_break_ctl() 463 struct uart_port *port = &qe_port->port; in qe_uart_int_rx() [all …]
|
D | sunsu.c | 88 struct uart_port port; 265 static void sunsu_stop_tx(struct uart_port *port) in sunsu_stop_tx() 281 static void sunsu_start_tx(struct uart_port *port) in sunsu_start_tx() 300 static void sunsu_stop_rx(struct uart_port *port) in sunsu_stop_rx() 310 static void sunsu_enable_ms(struct uart_port *port) in sunsu_enable_ms() 488 sunsu_change_speed(struct uart_port *port, unsigned int cflag, 548 static unsigned int sunsu_tx_empty(struct uart_port *port) in sunsu_tx_empty() 562 static unsigned int sunsu_get_mctrl(struct uart_port *port) in sunsu_get_mctrl() 583 static void sunsu_set_mctrl(struct uart_port *port, unsigned int mctrl) in sunsu_set_mctrl() 603 static void sunsu_break_ctl(struct uart_port *port, int break_state) in sunsu_break_ctl() [all …]
|
D | sunzilog.c | 74 struct uart_port port; 106 static void sunzilog_putchar(struct uart_port *port, int ch); 592 static __inline__ unsigned char sunzilog_read_channel_status(struct uart_port *port) in sunzilog_read_channel_status() 605 static unsigned int sunzilog_tx_empty(struct uart_port *port) in sunzilog_tx_empty() 626 static unsigned int sunzilog_get_mctrl(struct uart_port *port) in sunzilog_get_mctrl() 645 static void sunzilog_set_mctrl(struct uart_port *port, unsigned int mctrl) in sunzilog_set_mctrl() 670 static void sunzilog_stop_tx(struct uart_port *port) in sunzilog_stop_tx() 679 static void sunzilog_start_tx(struct uart_port *port) in sunzilog_start_tx() 724 static void sunzilog_stop_rx(struct uart_port *port) in sunzilog_stop_rx() 740 static void sunzilog_enable_ms(struct uart_port *port) in sunzilog_enable_ms() [all …]
|
D | amba-pl011.c | 164 struct uart_port port; 687 static void pl011_dma_flush_buffer(struct uart_port *port) in pl011_dma_flush_buffer() 1178 static void pl011_stop_tx(struct uart_port *port) in pl011_stop_tx() 1198 static void pl011_start_tx(struct uart_port *port) in pl011_start_tx() 1207 static void pl011_stop_rx(struct uart_port *port) in pl011_stop_rx() 1219 static void pl011_enable_ms(struct uart_port *port) in pl011_enable_ms() 1399 static unsigned int pl011_tx_empty(struct uart_port *port) in pl011_tx_empty() 1407 static unsigned int pl011_get_mctrl(struct uart_port *port) in pl011_get_mctrl() 1426 static void pl011_set_mctrl(struct uart_port *port, unsigned int mctrl) in pl011_set_mctrl() 1455 static void pl011_break_ctl(struct uart_port *port, int break_state) in pl011_break_ctl() [all …]
|
D | pmac_zilog.c | 540 static unsigned int pmz_tx_empty(struct uart_port *port) in pmz_tx_empty() 556 static void pmz_set_mctrl(struct uart_port *port, unsigned int mctrl) in pmz_set_mctrl() 596 static unsigned int pmz_get_mctrl(struct uart_port *port) in pmz_get_mctrl() 620 static void pmz_stop_tx(struct uart_port *port) in pmz_stop_tx() 629 static void pmz_start_tx(struct uart_port *port) in pmz_start_tx() 676 static void pmz_stop_rx(struct uart_port *port) in pmz_stop_rx() 693 static void pmz_enable_ms(struct uart_port *port) in pmz_enable_ms() 713 static void pmz_break_ctl(struct uart_port *port, int break_state) in pmz_break_ctl() 925 static int pmz_startup(struct uart_port *port) in pmz_startup() 973 static void pmz_shutdown(struct uart_port *port) in pmz_shutdown() [all …]
|
D | earlycon.c | 66 struct uart_port *port = &device->port; in parse_options() 112 struct uart_port *port = &early_console_dev.port; in register_earlycon() 204 struct uart_port *port = &early_console_dev.port; in of_setup_earlycon()
|
D | sirfsoc_uart.h | 49 typedef u32 (*fifo_full_mask)(struct uart_port *port); 50 typedef u32 (*fifo_empty_mask)(struct uart_port *port); 109 u32 uart_usp_ff_full_mask(struct uart_port *port) in uart_usp_ff_full_mask() 117 u32 uart_usp_ff_empty_mask(struct uart_port *port) in uart_usp_ff_empty_mask() 417 struct uart_port port;
|
D | samsung.h | 37 int (*reset_port)(struct uart_port *, struct s3c2410_uartcfg *); 97 struct uart_port port;
|
D | mpsc.c | 135 struct uart_port port; /* Overlay uart_port structure */ 321 static void mpsc_release_port(struct uart_port *port); 1246 static uint mpsc_tx_empty(struct uart_port *port) in mpsc_tx_empty() 1260 static void mpsc_set_mctrl(struct uart_port *port, uint mctrl) in mpsc_set_mctrl() 1265 static uint mpsc_get_mctrl(struct uart_port *port) in mpsc_get_mctrl() 1283 static void mpsc_stop_tx(struct uart_port *port) in mpsc_stop_tx() 1293 static void mpsc_start_tx(struct uart_port *port) in mpsc_start_tx() 1320 static void mpsc_stop_rx(struct uart_port *port) in mpsc_stop_rx() 1343 static void mpsc_break_ctl(struct uart_port *port, int ctl) in mpsc_break_ctl() 1359 static int mpsc_startup(struct uart_port *port) in mpsc_startup() [all …]
|
D | imx.c | 197 struct uart_port port; 292 static void imx_port_ucrs_save(struct uart_port *port, in imx_port_ucrs_save() 301 static void imx_port_ucrs_restore(struct uart_port *port, in imx_port_ucrs_restore() 359 static void imx_stop_tx(struct uart_port *port) in imx_stop_tx() 393 static void imx_stop_rx(struct uart_port *port) in imx_stop_rx() 418 static void imx_enable_ms(struct uart_port *port) in imx_enable_ms() 576 static void imx_start_tx(struct uart_port *port) in imx_start_tx() 787 static unsigned int imx_tx_empty(struct uart_port *port) in imx_tx_empty() 804 static unsigned int imx_get_mctrl(struct uart_port *port) in imx_get_mctrl() 821 static void imx_set_mctrl(struct uart_port *port, unsigned int mctrl) in imx_set_mctrl() [all …]
|
D | serial_mctrl_gpio.c | 27 struct uart_port *port; 124 struct uart_port *port = gpios->port; in mctrl_gpio_irq_handle() 152 struct mctrl_gpios *mctrl_gpio_init(struct uart_port *port, unsigned int idx) in mctrl_gpio_init()
|
D | earlycon-arm-semihost.c | 35 static void smh_putc(struct uart_port *port, int c) in smh_putc()
|
D | icom.h | 229 struct uart_port uart_port; member
|
D | zs.h | 23 struct uart_port port; /* Underlying UART. */
|
D | pmac_zilog.h | 15 struct uart_port port;
|
/linux-4.4.14/drivers/tty/serial/jsm/ |
D | jsm_tty.c | 64 static unsigned int jsm_tty_tx_empty(struct uart_port *port) in jsm_tty_tx_empty() 72 static unsigned int jsm_tty_get_mctrl(struct uart_port *port) in jsm_tty_get_mctrl() 76 container_of(port, struct jsm_channel, uart_port); in jsm_tty_get_mctrl() 95 static void jsm_tty_set_mctrl(struct uart_port *port, unsigned int mctrl) in jsm_tty_set_mctrl() 98 container_of(port, struct jsm_channel, uart_port); in jsm_tty_set_mctrl() 124 static void jsm_tty_write(struct uart_port *port) in jsm_tty_write() 127 channel = container_of(port, struct jsm_channel, uart_port); in jsm_tty_write() 131 static void jsm_tty_start_tx(struct uart_port *port) in jsm_tty_start_tx() 134 container_of(port, struct jsm_channel, uart_port); in jsm_tty_start_tx() 144 static void jsm_tty_stop_tx(struct uart_port *port) in jsm_tty_stop_tx() [all …]
|
D | jsm.h | 202 struct uart_port uart_port; member
|
D | jsm_cls.c | 469 circ = &ch->uart_port.state->xmit; in cls_copy_data_from_queue_to_uart() 507 uart_write_wakeup(&ch->uart_port); in cls_copy_data_from_queue_to_uart() 526 uart_handle_dcd_change(&ch->uart_port, msignals & UART_MSR_DCD); in cls_parse_modem() 528 uart_handle_dcd_change(&ch->uart_port, msignals & UART_MSR_CTS); in cls_parse_modem() 721 cflag = C_BAUD(ch->uart_port.state->port.tty); in cls_param()
|
D | jsm_neo.c | 499 circ = &ch->uart_port.state->xmit; in neo_copy_data_from_queue_to_uart() 566 uart_write_wakeup(&ch->uart_port); in neo_copy_data_from_queue_to_uart() 582 uart_handle_dcd_change(&ch->uart_port, msignals & UART_MSR_DCD); in neo_parse_modem() 584 uart_handle_cts_change(&ch->uart_port, msignals & UART_MSR_CTS); in neo_parse_modem() 990 cflag = C_BAUD(ch->uart_port.state->port.tty); in neo_param()
|
/linux-4.4.14/include/linux/platform_data/ |
D | sa11x0-serial.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-4.4.14/arch/mips/ar7/ |
D | platform.c | 566 static struct uart_port uart_port __initdata; in ar7_register_uarts() 570 memset(&uart_port, 0, sizeof(struct uart_port)); in ar7_register_uarts() 576 uart_port.type = PORT_AR7; in ar7_register_uarts() 577 uart_port.uartclk = clk_get_rate(bus_clk) / 2; in ar7_register_uarts() 578 uart_port.iotype = UPIO_MEM32; in ar7_register_uarts() 579 uart_port.regshift = 2; in ar7_register_uarts() 581 uart_port.line = 0; in ar7_register_uarts() 582 uart_port.irq = AR7_IRQ_UART0; in ar7_register_uarts() 583 uart_port.mapbase = AR7_REGS_UART0; in ar7_register_uarts() 584 uart_port.membase = ioremap(uart_port.mapbase, 256); in ar7_register_uarts() [all …]
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_early.c | 40 static unsigned int __init serial8250_early_in(struct uart_port *port, int offset) in serial8250_early_in() 56 static void __init serial8250_early_out(struct uart_port *port, int offset, int value) in serial8250_early_out() 76 static void __init wait_for_xmitr(struct uart_port *port) in wait_for_xmitr() 88 static void __init serial_putc(struct uart_port *port, int c) in serial_putc() 98 struct uart_port *port = &device->port; in early_serial8250_write() 117 struct uart_port *port = &device->port; in init_port() 143 struct uart_port *port = &device->port; in early_serial8250_setup()
|
D | 8250_port.c | 312 static unsigned int au_serial_in(struct uart_port *p, int offset) in au_serial_in() 322 static void au_serial_out(struct uart_port *p, int offset, int value) in au_serial_out() 345 static unsigned int hub6_serial_in(struct uart_port *p, int offset) in hub6_serial_in() 352 static void hub6_serial_out(struct uart_port *p, int offset, int value) in hub6_serial_out() 359 static unsigned int mem_serial_in(struct uart_port *p, int offset) in mem_serial_in() 365 static void mem_serial_out(struct uart_port *p, int offset, int value) in mem_serial_out() 371 static void mem32_serial_out(struct uart_port *p, int offset, int value) in mem32_serial_out() 377 static unsigned int mem32_serial_in(struct uart_port *p, int offset) in mem32_serial_in() 383 static void mem32be_serial_out(struct uart_port *p, int offset, int value) in mem32be_serial_out() 389 static unsigned int mem32be_serial_in(struct uart_port *p, int offset) in mem32be_serial_in() [all …]
|
D | 8250_dw.c | 77 static inline int dw8250_modify_msr(struct uart_port *p, int offset, int value) in dw8250_modify_msr() 90 static void dw8250_force_idle(struct uart_port *p) in dw8250_force_idle() 98 static void dw8250_serial_out(struct uart_port *p, int offset, int value) in dw8250_serial_out() 119 static unsigned int dw8250_serial_in(struct uart_port *p, int offset) in dw8250_serial_in() 127 static unsigned int dw8250_serial_inq(struct uart_port *p, int offset) in dw8250_serial_inq() 136 static void dw8250_serial_outq(struct uart_port *p, int offset, int value) in dw8250_serial_outq() 162 static void dw8250_serial_out32(struct uart_port *p, int offset, int value) in dw8250_serial_out32() 183 static unsigned int dw8250_serial_in32(struct uart_port *p, int offset) in dw8250_serial_in32() 190 static int dw8250_handle_irq(struct uart_port *p) in dw8250_handle_irq() 208 dw8250_do_pm(struct uart_port *port, unsigned int state, unsigned int old) in dw8250_do_pm() [all …]
|
D | 8250_core.c | 124 struct uart_port *port; in serial8250_interrupt() 322 struct uart_port *port = &up->port; in univ8250_setup_irq() 354 struct uart_port *port = &up->port; in univ8250_release_irq() 367 struct uart_port *port = &up->port; in serial8250_request_rsa_resource() 388 struct uart_port *port = &up->port; in serial8250_release_rsa_resource() 427 static void (*serial8250_isa_config)(int port, struct uart_port *up, 431 void (*v)(int port, struct uart_port *up, unsigned short *capabilities)) in serial8250_set_isa_configurator() 439 static void univ8250_config_port(struct uart_port *port, int flags) in univ8250_config_port() 465 static int univ8250_request_port(struct uart_port *port) in univ8250_request_port() 480 static void univ8250_release_port(struct uart_port *port) in univ8250_release_port() [all …]
|
D | 8250_ingenic.c | 53 static uint8_t __init early_in(struct uart_port *port, int offset) in early_in() 58 static void __init early_out(struct uart_port *port, int offset, uint8_t value) in early_out() 63 static void __init ingenic_early_console_putc(struct uart_port *port, int c) in ingenic_early_console_putc() 101 struct uart_port *port = &dev->port; in ingenic_early_console_setup() 144 static void ingenic_uart_serial_out(struct uart_port *p, int offset, int value) in ingenic_uart_serial_out() 178 static unsigned int ingenic_uart_serial_in(struct uart_port *p, int offset) in ingenic_uart_serial_in()
|
D | 8250_mid.c | 39 int (*setup)(struct mid8250 *, struct uart_port *p); 54 static int pnw_setup(struct mid8250 *mid, struct uart_port *p) in pnw_setup() 77 static int tng_setup(struct mid8250 *mid, struct uart_port *p) in tng_setup() 91 static int dnv_handle_irq(struct uart_port *p) in dnv_handle_irq() 108 static int dnv_setup(struct mid8250 *mid, struct uart_port *p) in dnv_setup() 141 static void mid8250_set_termios(struct uart_port *p, in mid8250_set_termios()
|
D | 8250_uniphier.c | 41 static unsigned int uniphier_serial_in(struct uart_port *p, int offset) in uniphier_serial_in() 66 static void uniphier_serial_out(struct uart_port *p, int offset, int value) in uniphier_serial_out() 130 static int uniphier_of_serial_setup(struct device *dev, struct uart_port *port, in uniphier_of_serial_setup()
|
D | 8250_omap.c | 123 static void omap8250_set_mctrl(struct uart_port *port, unsigned int mctrl) in omap8250_set_mctrl() 185 static void omap_8250_get_divisor(struct uart_port *port, unsigned int baud, in omap_8250_get_divisor() 317 static void omap_8250_set_termios(struct uart_port *port, in omap_8250_set_termios() 482 static void omap_8250_pm(struct uart_port *port, unsigned int state, in omap_8250_pm() 564 static int omap_8250_dma_handle_irq(struct uart_port *port); 569 struct uart_port *port = dev_id; in omap8250_irq() 589 static int omap_8250_startup(struct uart_port *port) in omap_8250_startup() 651 static void omap_8250_shutdown(struct uart_port *port) in omap_8250_shutdown() 683 static void omap_8250_throttle(struct uart_port *port) in omap_8250_throttle() 700 static void omap_8250_unthrottle(struct uart_port *port) in omap_8250_unthrottle() [all …]
|
D | 8250_mtk.c | 41 mtk8250_set_termios(struct uart_port *port, struct ktermios *termios, in mtk8250_set_termios() 150 mtk8250_do_pm(struct uart_port *port, unsigned int state, unsigned int old) in mtk8250_do_pm() 161 static int mtk8250_probe_of(struct platform_device *pdev, struct uart_port *p, in mtk8250_probe_of()
|
D | 8250_em.c | 39 static void serial8250_em_serial_out(struct uart_port *p, int offset, int value) in serial8250_em_serial_out() 60 static unsigned int serial8250_em_serial_in(struct uart_port *p, int offset) in serial8250_em_serial_in()
|
D | 8250_fsl.c | 26 int fsl8250_handle_irq(struct uart_port *port) in fsl8250_handle_irq()
|
D | 8250_lpc18xx.c | 39 static int lpc18xx_rs485_config(struct uart_port *port, in lpc18xx_rs485_config() 91 static void lpc18xx_uart_serial_out(struct uart_port *p, int offset, int value) in lpc18xx_uart_serial_out()
|
D | 8250.h | 215 static inline int serial_index(struct uart_port *port) in serial_index()
|
D | 8250_hp300.c | 94 struct uart_port port; in hp300_setup_serial_console()
|
D | 8250_fintek.c | 91 static int fintek_8250_rs485_config(struct uart_port *port, in fintek_8250_rs485_config()
|
D | 8250_pci.c | 1395 byt_set_termios(struct uart_port *p, struct ktermios *termios, in byt_set_termios() 1544 static int pci_fintek_rs485_config(struct uart_port *port, in pci_fintek_rs485_config() 1701 static void kt_handle_break(struct uart_port *p) in kt_handle_break() 1712 static unsigned int kt_serial_in(struct uart_port *p, int offset) in kt_serial_in()
|
/linux-4.4.14/arch/arm/mach-sa1100/ |
D | hackkit.c | 52 static u_int hackkit_get_mctrl(struct uart_port *port); 53 static void hackkit_set_mctrl(struct uart_port *port, u_int mctrl); 54 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate); 103 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in hackkit_uart_pm() 112 static void hackkit_set_mctrl(struct uart_port *port, u_int mctrl) in hackkit_set_mctrl() 134 static u_int hackkit_get_mctrl(struct uart_port *port) in hackkit_get_mctrl()
|
D | h3xxx.c | 112 static void h3xxx_uart_set_mctrl(struct uart_port *port, u_int mctrl) in h3xxx_uart_set_mctrl() 121 static u_int h3xxx_uart_get_mctrl(struct uart_port *port) in h3xxx_uart_get_mctrl() 140 static void h3xxx_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in h3xxx_uart_pm() 157 static int h3xxx_uart_set_wake(struct uart_port *port, u_int enable) in h3xxx_uart_set_wake()
|
D | assabet.c | 545 static void assabet_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in assabet_uart_pm() 563 static void assabet_set_mctrl(struct uart_port *port, u_int mctrl) in assabet_set_mctrl() 583 static u_int assabet_get_mctrl(struct uart_port *port) in assabet_get_mctrl()
|
D | collie.c | 160 static void collie_uart_set_mctrl(struct uart_port *port, u_int mctrl) in collie_uart_set_mctrl() 173 static u_int collie_uart_get_mctrl(struct uart_port *port) in collie_uart_get_mctrl()
|
D | neponset.c | 95 static void neponset_set_mctrl(struct uart_port *port, u_int mctrl) in neponset_set_mctrl() 129 static u_int neponset_get_mctrl(struct uart_port *port) in neponset_get_mctrl()
|
D | badge4.c | 310 badge4_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in badge4_uart_pm()
|
D | simpad.c | 136 static void simpad_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in simpad_uart_pm()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | mn10300-serial.c | 101 static unsigned int mn10300_serial_tx_empty(struct uart_port *); 102 static void mn10300_serial_set_mctrl(struct uart_port *, unsigned int mctrl); 103 static unsigned int mn10300_serial_get_mctrl(struct uart_port *); 104 static void mn10300_serial_stop_tx(struct uart_port *); 105 static void mn10300_serial_start_tx(struct uart_port *); 106 static void mn10300_serial_send_xchar(struct uart_port *, char ch); 107 static void mn10300_serial_stop_rx(struct uart_port *); 108 static void mn10300_serial_enable_ms(struct uart_port *); 109 static void mn10300_serial_break_ctl(struct uart_port *, int ctl); 110 static int mn10300_serial_startup(struct uart_port *); [all …]
|
D | mn10300-serial.h | 69 struct uart_port uart;
|
/linux-4.4.14/arch/x86/platform/ce4100/ |
D | ce4100.c | 47 static unsigned int mem_serial_in(struct uart_port *p, int offset) in mem_serial_in() 63 static unsigned int ce4100_mem_serial_in(struct uart_port *p, int offset) in ce4100_mem_serial_in() 87 static void ce4100_mem_serial_out(struct uart_port *p, int offset, int value) in ce4100_mem_serial_out() 93 static void ce4100_serial_fixup(int port, struct uart_port *up, in ce4100_serial_fixup()
|
/linux-4.4.14/arch/mips/pmcs-msp71xx/ |
D | msp_serial.c | 46 static void msp_serial_out(struct uart_port *p, int offset, int value) in msp_serial_out() 57 static unsigned int msp_serial_in(struct uart_port *p, int offset) in msp_serial_in() 64 static int msp_serial_handle_irq(struct uart_port *p) in msp_serial_handle_irq() 95 struct uart_port up; in msp_serial_setup()
|
/linux-4.4.14/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 69 static int cpm_uart_tx_pump(struct uart_port *port); 81 static unsigned int cpm_uart_tx_empty(struct uart_port *port) in cpm_uart_tx_empty() 104 static void cpm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in cpm_uart_set_mctrl() 116 static unsigned int cpm_uart_get_mctrl(struct uart_port *port) in cpm_uart_get_mctrl() 148 static void cpm_uart_stop_tx(struct uart_port *port) in cpm_uart_stop_tx() 166 static void cpm_uart_start_tx(struct uart_port *port) in cpm_uart_start_tx() 195 static void cpm_uart_stop_rx(struct uart_port *port) in cpm_uart_stop_rx() 213 static void cpm_uart_break_ctl(struct uart_port *port, int break_state) in cpm_uart_break_ctl() 230 static void cpm_uart_int_tx(struct uart_port *port) in cpm_uart_int_tx() 244 static void cpm_uart_int_rx(struct uart_port *port) in cpm_uart_int_rx() [all …]
|
D | cpm_uart.h | 61 struct uart_port port;
|
/linux-4.4.14/arch/mips/include/asm/vr41xx/ |
D | siu.h | 53 extern void vr41xx_siu_early_setup(struct uart_port *port); 55 static inline void vr41xx_siu_early_setup(struct uart_port *port) {} in vr41xx_siu_early_setup()
|
/linux-4.4.14/arch/mips/include/asm/txx9/ |
D | generic.h | 27 struct uart_port; 28 int early_serial_txx9_setup(struct uart_port *port);
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | octeon.h | 286 struct uart_port; 287 extern unsigned int octeon_serial_in(struct uart_port *, int); 288 extern void octeon_serial_out(struct uart_port *, int, int);
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/ |
D | serial-sh7722.c | 7 static void sh7722_sci_init_pins(struct uart_port *port, unsigned int cflag) in sh7722_sci_init_pins()
|
/linux-4.4.14/arch/mips/rb532/ |
D | serial.c | 39 static struct uart_port rb532_uart = {
|
/linux-4.4.14/arch/sh/kernel/cpu/sh3/ |
D | serial-sh7710.c | 9 static void sh7710_sci_init_pins(struct uart_port *port, unsigned int cflag) in sh7710_sci_init_pins()
|
D | serial-sh770x.c | 9 static void sh770x_sci_init_pins(struct uart_port *port, unsigned int cflag) in sh770x_sci_init_pins()
|
D | serial-sh7720.c | 7 static void sh7720_sci_init_pins(struct uart_port *port, unsigned int cflag) in sh7720_sci_init_pins()
|
/linux-4.4.14/arch/mips/netlogic/xlr/ |
D | platform.c | 26 static unsigned int nlm_xlr_uart_in(struct uart_port *p, int offset) in nlm_xlr_uart_in() 44 static void nlm_xlr_uart_out(struct uart_port *p, int offset, int value) in nlm_xlr_uart_out()
|
/linux-4.4.14/Documentation/serial/ |
D | driver | 18 information (defined by uart_port) and a set of control methods (defined 385 uart_port structures describe the same port. 426 It is intended some day to drop the 'unused' entries from uart_port, and 427 allow low level drivers to register their own individual uart_port's with 428 the core. This will allow drivers to use uart_port as a pointer to a 429 structure containing both the uart_port entry with their own extensions, 433 struct uart_port port;
|
D | serial-rs485.txt | 36 implement the rs485_config callback in the uart_port structure. The
|
/linux-4.4.14/arch/mips/ath25/ |
D | devices.c | 75 struct uart_port s; in ath25_serial_setup()
|
/linux-4.4.14/arch/mips/vr41xx/common/ |
D | siu.c | 125 struct uart_port port; in vr41xx_siu_setup()
|
/linux-4.4.14/arch/arm/mach-cns3xxx/ |
D | cns3420vb.c | 95 static struct uart_port cns3420_serial_port = { in cns3420_early_serial_setup()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | legacy_serial.c | 54 static unsigned int tsi_serial_in(struct uart_port *p, int offset) in tsi_serial_in() 65 static void tsi_serial_out(struct uart_port *p, int offset, int value) in tsi_serial_out()
|
/linux-4.4.14/drivers/parisc/ |
D | superio.c | 392 struct uart_port serial_port; in superio_serial_init()
|
/linux-4.4.14/arch/frv/kernel/ |
D | setup.c | 190 static struct uart_port __pminitdata __frv_uart0 = { 199 static struct uart_port __pminitdata __frv_uart1 = {
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | platform.c | 31 static void alchemy_8250_pm(struct uart_port *port, unsigned int state, in alchemy_8250_pm()
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | board-ams-delta.c | 510 static void modem_pm(struct uart_port *port, unsigned int state, unsigned old) in modem_pm()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | bfin_serial.h | 32 struct uart_port port;
|
/linux-4.4.14/arch/mips/txx9/generic/ |
D | setup.c | 481 struct uart_port req; in txx9_sio_init()
|