Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dstellaris_enet.c67 uint32_t tctl; member
140 VMSTATE_UINT32(tctl, stellaris_enet_state),
178 if (!(s->tctl & SE_TCTL_CRC)) { in stellaris_txpacket_complete()
209 if ((s->tctl & SE_TCTL_PADEN) && framelen < 60) { in stellaris_enet_send()
299 return s->tctl; in stellaris_enet_read()
388 s->tctl = value; in stellaris_enet_write()
/openbmc/u-boot/drivers/net/
H A De1000.c3496 uint32_t tctl, coll_dist; in e1000_config_collision_dist() local
3505 tctl = E1000_READ_REG(hw, TCTL); in e1000_config_collision_dist()
3507 tctl &= ~E1000_TCTL_COLD; in e1000_config_collision_dist()
3508 tctl |= coll_dist << E1000_COLD_SHIFT; in e1000_config_collision_dist()
3510 E1000_WRITE_REG(hw, TCTL, tctl); in e1000_config_collision_dist()
5169 unsigned long tctl; in e1000_configure_tx() local
5212 tctl = E1000_READ_REG(hw, TCTL); in e1000_configure_tx()
5213 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
5214 tctl |= E1000_TCTL_EN | E1000_TCTL_PSP | in e1000_configure_tx()
5254 E1000_WRITE_REG(hw, TCTL, tctl); in e1000_configure_tx()