/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | regs.h | 200 #define MT_WF_PHY_R0_PHYMUX_5(_phy) MT_WF_PHY(0x0614 + ((_phy) << 9)) argument 203 #define MT_WF_PHY_R0_PHYCTRL_STS0(_phy) MT_WF_PHY(0x020c + ((_phy) << 9)) argument 207 #define MT7663_WF_PHY_R0_PHYCTRL_STS0(_phy) MT_WF_PHY(0x0210 + ((_phy) << 12)) argument 209 #define MT_WF_PHY_R0_PHYCTRL_STS5(_phy) MT_WF_PHY(0x0220 + ((_phy) << 9)) argument 213 #define MT7663_WF_PHY_R0_PHYCTRL_STS5(_phy) MT_WF_PHY(0x0224 + ((_phy) << 12)) argument 215 #define MT_WF_PHY_MIN_PRI_PWR(_phy) MT_WF_PHY((_phy) ? 0x084 : 0x229c) argument 216 #define MT_WF_PHY_PD_OFDM_MASK(_phy) ((_phy) ? GENMASK(24, 16) : \ argument 218 #define MT_WF_PHY_PD_OFDM(_phy, v) ((v) << ((_phy) ? 16 : 20)) argument 219 #define MT_WF_PHY_PD_BLK(_phy) ((_phy) ? BIT(25) : BIT(19)) argument 221 #define MT7663_WF_PHY_MIN_PRI_PWR(_phy) MT_WF_PHY((_phy) ? 0x2aec : 0x22f0) argument [all …]
|
/linux-6.1.9/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 161 static void sun4i_usb_phy0_update_iscr(struct phy *_phy, u32 clr, u32 set) in sun4i_usb_phy0_update_iscr() argument 163 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy0_update_iscr() 269 static int sun4i_usb_phy_init(struct phy *_phy) in sun4i_usb_phy_init() argument 271 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_init() 370 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_DPDM_PULLUP_EN); in sun4i_usb_phy_init() 371 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_ID_PULLUP_EN); in sun4i_usb_phy_init() 382 static int sun4i_usb_phy_exit(struct phy *_phy) in sun4i_usb_phy_exit() argument 384 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_exit() 397 sun4i_usb_phy0_update_iscr(_phy, ISCR_DPDM_PULLUP_EN, 0); in sun4i_usb_phy_exit() 398 sun4i_usb_phy0_update_iscr(_phy, ISCR_ID_PULLUP_EN, 0); in sun4i_usb_phy_exit() [all …]
|
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()
|
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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | regs.h | 1101 #define MT_WF_PHY_RX_CTRL1(_phy) MT_WF_PHY(0x2004 + ((_phy) << 16)) argument 1102 #define MT_WF_PHY_RX_CTRL1_MT7916(_phy) MT_WF_PHY(0x2004 + ((_phy) << 20)) argument 1106 #define MT_WF_PHY_RXTD12(_phy) MT_WF_PHY(0x8230 + ((_phy) << 16)) argument 1107 #define MT_WF_PHY_RXTD12_MT7916(_phy) MT_WF_PHY(0x8230 + ((_phy) << 20)) argument
|
/linux-6.1.9/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, \
|