Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_mdio.c188 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()