/drivers/phy/qualcomm/ |
D | phy-qcom-ipq4019-usb.c | 30 static int ipq4019_ss_phy_power_off(struct phy *_phy) in ipq4019_ss_phy_power_off() argument 32 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_ss_phy_power_off() 40 static int ipq4019_ss_phy_power_on(struct phy *_phy) in ipq4019_ss_phy_power_on() argument 42 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_ss_phy_power_on() 44 ipq4019_ss_phy_power_off(_phy); in ipq4019_ss_phy_power_on() 56 static int ipq4019_hs_phy_power_off(struct phy *_phy) in ipq4019_hs_phy_power_off() argument 58 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_hs_phy_power_off() 69 static int ipq4019_hs_phy_power_on(struct phy *_phy) in ipq4019_hs_phy_power_on() argument 71 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_hs_phy_power_on() 73 ipq4019_hs_phy_power_off(_phy); in ipq4019_hs_phy_power_on()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | regs.h | 189 #define MT_WF_PHY_R0_PHYMUX_5(_phy) MT_WF_PHY(0x0614 + ((_phy) << 9)) argument 192 #define MT_WF_PHY_R0_PHYCTRL_STS0(_phy) MT_WF_PHY(0x020c + ((_phy) << 9)) argument 196 #define MT7663_WF_PHY_R0_PHYCTRL_STS0(_phy) MT_WF_PHY(0x0210 + ((_phy) << 12)) argument 198 #define MT_WF_PHY_R0_PHYCTRL_STS5(_phy) MT_WF_PHY(0x0220 + ((_phy) << 9)) argument 202 #define MT7663_WF_PHY_R0_PHYCTRL_STS5(_phy) MT_WF_PHY(0x0224 + ((_phy) << 12)) argument 204 #define MT_WF_PHY_MIN_PRI_PWR(_phy) MT_WF_PHY((_phy) ? 0x084 : 0x229c) argument 205 #define MT_WF_PHY_PD_OFDM_MASK(_phy) ((_phy) ? GENMASK(24, 16) : \ argument 207 #define MT_WF_PHY_PD_OFDM(_phy, v) ((v) << ((_phy) ? 16 : 20)) argument 208 #define MT_WF_PHY_PD_BLK(_phy) ((_phy) ? BIT(25) : BIT(19)) argument 210 #define MT7663_WF_PHY_MIN_PRI_PWR(_phy) MT_WF_PHY((_phy) ? 0x2aec : 0x22f0) argument [all …]
|
/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 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() [all …]
|
D | phy-sun50i-usb3.c | 97 static int sun50i_usb3_phy_init(struct phy *_phy) in sun50i_usb3_phy_init() argument 99 struct sun50i_usb3_phy *phy = phy_get_drvdata(_phy); in sun50i_usb3_phy_init() 116 static int sun50i_usb3_phy_exit(struct phy *_phy) in sun50i_usb3_phy_exit() argument 118 struct sun50i_usb3_phy *phy = phy_get_drvdata(_phy); in sun50i_usb3_phy_exit()
|
D | phy-sun9i-usb.c | 66 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()
|
/drivers/phy/ralink/ |
D | phy-ralink-usb.c | 91 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()
|
/drivers/phy/rockchip/ |
D | phy-rockchip-usb.c | 139 static int rockchip_usb_phy_power_off(struct phy *_phy) in rockchip_usb_phy_power_off() argument 141 struct rockchip_usb_phy *phy = phy_get_drvdata(_phy); in rockchip_usb_phy_power_off() 151 static int rockchip_usb_phy_power_on(struct phy *_phy) in rockchip_usb_phy_power_on() argument 153 struct rockchip_usb_phy *phy = phy_get_drvdata(_phy); in rockchip_usb_phy_power_on() 169 static int rockchip_usb_phy_reset(struct phy *_phy) in rockchip_usb_phy_reset() argument 171 struct rockchip_usb_phy *phy = phy_get_drvdata(_phy); in rockchip_usb_phy_reset()
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | regs.h | 392 #define MT_WF_PHY_RX_CTRL1(_phy) MT_WF_PHY(0x2004 + ((_phy) << 16)) argument
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 203 #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, \
|