Searched refs:mcmdr (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_emc-test.c | 489 uint32_t mcmdr = emc_read(qts, mod, REG_MCMDR); in enable_tx() local 490 mcmdr |= REG_MCMDR_TXON; in enable_tx() 491 emc_write(qts, mod, REG_MCMDR, mcmdr); in enable_tx() 640 uint32_t mcmdr = emc_read(qts, mod, REG_MCMDR); in enable_rx() local 641 mcmdr |= REG_MCMDR_RXON | mcmdr_flags; in enable_rx() 642 emc_write(qts, mod, REG_MCMDR, mcmdr); in enable_rx()
|
/openbmc/qemu/hw/net/ |
H A D | npcm7xx_emc.c | 140 uint32_t mcmdr = emc->regs[REG_MCMDR]; in emc_soft_reset() local 142 emc->regs[REG_MCMDR] = mcmdr & (REG_MCMDR_LBK | REG_MCMDR_OPMOD); in emc_soft_reset()
|