Lines Matching refs:base
156 void __iomem *base;
175 val = readl(usbmisc->base);
187 writel(val, usbmisc->base);
190 val = readl(usbmisc->base);
203 writel(val, usbmisc->base);
226 reg = usbmisc->base + MX25_USB_PHY_CTRL_OFFSET;
263 val = readl(usbmisc->base) | val;
265 val = readl(usbmisc->base) & ~val;
266 writel(val, usbmisc->base);
283 val = readl(usbmisc->base + MX53_USB_OTG_PHY_CTRL_1_OFFSET);
286 writel(val, usbmisc->base + MX53_USB_OTG_PHY_CTRL_1_OFFSET);
293 reg = usbmisc->base + MX53_USB_OTG_PHY_CTRL_0_OFFSET;
300 reg = usbmisc->base + MX53_USB_OTG_PHY_CTRL_0_OFFSET;
308 reg = usbmisc->base + MX53_USB_CTRL_1_OFFSET;
315 reg = usbmisc->base + MX53_USB_UH2_CTRL_OFFSET;
321 reg = usbmisc->base +
330 reg = usbmisc->base + MX53_USB_UH2_CTRL_OFFSET;
338 reg = usbmisc->base + MX53_USB_CTRL_1_OFFSET;
345 reg = usbmisc->base + MX53_USB_UH3_CTRL_OFFSET;
352 reg = usbmisc->base +
360 reg = usbmisc->base + MX53_USB_UH3_CTRL_OFFSET;
397 val = readl(usbmisc->base + data->index * 4);
406 writel(val, usbmisc->base + data->index * 4);
423 reg = readl(usbmisc->base + data->index * 4);
441 writel(reg, usbmisc->base + data->index * 4);
444 reg = readl(usbmisc->base + data->index * 4);
446 usbmisc->base + data->index * 4);
450 reg = readl(usbmisc->base + data->index * 4);
452 usbmisc->base + data->index * 4);
453 reg = readl(usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET
456 writel(reg, usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET
502 val = readl(usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET + offset);
505 usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET + offset);
526 val = readl(usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET + offset);
533 writel(val, usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET + offset);
550 reg = usbmisc->base + MX6_USB_OTG1_PHY_CTRL + data->index * 4;
559 val = readl(usbmisc->base + data->index * 4);
561 usbmisc->base + data->index * 4);
567 val = readl(usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET);
569 writel(val, usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET);
588 reg = readl(usbmisc->base);
589 writel(reg | VF610_OVER_CUR_DIS, usbmisc->base);
603 val = readl(usbmisc->base);
607 writel(val, usbmisc->base);
611 writel(val & ~MX6_USB_OTG_WAKEUP_BITS, usbmisc->base);
628 reg = readl(usbmisc->base);
646 writel(reg, usbmisc->base);
649 reg = readl(usbmisc->base);
650 writel(reg | MX6_BM_NON_BURST_SETTING, usbmisc->base);
653 reg = readl(usbmisc->base + MX7D_USBNC_USB_CTRL2);
657 usbmisc->base + MX7D_USBNC_USB_CTRL2);
659 reg = readl(usbmisc->base + MX7D_USB_OTG_PHY_CFG1);
674 writel(reg, usbmisc->base + MX7D_USB_OTG_PHY_CFG1);
693 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
695 writel(val, usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
703 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
707 usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
718 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_STATUS);
737 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
742 writel(val, usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
745 val = readl(usbmisc->base + MX7D_USBNC_USB_CTRL2);
747 writel(val, usbmisc->base + MX7D_USBNC_USB_CTRL2);
749 val = readl(usbmisc->base + MX7D_USBNC_USB_CTRL2);
751 usbmisc->base + MX7D_USBNC_USB_CTRL2);
764 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
766 usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
770 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_STATUS);
784 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
786 usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
807 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
811 usbmisc->base + MX7D_USB_OTG_PHY_CFG2);
818 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_STATUS);
844 val = readl(usbmisc->base + MX7D_USB_OTG_PHY_STATUS);
855 val = readl(usbmisc->base + MX7D_USBNC_USB_CTRL2);
858 writel(val, usbmisc->base + MX7D_USBNC_USB_CTRL2);
860 val = readl(usbmisc->base + MX7D_USBNC_USB_CTRL2);
862 usbmisc->base + MX7D_USBNC_USB_CTRL2);
888 reg = readl(usbmisc->base);
907 writel(reg, usbmisc->base);
910 reg = readl(usbmisc->base);
911 writel(reg | MX6_BM_NON_BURST_SETTING, usbmisc->base);
914 reg = readl(usbmisc->base);
915 writel(reg | MX6_BM_UTMI_ON_CLOCK, usbmisc->base);
917 reg = readl(usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET);
919 writel(reg, usbmisc->base + MX6_USB_HSIC_CTRL_OFFSET);
925 reg = readl(usbmisc->base + MX7D_USBNC_USB_CTRL2);
927 usbmisc->base + MX7D_USBNC_USB_CTRL2);
929 reg = readl(usbmisc->base + MX7D_USBNC_USB_CTRL2);
932 usbmisc->base + MX7D_USBNC_USB_CTRL2);
1163 data->base = devm_platform_ioremap_resource(pdev, 0);
1164 if (IS_ERR(data->base))
1165 return PTR_ERR(data->base);