Home
last modified time | relevance | path

Searched refs:maccr (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/net/
Dftmac110.c52 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()
[all …]
Dftgmac100.c258 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()
[all …]
Dftmac100.c39 writel (FTMAC100_MACCR_SW_RST, &ftmac100->maccr); in ftmac100_reset()
41 while (readl (&ftmac100->maccr) & FTMAC100_MACCR_SW_RST) in ftmac100_reset()
73 writel (0, &ftmac100->maccr); in _ftmac100_halt()
84 unsigned int maccr; in _ftmac100_init() local
126 maccr = FTMAC100_MACCR_XMT_EN | in _ftmac100_init()
135 writel (maccr, &ftmac100->maccr); in _ftmac100_init()
Dftmac100.h29 unsigned int maccr; /* 0x88 */ member
Dftmac110.h27 uint32_t maccr; /* 0x88: MAC Control Register */ member
Dftgmac100.h37 unsigned int maccr; /* 0x50 */ member