/linux/drivers/tty/serial/ |
A D | qcom_geni_serial.c | 163 .uport = { 171 .uport = { 179 .uport = { 189 .uport = { 278 port = to_dev_port(uport, uport); in qcom_geni_serial_poll_bit() 483 uport = &port->uport; in qcom_geni_serial_console_write() 873 uport = &port->uport; in get_tx_fifo_size() 1111 uport = &port->uport; in qcom_geni_console_setup() 1354 uport = &port->uport; in qcom_geni_serial_probe() 1481 struct uart_port *uport = &port->uport; in qcom_geni_serial_sys_suspend() local [all …]
|
A D | serial_core.c | 221 retval = uport->ops->startup(uport); in uart_port_startup() 522 uport->ops->stop_tx(uport); in uart_change_speed() 899 uport->ops->release_port(uport); in uart_set_info() 1172 uport->ops->enable_ms(uport); in uart_enable_ms() 1567 uport->ops->stop_rx(uport); in uart_tty_port_shutdown() 1708 uport->ops->shutdown(uport); in uart_port_shutdown() 1838 uport->line, uart_type(uport), in uart_line_info() 2916 if (uport->cons && uport->dev) in uart_add_one_port() 2943 uport->line, uport->dev, port, uport->tty_groups); in uart_add_one_port() 3123 uport->ops->start_tx(uport); in uart_handle_cts_change() [all …]
|
A D | sb1250-duart.c | 100 #define to_sport(uport) container_of(uport, struct sbd_port, port) argument 346 icount = &uport->icount; in sbd_receive_chars() 430 uport->icount.dsr++; in sbd_status_handle() 613 spin_lock(&uport->lock); in sbd_set_termios() 652 uport->membase = NULL; in sbd_release_port() 665 if (!uport->membase) in sbd_map_port() 666 uport->membase = ioremap(uport->mapbase, in sbd_map_port() 668 if (!uport->membase) { in sbd_map_port() 679 uport->membase = NULL; in sbd_map_port() 805 uport->fifosize = 16; in sbd_probe_duarts() [all …]
|
A D | dz.c | 180 struct uart_port *uport; in dz_receive_chars() local 190 uport = &dport->port; in dz_receive_chars() 666 uport->membase = NULL; in dz_release_port() 675 if (!uport->membase) in dz_map_port() 676 uport->membase = ioremap(uport->mapbase, in dz_map_port() 678 if (!uport->membase) { in dz_map_port() 719 uport->type = PORT_DZ; in dz_config_port() 780 uport->fifosize = 1; in dz_init_ports() 783 uport->ops = &dz_ops; in dz_init_ports() 784 uport->line = line; in dz_init_ports() [all …]
|
A D | zs.c | 99 #define to_zport(uport) container_of(uport, struct zs_port, port) argument 682 uport->icount.dsr++; in zs_status_handle() 684 uport->icount.rng++; in zs_status_handle() 984 uport->membase = 0; in zs_release_port() 990 if (!uport->membase) in zs_map_port() 991 uport->membase = ioremap(uport->mapbase, in zs_map_port() 993 if (!uport->membase) { in zs_map_port() 1024 uport->type = PORT_ZS; in zs_config_port() 1108 uport->fifosize = 1; in zs_probe_sccs() 1111 uport->ops = &zs_ops; in zs_probe_sccs() [all …]
|
A D | serial-tegra.c | 108 struct uart_port uport; member 160 return readl(tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_read() 166 writel(val, tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_write() 373 dev_err(tup->uport.dev, in tegra_check_rate_in_range() 401 dev_err(tup->uport.dev, in tegra_set_baudrate() 500 tup->uport.icount.tx++; in tegra_uart_fill_tx_fifo() 659 tup->uport.icount.rx++; in tegra_uart_handle_rx_pio() 1143 dev_err(tup->uport.dev, in tegra_uart_dma_channel_allocate() 1187 dev_err(tup->uport.dev, in tegra_uart_dma_channel_allocate() 1447 tup->uport.line = port; in tegra_uart_parse_dt() [all …]
|
A D | sprd_serial.c | 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 1138 clk_uart = devm_clk_get(uport->dev, "uart"); in sprd_clk_init() 1141 uport->line); in sprd_clk_init() 1145 clk_parent = devm_clk_get(uport->dev, "source"); in sprd_clk_init() 1148 uport->line); in sprd_clk_init() 1153 uport->uartclk = SPRD_DEFAULT_SOURCE_CLK; in sprd_clk_init() 1155 uport->uartclk = clk_get_rate(clk_uart); in sprd_clk_init() 1157 u->clk = devm_clk_get(uport->dev, "enable"); in sprd_clk_init() 1163 uport->line); in sprd_clk_init() [all …]
|
A D | arc_uart.c | 100 #define to_arc_port(uport) container_of(uport, struct arc_uart_port, port) argument
|
A 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()
|
A D | samsung_tty.c | 1917 struct uart_port *uport; in s3c24xx_serial_cpufreq_transition() local 1920 uport = &port->port; in s3c24xx_serial_cpufreq_transition() 1947 if (uport->state == NULL) in s3c24xx_serial_cpufreq_transition() 1950 tty = uport->state->port.tty; in s3c24xx_serial_cpufreq_transition() 1958 dev_warn(uport->dev, "%s: no termios?\n", __func__); in s3c24xx_serial_cpufreq_transition() 1962 s3c24xx_serial_set_termios(uport, termios, NULL); in s3c24xx_serial_cpufreq_transition()
|
/linux/include/linux/ |
A D | serial_core.h | 437 static inline bool uart_cts_enabled(struct uart_port *uport) in uart_cts_enabled() argument 439 return !!(uport->status & UPSTAT_CTS_ENABLE); in uart_cts_enabled() 442 static inline bool uart_softcts_mode(struct uart_port *uport) in uart_softcts_mode() argument 446 return ((uport->status & mask) == UPSTAT_CTS_ENABLE); in uart_softcts_mode() 453 extern void uart_handle_dcd_change(struct uart_port *uport, 455 extern void uart_handle_cts_change(struct uart_port *uport,
|
/linux/drivers/cxl/core/ |
A D | bus.c | 282 rc = sysfs_create_link(&port->dev.kobj, &port->uport->kobj, "uport"); in devm_cxl_link_uport() 288 static struct cxl_port *cxl_port_alloc(struct device *uport, in cxl_port_alloc() argument 315 dev->parent = uport; in cxl_port_alloc() 317 port->uport = uport; in cxl_port_alloc() 341 struct cxl_port *devm_cxl_add_port(struct device *host, struct device *uport, in devm_cxl_add_port() argument 349 port = cxl_port_alloc(uport, component_reg_phys, parent_port); in devm_cxl_add_port()
|
/linux/drivers/cxl/ |
A D | cxl.h | 243 struct device *uport; member 267 struct cxl_port *devm_cxl_add_port(struct device *host, struct device *uport,
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-bus-cxl | 37 What: /sys/bus/cxl/devices/portX/uport 44 CXL component registers. The 'uport' symlink connects the CXL 96 decoders uport, unlocks / resets the decoder.
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_port.c | 3065 struct uart_port *uport = state->uart_port; in do_get_rxtrig() local 3066 struct uart_8250_port *up = up_to_u8250p(uport); in do_get_rxtrig() 3068 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_get_rxtrig() 3101 struct uart_port *uport = state->uart_port; in do_set_rxtrig() local 3102 struct uart_8250_port *up = up_to_u8250p(uport); in do_set_rxtrig() 3105 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1 || in do_set_rxtrig()
|