Home
last modified time | relevance | path

Searched refs:uart_port (Results 1 - 25 of 291) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/include/linux/
H A Dserial_core.h29 struct uart_port;
39 unsigned int (*tx_empty)(struct uart_port *);
40 void (*set_mctrl)(struct uart_port *, unsigned int mctrl);
41 unsigned int (*get_mctrl)(struct uart_port *);
42 void (*stop_tx)(struct uart_port *);
43 void (*start_tx)(struct uart_port *);
44 void (*throttle)(struct uart_port *);
45 void (*unthrottle)(struct uart_port *);
46 void (*send_xchar)(struct uart_port *, char ch);
47 void (*stop_rx)(struct uart_port *);
106 struct uart_port { global() struct
296 struct uart_port *uart_port; global() member
[all...]
H A Dserial_8250.h31 unsigned int (*serial_in)(struct uart_port *, int);
32 void (*serial_out)(struct uart_port *, int, int);
33 void (*set_termios)(struct uart_port *,
36 void (*set_ldisc)(struct uart_port *,
38 unsigned int (*get_mctrl)(struct uart_port *);
39 int (*handle_irq)(struct uart_port *);
40 void (*pm)(struct uart_port *, unsigned int state,
42 void (*handle_break)(struct uart_port *);
96 struct uart_port port;
144 static inline struct uart_8250_port *up_to_u8250p(struct uart_port *u
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dserial_core.h29 struct uart_port;
41 * @tx_empty: ``unsigned int ()(struct uart_port *port)``
52 * @set_mctrl: ``void ()(struct uart_port *port, unsigned int mctrl)``
71 * @get_mctrl: ``unsigned int ()(struct uart_port *port)``
91 * @stop_tx: ``void ()(struct uart_port *port)``
103 * @start_tx: ``void ()(struct uart_port *port)``
111 * @throttle: ``void ()(struct uart_port *port)``
121 * @unthrottle: ``void ()(struct uart_port *port)``
132 * @send_xchar: ``void ()(struct uart_port *port, char ch)``
145 * @start_rx: ``void ()(struct uart_port *por
429 struct uart_port { global() struct
703 struct uart_port *uart_port; global() member
[all...]
H A Dserial_8250.h49 unsigned int (*serial_in)(struct uart_port *, int);
50 void (*serial_out)(struct uart_port *, int, int);
53 void (*set_termios)(struct uart_port *,
56 void (*set_ldisc)(struct uart_port *,
58 unsigned int (*get_mctrl)(struct uart_port *);
59 int (*handle_irq)(struct uart_port *);
60 void (*pm)(struct uart_port *, unsigned int state,
62 void (*handle_break)(struct uart_port *);
125 struct uart_port port;
172 static inline struct uart_8250_port *up_to_u8250p(struct uart_port *u
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dmpc52xx_uart.c58 static struct uart_port mpc52xx_uart_ports[MPC52xx_PSC_MAXNUM];
78 static irqreturn_t mpc5xxx_uart_process_int(struct uart_port *port);
85 void (*fifo_init)(struct uart_port *port);
86 int (*raw_rx_rdy)(struct uart_port *port);
87 int (*raw_tx_rdy)(struct uart_port *port);
88 int (*rx_rdy)(struct uart_port *port);
89 int (*tx_rdy)(struct uart_port *port);
90 int (*tx_empty)(struct uart_port *port);
91 void (*stop_rx)(struct uart_port *port);
92 void (*start_tx)(struct uart_port *por
[all...]
H A Dsunhv.c42 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar()
55 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write()
71 static int receive_chars_getchar(struct uart_port *port) in receive_chars_getchar()
114 static int receive_chars_read(struct uart_port *port) in receive_chars_read()
170 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
171 int (*receive_chars)(struct uart_port *port);
186 static struct tty_port *receive_chars(struct uart_port *port) in receive_chars()
199 static void transmit_chars(struct uart_port *port) in transmit_chars()
218 struct uart_port *port = dev_id; in sunhv_interrupt()
234 static unsigned int sunhv_tx_empty(struct uart_port *por
[all...]
H A Dapbuart.c39 static void apbuart_tx_chars(struct uart_port *port);
41 static void apbuart_stop_tx(struct uart_port *port) in apbuart_stop_tx()
50 static void apbuart_start_tx(struct uart_port *port) in apbuart_start_tx()
62 static void apbuart_stop_rx(struct uart_port *port) in apbuart_stop_rx()
71 static void apbuart_rx_chars(struct uart_port *port) in apbuart_rx_chars()
125 static void apbuart_tx_chars(struct uart_port *port) in apbuart_tx_chars()
161 struct uart_port *port = dev_id; in apbuart_int()
177 static unsigned int apbuart_tx_empty(struct uart_port *port) in apbuart_tx_empty()
183 static unsigned int apbuart_get_mctrl(struct uart_port *port) in apbuart_get_mctrl()
189 static void apbuart_set_mctrl(struct uart_port *por
[all...]
H A Duartlite.c60 static struct uart_port *console_port;
103 static inline u32 uart_in32(u32 offset, struct uart_port *port) in uart_in32()
110 static inline void uart_out32(u32 val, u32 offset, struct uart_port *port) in uart_out32()
117 static struct uart_port ulite_ports[ULITE_NR_UARTS];
123 static int ulite_receive(struct uart_port *port, int stat) in ulite_receive()
173 static int ulite_transmit(struct uart_port *port, int stat) in ulite_transmit()
203 struct uart_port *port = dev_id; in ulite_isr()
225 static unsigned int ulite_tx_empty(struct uart_port *port) in ulite_tx_empty()
237 static unsigned int ulite_get_mctrl(struct uart_port *port) in ulite_get_mctrl()
242 static void ulite_set_mctrl(struct uart_port *por
[all...]
H A Dmux.c47 struct uart_port port;
98 * @port: Ptr to the uart_port.
104 static unsigned int mux_tx_empty(struct uart_port *port) in mux_tx_empty()
111 * @ports: Ptr to the uart_port.
117 static void mux_set_mctrl(struct uart_port *port, unsigned int mctrl) in mux_set_mctrl()
123 * @port: Ptr to the uart_port.
128 static unsigned int mux_get_mctrl(struct uart_port *port) in mux_get_mctrl()
135 * @port: Ptr to the uart_port.
139 static void mux_stop_tx(struct uart_port *port) in mux_stop_tx()
145 * @port: Ptr to the uart_port
[all...]
H A Darc_uart.c96 struct uart_port port;
122 static void arc_serial_stop_rx(struct uart_port *port) in arc_serial_stop_rx()
127 static void arc_serial_stop_tx(struct uart_port *port) in arc_serial_stop_tx()
138 static unsigned int arc_serial_tx_empty(struct uart_port *port) in arc_serial_tx_empty()
156 static void arc_serial_tx_chars(struct uart_port *port) in arc_serial_tx_chars()
192 static void arc_serial_start_tx(struct uart_port *port) in arc_serial_start_tx()
197 static void arc_serial_rx_chars(struct uart_port *port, unsigned int status) in arc_serial_rx_chars()
275 struct uart_port *port = dev_id; in arc_serial_isr()
311 static unsigned int arc_serial_get_mctrl(struct uart_port *port) in arc_serial_get_mctrl()
323 static void arc_serial_set_mctrl(struct uart_port *por
[all...]
H A Dvr41xx_siu.c44 static struct uart_port siu_uart_ports[SIU_PORTS_MAX] = {
60 struct uart_port *port; in vr41xx_select_siu_interface()
81 struct uart_port *port; in vr41xx_use_irda()
102 struct uart_port *port; in vr41xx_select_irda_module()
133 static inline void siu_clear_fifo(struct uart_port *port) in siu_clear_fifo()
141 static inline unsigned long siu_port_size(struct uart_port *port) in siu_port_size()
153 static inline unsigned int siu_check_type(struct uart_port *port) in siu_check_type()
163 static inline const char *siu_type_name(struct uart_port *port) in siu_type_name()
175 static unsigned int siu_tx_empty(struct uart_port *port) in siu_tx_empty()
186 static void siu_set_mctrl(struct uart_port *por
[all...]
H A Daltera_jtaguart.c57 struct uart_port port;
62 static unsigned int altera_jtaguart_tx_empty(struct uart_port *port) in altera_jtaguart_tx_empty()
68 static unsigned int altera_jtaguart_get_mctrl(struct uart_port *port) in altera_jtaguart_get_mctrl()
73 static void altera_jtaguart_set_mctrl(struct uart_port *port, unsigned int sigs) in altera_jtaguart_set_mctrl()
77 static void altera_jtaguart_start_tx(struct uart_port *port) in altera_jtaguart_start_tx()
86 static void altera_jtaguart_stop_tx(struct uart_port *port) in altera_jtaguart_stop_tx()
95 static void altera_jtaguart_stop_rx(struct uart_port *port) in altera_jtaguart_stop_rx()
104 static void altera_jtaguart_break_ctl(struct uart_port *port, int break_state) in altera_jtaguart_break_ctl()
108 static void altera_jtaguart_set_termios(struct uart_port *port, in altera_jtaguart_set_termios()
119 struct uart_port *por in altera_jtaguart_rx_chars()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dmpc52xx_uart.c60 static struct uart_port mpc52xx_uart_ports[MPC52xx_PSC_MAXNUM];
80 static irqreturn_t mpc5xxx_uart_process_int(struct uart_port *port);
87 void (*fifo_init)(struct uart_port *port);
88 unsigned int (*raw_rx_rdy)(struct uart_port *port);
89 unsigned int (*raw_tx_rdy)(struct uart_port *port);
90 unsigned int (*rx_rdy)(struct uart_port *port);
91 unsigned int (*tx_rdy)(struct uart_port *port);
92 unsigned int (*tx_empty)(struct uart_port *port);
93 void (*stop_rx)(struct uart_port *port);
94 void (*start_tx)(struct uart_port *por
[all...]
H A Dsunhv.c42 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar()
54 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write()
69 static int receive_chars_getchar(struct uart_port *port) in receive_chars_getchar()
112 static int receive_chars_read(struct uart_port *port) in receive_chars_read()
168 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
169 int (*receive_chars)(struct uart_port *port);
184 static struct tty_port *receive_chars(struct uart_port *port) in receive_chars()
197 static void transmit_chars(struct uart_port *port) in transmit_chars()
216 struct uart_port *port = dev_id; in sunhv_interrupt()
232 static unsigned int sunhv_tx_empty(struct uart_port *por
[all...]
H A Dapbuart.c36 static void apbuart_tx_chars(struct uart_port *port);
38 static void apbuart_stop_tx(struct uart_port *port) in apbuart_stop_tx()
47 static void apbuart_start_tx(struct uart_port *port) in apbuart_start_tx()
59 static void apbuart_stop_rx(struct uart_port *port) in apbuart_stop_rx()
68 static void apbuart_rx_chars(struct uart_port *port) in apbuart_rx_chars()
121 static void apbuart_tx_chars(struct uart_port *port) in apbuart_tx_chars()
133 struct uart_port *port = dev_id; in apbuart_int()
149 static unsigned int apbuart_tx_empty(struct uart_port *port) in apbuart_tx_empty()
155 static unsigned int apbuart_get_mctrl(struct uart_port *port) in apbuart_get_mctrl()
161 static void apbuart_set_mctrl(struct uart_port *por
[all...]
H A Dserial_txx9.c158 static inline unsigned int sio_in(struct uart_port *up, int offset) in sio_in()
169 sio_out(struct uart_port *up, int offset, int value) in sio_out()
182 sio_mask(struct uart_port *up, int offset, unsigned int value) in sio_mask()
187 sio_set(struct uart_port *up, int offset, unsigned int value) in sio_set()
193 sio_quot_set(struct uart_port *up, int quot) in sio_quot_set()
208 static void serial_txx9_stop_tx(struct uart_port *up) in serial_txx9_stop_tx()
213 static void serial_txx9_start_tx(struct uart_port *up) in serial_txx9_start_tx()
218 static void serial_txx9_stop_rx(struct uart_port *up) in serial_txx9_stop_rx()
223 static void serial_txx9_initialize(struct uart_port *up) in serial_txx9_initialize()
247 receive_chars(struct uart_port *u
[all...]
H A Daltera_uart.c78 struct uart_port port;
84 static u32 altera_uart_readl(struct uart_port *port, int reg) in altera_uart_readl()
89 static void altera_uart_writel(struct uart_port *port, u32 dat, int reg) in altera_uart_writel()
94 static unsigned int altera_uart_tx_empty(struct uart_port *port) in altera_uart_tx_empty()
100 static unsigned int altera_uart_get_mctrl(struct uart_port *port) in altera_uart_get_mctrl()
126 static void altera_uart_set_mctrl(struct uart_port *port, unsigned int sigs) in altera_uart_set_mctrl()
138 static void altera_uart_start_tx(struct uart_port *port) in altera_uart_start_tx()
146 static void altera_uart_stop_tx(struct uart_port *port) in altera_uart_stop_tx()
154 static void altera_uart_stop_rx(struct uart_port *port) in altera_uart_stop_rx()
162 static void altera_uart_break_ctl(struct uart_port *por
[all...]
H A Dserial_base.h13 struct uart_port;
24 struct uart_port *port;
36 struct serial_ctrl_device *serial_base_ctrl_add(struct uart_port *port,
38 struct serial_port_device *serial_base_port_add(struct uart_port *port,
43 int serial_ctrl_register_port(struct uart_driver *drv, struct uart_port *port);
44 void serial_ctrl_unregister_port(struct uart_driver *drv, struct uart_port *port);
46 int serial_core_register_port(struct uart_driver *drv, struct uart_port *port);
47 void serial_core_unregister_port(struct uart_driver *drv, struct uart_port *port);
H A Dmux.c47 struct uart_port port;
98 * @port: Ptr to the uart_port.
104 static unsigned int mux_tx_empty(struct uart_port *port) in mux_tx_empty()
111 * @ports: Ptr to the uart_port.
117 static void mux_set_mctrl(struct uart_port *port, unsigned int mctrl) in mux_set_mctrl()
123 * @port: Ptr to the uart_port.
128 static unsigned int mux_get_mctrl(struct uart_port *port) in mux_get_mctrl()
135 * @port: Ptr to the uart_port.
139 static void mux_stop_tx(struct uart_port *port) in mux_stop_tx()
145 * @port: Ptr to the uart_port
[all...]
H A Dmps2-uart.c71 struct uart_port port;
78 static inline struct mps2_uart_port *to_mps2_port(struct uart_port *port) in to_mps2_port()
83 static void mps2_uart_write8(struct uart_port *port, u8 val, unsigned int off) in mps2_uart_write8()
90 static u8 mps2_uart_read8(struct uart_port *port, unsigned int off) in mps2_uart_read8()
97 static void mps2_uart_write32(struct uart_port *port, u32 val, unsigned int off) in mps2_uart_write32()
104 static unsigned int mps2_uart_tx_empty(struct uart_port *port) in mps2_uart_tx_empty()
111 static void mps2_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in mps2_uart_set_mctrl()
115 static unsigned int mps2_uart_get_mctrl(struct uart_port *port) in mps2_uart_get_mctrl()
120 static void mps2_uart_stop_tx(struct uart_port *port) in mps2_uart_stop_tx()
129 static void mps2_uart_tx_chars(struct uart_port *por
[all...]
H A Dbcm63xx_uart.c31 static struct uart_port ports[BCM63XX_NR_UARTS];
73 static inline unsigned int bcm_uart_readl(struct uart_port *port, in bcm_uart_readl()
79 static inline void bcm_uart_writel(struct uart_port *port, in bcm_uart_writel()
88 static unsigned int bcm_uart_tx_empty(struct uart_port *port) in bcm_uart_tx_empty()
99 static void bcm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in bcm_uart_set_mctrl()
123 static unsigned int bcm_uart_get_mctrl(struct uart_port *port) in bcm_uart_get_mctrl()
143 static void bcm_uart_stop_tx(struct uart_port *port) in bcm_uart_stop_tx()
159 static void bcm_uart_start_tx(struct uart_port *port) in bcm_uart_start_tx()
175 static void bcm_uart_stop_rx(struct uart_port *port) in bcm_uart_stop_rx()
187 static void bcm_uart_enable_ms(struct uart_port *por
[all...]
H A Darc_uart.c96 struct uart_port port;
122 static void arc_serial_stop_rx(struct uart_port *port) in arc_serial_stop_rx()
127 static void arc_serial_stop_tx(struct uart_port *port) in arc_serial_stop_tx()
138 static unsigned int arc_serial_tx_empty(struct uart_port *port) in arc_serial_tx_empty()
156 static void arc_serial_tx_chars(struct uart_port *port) in arc_serial_tx_chars()
191 static void arc_serial_start_tx(struct uart_port *port) in arc_serial_start_tx()
196 static void arc_serial_rx_chars(struct uart_port *port, unsigned int status) in arc_serial_rx_chars()
269 struct uart_port *port = dev_id; in arc_serial_isr()
305 static unsigned int arc_serial_get_mctrl(struct uart_port *port) in arc_serial_get_mctrl()
317 static void arc_serial_set_mctrl(struct uart_port *por
[all...]
H A Daltera_jtaguart.c53 static unsigned int altera_jtaguart_tx_space(struct uart_port *port, u32 *ctlp) in altera_jtaguart_tx_space()
63 static unsigned int altera_jtaguart_tx_empty(struct uart_port *port) in altera_jtaguart_tx_empty()
68 static unsigned int altera_jtaguart_get_mctrl(struct uart_port *port) in altera_jtaguart_get_mctrl()
73 static void altera_jtaguart_set_mctrl(struct uart_port *port, unsigned int sigs) in altera_jtaguart_set_mctrl()
77 static void altera_jtaguart_start_tx(struct uart_port *port) in altera_jtaguart_start_tx()
84 static void altera_jtaguart_stop_tx(struct uart_port *port) in altera_jtaguart_stop_tx()
91 static void altera_jtaguart_stop_rx(struct uart_port *port) in altera_jtaguart_stop_rx()
98 static void altera_jtaguart_break_ctl(struct uart_port *port, int break_state) in altera_jtaguart_break_ctl()
102 static void altera_jtaguart_set_termios(struct uart_port *port, in altera_jtaguart_set_termios()
111 static void altera_jtaguart_rx_chars(struct uart_port *por
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/jsm/
H A Djsm_tty.c55 static unsigned int jsm_tty_tx_empty(struct uart_port *port) in jsm_tty_tx_empty()
63 static unsigned int jsm_tty_get_mctrl(struct uart_port *port) in jsm_tty_get_mctrl()
67 container_of(port, struct jsm_channel, uart_port); in jsm_tty_get_mctrl()
86 static void jsm_tty_set_mctrl(struct uart_port *port, unsigned int mctrl) in jsm_tty_set_mctrl()
89 container_of(port, struct jsm_channel, uart_port); in jsm_tty_set_mctrl()
115 static void jsm_tty_write(struct uart_port *port) in jsm_tty_write()
119 channel = container_of(port, struct jsm_channel, uart_port); in jsm_tty_write()
123 static void jsm_tty_start_tx(struct uart_port *port) in jsm_tty_start_tx()
126 container_of(port, struct jsm_channel, uart_port); in jsm_tty_start_tx()
136 static void jsm_tty_stop_tx(struct uart_port *por
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/jsm/
H A Djsm_tty.c55 static unsigned int jsm_tty_tx_empty(struct uart_port *port) in jsm_tty_tx_empty()
63 static unsigned int jsm_tty_get_mctrl(struct uart_port *port) in jsm_tty_get_mctrl()
67 container_of(port, struct jsm_channel, uart_port); in jsm_tty_get_mctrl()
86 static void jsm_tty_set_mctrl(struct uart_port *port, unsigned int mctrl) in jsm_tty_set_mctrl()
89 container_of(port, struct jsm_channel, uart_port); in jsm_tty_set_mctrl()
115 static void jsm_tty_write(struct uart_port *port) in jsm_tty_write()
119 channel = container_of(port, struct jsm_channel, uart_port); in jsm_tty_write()
123 static void jsm_tty_start_tx(struct uart_port *port) in jsm_tty_start_tx()
126 container_of(port, struct jsm_channel, uart_port); in jsm_tty_start_tx()
136 static void jsm_tty_stop_tx(struct uart_port *por
[all...]

Completed in 22 milliseconds

12345678910>>...12