Lines Matching refs:command_word
3823 uint32_t command_word;
3837 command_word = (uint32_t)phy_addr << MII_PHY_ADDR_ALIGN;
3838 command_word |= (uint32_t)reg_num << MII_REG_ADDR_ALIGN;
3839 command_word |= MII_READ_FRAME;
3841 write_mii(dnetp, command_word, bits_in_ushort-2);
3872 uint32_t command_word;
3881 command_word = ((uint32_t)phy_addr << MII_PHY_ADDR_ALIGN);
3882 command_word |= ((uint32_t)reg_num << MII_REG_ADDR_ALIGN);
3883 command_word |= (MII_WRITE_FRAME | (uint32_t)reg_dat);
3885 write_mii(dnetp, command_word, 2*bits_in_ushort);