| /linux/drivers/tty/serial/ |
| H A D | qcom_geni_serial.c | 112 int (*resources_init)(struct uart_port *uport); 113 int (*set_rate)(struct uart_port *uport, unsigned int baud); 114 int (*power_state)(struct uart_port *uport, bool state); 129 struct uart_port uport; member 161 static void __qcom_geni_serial_cancel_tx_cmd(struct uart_port *uport); 162 static void qcom_geni_serial_cancel_tx_cmd(struct uart_port *uport); 163 static int qcom_geni_serial_port_setup(struct uart_port *uport); 165 static inline struct qcom_geni_serial_port *to_dev_port(struct uart_port *uport) in to_dev_port() argument 167 return container_of(uport, struct qcom_geni_serial_port, uport); in to_dev_port() 191 qcom_geni_set_rs485_mode(struct uart_port * uport,u32 flag) qcom_geni_set_rs485_mode() argument 206 qcom_geni_serial_request_port(struct uart_port * uport) qcom_geni_serial_request_port() argument 218 qcom_geni_serial_config_port(struct uart_port * uport,int cfg_flags) qcom_geni_serial_config_port() argument 226 qcom_geni_serial_get_mctrl(struct uart_port * uport) qcom_geni_serial_get_mctrl() argument 242 qcom_geni_serial_set_mctrl(struct uart_port * uport,unsigned int mctrl) qcom_geni_serial_set_mctrl() argument 259 qcom_geni_serial_get_type(struct uart_port * uport) qcom_geni_serial_get_type() argument 299 qcom_geni_serial_main_active(struct uart_port * uport) qcom_geni_serial_main_active() argument 304 qcom_geni_serial_secondary_active(struct uart_port * uport) qcom_geni_serial_secondary_active() argument 309 qcom_geni_serial_poll_bitfield(struct uart_port * uport,unsigned int offset,u32 field,u32 val) qcom_geni_serial_poll_bitfield() argument 338 qcom_geni_serial_poll_bit(struct uart_port * uport,unsigned int offset,u32 field,bool set) qcom_geni_serial_poll_bit() argument 344 qcom_geni_serial_setup_tx(struct uart_port * uport,u32 xmit_size) qcom_geni_serial_setup_tx() argument 353 qcom_geni_serial_poll_tx_done(struct uart_port * uport) qcom_geni_serial_poll_tx_done() argument 368 qcom_geni_serial_abort_rx(struct uart_port * uport) qcom_geni_serial_abort_rx() argument 380 qcom_geni_serial_get_char(struct uart_port * uport) qcom_geni_serial_get_char() argument 422 qcom_geni_serial_poll_put_char(struct uart_port * uport,unsigned char c) qcom_geni_serial_poll_put_char() argument 436 qcom_geni_serial_poll_init(struct uart_port * uport) qcom_geni_serial_poll_init() argument 455 qcom_geni_serial_drain_fifo(struct uart_port * uport) qcom_geni_serial_drain_fifo() argument 463 qcom_geni_serial_wr_char(struct uart_port * uport,unsigned char ch) qcom_geni_serial_wr_char() argument 479 __qcom_geni_serial_console_write(struct uart_port * uport,const char * s,unsigned int count) __qcom_geni_serial_console_write() argument 534 struct uart_port *uport; qcom_geni_serial_console_write() local 576 handle_rx_console(struct uart_port * uport,u32 bytes,bool drop) handle_rx_console() argument 613 handle_rx_console(struct uart_port * uport,u32 bytes,bool drop) handle_rx_console() argument 619 handle_rx_uart(struct uart_port * uport,u32 bytes) handle_rx_uart() argument 634 qcom_geni_serial_tx_empty(struct uart_port * uport) qcom_geni_serial_tx_empty() argument 639 qcom_geni_serial_stop_tx_dma(struct uart_port * uport) qcom_geni_serial_stop_tx_dma() argument 670 qcom_geni_serial_start_tx_dma(struct uart_port * uport) qcom_geni_serial_start_tx_dma() argument 702 qcom_geni_serial_start_tx_fifo(struct uart_port * uport) qcom_geni_serial_start_tx_fifo() argument 727 qcom_geni_serial_stop_tx_fifo(struct uart_port * uport) qcom_geni_serial_stop_tx_fifo() argument 737 __qcom_geni_serial_cancel_tx_cmd(struct uart_port * uport) __qcom_geni_serial_cancel_tx_cmd() argument 752 qcom_geni_serial_cancel_tx_cmd(struct uart_port * uport) qcom_geni_serial_cancel_tx_cmd() argument 765 qcom_geni_serial_handle_rx_fifo(struct uart_port * uport,bool drop) qcom_geni_serial_handle_rx_fifo() argument 789 qcom_geni_serial_stop_rx_fifo(struct uart_port * uport) qcom_geni_serial_stop_rx_fifo() argument 823 qcom_geni_serial_start_rx_fifo(struct uart_port * uport) qcom_geni_serial_start_rx_fifo() argument 842 qcom_geni_serial_stop_rx_dma(struct uart_port * uport) qcom_geni_serial_stop_rx_dma() argument 873 qcom_geni_serial_start_rx_dma(struct uart_port * uport) qcom_geni_serial_start_rx_dma() argument 892 qcom_geni_serial_handle_rx_dma(struct uart_port * uport,bool drop) qcom_geni_serial_handle_rx_dma() argument 925 qcom_geni_serial_start_rx(struct uart_port * uport) qcom_geni_serial_start_rx() argument 930 qcom_geni_serial_stop_rx(struct uart_port * uport) qcom_geni_serial_stop_rx() argument 935 qcom_geni_serial_stop_tx(struct uart_port * uport) qcom_geni_serial_stop_tx() argument 940 qcom_geni_serial_send_chunk_fifo(struct uart_port * uport,unsigned int chunk) qcom_geni_serial_send_chunk_fifo() argument 960 qcom_geni_serial_handle_tx_fifo(struct uart_port * uport,bool done,bool active) qcom_geni_serial_handle_tx_fifo() argument 1030 qcom_geni_serial_handle_tx_dma(struct uart_port * uport) qcom_geni_serial_handle_tx_dma() argument 1068 struct uart_port *uport = dev; qcom_geni_serial_isr() local 1147 struct uart_port *uport; setup_fifos() local 1174 qcom_geni_serial_shutdown(struct uart_port * uport) qcom_geni_serial_shutdown() argument 1186 qcom_geni_serial_flush_buffer(struct uart_port * uport) qcom_geni_serial_flush_buffer() argument 1191 qcom_geni_serial_port_setup(struct uart_port * uport) qcom_geni_serial_port_setup() argument 1247 qcom_geni_serial_startup(struct uart_port * uport) qcom_geni_serial_startup() argument 1267 geni_serial_set_rate(struct uart_port * uport,unsigned int baud) geni_serial_set_rate() argument 1323 geni_serial_set_level(struct uart_port * uport,unsigned int baud) geni_serial_set_level() argument 1359 qcom_geni_serial_set_termios(struct uart_port * uport,struct ktermios * termios,const struct ktermios * old) qcom_geni_serial_set_termios() argument 1463 struct uart_port *uport; qcom_geni_console_setup() local 1510 struct uart_port *uport = &dev->port; qcom_geni_serial_earlycon_read() local 1540 struct uart_port *uport = &dev->port; qcom_geni_serial_earlycon_setup() local 1638 geni_serial_resources_on(struct uart_port * uport) geni_serial_resources_on() argument 1659 geni_serial_resources_off(struct uart_port * uport) geni_serial_resources_off() argument 1674 geni_serial_resource_state(struct uart_port * uport,bool power_on) geni_serial_resource_state() argument 1679 geni_serial_pwr_init(struct uart_port * uport) geni_serial_pwr_init() argument 1692 geni_serial_resource_init(struct uart_port * uport) geni_serial_resource_init() argument 1730 qcom_geni_serial_pm(struct uart_port * uport,unsigned int new_state,unsigned int old_state) qcom_geni_serial_pm() argument 1756 qcom_geni_rs485_config(struct uart_port * uport,struct ktermios * termios,struct serial_rs485 * rs485) qcom_geni_rs485_config() argument 1809 struct uart_port *uport; qcom_geni_serial_probe() local 1941 struct uart_port *uport = &port->uport; qcom_geni_serial_remove() local 1954 struct uart_port *uport = &port->uport; qcom_geni_serial_runtime_suspend() local 1966 struct uart_port *uport = &port->uport; qcom_geni_serial_runtime_resume() local 1978 struct uart_port *uport = &port->uport; qcom_geni_serial_suspend() local 1996 struct uart_port *uport = &port->uport; qcom_geni_serial_resume() local [all...] |
| H A D | serial_core.c | 60 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() 80 struct uart_port *uport = uart_port_ref(state); in uart_port_ref_lock() local 82 if (uport) in uart_port_ref_lock() 83 uart_port_lock_irqsave(uport, flags); in uart_port_ref_lock() 85 return uport; in uart_port_ref_lock() 88 static inline void uart_port_unlock_deref(struct uart_port *uport, unsigne argument 192 uart_port_dtr_rts(struct uart_port * uport,bool active) uart_port_dtr_rts() argument 204 struct uart_port *uport = uart_port_check(state); uart_change_line_settings() local 247 struct uart_port *uport; uart_alloc_xmit_buf() local 280 struct uart_port *uport; uart_free_xmit_buf() local 306 struct uart_port *uport = uart_port_check(state); uart_port_startup() local 359 struct uart_port *uport; uart_startup() local 390 struct uart_port *uport = uart_port_check(state); uart_shutdown() local 698 uart_xchar_out(struct uart_port * uport,int offset) uart_xchar_out() argument 791 struct uart_port *uport; uart_get_info() local 836 uart_change_port(struct uart_port * uport,const struct serial_struct * new_info,unsigned long new_port) uart_change_port() argument 895 struct uart_port *uport = uart_port_check(state); uart_set_info() local 1062 struct uart_port *uport = uart_port_check(state); uart_get_lsr_info() local 1085 struct uart_port *uport; uart_tiocmget() local 1103 struct uart_port *uport; uart_tiocmset() local 1120 struct uart_port *uport; uart_break_ctl() local 1137 struct uart_port *uport; uart_do_autoconfig() local 1187 uart_enable_ms(struct uart_port * uport) uart_enable_ms() argument 1207 struct uart_port *uport; uart_wait_modem_status() local 1267 struct uart_port *uport; uart_get_icount() local 1558 struct uart_port *uport; uart_ioctl() local 1628 struct uart_port *uport; uart_set_ldisc() local 1644 struct uart_port *uport; uart_set_termios() local 1724 struct uart_port *uport = uart_port_check(state); uart_tty_port_shutdown() local 1823 struct uart_port *uport; uart_hangup() local 1849 struct uart_port *uport = uart_port_check(state); uart_port_shutdown() local 1872 struct uart_port *uport; uart_carrier_raised() local 1895 struct uart_port *uport; uart_dtr_rts() local 1939 struct uart_port *uport; uart_port_activate() local 1975 struct uart_port *uport; uart_line_info() local 2288 uart_suspend_port(struct uart_driver * drv,struct uart_port * uport) uart_suspend_port() argument 2365 uart_resume_port(struct uart_driver * drv,struct uart_port * uport) uart_resume_port() argument 2944 struct uart_port *uport; console_show() local 2961 struct uart_port *uport; console_store() local 3039 serial_core_add_one_port(struct uart_driver * drv,struct uart_port * uport) serial_core_add_one_port() argument 3135 serial_core_remove_one_port(struct uart_driver * drv,struct uart_port * uport) serial_core_remove_one_port() argument 3354 uart_handle_dcd_change(struct uart_port * uport,bool active) uart_handle_dcd_change() argument 3389 uart_handle_cts_change(struct uart_port * uport,bool active) uart_handle_cts_change() argument [all...] |
| H A D | dz.c | 81 static inline struct dz_port *to_dport(struct uart_port *uport) in to_dport() argument 83 return container_of(uport, struct dz_port, port); in to_dport() 119 static void dz_stop_tx(struct uart_port *uport) in dz_stop_tx() argument 121 struct dz_port *dport = to_dport(uport); in dz_stop_tx() 129 static void dz_start_tx(struct uart_port *uport) in dz_start_tx() argument 131 struct dz_port *dport = to_dport(uport); in dz_start_tx() 139 static void dz_stop_rx(struct uart_port *uport) in dz_stop_rx() argument 141 struct dz_port *dport = to_dport(uport); in dz_stop_rx() 176 struct uart_port *uport; in dz_receive_chars() local 186 uport = &dport->port; in dz_receive_chars() [all …]
|
| H A D | zs.c | 96 #define to_zport(uport) container_of(uport, struct zs_port, port) argument 303 static unsigned int zs_tx_empty(struct uart_port *uport) in zs_tx_empty() argument 305 struct zs_port *zport = to_zport(uport); in zs_tx_empty() 371 static unsigned int zs_get_mctrl(struct uart_port *uport) in zs_get_mctrl() argument 373 struct zs_port *zport = to_zport(uport); in zs_get_mctrl() 384 static void zs_set_mctrl(struct uart_port *uport, unsigned int mctrl) in zs_set_mctrl() argument 386 struct zs_port *zport = to_zport(uport); in zs_set_mctrl() 424 static void zs_stop_tx(struct uart_port *uport) in zs_stop_tx() argument 426 struct zs_port *zport = to_zport(uport); in zs_stop_tx() 436 static void zs_start_tx(struct uart_port *uport) in zs_start_tx() argument [all …]
|
| H A D | serial-tegra.c | 107 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 uart_port_lock_irqsave(&tup->uport, &flags); in tegra_set_baudrate() 427 uart_port_unlock_irqrestore(&tup->uport, flags); in tegra_set_baudrate() 445 tup->uport.icount.overrun++; in tegra_uart_decode_rx_error() 446 dev_dbg(tup->uport.dev, "Got overrun errors\n"); in tegra_uart_decode_rx_error() [all …]
|
| H A D | sprd_serial.c | 1118 static bool sprd_uart_is_console(struct uart_port *uport) in sprd_uart_is_console() argument 1122 if ((cons && cons->index >= 0 && cons->index == uport->line) || in sprd_uart_is_console() 1123 of_console_check(uport->dev->of_node, SPRD_TTY_NAME, uport->line)) in sprd_uart_is_console() 1129 static int sprd_clk_init(struct uart_port *uport) in sprd_clk_init() argument 1132 struct sprd_uart_port *u = container_of(uport, struct sprd_uart_port, port); in sprd_clk_init() 1134 clk_uart = devm_clk_get(uport->dev, "uart"); in sprd_clk_init() 1139 dev_warn(uport->dev, "uart%d can't get uart clock\n", in sprd_clk_init() 1140 uport->line); in sprd_clk_init() 1144 clk_parent = devm_clk_get(uport->dev, "source"); in sprd_clk_init() 1149 dev_warn(uport->dev, "uart%d can't get source clock\n", in sprd_clk_init() [all …]
|
| H A D | pmac_zilog.c | 1843 struct uart_pmac_port *uport = &pmz_ports[i]; in exit_pmz() local 1845 if (uport->node != NULL) in exit_pmz() 1846 pmz_dispose_port(uport); in exit_pmz() 1848 if (uport->pdev != NULL) in exit_pmz() 1849 pmz_dispose_port(uport); in exit_pmz()
|
| H A D | fsl_lpuart.c | 3197 struct uart_port *uport = &sport->port; in lpuart_console_fixup() local 3208 console_suspend_enabled && uart_console(uport)) { in lpuart_console_fixup() 3212 termios.c_cflag = uport->cons->cflag; in lpuart_console_fixup() 3215 uport->ops->set_termios(uport, &termios, NULL); in lpuart_console_fixup()
|
| /linux/include/linux/ |
| H A D | serial_core.h | 918 #define __uart_port_tx(uport, ch, flags, tx_ready, put_char, tx_done, \ 921 struct uart_port *__port = (uport); \ 1156 static inline bool uart_cts_enabled(struct uart_port *uport) in uart_cts_enabled() 1158 return !!(uport->status & UPSTAT_CTS_ENABLE); 1161 static inline bool uart_softcts_mode(struct uart_port *uport) in uart_softcts_mode() 1165 return ((uport->status & mask) == UPSTAT_CTS_ENABLE); 1168 static inline void uart_set_cons_flow_enabled(struct uart_port *uport, bool enabled) 1170 uport->cons_flow = enabled; 1173 static inline bool uart_cons_flow_enabled(const struct uart_port *uport) 1175 return uport 916 __uart_port_tx(uport,ch,flags,tx_ready,put_char,tx_done,for_test,for_post) global() argument 1154 uart_cts_enabled(struct uart_port * uport) uart_cts_enabled() argument 1159 uart_softcts_mode(struct uart_port * uport) uart_softcts_mode() argument [all...] |
| /linux/drivers/pci/ |
| H A D | tsm.c | 663 struct pci_dev *uport; in find_dsm_dev() local 687 uport = to_pci_dev(grandparent); in find_dsm_dev() 688 if (!pci_is_pcie(uport) || in find_dsm_dev() 689 pci_pcie_type(uport) != PCI_EXP_TYPE_UPSTREAM) in find_dsm_dev() 692 if (is_dsm(uport)) in find_dsm_dev() 693 return uport; in find_dsm_dev()
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_port.c | 2997 struct uart_port *uport = state->uart_port; 2998 struct uart_8250_port *up = up_to_u8250p(uport); in rx_trig_bytes_show() 3000 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in rx_trig_bytes_show() 3033 struct uart_port *uport = state->uart_port; in do_serial8250_set_rxtrig() 3034 struct uart_8250_port *up = up_to_u8250p(uport); in do_serial8250_set_rxtrig() 3037 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_serial8250_set_rxtrig() 2978 struct uart_port *uport = state->uart_port; do_get_rxtrig() local 3014 struct uart_port *uport = state->uart_port; do_set_rxtrig() local
|
| /linux/tools/testing/cxl/test/ |
| H A D | cxl.c | 1668 struct platform_device *uport = in cxl_single_topo_init() 1676 pdev->dev.parent = &uport->dev; in cxl_single_topo_init() 1926 struct platform_device *uport = in cxl_test_init() 1933 pdev->dev.parent = &uport->dev; in cxl_test_init() 1655 struct platform_device *uport = cxl_single_topo_init() local 1907 struct platform_device *uport = cxl_test_init() local
|
| /linux/Documentation/driver-api/cxl/linux/ |
| H A D | cxl-driver.rst | 91 devtype dport4 port1 port4 uport 116 decoder1.0 dport0 driver parent_dport uport 158 decoder5.0 devtype parent_dport uport
|