Lines Matching refs:maccr
263 int max = (s->maccr & FTGMAC100_MACCR_JUMBO_LF ? 9216 : 1518); in ftgmac100_max_frame_size()
647 if ((s->maccr & (FTGMAC100_MACCR_RXDMA_EN | FTGMAC100_MACCR_RXMAC_EN)) in ftgmac100_can_receive()
677 uint32_t speed = (s->maccr & FTGMAC100_MACCR_FAST_MODE) ? 1 : 0; in ftgmac100_rxpoll()
683 if (s->maccr & FTGMAC100_MACCR_GIGA_MODE) { in ftgmac100_rxpoll()
711 s->maccr &= FTGMAC100_MACCR_GIGA_MODE | FTGMAC100_MACCR_FAST_MODE; in ftgmac100_do_reset()
713 s->maccr = 0; in ftgmac100_do_reset()
765 return s->maccr; in ftgmac100_read()
841 if ((s->maccr & (FTGMAC100_MACCR_TXDMA_EN | FTGMAC100_MACCR_TXMAC_EN)) in ftgmac100_write()
870 s->maccr = value; in ftgmac100_write()
994 if (s->maccr & FTGMAC100_MACCR_RX_ALL) { in ftgmac100_filter()
1000 if (!(s->maccr & FTGMAC100_MACCR_RX_BROADPKT)) { in ftgmac100_filter()
1005 if (!(s->maccr & FTGMAC100_MACCR_RX_MULTIPKT)) { in ftgmac100_filter()
1006 if (!(s->maccr & FTGMAC100_MACCR_HT_MULTI_EN)) { in ftgmac100_filter()
1043 if ((s->maccr & (FTGMAC100_MACCR_RXDMA_EN | FTGMAC100_MACCR_RXMAC_EN)) in ftgmac100_receive()
1109 if (s->maccr & FTGMAC100_MACCR_RM_VLAN) { in ftgmac100_receive()
1239 VMSTATE_UINT32(maccr, FTGMAC100State),