Lines Matching full:tune
323 #define for_each_phy_tune(tune) \ argument
324 for (; (tune)->region != PTR_INVALID; ++(tune))
547 const struct exynos5_usbdrd_phy_tuning *tune; in exynos5_usbdrd_apply_phy_tunes() local
549 tune = phy_drd->drv_data->phy_tunes[state]; in exynos5_usbdrd_apply_phy_tunes()
550 if (!tune) in exynos5_usbdrd_apply_phy_tunes()
553 for_each_phy_tune(tune) { in exynos5_usbdrd_apply_phy_tunes()
557 switch (tune->region) { in exynos5_usbdrd_apply_phy_tunes()
569 "unknown phy region %d\n", tune->region); in exynos5_usbdrd_apply_phy_tunes()
573 if (~tune->mask) { in exynos5_usbdrd_apply_phy_tunes()
574 reg = readl(reg_base + tune->off); in exynos5_usbdrd_apply_phy_tunes()
575 reg &= ~tune->mask; in exynos5_usbdrd_apply_phy_tunes()
577 reg |= tune->val; in exynos5_usbdrd_apply_phy_tunes()
578 writel(reg, reg_base + tune->off); in exynos5_usbdrd_apply_phy_tunes()