Lines Matching refs:phy_data
62 u16 reg, u16 *phy_data)
67 *phy_data = 0;
94 *phy_data = ALX_GET_FIELD(val, ALX_MDIO_DATA);
99 u16 reg, u16 phy_data)
115 phy_data << ALX_MDIO_DATA_SHIFT |
121 phy_data << ALX_MDIO_DATA_SHIFT |
129 static int __alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data)
131 return alx_read_phy_core(hw, false, 0, reg, phy_data);
134 static int __alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data)
136 return alx_write_phy_core(hw, false, 0, reg, phy_data);
171 int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data)
176 err = __alx_read_phy_reg(hw, reg, phy_data);
182 int alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data)
187 err = __alx_write_phy_reg(hw, reg, phy_data);