Lines Matching refs:us_regs
75 struct ucc_slow __iomem *us_regs; in ucc_slow_enable() local
78 us_regs = uccs->us_regs; in ucc_slow_enable()
81 gumr_l = ioread32be(&us_regs->gumr_l); in ucc_slow_enable()
90 iowrite32be(gumr_l, &us_regs->gumr_l); in ucc_slow_enable()
96 struct ucc_slow __iomem *us_regs; in ucc_slow_disable() local
99 us_regs = uccs->us_regs; in ucc_slow_disable()
102 gumr_l = ioread32be(&us_regs->gumr_l); in ucc_slow_disable()
111 iowrite32be(gumr_l, &us_regs->gumr_l); in ucc_slow_disable()
123 struct ucc_slow __iomem *us_regs; in ucc_slow_init() local
164 uccs->us_regs = ioremap(us_info->regs, sizeof(struct ucc_slow)); in ucc_slow_init()
165 if (uccs->us_regs == NULL) { in ucc_slow_init()
171 us_regs = uccs->us_regs; in ucc_slow_init()
172 uccs->p_ucce = &us_regs->ucce; in ucc_slow_init()
173 uccs->p_uccm = &us_regs->uccm; in ucc_slow_init()
266 iowrite32be(gumr, &us_regs->gumr_h); in ucc_slow_init()
279 iowrite32be(gumr, &us_regs->gumr_l); in ucc_slow_init()
320 iowrite16be(us_info->uccm_mask, &us_regs->uccm); in ucc_slow_init()
327 iowrite16be(0xffff, &us_regs->ucce); in ucc_slow_init()
353 if (uccs->us_regs) in ucc_slow_free()
354 iounmap(uccs->us_regs); in ucc_slow_free()