Lines Matching +refs:phy +refs:get +refs:op
106 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap()
110 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap()
227 ci->hw_bank.op = ci->hw_bank.cap + (ioread32(ci->hw_bank.cap) & 0xff); in hw_device_init()
235 ci->hw_bank.size = ci->hw_bank.op - ci->hw_bank.abs; in hw_device_init()
258 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init()
322 if (ci->phy) { in _ci_usb_phy_init()
323 ret = phy_init(ci->phy); in _ci_usb_phy_init()
327 ret = phy_power_on(ci->phy); in _ci_usb_phy_init()
329 phy_exit(ci->phy); in _ci_usb_phy_init()
349 if (ci->phy) { in ci_usb_phy_exit()
350 phy_power_off(ci->phy); in ci_usb_phy_exit()
351 phy_exit(ci->phy); in ci_usb_phy_exit()
411 phy_set_mode(ci->phy, PHY_MODE_USB_DEVICE); in ci_platform_configure()
419 phy_set_mode(ci->phy, PHY_MODE_USB_HOST); in ci_platform_configure()
673 .get = ci_usb_role_switch_get,
1093 if (ci->platdata->phy) { in ci_hdrc_probe()
1094 ci->phy = ci->platdata->phy; in ci_hdrc_probe()
1099 ci->phy = devm_phy_get(dev->parent, "usb-phy"); in ci_hdrc_probe()
1101 if (PTR_ERR(ci->phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1104 } else if (IS_ERR(ci->phy)) { in ci_hdrc_probe()
1105 ci->phy = NULL; in ci_hdrc_probe()
1109 if (!ci->phy) { in ci_hdrc_probe()
1122 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1135 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()