Home
last modified time | relevance | path

Searched refs:uport (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/tty/serial/
H A Dqcom_geni_serial.c134 struct uart_port uport; member
168 static void qcom_geni_serial_stop_tx_dma(struct uart_port *uport);
169 static void __qcom_geni_serial_cancel_tx_cmd(struct uart_port *uport);
170 static void qcom_geni_serial_cancel_tx_cmd(struct uart_port *uport);
171 static int qcom_geni_serial_port_setup(struct uart_port *uport);
172 static void qcom_geni_serial_start_tx_fifo(struct uart_port *uport);
173 static void qcom_geni_serial_resume_tx(struct uart_port *uport);
175 static inline struct qcom_geni_serial_port *to_dev_port(struct uart_port *uport) in to_dev_port() argument
177 return container_of(uport, struct qcom_geni_serial_port, uport); in to_dev_port()
181 .uport = {
[all …]
H A Dserial_core.c61 static int uart_dcd_enabled(struct uart_port *uport) in uart_dcd_enabled() argument
63 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()
73 static inline void uart_port_deref(struct uart_port *uport) in uart_port_deref() argument
75 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()
76 wake_up(&uport->state->remove_wait); in uart_port_deref()
81 struct uart_port *uport = uart_port_ref(state); in uart_port_ref_lock() local
83 if (uport) in uart_port_ref_lock()
84 uart_port_lock_irqsave(uport, flags); in uart_port_ref_lock()
86 return uport; in uart_port_ref_lock()
89 static inline void uart_port_unlock_deref(struct uart_port *uport, unsigned long flags) in uart_port_unlock_deref() argument
[all …]
H A Ddz.c81 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 Dzs.c96 #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 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()
386 dev_err(tup->uport.dev, in tegra_check_rate_in_range()
414 dev_err(tup->uport.dev, in tegra_set_baudrate()
428 uart_port_lock_irqsave(&tup->uport, &flags); in tegra_set_baudrate()
441 uart_port_unlock_irqrestore(&tup->uport, flags); in tegra_set_baudrate()
459 tup->uport.icount.overrun++; in tegra_uart_decode_rx_error()
460 dev_dbg(tup->uport.dev, "Got overrun errors\n"); in tegra_uart_decode_rx_error()
[all …]
H A Dpmac_zilog.c1843 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 Dfsl_lpuart.c3197 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/drivers/pci/
H A Dtsm.c663 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/cxl/core/
H A Dpci.c567 struct device *uport = port->uport_dev; in read_cdat_data() local
576 if (is_cxl_memdev(uport)) { in read_cdat_data()
579 cxlmd = to_cxl_memdev(uport); in read_cdat_data()
583 } else if (dev_is_pci(uport)) { in read_cdat_data()
584 pdev = to_pci_dev(uport); in read_cdat_data()
H A Dras.c73 static int match_memdev_by_parent(struct device *dev, const void *uport) in match_memdev_by_parent() argument
75 if (is_cxl_memdev(dev) && dev->parent == uport) in match_memdev_by_parent()
/linux/drivers/tty/serial/8250/
H A D8250_port.c3014 struct uart_port *uport = state->uart_port; in do_get_rxtrig() local
3015 struct uart_8250_port *up = up_to_u8250p(uport); in do_get_rxtrig()
3017 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_get_rxtrig()
3039 struct uart_port *uport = state->uart_port; in rx_trig_bytes_show() local
3042 if (uport->get_rxtrig) in rx_trig_bytes_show()
3043 rxtrig_bytes = uport->get_rxtrig(uport); in rx_trig_bytes_show()
3055 struct uart_port *uport = state->uart_port; in do_set_rxtrig() local
3056 struct uart_8250_port *up = up_to_u8250p(uport); in do_set_rxtrig()
3059 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_set_rxtrig()
3089 struct uart_port *uport = state->uart_port; in rx_trig_bytes_store() local
[all …]
/linux/tools/testing/cxl/test/
H A Dcxl.c1825 struct platform_device *uport = in cxl_single_topo_init() local
1835 pdev->dev.parent = &uport->dev; in cxl_single_topo_init()
2230 struct platform_device *uport = in cxl_dsps_populate() local
2239 pdev->dev.parent = &uport->dev; in cxl_dsps_populate()
/linux/Documentation/driver-api/cxl/linux/
H A Dcxl-driver.rst91 devtype dport4 port1 port4 uport
116 decoder1.0 dport0 driver parent_dport uport
158 decoder5.0 devtype parent_dport uport
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-cxl192 What: /sys/bus/cxl/devices/portX/uport
199 port with CXL component registers. The 'uport' symlink connects
288 for this decoders uport, unlocks / resets the decoder.