Lines Matching refs:erxregs
1261 void __iomem *erxregs = hp->erxregs; in happy_meal_init() local
1376 hme_write32(hp, erxregs + ERX_RING, in happy_meal_init()
1386 if (hme_read32(hp, erxregs + ERX_RING) != in happy_meal_init()
1388 hme_write32(hp, erxregs + ERX_RING, in happy_meal_init()
1458 hme_read32(hp, erxregs + ERX_CFG)); in happy_meal_init()
1459 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1460 regtmp = hme_read32(hp, erxregs + ERX_CFG); in happy_meal_init()
1461 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1462 if (hme_read32(hp, erxregs + ERX_CFG) != ERX_CFG_DEFAULT(RX_OFFSET)) { in happy_meal_init()
2547 hp->erxregs = devm_platform_ioremap_resource(op, 2); in happy_meal_sbus_probe_one()
2548 if (IS_ERR(hp->erxregs)) { in happy_meal_sbus_probe_one()
2550 err = PTR_ERR(hp->erxregs); in happy_meal_sbus_probe_one()
2701 hp->erxregs = (hpreg_base + 0x4000UL); in happy_meal_pci_probe()