Searched refs:uap (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | pmac_zilog.c | 87 #define pmz_debug(fmt, arg...) pr_debug("ttyPZ%d: " fmt, uap->port.line, ## arg) 88 #define pmz_error(fmt, arg...) pr_err("ttyPZ%d: " fmt, uap->port.line, ## arg) 89 #define pmz_info(fmt, arg...) pr_info("ttyPZ%d: " fmt, uap->port.line, ## arg) 112 static void pmz_load_zsregs(struct uart_pmac_port *uap, u8 *regs) in pmz_load_zsregs() argument 118 unsigned char stat = read_zsreg(uap, R1); in pmz_load_zsregs() 124 ZS_CLEARERR(uap); in pmz_load_zsregs() 125 zssync(uap); in pmz_load_zsregs() 126 ZS_CLEARFIFO(uap); in pmz_load_zsregs() 127 zssync(uap); in pmz_load_zsregs() 128 ZS_CLEARERR(uap); in pmz_load_zsregs() [all …]
|
D | amba-pl011.c | 278 static unsigned int pl011_reg_to_offset(const struct uart_amba_port *uap, in pl011_reg_to_offset() argument 281 return uap->reg_offset[reg]; in pl011_reg_to_offset() 284 static unsigned int pl011_read(const struct uart_amba_port *uap, in pl011_read() argument 287 void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); in pl011_read() 289 return (uap->port.iotype == UPIO_MEM32) ? in pl011_read() 293 static void pl011_write(unsigned int val, const struct uart_amba_port *uap, in pl011_write() argument 296 void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); in pl011_write() 298 if (uap->port.iotype == UPIO_MEM32) in pl011_write() 309 static int pl011_fifo_to_tty(struct uart_amba_port *uap) in pl011_fifo_to_tty() argument 316 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 | 72 static inline struct uart_pmac_port *pmz_get_port_A(struct uart_pmac_port *uap) in pmz_get_port_A() argument 74 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A() 75 return uap; in pmz_get_port_A() 76 return uap->mate; in pmz_get_port_A()
|
D | mxs-auart.c | 483 static unsigned int mxs_reg_to_offset(const struct mxs_auart_port *uap, in mxs_reg_to_offset() argument 486 return uap->vendor->reg_offset[reg]; in mxs_reg_to_offset() 489 static unsigned int mxs_read(const struct mxs_auart_port *uap, in mxs_read() argument 492 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_read() 497 static void mxs_write(unsigned int val, struct mxs_auart_port *uap, in mxs_write() argument 500 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_write() 505 static void mxs_set(unsigned int val, struct mxs_auart_port *uap, in mxs_set() argument 508 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_set() 513 static void mxs_clr(unsigned int val, struct mxs_auart_port *uap, in mxs_clr() argument 516 void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); in mxs_clr()
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | raw3270.c | 470 struct raw3270_ua *uap; in raw3270_size_device() local 473 uap = (struct raw3270_ua *) (rp->init_data + 1); in raw3270_size_device() 476 uap->uab.qcode != 0x81) { in raw3270_size_device() 484 rp->rows = uap->uab.h; in raw3270_size_device() 485 rp->cols = uap->uab.w; in raw3270_size_device() 487 if ((uap->uab.flags0 & 0x0d) == 0x01) in raw3270_size_device() 490 if (uap->uab.l == sizeof(struct raw3270_ua) && in raw3270_size_device() 491 uap->aua.sdpid == 0x02) { in raw3270_size_device() 492 rp->rows = uap->aua.hauai; in raw3270_size_device() 493 rp->cols = uap->aua.wauai; in raw3270_size_device()
|
/kernel/linux/linux-5.10/Documentation/driver-api/ |
D | pinctl.rst | 926 pins_default = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_DEFAULT); 927 pins_sleep = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_SLEEP);
|