Lines Matching refs:_phy
125 static void sun4i_usb_phy0_update_iscr(struct phy *_phy, u32 clr, u32 set) in sun4i_usb_phy0_update_iscr() argument
127 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy0_update_iscr()
228 static int sun4i_usb_phy_init(struct phy *_phy) in sun4i_usb_phy_init() argument
230 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_init()
260 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_DPDM_PULLUP_EN); in sun4i_usb_phy_init()
261 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_ID_PULLUP_EN); in sun4i_usb_phy_init()
270 sun4i_usb_phy0_set_id_detect(_phy, 0); in sun4i_usb_phy_init()
271 sun4i_usb_phy0_set_vbus_detect(_phy, 1); in sun4i_usb_phy_init()
278 static int sun4i_usb_phy_exit(struct phy *_phy) in sun4i_usb_phy_exit() argument
280 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_exit()
285 sun4i_usb_phy0_update_iscr(_phy, ISCR_DPDM_PULLUP_EN, 0); in sun4i_usb_phy_exit()
286 sun4i_usb_phy0_update_iscr(_phy, ISCR_ID_PULLUP_EN, 0); in sun4i_usb_phy_exit()
321 static int sun4i_usb_phy_power_on(struct phy *_phy) in sun4i_usb_phy_power_on() argument
323 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_power_on()
348 static int sun4i_usb_phy_power_off(struct phy *_phy) in sun4i_usb_phy_power_off() argument
350 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_power_off()
369 void sun4i_usb_phy_set_squelch_detect(struct phy *_phy, bool enabled) in sun4i_usb_phy_set_squelch_detect() argument
371 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_set_squelch_detect()