Lines Matching refs:maccr
258 unsigned int maccr; in ftgmac100_update_link_speed() local
271 maccr = readl(&ftgmac100->maccr) & in ftgmac100_update_link_speed()
279 maccr |= FTGMAC100_MACCR_GIGA_MODE | FTGMAC100_MACCR_FULLDUP; in ftgmac100_update_link_speed()
284 maccr |= FTGMAC100_MACCR_GIGA_MODE; in ftgmac100_update_link_speed()
290 maccr |= FTGMAC100_MACCR_FAST_MODE | FTGMAC100_MACCR_FULLDUP; in ftgmac100_update_link_speed()
295 maccr |= FTGMAC100_MACCR_FULLDUP; in ftgmac100_update_link_speed()
300 maccr |= FTGMAC100_MACCR_FAST_MODE; in ftgmac100_update_link_speed()
310 writel(maccr, &ftgmac100->maccr); in ftgmac100_update_link_speed()
324 writel(FTGMAC100_MACCR_SW_RST, &ftgmac100->maccr); in ftgmac100_reset()
326 while (readl(&ftgmac100->maccr) & FTGMAC100_MACCR_SW_RST) in ftgmac100_reset()
362 writel(0, &ftgmac100->maccr); in ftgmac100_halt()
371 unsigned int maccr; in ftgmac100_init() local
445 maccr = FTGMAC100_MACCR_TXMAC_EN | in ftgmac100_init()
454 writel(maccr, &ftgmac100->maccr); in ftgmac100_init()