Home
last modified time | relevance | path

Searched refs:_phy (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/phy/qualcomm/
H A Dphy-qcom-ipq4019-usb.c29 static int ipq4019_ss_phy_power_off(struct phy *_phy) in ipq4019_ss_phy_power_off() argument
31 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_ss_phy_power_off()
39 static int ipq4019_ss_phy_power_on(struct phy *_phy) in ipq4019_ss_phy_power_on() argument
41 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_ss_phy_power_on()
43 ipq4019_ss_phy_power_off(_phy); in ipq4019_ss_phy_power_on()
55 static int ipq4019_hs_phy_power_off(struct phy *_phy) in ipq4019_hs_phy_power_off() argument
57 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_hs_phy_power_off()
68 static int ipq4019_hs_phy_power_on(struct phy *_phy) in ipq4019_hs_phy_power_on() argument
70 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_hs_phy_power_on()
72 ipq4019_hs_phy_power_off(_phy); in ipq4019_hs_phy_power_on()
/linux/drivers/phy/starfive/
H A Dphy-jh7110-usb.c52 static int usb2_phy_set_mode(struct phy *_phy, in usb2_phy_set_mode() argument
55 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); in usb2_phy_set_mode()
67 dev_dbg(&_phy->dev, "Changing phy to %d\n", mode); in usb2_phy_set_mode()
79 static int jh7110_usb2_phy_init(struct phy *_phy) in jh7110_usb2_phy_init() argument
81 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); in jh7110_usb2_phy_init()
100 static int jh7110_usb2_phy_exit(struct phy *_phy) in jh7110_usb2_phy_exit() argument
102 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); in jh7110_usb2_phy_exit()
H A Dphy-jh7110-pcie.c102 static int jh7110_pcie_phy_set_mode(struct phy *_phy, in jh7110_pcie_phy_set_mode() argument
105 struct jh7110_pcie_phy *phy = phy_get_drvdata(_phy); in jh7110_pcie_phy_set_mode()
126 dev_dbg(&_phy->dev, "Changing phy mode to %d\n", mode); in jh7110_pcie_phy_set_mode()
/linux/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c147 static void sun4i_usb_phy0_update_iscr(struct phy *_phy, u32 clr, u32 set) in sun4i_usb_phy0_update_iscr() argument
149 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy0_update_iscr()
256 static int sun4i_usb_phy_init(struct phy *_phy) in sun4i_usb_phy_init() argument
258 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_init()
356 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_DPDM_PULLUP_EN); in sun4i_usb_phy_init()
357 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_ID_PULLUP_EN); in sun4i_usb_phy_init()
368 static int sun4i_usb_phy_exit(struct phy *_phy) in sun4i_usb_phy_exit() argument
370 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_exit()
382 sun4i_usb_phy0_update_iscr(_phy, ISCR_DPDM_PULLUP_EN, 0); in sun4i_usb_phy_exit()
383 sun4i_usb_phy0_update_iscr(_phy, ISCR_ID_PULLUP_EN, 0); in sun4i_usb_phy_exit()
[all …]
H A Dphy-sun9i-usb.c66 static int sun9i_usb_phy_init(struct phy *_phy) in sun9i_usb_phy_init() argument
68 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); in sun9i_usb_phy_init()
96 static int sun9i_usb_phy_exit(struct phy *_phy) in sun9i_usb_phy_exit() argument
98 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); in sun9i_usb_phy_exit()
H A Dphy-sun50i-usb3.c98 static int sun50i_usb3_phy_init(struct phy *_phy) in sun50i_usb3_phy_init() argument
100 struct sun50i_usb3_phy *phy = phy_get_drvdata(_phy); in sun50i_usb3_phy_init()
117 static int sun50i_usb3_phy_exit(struct phy *_phy) in sun50i_usb3_phy_exit() argument
119 struct sun50i_usb3_phy *phy = phy_get_drvdata(_phy); in sun50i_usb3_phy_exit()
/linux/drivers/phy/ralink/
H A Dphy-ralink-usb.c91 static int ralink_usb_phy_power_on(struct phy *_phy) in ralink_usb_phy_power_on() argument
93 struct ralink_usb_phy *phy = phy_get_drvdata(_phy); in ralink_usb_phy_power_on()
130 static int ralink_usb_phy_power_off(struct phy *_phy) in ralink_usb_phy_power_off() argument
132 struct ralink_usb_phy *phy = phy_get_drvdata(_phy); in ralink_usb_phy_power_off()
/linux/drivers/phy/sophgo/
H A Dphy-cv1800-usb2.c42 static int cv1800_usb_phy_set_mode(struct phy *_phy, in cv1800_usb_phy_set_mode() argument
45 struct cv1800_usb_phy *phy = phy_get_drvdata(_phy); in cv1800_usb_phy_set_mode()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.h211 #define E810T_CGU_INPUT_C827(_phy, _pin) ((_phy) * ICE_E810_RCLK_PINS_NUM + \ argument
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c203 #define CL22_WR_OVER_CL45(_bp, _phy, _bank, _addr, _val) \ argument
204 bnx2x_cl45_write(_bp, _phy, \
205 (_phy)->def_md_devad, \
209 #define CL22_RD_OVER_CL45(_bp, _phy, _bank, _addr, _val) \ argument
210 bnx2x_cl45_read(_bp, _phy, \
211 (_phy)->def_md_devad, \