Lines Matching refs:ftmac100
36 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in ftmac100_reset() local
40 writel (FTMAC100_MACCR_SW_RST, &ftmac100->maccr); in ftmac100_reset()
42 while (readl (&ftmac100->maccr) & FTMAC100_MACCR_SW_RST) in ftmac100_reset()
52 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in ftmac100_set_mac() local
58 writel (maddr, &ftmac100->mac_madr); in ftmac100_set_mac()
59 writel (laddr, &ftmac100->mac_ladr); in ftmac100_set_mac()
67 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_halt() local
69 writel (0, &ftmac100->maccr); in _ftmac100_halt()
77 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_init() local
93 writel (0, &ftmac100->imr); in _ftmac100_init()
111 writel ((unsigned int)txdes, &ftmac100->txr_badr); in _ftmac100_init()
115 writel ((unsigned int)rxdes, &ftmac100->rxr_badr); in _ftmac100_init()
119 writel (FTMAC100_APTC_RXPOLL_CNT (1), &ftmac100->aptc); in _ftmac100_init()
132 writel (maccr, &ftmac100->maccr); in _ftmac100_init()
184 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_send() local
210 writel (1, &ftmac100->txpd); in _ftmac100_send()
429 U_BOOT_DRIVER(ftmac100) = {