Lines Matching refs:value
534 uint64_t value, unsigned size) in enet_write() argument
543 s->rcw[addr & 1] = value; in enet_write()
544 if ((addr & 1) && value & RCW1_RST) { in enet_write()
552 s->tc = value; in enet_write()
553 if (value & TC_RST) { in enet_write()
559 s->emmc = value; in enet_write()
563 s->phyc = value; in enet_write()
567 value &= ((1 << 7) - 1); in enet_write()
570 if (value & MC_EN) { in enet_write()
571 unsigned int miiclkdiv = value & ((1 << 6) - 1); in enet_write()
576 s->mii.mc = value; in enet_write()
580 unsigned int phyaddr = (value >> 24) & 0x1f; in enet_write()
581 unsigned int regaddr = (value >> 16) & 0x1f; in enet_write()
582 unsigned int op = (value >> 14) & 3; in enet_write()
583 unsigned int initiate = (value >> 11) & 1; in enet_write()
594 s->mii.mcr = value; in enet_write()
600 s->mii.regs[addr & 3] = value; in enet_write()
606 s->uaw[addr & 1] = value; in enet_write()
611 s->ext_uaw[addr & 1] = value; in enet_write()
615 s->fmi = value; in enet_write()
620 s->maddr[s->fmi & 3][addr & 1] = value; in enet_write()
624 s->regs[addr] &= ~value; in enet_write()
628 s->ext_mtable[addr - 0x8000] = value; in enet_write()
633 __func__, addr * 4, (unsigned)value)); in enet_write()
635 s->regs[addr] = value; in enet_write()