Searched refs:phy_add (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_mdio.c | 188 static u32 mlxbf_gige_mdio_create_cmd(struct mlxbf_gige_mdio_gw *mdio_gw, u16 data, int phy_add, in mlxbf_gige_mdio_create_cmd() argument 197 gw_reg |= ((phy_add << mdio_gw->partad.shift) & in mlxbf_gige_mdio_create_cmd() 209 static int mlxbf_gige_mdio_read(struct mii_bus *bus, int phy_add, int phy_reg) in mlxbf_gige_mdio_read() argument 217 cmd = mlxbf_gige_mdio_create_cmd(priv->mdio_gw, 0, phy_add, phy_reg, in mlxbf_gige_mdio_read() 241 static int mlxbf_gige_mdio_write(struct mii_bus *bus, int phy_add, in mlxbf_gige_mdio_write() argument 250 cmd = mlxbf_gige_mdio_create_cmd(priv->mdio_gw, val, phy_add, phy_reg, in mlxbf_gige_mdio_write()
|