Home
last modified time | relevance | path

Searched refs:ip_serial_regs (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/tty/serial/
Dioc3_serial.c140 struct ioc3_serialregs __iomem *ip_serial_regs; member
386 writel(SSCR_RESET, &port->ip_serial_regs->sscr); in port_init()
404 writel(0, &port->ip_serial_regs->sscr); in port_init()
409 port->ip_tx_prod = readl(&port->ip_serial_regs->stcir) & PROD_CONS_MASK; in port_init()
410 writel(port->ip_tx_prod, &port->ip_serial_regs->stpir); in port_init()
411 port->ip_rx_cons = readl(&port->ip_serial_regs->srpir) & PROD_CONS_MASK; in port_init()
412 writel(port->ip_rx_cons | SRCIR_ARM, &port->ip_serial_regs->srcir); in port_init()
436 writel(0, &port->ip_serial_regs->shadow); in port_init()
454 writel(SRTR_HZ / 100, &port->ip_serial_regs->srtr); in port_init()
467 writel(port->ip_sscr, &port->ip_serial_regs->sscr); in port_init()
[all …]
Dioc4_serial.c462 struct ioc4_serialregs __iomem *ip_serial_regs; member
831 writel(IOC4_SSCR_RESET, &port->ip_serial_regs->sscr); in port_init()
839 writel(0, &port->ip_serial_regs->sscr); in port_init()
844 port->ip_tx_prod = readl(&port->ip_serial_regs->stcir) & PROD_CONS_MASK; in port_init()
845 writel(port->ip_tx_prod, &port->ip_serial_regs->stpir); in port_init()
846 port->ip_rx_cons = readl(&port->ip_serial_regs->srpir) & PROD_CONS_MASK; in port_init()
847 writel(port->ip_rx_cons | IOC4_SRCIR_ARM, &port->ip_serial_regs->srcir); in port_init()
897 writel(IOC4_SRTR_HZ / 100, &port->ip_serial_regs->srtr); in port_init()
902 writel(port->ip_sscr, &port->ip_serial_regs->sscr); in port_init()
1118 port->ip_serial_regs = &(port->ip_serial->port_0); in ioc4_attach_local()
[all …]