Searched refs:uap (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/tty/serial/ |
D | pmac_zilog.c | 80 #define pmz_debug(fmt, arg...) pr_debug("ttyPZ%d: " fmt, uap->port.line, ## arg) 81 #define pmz_error(fmt, arg...) pr_err("ttyPZ%d: " fmt, uap->port.line, ## arg) 82 #define pmz_info(fmt, arg...) pr_info("ttyPZ%d: " fmt, uap->port.line, ## arg) 105 static void pmz_load_zsregs(struct uart_pmac_port *uap, u8 *regs) in pmz_load_zsregs() argument 111 unsigned char stat = read_zsreg(uap, R1); in pmz_load_zsregs() 117 ZS_CLEARERR(uap); in pmz_load_zsregs() 118 zssync(uap); in pmz_load_zsregs() 119 ZS_CLEARFIFO(uap); in pmz_load_zsregs() 120 zssync(uap); in pmz_load_zsregs() 121 ZS_CLEARERR(uap); in pmz_load_zsregs() [all …]
|
D | amba-pl011.c | 279 static unsigned int pl011_reg_to_offset(const struct uart_amba_port *uap, in pl011_reg_to_offset() argument 282 return uap->reg_offset[reg]; in pl011_reg_to_offset() 285 static unsigned int pl011_read(const struct uart_amba_port *uap, in pl011_read() argument 288 void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); in pl011_read() 290 return (uap->port.iotype == UPIO_MEM32) ? in pl011_read() 294 static void pl011_write(unsigned int val, const struct uart_amba_port *uap, in pl011_write() argument 297 void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); in pl011_write() 299 if (uap->port.iotype == UPIO_MEM32) in pl011_write() 310 static int pl011_fifo_to_tty(struct uart_amba_port *uap) in pl011_fifo_to_tty() argument 318 status = pl011_read(uap, REG_FR); in pl011_fifo_to_tty() [all …]
|
D | amba-pl010.c | 61 struct uart_amba_port *uap = in pl010_stop_tx() local 65 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_tx() 67 writel(cr, uap->port.membase + UART010_CR); in pl010_stop_tx() 72 struct uart_amba_port *uap = in pl010_start_tx() local 76 cr = readb(uap->port.membase + UART010_CR); in pl010_start_tx() 78 writel(cr, uap->port.membase + UART010_CR); in pl010_start_tx() 83 struct uart_amba_port *uap = in pl010_stop_rx() local 87 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_rx() 89 writel(cr, uap->port.membase + UART010_CR); in pl010_stop_rx() 94 struct uart_amba_port *uap = (struct uart_amba_port *)port; in pl010_disable_ms() local [all …]
|
D | pmac_zilog.h | 62 static inline struct uart_pmac_port *pmz_get_port_A(struct uart_pmac_port *uap) in pmz_get_port_A() argument 64 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A() 65 return uap; in pmz_get_port_A() 66 return uap->mate; in pmz_get_port_A()
|
D | mxs-auart.c | 473 static unsigned int mxs_reg_to_offset(const struct mxs_auart_port *uap, in mxs_reg_to_offset() argument 476 return uap->vendor->reg_offset[reg]; in mxs_reg_to_offset() 479 static unsigned int mxs_read(const struct mxs_auart_port *uap, in mxs_read() argument 482 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_read() 487 static void mxs_write(unsigned int val, struct mxs_auart_port *uap, in mxs_write() argument 490 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_write() 495 static void mxs_set(unsigned int val, struct mxs_auart_port *uap, in mxs_set() argument 498 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_set() 503 static void mxs_clr(unsigned int val, struct mxs_auart_port *uap, in mxs_clr() argument 506 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_clr()
|
/linux-6.12.1/drivers/s390/char/ |
D | raw3270.c | 499 struct raw3270_ua *uap; in raw3270_size_device() local 502 uap = (struct raw3270_ua *)(init_data + 1); in raw3270_size_device() 504 if (init_data[0] != 0x88 || uap->uab.qcode != 0x81) { in raw3270_size_device() 512 rp->rows = uap->uab.h; in raw3270_size_device() 513 rp->cols = uap->uab.w; in raw3270_size_device() 515 if ((uap->uab.flags0 & 0x0d) == 0x01) in raw3270_size_device() 518 if (uap->uab.l == sizeof(struct raw3270_ua) && in raw3270_size_device() 519 uap->aua.sdpid == 0x02) { in raw3270_size_device() 520 rp->rows = uap->aua.hauai; in raw3270_size_device() 521 rp->cols = uap->aua.wauai; in raw3270_size_device()
|
/linux-6.12.1/Documentation/driver-api/ |
D | pin-control.rst | 882 pins_default = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_DEFAULT); 883 pins_sleep = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_SLEEP);
|