Lines Matching refs:maccr
52 uint32_t maccr; member
123 uint32_t maccr; in ftmac110_phyqry() local
128 maccr = MACCR_100M | MACCR_FD; in ftmac110_phyqry()
169 maccr = MACCR_100M | MACCR_FD; in ftmac110_phyqry()
171 maccr = MACCR_100M; in ftmac110_phyqry()
173 maccr = MACCR_FD; in ftmac110_phyqry()
175 maccr = 0; in ftmac110_phyqry()
178 maccr = MACCR_100M; in ftmac110_phyqry()
180 maccr = 0; in ftmac110_phyqry()
182 maccr |= MACCR_FD; in ftmac110_phyqry()
187 (maccr & MACCR_100M) ? 100 : 10, in ftmac110_phyqry()
188 (maccr & MACCR_FD) ? "Full" : "half"); in ftmac110_phyqry()
189 return maccr; in ftmac110_phyqry()
195 uint32_t i, maccr; in ftmac110_reset() local
200 writel(MACCR_RESET, ®s->maccr); in ftmac110_reset()
202 if (readl(®s->maccr) & MACCR_RESET) in ftmac110_reset()
206 if (readl(®s->maccr) & MACCR_RESET) { in ftmac110_reset()
227 maccr = ftmac110_phyqry(dev); in ftmac110_reset()
230 chip->maccr = maccr | MACCR_CRCAPD | MACCR_RXALL | MACCR_RXRUNT in ftmac110_reset()
253 writel(chip->maccr, ®s->maccr); in ftmac110_reset()
274 writel(0, ®s->maccr); in ftmac110_halt()