Lines Matching refs:uf_regs

120 	priv->uf_regs = priv->uccf->uf_regs;  in uhdlc_init()
129 gumr = ioread32be(&priv->uf_regs->gumr); in uhdlc_init()
133 iowrite32be(gumr, &priv->uf_regs->gumr); in uhdlc_init()
146 iowrite32be(0, &priv->uf_regs->upsmr); in uhdlc_init()
153 upsmr = ioread32be(&priv->uf_regs->upsmr); in uhdlc_init()
160 iowrite32be(upsmr, &priv->uf_regs->upsmr); in uhdlc_init()
163 gumr = ioread32be(&priv->uf_regs->gumr); in uhdlc_init()
167 iowrite32be(gumr, &priv->uf_regs->gumr); in uhdlc_init()
775 if (priv->uf_regs) { in uhdlc_memclean()
776 iounmap(priv->uf_regs); in uhdlc_memclean()
777 priv->uf_regs = NULL; in uhdlc_memclean()
882 struct ucc_fast __iomem *uf_regs; in uhdlc_suspend() local
893 uf_regs = priv->uf_regs; in uhdlc_suspend()
896 priv->gumr = ioread32be(&uf_regs->gumr); in uhdlc_suspend()
897 priv->guemr = ioread8(&uf_regs->guemr); in uhdlc_suspend()
922 struct ucc_fast __iomem *uf_regs; in uhdlc_resume() local
938 uf_regs = priv->uf_regs; in uhdlc_resume()
942 iowrite8(priv->guemr, &uf_regs->guemr); in uhdlc_resume()
943 iowrite32be(priv->gumr, &uf_regs->gumr); in uhdlc_resume()
946 iowrite16be(uf_info->urfs, &uf_regs->urfs); in uhdlc_resume()
947 iowrite16be(uf_info->urfet, &uf_regs->urfet); in uhdlc_resume()
948 iowrite16be(uf_info->urfset, &uf_regs->urfset); in uhdlc_resume()
949 iowrite16be(uf_info->utfs, &uf_regs->utfs); in uhdlc_resume()
950 iowrite16be(uf_info->utfet, &uf_regs->utfet); in uhdlc_resume()
951 iowrite16be(uf_info->utftt, &uf_regs->utftt); in uhdlc_resume()
953 iowrite32be(uccf->ucc_fast_tx_virtual_fifo_base_offset, &uf_regs->utfb); in uhdlc_resume()
954 iowrite32be(uccf->ucc_fast_rx_virtual_fifo_base_offset, &uf_regs->urfb); in uhdlc_resume()
959 iowrite32be(uf_info->uccm_mask, &uf_regs->uccm); in uhdlc_resume()
960 iowrite32be(0xffffffff, &uf_regs->ucce); in uhdlc_resume()
974 iowrite32be(0, &uf_regs->upsmr); in uhdlc_resume()