Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dxilinx_ethlite.c53 #define CTRL_S 0x1 macro
130 if ((value & (CTRL_P | CTRL_S)) == CTRL_S) { in eth_write()
137 } else if ((value & (CTRL_P | CTRL_S)) == (CTRL_P | CTRL_S)) { in eth_write()
145 s->regs[addr] = value & ~(CTRL_P | CTRL_S); in eth_write()
151 if (!(value & CTRL_S)) { in eth_write()
184 return !(s->regs[rxbase + R_RX_CTRL0] & CTRL_S); in eth_can_rx()
196 if (s->regs[rxbase + R_RX_CTRL0] & CTRL_S) { in eth_rx()
208 s->regs[rxbase + R_RX_CTRL0] |= CTRL_S; in eth_rx()