Lines Matching refs:immap
26 void __iomem *immap; in mpc834x_usb_cfg() local
31 immap = ioremap(get_immrbase(), 0x1000); in mpc834x_usb_cfg()
32 if (!immap) in mpc834x_usb_cfg()
37 sccr = in_be32(immap + MPC83XX_SCCR_OFFS) & ~MPC83XX_SCCR_USB_MASK; in mpc834x_usb_cfg()
38 sicrl = in_be32(immap + MPC83XX_SICRL_OFFS) & ~MPC834X_SICRL_USB_MASK; in mpc834x_usb_cfg()
39 sicrh = in_be32(immap + MPC83XX_SICRH_OFFS) & ~MPC834X_SICRH_USB_UTMI; in mpc834x_usb_cfg()
89 out_be32(immap + MPC83XX_SCCR_OFFS, sccr); in mpc834x_usb_cfg()
90 out_be32(immap + MPC83XX_SICRL_OFFS, sicrl); in mpc834x_usb_cfg()
91 out_be32(immap + MPC83XX_SICRH_OFFS, sicrh); in mpc834x_usb_cfg()
93 iounmap(immap); in mpc834x_usb_cfg()
102 void __iomem *immap, *usb_regs; in mpc831x_usb_cfg() local
118 immap = ioremap(get_immrbase(), 0x1000); in mpc831x_usb_cfg()
119 if (!immap) { in mpc831x_usb_cfg()
128 clrsetbits_be32(immap + MPC83XX_SCCR_OFFS, in mpc831x_usb_cfg()
132 clrsetbits_be32(immap + MPC83XX_SCCR_OFFS, in mpc831x_usb_cfg()
139 clrsetbits_be32(immap + MPC83XX_SICRH_OFFS, in mpc831x_usb_cfg()
143 clrsetbits_be32(immap + MPC83XX_SICRL_OFFS, in mpc831x_usb_cfg()
146 clrsetbits_be32(immap + MPC83XX_SICRH_OFFS, in mpc831x_usb_cfg()
150 clrsetbits_be32(immap + MPC83XX_SICRL_OFFS, in mpc831x_usb_cfg()
153 clrsetbits_be32(immap + MPC83XX_SICRH_OFFS, in mpc831x_usb_cfg()
159 iounmap(immap); in mpc831x_usb_cfg()
214 void __iomem *immap; in mpc837x_usb_cfg() local
233 immap = ioremap(get_immrbase(), 0x1000); in mpc837x_usb_cfg()
234 if (!immap) { in mpc837x_usb_cfg()
240 clrsetbits_be32(immap + MPC83XX_SCCR_OFFS, MPC837X_SCCR_USB_DRCM_11, in mpc837x_usb_cfg()
244 clrsetbits_be32(immap + MPC83XX_SICRL_OFFS, MPC837X_SICRL_USB_MASK, in mpc837x_usb_cfg()
247 iounmap(immap); in mpc837x_usb_cfg()