Lines Matching refs:uccp
179 struct ucc_slow __iomem *uccp; member
314 qe_clrbits_be16(&qe_port->uccp->uccm, UCC_UART_UCCE_TX); in qe_uart_stop_tx()
411 if (ioread16be(&qe_port->uccp->uccm) & UCC_UART_UCCE_TX) in qe_uart_start_tx()
416 qe_setbits_be16(&qe_port->uccp->uccm, UCC_UART_UCCE_TX); in qe_uart_start_tx()
427 qe_clrbits_be16(&qe_port->uccp->uccm, UCC_UART_UCCE_RX); in qe_uart_stop_rx()
560 struct ucc_slow __iomem *uccp = qe_port->uccp; in qe_uart_int() local
564 events = ioread16be(&uccp->ucce); in qe_uart_int()
565 iowrite16be(events, &uccp->ucce); in qe_uart_int()
644 struct ucc_slow __iomem *uccp = qe_port->uccp; in qe_uart_init_ucc() local
672 qe_clrsetbits_be32(&uccp->gumr_l, in qe_uart_init_ucc()
676 qe_clrsetbits_be32(&uccp->gumr_h, UCC_SLOW_GUMR_H_RFW, in qe_uart_init_ucc()
679 qe_clrsetbits_be32(&uccp->gumr_l, in qe_uart_init_ucc()
683 qe_clrsetbits_be32(&uccp->gumr_h, in qe_uart_init_ucc()
689 qe_clrsetbits_be32(&uccp->gumr_l, UCC_SLOW_GUMR_L_DIAG_MASK, in qe_uart_init_ucc()
691 qe_clrsetbits_be32(&uccp->gumr_h, in qe_uart_init_ucc()
697 iowrite16be(0, &uccp->uccm); in qe_uart_init_ucc()
698 iowrite16be(0xffff, &uccp->ucce); in qe_uart_init_ucc()
699 iowrite16be(0x7e7e, &uccp->udsr); in qe_uart_init_ucc()
702 iowrite16be(0, &uccp->upsmr); in qe_uart_init_ucc()
734 qe_clrsetbits_be32(&uccp->gumr_l, in qe_uart_init_ucc()
738 qe_clrsetbits_be32(&uccp->gumr_h, in qe_uart_init_ucc()
743 qe_clrsetbits_be32(&uccp->gumr_l, UCC_SLOW_GUMR_L_DIAG_MASK, in qe_uart_init_ucc()
745 qe_clrbits_be32(&uccp->gumr_h, in qe_uart_init_ucc()
789 qe_setbits_be16(&qe_port->uccp->uccm, UCC_UART_UCCE_RX); in qe_uart_startup()
802 struct ucc_slow __iomem *uccp = qe_port->uccp; in qe_uart_shutdown() local
825 qe_clrbits_be16(&uccp->uccm, UCC_UART_UCCE_TX | UCC_UART_UCCE_RX); in qe_uart_shutdown()
843 struct ucc_slow __iomem *uccp = qe_port->uccp; in qe_uart_set_termios() local
846 u16 upsmr = ioread16be(&uccp->upsmr); in qe_uart_set_termios()
933 iowrite16be(upsmr, &uccp->upsmr); in qe_uart_set_termios()
979 qe_port->uccp = uccs->us_regs; in qe_uart_request_port()