Lines Matching refs:_phy

159 static void sun4i_usb_phy0_update_iscr(struct phy *_phy, u32 clr, u32 set)  in sun4i_usb_phy0_update_iscr()  argument
161 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy0_update_iscr()
267 static int sun4i_usb_phy_init(struct phy *_phy) in sun4i_usb_phy_init() argument
269 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_init()
323 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_DPDM_PULLUP_EN); in sun4i_usb_phy_init()
324 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_ID_PULLUP_EN); in sun4i_usb_phy_init()
335 static int sun4i_usb_phy_exit(struct phy *_phy) in sun4i_usb_phy_exit() argument
337 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_exit()
350 sun4i_usb_phy0_update_iscr(_phy, ISCR_DPDM_PULLUP_EN, 0); in sun4i_usb_phy_exit()
351 sun4i_usb_phy0_update_iscr(_phy, ISCR_ID_PULLUP_EN, 0); in sun4i_usb_phy_exit()
423 static int sun4i_usb_phy_power_on(struct phy *_phy) in sun4i_usb_phy_power_on() argument
425 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_power_on()
435 dev_warn(&_phy->dev, "External vbus detected, not enabling our own vbus\n"); in sun4i_usb_phy_power_on()
452 static int sun4i_usb_phy_power_off(struct phy *_phy) in sun4i_usb_phy_power_off() argument
454 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_power_off()
473 static int sun4i_usb_phy_set_mode(struct phy *_phy, in sun4i_usb_phy_set_mode() argument
476 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_set_mode()
501 dev_info(&_phy->dev, "Changing dr_mode to %d\n", new_mode); in sun4i_usb_phy_set_mode()
512 void sun4i_usb_phy_set_squelch_detect(struct phy *_phy, bool enabled) in sun4i_usb_phy_set_squelch_detect() argument
514 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_set_squelch_detect()