/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | qcom_geni_serial.c | 121 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 = { [all …]
|
D | serial_core.c | 58 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) \ argument 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_DTR | TIOCM_RTS); in uart_port_dtr_rts() [all …]
|
D | sb1250-duart.c | 100 #define to_sport(uport) container_of(uport, struct sbd_port, port) argument 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->line) % 2; in sbd_set_mctrl() 267 set <<= (uport->line) % 2; in sbd_set_mctrl() [all …]
|
D | dz.c | 85 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 = &dport->port; in dz_receive_chars() [all …]
|
D | zs.c | 99 #define to_zport(uport) container_of(uport, struct zs_port, port) argument 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 static void zs_start_tx(struct uart_port *uport) in zs_start_tx() argument [all …]
|
D | serial-tegra.c | 103 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.lock, flags); in tegra_set_baudrate() 441 tup->uport.icount.overrun++; in tegra_uart_decode_rx_error() 442 dev_dbg(tup->uport.dev, "Got overrun errors\n"); in tegra_uart_decode_rx_error() [all …]
|
D | sprd_serial.c | 1122 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->dev, "source"); in sprd_clk_init() 1147 dev_warn(uport->dev, "uart%d can't get source clock\n", in sprd_clk_init() [all …]
|
D | arc_uart.c | 100 #define to_arc_port(uport) container_of(uport, struct arc_uart_port, port) argument
|
D | pmac_zilog.c | 1928 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()
|
D | samsung_tty.c | 1740 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-5.10/include/linux/ |
D | serial_core.h | 465 static inline bool uart_cts_enabled(struct uart_port *uport) in uart_cts_enabled() argument 467 return !!(uport->status & UPSTAT_CTS_ENABLE); in uart_cts_enabled() 470 static inline bool uart_softcts_mode(struct uart_port *uport) in uart_softcts_mode() argument 474 return ((uport->status & mask) == UPSTAT_CTS_ENABLE); in uart_softcts_mode() 481 extern void uart_handle_dcd_change(struct uart_port *uport, 483 extern void uart_handle_cts_change(struct uart_port *uport, 489 void uart_xchar_out(struct uart_port *uport, int offset);
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250_port.c | 3040 struct uart_port *uport = state->uart_port; in do_get_rxtrig() local 3041 struct uart_8250_port *up = up_to_u8250p(uport); in do_get_rxtrig() 3043 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_get_rxtrig() 3076 struct uart_port *uport = state->uart_port; in do_set_rxtrig() local 3077 struct uart_8250_port *up = up_to_u8250p(uport); in do_set_rxtrig() 3080 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_set_rxtrig()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0034_linux_drivers_usb_vfio_wdt_tty_uio.patch | 2456 + struct uart_port *uport = &sport->port; 2471 + termios.c_cflag = uport->cons->cflag; 2474 + uport->ops->set_termios(uport, &termios, NULL);
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 13627 +#define to_meson_port(uport) container_of(uport, struct meson_uart_port, port) 27961 + struct uart_port *uport; 28064 + (bsi->uport != NULL); 28100 + if (bsi->uport->ops->tx_empty(bsi->uport)) { 28195 + bsi->uport = state->uart_port; 28203 + bsi->uport = NULL; 28521 + if ((bsi->uport != NULL) && 28627 + bsi->uport = NULL; 28631 + bsi->uport = get_uart_port(bt_port_id); 28632 + if (bsi->uport) [all …]
|