Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_mdio.c191 u32 gw_reg = 0; in mlxbf_gige_mdio_create_cmd() local
193 gw_reg |= ((data << mdio_gw->write_data.shift) & in mlxbf_gige_mdio_create_cmd()
195 gw_reg |= ((phy_reg << mdio_gw->devad.shift) & in mlxbf_gige_mdio_create_cmd()
197 gw_reg |= ((phy_add << mdio_gw->partad.shift) & in mlxbf_gige_mdio_create_cmd()
199 gw_reg |= ((opcode << mdio_gw->opcode.shift) & in mlxbf_gige_mdio_create_cmd()
201 gw_reg |= ((MLXBF_GIGE_MDIO_CL22_ST1 << mdio_gw->st1.shift) & in mlxbf_gige_mdio_create_cmd()
203 gw_reg |= ((MLXBF_GIGE_MDIO_SET_BUSY << mdio_gw->busy.shift) & in mlxbf_gige_mdio_create_cmd()
206 return gw_reg; in mlxbf_gige_mdio_create_cmd()