Lines Matching refs:us_regs
79 struct ucc_slow *us_regs; in ucc_slow_enable() local
82 us_regs = uccs->us_regs; in ucc_slow_enable()
85 gumr_l = in_be32(&us_regs->gumr_l); in ucc_slow_enable()
94 out_be32(&us_regs->gumr_l, gumr_l); in ucc_slow_enable()
100 struct ucc_slow *us_regs; in ucc_slow_disable() local
103 us_regs = uccs->us_regs; in ucc_slow_disable()
106 gumr_l = in_be32(&us_regs->gumr_l); in ucc_slow_disable()
115 out_be32(&us_regs->gumr_l, gumr_l); in ucc_slow_disable()
127 struct ucc_slow __iomem *us_regs; in ucc_slow_init() local
165 uccs->us_regs = ioremap(us_info->regs, sizeof(struct ucc_slow)); in ucc_slow_init()
166 if (uccs->us_regs == NULL) { in ucc_slow_init()
174 us_regs = uccs->us_regs; in ucc_slow_init()
175 uccs->p_ucce = (u16 *) & (us_regs->ucce); in ucc_slow_init()
176 uccs->p_uccm = (u16 *) & (us_regs->uccm); in ucc_slow_init()
276 out_be32(&us_regs->gumr_h, gumr); in ucc_slow_init()
289 out_be32(&us_regs->gumr_l, gumr); in ucc_slow_init()
330 out_be16(&us_regs->uccm, us_info->uccm_mask); in ucc_slow_init()
337 out_be16(&us_regs->ucce, 0xffff); in ucc_slow_init()
368 if (uccs->us_regs) in ucc_slow_free()
369 iounmap(uccs->us_regs); in ucc_slow_free()