Lines Matching refs:maccr
123 unsigned int maccr; in ftmac100_reset() local
125 maccr = ioread32(priv->base + FTMAC100_OFFSET_MACCR); in ftmac100_reset()
126 if (!(maccr & FTMAC100_MACCR_SW_RST)) { in ftmac100_reset()
167 static void ftmac100_set_rx_bits(struct ftmac100 *priv, unsigned int *maccr) in ftmac100_set_rx_bits() argument
172 *maccr &= ~(FTMAC100_MACCR_RCV_ALL | FTMAC100_MACCR_RX_MULTIPKT | in ftmac100_set_rx_bits()
177 *maccr |= FTMAC100_MACCR_RCV_ALL; in ftmac100_set_rx_bits()
179 *maccr |= FTMAC100_MACCR_RX_MULTIPKT; in ftmac100_set_rx_bits()
181 *maccr |= FTMAC100_MACCR_HT_MULTI_EN; in ftmac100_set_rx_bits()
198 unsigned int maccr = MACCR_ENABLE_ALL; in ftmac100_start_hw() local
217 maccr |= FTMAC100_MACCR_RX_FTL; in ftmac100_start_hw()
219 ftmac100_set_rx_bits(priv, &maccr); in ftmac100_start_hw()
221 iowrite32(maccr, priv->base + FTMAC100_OFFSET_MACCR); in ftmac100_start_hw()
1081 unsigned int maccr; in ftmac100_change_mtu() local
1083 maccr = ioread32(priv->base + FTMAC100_OFFSET_MACCR); in ftmac100_change_mtu()
1086 maccr |= FTMAC100_MACCR_RX_FTL; in ftmac100_change_mtu()
1091 maccr &= ~FTMAC100_MACCR_RX_FTL; in ftmac100_change_mtu()
1093 iowrite32(maccr, priv->base + FTMAC100_OFFSET_MACCR); in ftmac100_change_mtu()
1103 unsigned int maccr = ioread32(priv->base + FTMAC100_OFFSET_MACCR); in ftmac100_set_rx_mode() local
1105 ftmac100_set_rx_bits(priv, &maccr); in ftmac100_set_rx_mode()
1106 iowrite32(maccr, priv->base + FTMAC100_OFFSET_MACCR); in ftmac100_set_rx_mode()