Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dregs.h200 #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_GID_TAB_VLD(_phy, i) MT_WF_PHY(0x0254 + (i) * 4 + \ argument
216 ((_phy) << 9))
217 #define MT7663_WF_PHY_GID_TAB_VLD(_phy, i) MT_WF_PHY(0x0254 + (i) * 4 + \ argument
218 ((_phy) << 12))
219 #define MT_WF_PHY_GID_TAB_POS(_phy, i) MT_WF_PHY(0x025c + (i) * 4 + \ argument
[all …]
/linux-6.6.21/drivers/phy/qualcomm/
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-6.6.21/drivers/phy/starfive/
Dphy-jh7110-usb.c44 static int usb2_phy_set_mode(struct phy *_phy, in usb2_phy_set_mode() argument
47 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); in usb2_phy_set_mode()
59 dev_dbg(&_phy->dev, "Changing phy to %d\n", mode); in usb2_phy_set_mode()
67 static int jh7110_usb2_phy_init(struct phy *_phy) in jh7110_usb2_phy_init() argument
69 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); in jh7110_usb2_phy_init()
83 static int jh7110_usb2_phy_exit(struct phy *_phy) in jh7110_usb2_phy_exit() argument
85 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); in jh7110_usb2_phy_exit()
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-6.6.21/drivers/phy/allwinner/
Dphy-sun4i-usb.c148 static void sun4i_usb_phy0_update_iscr(struct phy *_phy, u32 clr, u32 set) in sun4i_usb_phy0_update_iscr() argument
150 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy0_update_iscr()
257 static int sun4i_usb_phy_init(struct phy *_phy) in sun4i_usb_phy_init() argument
259 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_init()
357 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_DPDM_PULLUP_EN); in sun4i_usb_phy_init()
358 sun4i_usb_phy0_update_iscr(_phy, 0, ISCR_ID_PULLUP_EN); in sun4i_usb_phy_init()
369 static int sun4i_usb_phy_exit(struct phy *_phy) in sun4i_usb_phy_exit() argument
371 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_exit()
383 sun4i_usb_phy0_update_iscr(_phy, ISCR_DPDM_PULLUP_EN, 0); in sun4i_usb_phy_exit()
384 sun4i_usb_phy0_update_iscr(_phy, ISCR_ID_PULLUP_EN, 0); in sun4i_usb_phy_exit()
[all …]
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()
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()
/linux-6.6.21/drivers/phy/ralink/
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-6.6.21/drivers/phy/rockchip/
Dphy-rockchip-usb.c139 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.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dregs.h1200 #define MT_WF_PHY_RX_CTRL1(_phy) MT_WF_PHY(0x2004 + ((_phy) << 16)) argument
1201 #define MT_WF_PHY_RX_CTRL1_MT7916(_phy) MT_WF_PHY(0x2004 + ((_phy) << 20)) argument
1205 #define MT_WF_PHY_RXTD12(_phy) MT_WF_PHY(0x8230 + ((_phy) << 16)) argument
1206 #define MT_WF_PHY_RXTD12_MT7916(_phy) MT_WF_PHY(0x8230 + ((_phy) << 20)) argument
1210 #define MT_WF_PHY_TPC_CTRL_STAT(_phy) MT_WF_PHY(0xe7a0 + ((_phy) << 16)) argument
1211 #define MT_WF_PHY_TPC_CTRL_STAT_MT7916(_phy) MT_WF_PHY(0xe7a0 + ((_phy) << 20)) argument
/linux-6.6.21/drivers/net/dsa/qca/
Dqca8k.h95 #define QCA8K_LED_PORT_INDEX(_phy, _led) (((_phy) * QCA8K_LED_PORT_COUNT) + (_led)) argument
97 #define QCA8K_LED_PHY123_PATTERN_EN_SHIFT(_phy, _led) ((((_phy) - 1) * 6) + 8 + (2 * (_led))) argument
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
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, \
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dcounters.rst1122 * - `rx_err_lane_[l]_phy`