Home
last modified time | relevance | path

Searched refs:usb_base (Results 1 – 6 of 6) sorted by relevance

/arch/arm/mach-imx/
Dehci-imx5.c50 void __iomem *usb_base; in mx51_initialize_usb_hw() local
55 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in mx51_initialize_usb_hw()
56 if (!usb_base) { in mx51_initialize_usb_hw()
63 usbotg_base = usb_base + MXC_OTG_OFFSET; in mx51_initialize_usb_hw()
66 usbotg_base = usb_base + MXC_H1_OFFSET; in mx51_initialize_usb_hw()
69 usbotg_base = usb_base + MXC_H2_OFFSET; in mx51_initialize_usb_hw()
76 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; in mx51_initialize_usb_hw()
153 iounmap(usb_base); in mx51_initialize_usb_hw()
Dmach-cpuimx51.c164 void __iomem *usb_base; in initialize_otg_port() local
167 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_otg_port()
168 if (!usb_base) in initialize_otg_port()
170 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; in initialize_otg_port()
177 iounmap(usb_base); in initialize_otg_port()
187 void __iomem *usb_base; in initialize_usbh1_port() local
190 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_usbh1_port()
191 if (!usb_base) in initialize_usbh1_port()
193 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; in initialize_usbh1_port()
198 iounmap(usb_base); in initialize_usbh1_port()
Dmach-cpuimx51sd.c146 void __iomem *usb_base; in initialize_otg_port() local
149 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_otg_port()
150 if (!usb_base) in initialize_otg_port()
152 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; in initialize_otg_port()
159 iounmap(usb_base); in initialize_otg_port()
169 void __iomem *usb_base; in initialize_usbh1_port() local
172 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_usbh1_port()
173 if (!usb_base) in initialize_usbh1_port()
175 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; in initialize_usbh1_port()
181 iounmap(usb_base); in initialize_usbh1_port()
Dmach-mx51_babbage.c247 void __iomem *usb_base; in initialize_otg_port() local
250 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_otg_port()
251 if (!usb_base) in initialize_otg_port()
253 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; in initialize_otg_port()
260 iounmap(usb_base); in initialize_otg_port()
270 void __iomem *usb_base; in initialize_usbh1_port() local
273 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_usbh1_port()
274 if (!usb_base) in initialize_usbh1_port()
276 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; in initialize_usbh1_port()
281 iounmap(usb_base); in initialize_usbh1_port()
Dmx51_efika.c132 void __iomem *usb_base; in initialize_otg_port() local
134 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_otg_port()
135 if (!usb_base) in initialize_otg_port()
137 usbother_base = (void __iomem *)(usb_base + MX5_USBOTHER_REGS_OFFSET); in initialize_otg_port()
144 iounmap(usb_base); in initialize_otg_port()
161 void __iomem *usb_base; in initialize_usbh1_port() local
171 usb_base = ioremap(MX51_USB_OTG_BASE_ADDR, SZ_4K); in initialize_usbh1_port()
172 socregs_base = (void __iomem *)(usb_base + MX5_USBOTHER_REGS_OFFSET); in initialize_usbh1_port()
180 iounmap(usb_base); in initialize_usbh1_port()
/arch/mips/ar7/
Dclock.c342 int usb_base, usb_mul, usb_prediv, usb_postdiv; in tnetd7200_init_clocks() local
404 usb_base = bus_clk.rate; in tnetd7200_init_clocks()
405 calculate(usb_base, TNETD7200_DEF_USB_CLK, &usb_prediv, in tnetd7200_init_clocks()
407 tnetd7200_set_clock(usb_base, &clocks->usb, in tnetd7200_init_clocks()