Lines Matching defs:mdio_cmd
1780 uint16_t mdio_cmd;
1789 mdio_cmd = (uint16_t)(0x1F & reg);
1790 mdio_cmd |= (0x1F & phy_addr) << 5;
1793 mdio_cmd |= AL_BIT(15); //READ command
1795 al_reg_write16(&adapter->mac_regs_base->mac_10g.mdio_cmd,
1796 mdio_cmd);
1828 uint16_t mdio_cmd;
1837 mdio_cmd = (uint16_t)(0x1F & device);
1838 mdio_cmd |= (0x1F & port_addr) << 5;
1839 al_reg_write16(&adapter->mac_regs_base->mac_10g.mdio_cmd,
1840 mdio_cmd);
1853 mdio_cmd |= AL_BIT(15); //READ command
1855 (uint16_t *)&adapter->mac_regs_base->mac_10g.mdio_cmd,
1856 mdio_cmd);