maccr             112 drivers/net/ethernet/faraday/ftgmac100.c static int ftgmac100_reset_mac(struct ftgmac100 *priv, u32 maccr)
maccr             118 drivers/net/ethernet/faraday/ftgmac100.c 	iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR);
maccr             119 drivers/net/ethernet/faraday/ftgmac100.c 	iowrite32(maccr | FTGMAC100_MACCR_SW_RST,
maccr             122 drivers/net/ethernet/faraday/ftgmac100.c 		unsigned int maccr;
maccr             124 drivers/net/ethernet/faraday/ftgmac100.c 		maccr = ioread32(priv->base + FTGMAC100_OFFSET_MACCR);
maccr             125 drivers/net/ethernet/faraday/ftgmac100.c 		if (!(maccr & FTGMAC100_MACCR_SW_RST))
maccr             137 drivers/net/ethernet/faraday/ftgmac100.c 	u32 maccr = 0;
maccr             145 drivers/net/ethernet/faraday/ftgmac100.c 		maccr |= FTGMAC100_MACCR_FAST_MODE;
maccr             149 drivers/net/ethernet/faraday/ftgmac100.c 		maccr |= FTGMAC100_MACCR_GIGA_MODE;
maccr             163 drivers/net/ethernet/faraday/ftgmac100.c 	if (ftgmac100_reset_mac(priv, maccr))
maccr             166 drivers/net/ethernet/faraday/ftgmac100.c 	return ftgmac100_reset_mac(priv, maccr);
maccr             308 drivers/net/ethernet/faraday/ftgmac100.c 	u32 maccr = ioread32(priv->base + FTGMAC100_OFFSET_MACCR);
maccr             311 drivers/net/ethernet/faraday/ftgmac100.c 	maccr &= (FTGMAC100_MACCR_FAST_MODE | FTGMAC100_MACCR_GIGA_MODE);
maccr             314 drivers/net/ethernet/faraday/ftgmac100.c 	maccr |= FTGMAC100_MACCR_TXDMA_EN	|
maccr             325 drivers/net/ethernet/faraday/ftgmac100.c 		maccr |= FTGMAC100_MACCR_FULLDUP;
maccr             327 drivers/net/ethernet/faraday/ftgmac100.c 		maccr |= FTGMAC100_MACCR_RX_ALL;
maccr             329 drivers/net/ethernet/faraday/ftgmac100.c 		maccr |= FTGMAC100_MACCR_RX_MULTIPKT;
maccr             331 drivers/net/ethernet/faraday/ftgmac100.c 		maccr |= FTGMAC100_MACCR_HT_MULTI_EN;
maccr             335 drivers/net/ethernet/faraday/ftgmac100.c 		maccr |= FTGMAC100_MACCR_RM_VLAN;
maccr             338 drivers/net/ethernet/faraday/ftgmac100.c 	iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR);
maccr            1567 drivers/net/ethernet/faraday/ftgmac100.c 		u32 maccr;
maccr            1569 drivers/net/ethernet/faraday/ftgmac100.c 		maccr = ioread32(priv->base + FTGMAC100_OFFSET_MACCR);
maccr            1571 drivers/net/ethernet/faraday/ftgmac100.c 			maccr |= FTGMAC100_MACCR_RM_VLAN;
maccr            1573 drivers/net/ethernet/faraday/ftgmac100.c 			maccr &= ~FTGMAC100_MACCR_RM_VLAN;
maccr            1574 drivers/net/ethernet/faraday/ftgmac100.c 		iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR);
maccr             122 drivers/net/ethernet/faraday/ftmac100.c 		unsigned int maccr;
maccr             124 drivers/net/ethernet/faraday/ftmac100.c 		maccr = ioread32(priv->base + FTMAC100_OFFSET_MACCR);
maccr             125 drivers/net/ethernet/faraday/ftmac100.c 		if (!(maccr & FTMAC100_MACCR_SW_RST)) {