Lines Matching refs:erxregs
1425 void __iomem *erxregs = hp->erxregs; in happy_meal_init() local
1554 hme_write32(hp, erxregs + ERX_RING, in happy_meal_init()
1564 if (hme_read32(hp, erxregs + ERX_RING) != in happy_meal_init()
1566 hme_write32(hp, erxregs + ERX_RING, in happy_meal_init()
1638 hme_read32(hp, erxregs + ERX_CFG))); in happy_meal_init()
1639 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1640 regtmp = hme_read32(hp, erxregs + ERX_CFG); in happy_meal_init()
1641 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1642 if (hme_read32(hp, erxregs + ERX_CFG) != ERX_CFG_DEFAULT(RX_OFFSET)) { in happy_meal_init()
2764 hp->erxregs = of_ioremap(&op->resource[2], 0, in happy_meal_sbus_probe_one()
2766 if (!hp->erxregs) { in happy_meal_sbus_probe_one()
2877 if (hp->erxregs) in happy_meal_sbus_probe_one()
2878 of_iounmap(&op->resource[2], hp->erxregs, ERX_REG_SIZE); in happy_meal_sbus_probe_one()
3091 hp->erxregs = (hpreg_base + 0x4000UL); in happy_meal_pci_probe()
3293 of_iounmap(&op->resource[2], hp->erxregs, ERX_REG_SIZE); in hme_sbus_remove()