Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Deth_smsc911x.c88 uint32_t phycmd = 0U; in smsc_phy_regread() local
100 phycmd = 0U; in smsc_phy_regread()
101 phycmd |= PHY_ADDR << 11; in smsc_phy_regread()
102 phycmd |= (regoffset & 0x1F) << 6; in smsc_phy_regread()
103 phycmd |= MAC_MII_ACC_READ; in smsc_phy_regread()
104 phycmd |= MAC_MII_ACC_MIIBZY; /* Operation start */ in smsc_phy_regread()
106 if (smsc_mac_regwrite(SMSC9220_MAC_MII_ACC, phycmd)) { in smsc_phy_regread()
133 uint32_t phycmd = 0U; in smsc_phy_regwrite() local
148 phycmd |= PHY_ADDR << 11; in smsc_phy_regwrite()
149 phycmd |= (regoffset & 0x1F) << 6; in smsc_phy_regwrite()
[all …]