Lines Matching refs:ftmac100
35 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in ftmac100_reset() local
39 writel (FTMAC100_MACCR_SW_RST, &ftmac100->maccr); in ftmac100_reset()
41 while (readl (&ftmac100->maccr) & FTMAC100_MACCR_SW_RST) in ftmac100_reset()
56 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in ftmac100_set_mac() local
62 writel (maddr, &ftmac100->mac_madr); in ftmac100_set_mac()
63 writel (laddr, &ftmac100->mac_ladr); in ftmac100_set_mac()
71 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_halt() local
73 writel (0, &ftmac100->maccr); in _ftmac100_halt()
81 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_init() local
96 writel (0, &ftmac100->imr); in _ftmac100_init()
114 writel ((unsigned long)txdes, &ftmac100->txr_badr); in _ftmac100_init()
118 writel ((unsigned long)rxdes, &ftmac100->rxr_badr); in _ftmac100_init()
122 writel (FTMAC100_APTC_RXPOLL_CNT (1), &ftmac100->aptc); in _ftmac100_init()
135 writel (maccr, &ftmac100->maccr); in _ftmac100_init()
186 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_send() local
213 writel (1, &ftmac100->txpd); in _ftmac100_send()
432 U_BOOT_DRIVER(ftmac100) = {