Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dqcom_geni_serial.c118 struct uart_port uport; member
147 static inline struct qcom_geni_serial_port *to_dev_port(struct uart_port *uport) in to_dev_port() argument
149 return container_of(uport, struct qcom_geni_serial_port, uport); in to_dev_port()
154 .uport = {
162 .uport = {
170 .uport = {
180 .uport = {
188 static int qcom_geni_serial_request_port(struct uart_port *uport) in qcom_geni_serial_request_port() argument
190 struct platform_device *pdev = to_platform_device(uport in qcom_geni_serial_request_port()
200 qcom_geni_serial_config_port(struct uart_port *uport, int cfg_flags) qcom_geni_serial_config_port() argument
208 qcom_geni_serial_get_mctrl(struct uart_port *uport) qcom_geni_serial_get_mctrl() argument
224 qcom_geni_serial_set_mctrl(struct uart_port *uport, unsigned int mctrl) qcom_geni_serial_set_mctrl() argument
241 qcom_geni_serial_get_type(struct uart_port *uport) qcom_geni_serial_get_type() argument
258 qcom_geni_serial_main_active(struct uart_port *uport) qcom_geni_serial_main_active() argument
263 qcom_geni_serial_secondary_active(struct uart_port *uport) qcom_geni_serial_secondary_active() argument
268 qcom_geni_serial_poll_bit(struct uart_port *uport, int offset, int field, bool set) qcom_geni_serial_poll_bit() argument
306 qcom_geni_serial_setup_tx(struct uart_port *uport, u32 xmit_size) qcom_geni_serial_setup_tx() argument
315 qcom_geni_serial_poll_tx_done(struct uart_port *uport) qcom_geni_serial_poll_tx_done() argument
332 qcom_geni_serial_abort_rx(struct uart_port *uport) qcom_geni_serial_abort_rx() argument
344 qcom_geni_serial_get_char(struct uart_port *uport) qcom_geni_serial_get_char() argument
386 qcom_geni_serial_poll_put_char(struct uart_port *uport, unsigned char c) qcom_geni_serial_poll_put_char() argument
400 qcom_geni_serial_wr_char(struct uart_port *uport, unsigned char ch) qcom_geni_serial_wr_char() argument
416 __qcom_geni_serial_console_write(struct uart_port *uport, const char *s, unsigned int count) __qcom_geni_serial_console_write() argument
470 struct uart_port *uport; qcom_geni_serial_console_write() local
526 handle_rx_console(struct uart_port *uport, u32 bytes, bool drop) handle_rx_console() argument
563 handle_rx_console(struct uart_port *uport, u32 bytes, bool drop) handle_rx_console() argument
569 handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop) handle_rx_uart() argument
585 qcom_geni_serial_tx_empty(struct uart_port *uport) qcom_geni_serial_tx_empty() argument
590 qcom_geni_serial_stop_tx_dma(struct uart_port *uport) qcom_geni_serial_stop_tx_dma() argument
621 qcom_geni_serial_start_tx_dma(struct uart_port *uport) qcom_geni_serial_start_tx_dma() argument
649 qcom_geni_serial_start_tx_fifo(struct uart_port *uport) qcom_geni_serial_start_tx_fifo() argument
664 qcom_geni_serial_stop_tx_fifo(struct uart_port *uport) qcom_geni_serial_stop_tx_fifo() argument
688 qcom_geni_serial_handle_rx_fifo(struct uart_port *uport, bool drop) qcom_geni_serial_handle_rx_fifo() argument
712 qcom_geni_serial_stop_rx_fifo(struct uart_port *uport) qcom_geni_serial_stop_rx_fifo() argument
746 qcom_geni_serial_start_rx_fifo(struct uart_port *uport) qcom_geni_serial_start_rx_fifo() argument
765 qcom_geni_serial_stop_rx_dma(struct uart_port *uport) qcom_geni_serial_stop_rx_dma() argument
786 qcom_geni_serial_start_rx_dma(struct uart_port *uport) qcom_geni_serial_start_rx_dma() argument
805 qcom_geni_serial_handle_rx_dma(struct uart_port *uport, bool drop) qcom_geni_serial_handle_rx_dma() argument
838 qcom_geni_serial_start_rx(struct uart_port *uport) qcom_geni_serial_start_rx() argument
843 qcom_geni_serial_stop_rx(struct uart_port *uport) qcom_geni_serial_stop_rx() argument
848 qcom_geni_serial_stop_tx(struct uart_port *uport) qcom_geni_serial_stop_tx() argument
853 qcom_geni_serial_send_chunk_fifo(struct uart_port *uport, unsigned int remaining) qcom_geni_serial_send_chunk_fifo() argument
875 qcom_geni_serial_handle_tx_fifo(struct uart_port *uport, bool done, bool active) qcom_geni_serial_handle_tx_fifo() argument
939 qcom_geni_serial_handle_tx_dma(struct uart_port *uport) qcom_geni_serial_handle_tx_dma() argument
965 struct uart_port *uport = dev; qcom_geni_serial_isr() local
1042 struct uart_port *uport; setup_fifos() local
1069 qcom_geni_serial_shutdown(struct uart_port *uport) qcom_geni_serial_shutdown() argument
1080 qcom_geni_serial_port_setup(struct uart_port *uport) qcom_geni_serial_port_setup() argument
1131 qcom_geni_serial_startup(struct uart_port *uport) qcom_geni_serial_startup() argument
1207 qcom_geni_serial_set_termios(struct uart_port *uport, struct ktermios *termios, const struct ktermios *old) qcom_geni_serial_set_termios() argument
1328 struct uart_port *uport; qcom_geni_console_setup() local
1375 struct uart_port *uport = &dev->port; qcom_geni_serial_earlycon_read() local
1405 struct uart_port *uport = &dev->port; qcom_geni_serial_earlycon_setup() local
1503 qcom_geni_serial_pm(struct uart_port *uport, unsigned int new_state, unsigned int old_state) qcom_geni_serial_pm() argument
1569 struct uart_port *uport; qcom_geni_serial_probe() local
1714 struct uart_port *uport = &port->uport; qcom_geni_serial_sys_suspend() local
1732 struct uart_port *uport = &port->uport; qcom_geni_serial_sys_resume() local
1746 struct uart_port *uport; qcom_geni_serial_sys_hib_resume() local
[all...]
H A Dsb1250-duart.c100 #define to_sport(uport) container_of(uport, struct sbd_port, port)
232 static unsigned int sbd_tx_empty(struct uart_port *uport) in sbd_tx_empty() argument
234 struct sbd_port *sport = to_sport(uport); in sbd_tx_empty()
239 static unsigned int sbd_get_mctrl(struct uart_port *uport) in sbd_get_mctrl() argument
241 struct sbd_port *sport = to_sport(uport); in sbd_get_mctrl()
245 status >>= (uport->line) % 2; in sbd_get_mctrl()
253 static void sbd_set_mctrl(struct uart_port *uport, unsigned int mctrl) in sbd_set_mctrl() argument
255 struct sbd_port *sport = to_sport(uport); in sbd_set_mctrl()
266 clr <<= (uport in sbd_set_mctrl()
281 sbd_stop_tx(struct uart_port *uport) sbd_stop_tx() argument
289 sbd_start_tx(struct uart_port *uport) sbd_start_tx() argument
304 sbd_stop_rx(struct uart_port *uport) sbd_stop_rx() argument
311 sbd_enable_ms(struct uart_port *uport) sbd_enable_ms() argument
319 sbd_break_ctl(struct uart_port *uport, int break_state) sbd_break_ctl() argument
332 struct uart_port *uport = &sport->port; sbd_receive_chars() local
384 struct uart_port *uport = &sport->port; sbd_transmit_chars() local
420 struct uart_port *uport = &sport->port; sbd_status_handle() local
440 struct uart_port *uport = &sport->port; sbd_interrupt() local
468 sbd_startup(struct uart_port *uport) sbd_startup() argument
502 sbd_shutdown(struct uart_port *uport) sbd_shutdown() argument
514 struct uart_port *uport = &sport->port; sbd_init_port() local
533 sbd_set_termios(struct uart_port *uport, struct ktermios *termios, const struct ktermios *old_termios) sbd_set_termios() argument
639 sbd_type(struct uart_port *uport) sbd_type() argument
644 sbd_release_port(struct uart_port *uport) sbd_release_port() argument
659 sbd_map_port(struct uart_port *uport) sbd_map_port() argument
686 sbd_request_port(struct uart_port *uport) sbd_request_port() argument
721 sbd_config_port(struct uart_port *uport, int flags) sbd_config_port() argument
735 sbd_verify_port(struct uart_port *uport, struct serial_struct *ser) sbd_verify_port() argument
799 struct uart_port *uport = &sport->port; sbd_probe_duarts() local
823 sbd_console_putchar(struct uart_port *uport, unsigned char ch) sbd_console_putchar() argument
837 struct uart_port *uport = &sport->port; sbd_console_write() local
865 struct uart_port *uport = &sport->port; sbd_console_setup() local
937 struct uart_port *uport = &sport->port; sbd_init() local
954 struct uart_port *uport = &sport->port; sbd_exit() local
[all...]
H A Dserial_core.c60 static int uart_dcd_enabled(struct uart_port *uport) in uart_dcd_enabled() argument
62 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()
72 static inline void uart_port_deref(struct uart_port *uport) in uart_port_deref() argument
74 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()
75 wake_up(&uport->state->remove_wait); in uart_port_deref()
86 #define uart_port_unlock(uport, flags) \
88 struct uart_port *__uport = uport; \
193 static void uart_port_dtr_rts(struct uart_port *uport, bool active) in uart_port_dtr_rts() argument
196 uart_set_mctrl(uport, TIOCM_DTR | TIOCM_RTS); in uart_port_dtr_rts()
198 uart_clear_mctrl(uport, TIOCM_DT in uart_port_dtr_rts()
205 struct uart_port *uport = uart_port_check(state); uart_change_line_settings() local
253 struct uart_port *uport = uart_port_check(state); uart_port_startup() local
347 struct uart_port *uport = uart_port_check(state); uart_shutdown() local
680 uart_xchar_out(struct uart_port *uport, int offset) uart_xchar_out() argument
775 struct uart_port *uport; uart_get_info() local
825 struct uart_port *uport = uart_port_check(state); uart_set_info() local
1055 struct uart_port *uport = uart_port_check(state); uart_get_lsr_info() local
1078 struct uart_port *uport; uart_tiocmget() local
1102 struct uart_port *uport; uart_tiocmset() local
1123 struct uart_port *uport; uart_break_ctl() local
1142 struct uart_port *uport; uart_do_autoconfig() local
1194 uart_enable_ms(struct uart_port *uport) uart_enable_ms() argument
1214 struct uart_port *uport; uart_wait_modem_status() local
1275 struct uart_port *uport; uart_get_icount() local
1569 struct uart_port *uport; uart_ioctl() local
1658 struct uart_port *uport; uart_set_ldisc() local
1675 struct uart_port *uport; uart_set_termios() local
1758 struct uart_port *uport = uart_port_check(state); uart_tty_port_shutdown() local
1866 struct uart_port *uport; uart_hangup() local
1895 struct uart_port *uport = uart_port_check(state); uart_port_shutdown() local
1918 struct uart_port *uport; uart_carrier_raised() local
1942 struct uart_port *uport; uart_dtr_rts() local
1986 struct uart_port *uport; uart_port_activate() local
2023 struct uart_port *uport; uart_line_info() local
2365 uart_suspend_port(struct uart_driver *drv, struct uart_port *uport) uart_suspend_port() argument
2445 uart_resume_port(struct uart_driver *drv, struct uart_port *uport) uart_resume_port() argument
3031 struct uart_port *uport; console_show() local
3048 struct uart_port *uport; console_store() local
3127 serial_core_add_one_port(struct uart_driver *drv, struct uart_port *uport) serial_core_add_one_port() argument
3222 serial_core_remove_one_port(struct uart_driver *drv, struct uart_port *uport) serial_core_remove_one_port() argument
3458 uart_handle_dcd_change(struct uart_port *uport, bool active) uart_handle_dcd_change() argument
3493 uart_handle_cts_change(struct uart_port *uport, bool active) uart_handle_cts_change() argument
[all...]
H A Ddz.c85 static inline struct dz_port *to_dport(struct uart_port *uport) in to_dport() argument
87 return container_of(uport, struct dz_port, port); in to_dport()
123 static void dz_stop_tx(struct uart_port *uport) in dz_stop_tx() argument
125 struct dz_port *dport = to_dport(uport); in dz_stop_tx()
133 static void dz_start_tx(struct uart_port *uport) in dz_start_tx() argument
135 struct dz_port *dport = to_dport(uport); in dz_start_tx()
143 static void dz_stop_rx(struct uart_port *uport) in dz_stop_rx() argument
145 struct dz_port *dport = to_dport(uport); in dz_stop_rx()
180 struct uart_port *uport; in dz_receive_chars() local
190 uport in dz_receive_chars()
356 dz_get_mctrl(struct uart_port *uport) dz_get_mctrl() argument
372 dz_set_mctrl(struct uart_port *uport, unsigned int mctrl) dz_set_mctrl() argument
397 dz_startup(struct uart_port *uport) dz_startup() argument
438 dz_shutdown(struct uart_port *uport) dz_shutdown() argument
473 dz_tx_empty(struct uart_port *uport) dz_tx_empty() argument
484 dz_break_ctl(struct uart_port *uport, int break_state) dz_break_ctl() argument
560 dz_set_termios(struct uart_port *uport, struct ktermios *termios, const struct ktermios *old_termios) dz_set_termios() argument
642 dz_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) dz_pm() argument
657 dz_type(struct uart_port *uport) dz_type() argument
662 dz_release_port(struct uart_port *uport) dz_release_port() argument
675 dz_map_port(struct uart_port *uport) dz_map_port() argument
687 dz_request_port(struct uart_port *uport) dz_request_port() argument
713 dz_config_port(struct uart_port *uport, int flags) dz_config_port() argument
730 dz_verify_port(struct uart_port *uport, struct serial_struct *ser) dz_verify_port() argument
777 struct uart_port *uport = &dport->port; dz_init_ports() local
807 dz_console_putchar(struct uart_port *uport, unsigned char ch) dz_console_putchar() argument
866 struct uart_port *uport = &dport->port; dz_console_setup() local
[all...]
H A Dzs.c99 #define to_zport(uport) container_of(uport, struct zs_port, port)
304 static unsigned int zs_tx_empty(struct uart_port *uport) in zs_tx_empty() argument
306 struct zs_port *zport = to_zport(uport); in zs_tx_empty()
372 static unsigned int zs_get_mctrl(struct uart_port *uport) in zs_get_mctrl() argument
374 struct zs_port *zport = to_zport(uport); in zs_get_mctrl()
385 static void zs_set_mctrl(struct uart_port *uport, unsigned int mctrl) in zs_set_mctrl() argument
387 struct zs_port *zport = to_zport(uport); in zs_set_mctrl()
425 static void zs_stop_tx(struct uart_port *uport) in zs_stop_tx() argument
427 struct zs_port *zport = to_zport(uport); in zs_stop_tx()
437 zs_start_tx(struct uart_port *uport) zs_start_tx() argument
451 zs_stop_rx(struct uart_port *uport) zs_stop_rx() argument
485 zs_enable_ms(struct uart_port *uport) zs_enable_ms() argument
515 zs_break_ctl(struct uart_port *uport, int break_state) zs_break_ctl() argument
539 struct uart_port *uport = &zport->port; zs_receive_chars() local
648 struct uart_port *uport = &zport->port; zs_status_handle() local
752 zs_startup(struct uart_port *uport) zs_startup() argument
805 zs_shutdown(struct uart_port *uport) zs_shutdown() argument
848 zs_set_termios(struct uart_port *uport, struct ktermios *termios, const struct ktermios *old_termios) zs_set_termios() argument
963 zs_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) zs_pm() argument
976 zs_type(struct uart_port *uport) zs_type() argument
981 zs_release_port(struct uart_port *uport) zs_release_port() argument
988 zs_map_port(struct uart_port *uport) zs_map_port() argument
1000 zs_request_port(struct uart_port *uport) zs_request_port() argument
1016 zs_config_port(struct uart_port *uport, int flags) zs_config_port() argument
1030 zs_verify_port(struct uart_port *uport, struct serial_struct *ser) zs_verify_port() argument
1100 struct uart_port *uport = &zport->port; zs_probe_sccs() local
1127 zs_console_putchar(struct uart_port *uport, unsigned char ch) zs_console_putchar() argument
1200 struct uart_port *uport = &zport->port; zs_console_setup() local
1281 struct uart_port *uport = &zport->port; zs_init() local
1297 struct uart_port *uport = &zport->port; zs_exit() local
[all...]
H A Dserial-tegra.c107 struct uart_port uport; member
159 return readl(tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_read()
165 writel(val, tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_write()
170 return container_of(u, struct tegra_uart_port, uport); in to_tegra_uport()
372 dev_err(tup->uport.dev, in tegra_check_rate_in_range()
400 dev_err(tup->uport.dev, in tegra_set_baudrate()
414 spin_lock_irqsave(&tup->uport.lock, flags); in tegra_set_baudrate()
427 spin_unlock_irqrestore(&tup->uport in tegra_set_baudrate()
[all...]
H A Dsprd_serial.c1096 static bool sprd_uart_is_console(struct uart_port *uport) in sprd_uart_is_console() argument
1100 if ((cons && cons->index >= 0 && cons->index == uport->line) || in sprd_uart_is_console()
1101 of_console_check(uport->dev->of_node, SPRD_TTY_NAME, uport->line)) in sprd_uart_is_console()
1107 static int sprd_clk_init(struct uart_port *uport) in sprd_clk_init() argument
1110 struct sprd_uart_port *u = container_of(uport, struct sprd_uart_port, port); in sprd_clk_init()
1112 clk_uart = devm_clk_get(uport->dev, "uart"); in sprd_clk_init()
1114 dev_warn(uport->dev, "uart%d can't get uart clock\n", in sprd_clk_init()
1115 uport->line); in sprd_clk_init()
1119 clk_parent = devm_clk_get(uport in sprd_clk_init()
[all...]
H A Darc_uart.c100 #define to_arc_port(uport) container_of(uport, struct arc_uart_port, port)
H A Dpmac_zilog.c1864 struct uart_pmac_port *uport = &pmz_ports[i]; in exit_pmz() local
1866 if (uport->node != NULL) in exit_pmz()
1867 pmz_dispose_port(uport); in exit_pmz()
1869 if (uport->pdev != NULL) in exit_pmz()
1870 pmz_dispose_port(uport); in exit_pmz()
H A Dfsl_lpuart.c3156 struct uart_port *uport = &sport->port; in lpuart_console_fixup() local
3171 termios.c_cflag = uport->cons->cflag; in lpuart_console_fixup()
3174 uport->ops->set_termios(uport, &termios, NULL); in lpuart_console_fixup()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dserial_core.c58 static int uart_dcd_enabled(struct uart_port *uport) in uart_dcd_enabled() argument
60 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()
70 static inline void uart_port_deref(struct uart_port *uport) in uart_port_deref() argument
72 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()
73 wake_up(&uport->state->remove_wait); in uart_port_deref()
84 #define uart_port_unlock(uport, flags) \
86 struct uart_port *__uport = uport; \
163 static void uart_port_dtr_rts(struct uart_port *uport, int raise) in uart_port_dtr_rts() argument
166 uart_set_mctrl(uport, TIOCM_DTR | TIOCM_RTS); in uart_port_dtr_rts()
168 uart_clear_mctrl(uport, TIOCM_DT in uart_port_dtr_rts()
178 struct uart_port *uport = uart_port_check(state); uart_port_startup() local
272 struct uart_port *uport = uart_port_check(state); uart_shutdown() local
504 struct uart_port *uport = uart_port_check(state); uart_change_speed() local
677 uart_xchar_out(struct uart_port *uport, int offset) uart_xchar_out() argument
772 struct uart_port *uport; uart_get_info() local
824 struct uart_port *uport = uart_port_check(state); uart_set_info() local
1063 struct uart_port *uport = uart_port_check(state); uart_get_lsr_info() local
1086 struct uart_port *uport; uart_tiocmget() local
1110 struct uart_port *uport; uart_tiocmset() local
1131 struct uart_port *uport; uart_break_ctl() local
1150 struct uart_port *uport; uart_do_autoconfig() local
1202 uart_enable_ms(struct uart_port *uport) uart_enable_ms() argument
1222 struct uart_port *uport; uart_wait_modem_status() local
1283 struct uart_port *uport; uart_get_icount() local
1442 struct uart_port *uport; uart_ioctl() local
1525 struct uart_port *uport; uart_set_ldisc() local
1542 struct uart_port *uport; uart_set_termios() local
1625 struct uart_port *uport = uart_port_check(state); uart_tty_port_shutdown() local
1733 struct uart_port *uport; uart_hangup() local
1762 struct uart_port *uport = uart_port_check(state); uart_port_shutdown() local
1789 struct uart_port *uport; uart_carrier_raised() local
1814 struct uart_port *uport; uart_dtr_rts() local
1858 struct uart_port *uport; uart_port_activate() local
1897 struct uart_port *uport; uart_line_info() local
2232 uart_suspend_port(struct uart_driver *drv, struct uart_port *uport) uart_suspend_port() argument
2295 uart_resume_port(struct uart_driver *drv, struct uart_port *uport) uart_resume_port() argument
2841 struct uart_port *uport; console_show() local
2858 struct uart_port *uport; console_store() local
2935 uart_add_one_port(struct uart_driver *drv, struct uart_port *uport) uart_add_one_port() argument
3037 uart_remove_one_port(struct uart_driver *drv, struct uart_port *uport) uart_remove_one_port() argument
3141 uart_handle_dcd_change(struct uart_port *uport, unsigned int status) uart_handle_dcd_change() argument
3176 uart_handle_cts_change(struct uart_port *uport, unsigned int status) uart_handle_cts_change() argument
[all...]
H A Dqcom_geni_serial.c121 struct uart_port uport; member
129 int (*handle_rx)(struct uart_port *uport, u32 bytes, bool drop);
147 static int handle_rx_console(struct uart_port *uport, u32 bytes, bool drop);
148 static int handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop);
150 static void qcom_geni_serial_stop_rx(struct uart_port *uport);
151 static void qcom_geni_serial_handle_rx(struct uart_port *uport, bool drop);
164 .uport = {
172 .uport = {
180 .uport = {
190 .uport
198 qcom_geni_serial_request_port(struct uart_port *uport) qcom_geni_serial_request_port() argument
210 qcom_geni_serial_config_port(struct uart_port *uport, int cfg_flags) qcom_geni_serial_config_port() argument
218 qcom_geni_serial_get_mctrl(struct uart_port *uport) qcom_geni_serial_get_mctrl() argument
234 qcom_geni_serial_set_mctrl(struct uart_port *uport, unsigned int mctrl) qcom_geni_serial_set_mctrl() argument
251 qcom_geni_serial_get_type(struct uart_port *uport) qcom_geni_serial_get_type() argument
268 qcom_geni_serial_poll_bit(struct uart_port *uport, int offset, int field, bool set) qcom_geni_serial_poll_bit() argument
306 qcom_geni_serial_setup_tx(struct uart_port *uport, u32 xmit_size) qcom_geni_serial_setup_tx() argument
315 qcom_geni_serial_poll_tx_done(struct uart_port *uport) qcom_geni_serial_poll_tx_done() argument
332 qcom_geni_serial_abort_rx(struct uart_port *uport) qcom_geni_serial_abort_rx() argument
345 qcom_geni_serial_get_char(struct uart_port *uport) qcom_geni_serial_get_char() argument
387 qcom_geni_serial_poll_put_char(struct uart_port *uport, unsigned char c) qcom_geni_serial_poll_put_char() argument
401 qcom_geni_serial_wr_char(struct uart_port *uport, int ch) qcom_geni_serial_wr_char() argument
417 __qcom_geni_serial_console_write(struct uart_port *uport, const char *s, unsigned int count) __qcom_geni_serial_console_write() argument
471 struct uart_port *uport; qcom_geni_serial_console_write() local
527 handle_rx_console(struct uart_port *uport, u32 bytes, bool drop) handle_rx_console() argument
565 handle_rx_console(struct uart_port *uport, u32 bytes, bool drop) handle_rx_console() argument
572 handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop) handle_rx_uart() argument
596 qcom_geni_serial_start_tx(struct uart_port *uport) qcom_geni_serial_start_tx() argument
615 qcom_geni_serial_stop_tx(struct uart_port *uport) qcom_geni_serial_stop_tx() argument
641 qcom_geni_serial_start_rx(struct uart_port *uport) qcom_geni_serial_start_rx() argument
662 qcom_geni_serial_stop_rx(struct uart_port *uport) qcom_geni_serial_stop_rx() argument
700 qcom_geni_serial_handle_rx(struct uart_port *uport, bool drop) qcom_geni_serial_handle_rx() argument
725 qcom_geni_serial_handle_tx(struct uart_port *uport, bool done, bool active) qcom_geni_serial_handle_tx() argument
821 struct uart_port *uport = dev; qcom_geni_serial_isr() local
872 struct uart_port *uport; setup_fifos() local
894 qcom_geni_serial_shutdown(struct uart_port *uport) qcom_geni_serial_shutdown() argument
899 qcom_geni_serial_port_setup(struct uart_port *uport) qcom_geni_serial_port_setup() argument
949 qcom_geni_serial_startup(struct uart_port *uport) qcom_geni_serial_startup() argument
993 qcom_geni_serial_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old) qcom_geni_serial_set_termios() argument
1116 qcom_geni_serial_tx_empty(struct uart_port *uport) qcom_geni_serial_tx_empty() argument
1124 struct uart_port *uport; qcom_geni_console_setup() local
1171 struct uart_port *uport = &dev->port; qcom_geni_serial_earlycon_read() local
1201 struct uart_port *uport = &dev->port; qcom_geni_serial_earlycon_setup() local
1299 qcom_geni_serial_pm(struct uart_port *uport, unsigned int new_state, unsigned int old_state) qcom_geni_serial_pm() argument
1362 struct uart_port *uport; qcom_geni_serial_probe() local
1512 struct uart_port *uport = &port->uport; qcom_geni_serial_sys_suspend() local
1530 struct uart_port *uport = &port->uport; qcom_geni_serial_sys_resume() local
[all...]
H A Dsb1250-duart.c100 #define to_sport(uport) container_of(uport, struct sbd_port, port)
232 static unsigned int sbd_tx_empty(struct uart_port *uport) in sbd_tx_empty() argument
234 struct sbd_port *sport = to_sport(uport); in sbd_tx_empty()
239 static unsigned int sbd_get_mctrl(struct uart_port *uport) in sbd_get_mctrl() argument
241 struct sbd_port *sport = to_sport(uport); in sbd_get_mctrl()
245 status >>= (uport->line) % 2; in sbd_get_mctrl()
253 static void sbd_set_mctrl(struct uart_port *uport, unsigned int mctrl) in sbd_set_mctrl() argument
255 struct sbd_port *sport = to_sport(uport); in sbd_set_mctrl()
266 clr <<= (uport in sbd_set_mctrl()
281 sbd_stop_tx(struct uart_port *uport) sbd_stop_tx() argument
289 sbd_start_tx(struct uart_port *uport) sbd_start_tx() argument
304 sbd_stop_rx(struct uart_port *uport) sbd_stop_rx() argument
311 sbd_enable_ms(struct uart_port *uport) sbd_enable_ms() argument
319 sbd_break_ctl(struct uart_port *uport, int break_state) sbd_break_ctl() argument
332 struct uart_port *uport = &sport->port; sbd_receive_chars() local
383 struct uart_port *uport = &sport->port; sbd_transmit_chars() local
420 struct uart_port *uport = &sport->port; sbd_status_handle() local
440 struct uart_port *uport = &sport->port; sbd_interrupt() local
468 sbd_startup(struct uart_port *uport) sbd_startup() argument
502 sbd_shutdown(struct uart_port *uport) sbd_shutdown() argument
514 struct uart_port *uport = &sport->port; sbd_init_port() local
533 sbd_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) sbd_set_termios() argument
639 sbd_type(struct uart_port *uport) sbd_type() argument
644 sbd_release_port(struct uart_port *uport) sbd_release_port() argument
659 sbd_map_port(struct uart_port *uport) sbd_map_port() argument
686 sbd_request_port(struct uart_port *uport) sbd_request_port() argument
721 sbd_config_port(struct uart_port *uport, int flags) sbd_config_port() argument
735 sbd_verify_port(struct uart_port *uport, struct serial_struct *ser) sbd_verify_port() argument
799 struct uart_port *uport = &sport->port; sbd_probe_duarts() local
823 sbd_console_putchar(struct uart_port *uport, int ch) sbd_console_putchar() argument
837 struct uart_port *uport = &sport->port; sbd_console_write() local
865 struct uart_port *uport = &sport->port; sbd_console_setup() local
937 struct uart_port *uport = &sport->port; sbd_init() local
954 struct uart_port *uport = &sport->port; sbd_exit() local
[all...]
H A Ddz.c85 static inline struct dz_port *to_dport(struct uart_port *uport) in to_dport() argument
87 return container_of(uport, struct dz_port, port); in to_dport()
123 static void dz_stop_tx(struct uart_port *uport) in dz_stop_tx() argument
125 struct dz_port *dport = to_dport(uport); in dz_stop_tx()
133 static void dz_start_tx(struct uart_port *uport) in dz_start_tx() argument
135 struct dz_port *dport = to_dport(uport); in dz_start_tx()
143 static void dz_stop_rx(struct uart_port *uport) in dz_stop_rx() argument
145 struct dz_port *dport = to_dport(uport); in dz_stop_rx()
180 struct uart_port *uport; in dz_receive_chars() local
190 uport in dz_receive_chars()
357 dz_get_mctrl(struct uart_port *uport) dz_get_mctrl() argument
373 dz_set_mctrl(struct uart_port *uport, unsigned int mctrl) dz_set_mctrl() argument
398 dz_startup(struct uart_port *uport) dz_startup() argument
439 dz_shutdown(struct uart_port *uport) dz_shutdown() argument
474 dz_tx_empty(struct uart_port *uport) dz_tx_empty() argument
485 dz_break_ctl(struct uart_port *uport, int break_state) dz_break_ctl() argument
561 dz_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) dz_set_termios() argument
640 dz_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) dz_pm() argument
655 dz_type(struct uart_port *uport) dz_type() argument
660 dz_release_port(struct uart_port *uport) dz_release_port() argument
673 dz_map_port(struct uart_port *uport) dz_map_port() argument
685 dz_request_port(struct uart_port *uport) dz_request_port() argument
711 dz_config_port(struct uart_port *uport, int flags) dz_config_port() argument
728 dz_verify_port(struct uart_port *uport, struct serial_struct *ser) dz_verify_port() argument
775 struct uart_port *uport = &dport->port; dz_init_ports() local
805 dz_console_putchar(struct uart_port *uport, int ch) dz_console_putchar() argument
864 struct uart_port *uport = &dport->port; dz_console_setup() local
[all...]
H A Dzs.c99 #define to_zport(uport) container_of(uport, struct zs_port, port)
304 static unsigned int zs_tx_empty(struct uart_port *uport) in zs_tx_empty() argument
306 struct zs_port *zport = to_zport(uport); in zs_tx_empty()
372 static unsigned int zs_get_mctrl(struct uart_port *uport) in zs_get_mctrl() argument
374 struct zs_port *zport = to_zport(uport); in zs_get_mctrl()
385 static void zs_set_mctrl(struct uart_port *uport, unsigned int mctrl) in zs_set_mctrl() argument
387 struct zs_port *zport = to_zport(uport); in zs_set_mctrl()
425 static void zs_stop_tx(struct uart_port *uport) in zs_stop_tx() argument
427 struct zs_port *zport = to_zport(uport); in zs_stop_tx()
437 zs_start_tx(struct uart_port *uport) zs_start_tx() argument
451 zs_stop_rx(struct uart_port *uport) zs_stop_rx() argument
485 zs_enable_ms(struct uart_port *uport) zs_enable_ms() argument
515 zs_break_ctl(struct uart_port *uport, int break_state) zs_break_ctl() argument
539 struct uart_port *uport = &zport->port; zs_receive_chars() local
648 struct uart_port *uport = &zport->port; zs_status_handle() local
752 zs_startup(struct uart_port *uport) zs_startup() argument
805 zs_shutdown(struct uart_port *uport) zs_shutdown() argument
848 zs_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) zs_set_termios() argument
963 zs_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) zs_pm() argument
976 zs_type(struct uart_port *uport) zs_type() argument
981 zs_release_port(struct uart_port *uport) zs_release_port() argument
988 zs_map_port(struct uart_port *uport) zs_map_port() argument
1000 zs_request_port(struct uart_port *uport) zs_request_port() argument
1016 zs_config_port(struct uart_port *uport, int flags) zs_config_port() argument
1030 zs_verify_port(struct uart_port *uport, struct serial_struct *ser) zs_verify_port() argument
1100 struct uart_port *uport = &zport->port; zs_probe_sccs() local
1127 zs_console_putchar(struct uart_port *uport, int ch) zs_console_putchar() argument
1200 struct uart_port *uport = &zport->port; zs_console_setup() local
1281 struct uart_port *uport = &zport->port; zs_init() local
1297 struct uart_port *uport = &zport->port; zs_exit() local
[all...]
H A Dserial-tegra.c103 struct uart_port uport; member
155 return readl(tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_read()
161 writel(val, tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_write()
166 return container_of(u, struct tegra_uart_port, uport); in to_tegra_uport()
368 dev_err(tup->uport.dev, in tegra_check_rate_in_range()
396 dev_err(tup->uport.dev, in tegra_set_baudrate()
410 spin_lock_irqsave(&tup->uport.lock, flags); in tegra_set_baudrate()
423 spin_unlock_irqrestore(&tup->uport in tegra_set_baudrate()
[all...]
H A Dsprd_serial.c1122 static bool sprd_uart_is_console(struct uart_port *uport) in sprd_uart_is_console() argument
1126 if ((cons && cons->index >= 0 && cons->index == uport->line) || in sprd_uart_is_console()
1127 of_console_check(uport->dev->of_node, SPRD_TTY_NAME, uport->line)) in sprd_uart_is_console()
1133 static int sprd_clk_init(struct uart_port *uport) in sprd_clk_init() argument
1136 struct sprd_uart_port *u = container_of(uport, struct sprd_uart_port, port); in sprd_clk_init()
1138 clk_uart = devm_clk_get(uport->dev, "uart"); in sprd_clk_init()
1140 dev_warn(uport->dev, "uart%d can't get uart clock\n", in sprd_clk_init()
1141 uport->line); in sprd_clk_init()
1145 clk_parent = devm_clk_get(uport in sprd_clk_init()
[all...]
H A Darc_uart.c100 #define to_arc_port(uport) container_of(uport, struct arc_uart_port, port)
H A Dpmac_zilog.c1928 struct uart_pmac_port *uport = &pmz_ports[i]; in exit_pmz() local
1930 if (uport->node != NULL) in exit_pmz()
1931 pmz_dispose_port(uport); in exit_pmz()
1933 if (uport->pdev != NULL) in exit_pmz()
1934 pmz_dispose_port(uport); in exit_pmz()
H A Dsamsung_tty.c1740 struct uart_port *uport; in s3c24xx_serial_cpufreq_transition() local
1743 uport = &port->port; in s3c24xx_serial_cpufreq_transition()
1770 if (uport->state == NULL) in s3c24xx_serial_cpufreq_transition()
1773 tty = uport->state->port.tty; in s3c24xx_serial_cpufreq_transition()
1781 dev_warn(uport->dev, "%s: no termios?\n", __func__); in s3c24xx_serial_cpufreq_transition()
1785 s3c24xx_serial_set_termios(uport, termios, NULL); in s3c24xx_serial_cpufreq_transition()
/kernel/linux/linux-6.6/include/linux/
H A Dserial_core.h760 #define __uart_port_tx(uport, ch, flags, tx_ready, put_char, tx_done, \
763 struct uart_port *__port = (uport); \
989 static inline bool uart_cts_enabled(struct uart_port *uport) in uart_cts_enabled() argument
991 return !!(uport->status & UPSTAT_CTS_ENABLE); in uart_cts_enabled()
994 static inline bool uart_softcts_mode(struct uart_port *uport) in uart_softcts_mode() argument
998 return ((uport->status & mask) == UPSTAT_CTS_ENABLE); in uart_softcts_mode()
1005 void uart_handle_dcd_change(struct uart_port *uport, bool active);
1006 void uart_handle_cts_change(struct uart_port *uport, bool active);
1011 void uart_xchar_out(struct uart_port *uport, int offset);
/kernel/linux/linux-5.10/include/linux/
H A Dserial_core.h466 static inline bool uart_cts_enabled(struct uart_port *uport) in uart_cts_enabled() argument
468 return !!(uport->status & UPSTAT_CTS_ENABLE); in uart_cts_enabled()
471 static inline bool uart_softcts_mode(struct uart_port *uport) in uart_softcts_mode() argument
475 return ((uport->status & mask) == UPSTAT_CTS_ENABLE); in uart_softcts_mode()
482 extern void uart_handle_dcd_change(struct uart_port *uport,
484 extern void uart_handle_cts_change(struct uart_port *uport,
490 void uart_xchar_out(struct uart_port *uport, int offset);
/kernel/linux/linux-6.6/tools/testing/cxl/test/
H A Dcxl.c1151 struct platform_device *uport = in cxl_single_init() local
1159 pdev->dev.parent = &uport->dev; in cxl_single_init()
1331 struct platform_device *uport = in cxl_test_init() local
1338 pdev->dev.parent = &uport->dev; in cxl_test_init()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
H A D8250_port.c3043 struct uart_port *uport = state->uart_port; in do_get_rxtrig() local
3044 struct uart_8250_port *up = up_to_u8250p(uport); in do_get_rxtrig()
3046 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_get_rxtrig()
3079 struct uart_port *uport = state->uart_port; in do_set_rxtrig() local
3080 struct uart_8250_port *up = up_to_u8250p(uport); in do_set_rxtrig()
3083 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_set_rxtrig()
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_port.c3091 struct uart_port *uport = state->uart_port; in do_get_rxtrig() local
3092 struct uart_8250_port *up = up_to_u8250p(uport); in do_get_rxtrig()
3094 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_get_rxtrig()
3127 struct uart_port *uport = state->uart_port; in do_set_rxtrig() local
3128 struct uart_8250_port *up = up_to_u8250p(uport); in do_set_rxtrig()
3131 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_set_rxtrig()

Completed in 48 milliseconds