Lines Matching refs:eth_regs
105 struct eth_regs *eth_regs;
302 writel(0, &lp->eth_regs->miimcfg);
303 writel(0, &lp->eth_regs->miimcmd);
304 writel(mii_id | reg, &lp->eth_regs->miimaddr);
305 writel(ETH_MII_CMD_SCN, &lp->eth_regs->miimcmd);
307 ret = (int)(readl(&lp->eth_regs->miimrdd));
317 writel(0, &lp->eth_regs->miimcfg);
318 writel(1, &lp->eth_regs->miimcmd);
319 writel(mii_id | reg, &lp->eth_regs->miimaddr);
320 writel(ETH_MII_CMD_SCN, &lp->eth_regs->miimcmd);
321 writel(val, &lp->eth_regs->miimwtd);
521 &lp->eth_regs->ethhash0);
523 &lp->eth_regs->ethhash1);
527 writel(recognise, &lp->eth_regs->etharc);
657 writel(readl(&lp->eth_regs->ethmac2) | ETH_MAC2_FD,
658 &lp->eth_regs->ethmac2);
660 writel(readl(&lp->eth_regs->ethmac2) & ~ETH_MAC2_FD,
661 &lp->eth_regs->ethmac2);
824 writel(0, &lp->eth_regs->ethintfc);
825 while ((readl(&lp->eth_regs->ethintfc) & ETH_INT_FC_RIP))
829 writel(ETH_INT_FC_EN, &lp->eth_regs->ethintfc);
850 writel(ETH_ARC_AB, &lp->eth_regs->etharc);
853 writel(STATION_ADDRESS_LOW(dev), &lp->eth_regs->ethsal0);
854 writel(STATION_ADDRESS_HIGH(dev), &lp->eth_regs->ethsah0);
856 writel(STATION_ADDRESS_LOW(dev), &lp->eth_regs->ethsal1);
857 writel(STATION_ADDRESS_HIGH(dev), &lp->eth_regs->ethsah1);
859 writel(STATION_ADDRESS_LOW(dev), &lp->eth_regs->ethsal2);
860 writel(STATION_ADDRESS_HIGH(dev), &lp->eth_regs->ethsah2);
862 writel(STATION_ADDRESS_LOW(dev), &lp->eth_regs->ethsal3);
863 writel(STATION_ADDRESS_HIGH(dev), &lp->eth_regs->ethsah3);
868 &lp->eth_regs->ethmac2);
871 writel(0x15, &lp->eth_regs->ethipgt);
873 writel(0x12, &lp->eth_regs->ethipgr);
878 &lp->eth_regs->ethmcp);
881 writel(48, &lp->eth_regs->ethfifott);
883 writel(ETH_MAC1_RE, &lp->eth_regs->ethmac1);
936 writel(value, &lp->eth_regs->ethintfc);
949 und = readl(&lp->eth_regs->ethintfc);
975 ovr = readl(&lp->eth_regs->ethintfc);
1134 lp->eth_regs = ioremap_nocache(r->start, resource_size(r));
1135 if (!lp->eth_regs) {
1211 iounmap(lp->eth_regs);
1222 iounmap(lp->eth_regs);