Searched refs:cmd_reg_value (Results 1 – 1 of 1) sorted by relevance
174 u32 cmd_reg_value; in hns_mdio_wait_ready() local180 cmd_reg_value = MDIO_GET_REG_BIT(mdio_dev, in hns_mdio_wait_ready()183 if (!cmd_reg_value) in hns_mdio_wait_ready()186 if ((i == MDIO_TIMEOUT) && cmd_reg_value) in hns_mdio_wait_ready()195 u32 cmd_reg_value; in hns_mdio_cmd_write() local198 cmd_reg_value = st << MDIO_CMD_ST_S; in hns_mdio_cmd_write()199 cmd_reg_value |= op << MDIO_CMD_OP_S; in hns_mdio_cmd_write()200 cmd_reg_value |= in hns_mdio_cmd_write()202 cmd_reg_value |= (cmd & MDIO_CMD_DEVAD_M) << MDIO_CMD_DEVAD_S; in hns_mdio_cmd_write()203 cmd_reg_value |= 1 << MDIO_CMD_START_B; in hns_mdio_cmd_write()[all …]