Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/allwinner/
H A Dsun4i-emac.h21 #define EMAC_CTL_RX_EN (1 << 2) macro
H A Dsun4i-emac.c504 writel(reg_val | EMAC_CTL_RESET | EMAC_CTL_TX_EN | EMAC_CTL_RX_EN, in emac_init_device()
657 writel(reg_val & ~EMAC_CTL_RX_EN, in emac_rx()
671 writel(reg_val | EMAC_CTL_RX_EN, in emac_rx()
869 reg_val &= ~(EMAC_CTL_TX_EN | EMAC_CTL_RX_EN | EMAC_CTL_RESET); in emac_shutdown()
/openbmc/qemu/include/hw/net/
H A Dallwinner_emac.h97 #define EMAC_CTL_RX_EN (1 << 2) macro
/openbmc/qemu/hw/net/
H A Dallwinner_emac.c189 return (s->ctl & EMAC_CTL_RX_EN) && (fifo8_num_free(&s->rx_fifo) >= 1532); in aw_emac_can_receive()
203 if (!(s->ctl & EMAC_CTL_RX_EN) || (fifo8_num_free(fifo) < total_size)) { in aw_emac_receive()