Lines Matching refs:gregs

835 static void happy_meal_stop(struct happy_meal *hp, void __iomem *gregs)  in happy_meal_stop()  argument
842 hme_write32(hp, gregs + GREG_SWRESET, GREG_RESET_ALL); in happy_meal_stop()
843 while (hme_read32(hp, gregs + GREG_SWRESET) && --tries) in happy_meal_stop()
1326 void __iomem *gregs = hp->gregs; in happy_meal_init() local
1350 happy_meal_stop(hp, gregs); in happy_meal_init()
1471 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); in happy_meal_init()
1497 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init()
1500 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); in happy_meal_init()
1503 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST16); in happy_meal_init()
1506 hme_write32(hp, gregs + GREG_CFG, 0); in happy_meal_init()
1511 hme_read32(hp, gregs + GREG_CFG), bursts); in happy_meal_init()
1514 hme_write32(hp, gregs + GREG_IMASK, in happy_meal_init()
1612 void __iomem *gregs = hp->gregs; in happy_meal_set_initial_advertisement() local
1614 happy_meal_stop(hp, gregs); in happy_meal_set_initial_advertisement()
1972 u32 happy_status = hme_read32(hp, hp->gregs + GREG_STAT); in happy_meal_interrupt()
2008 u32 happy_status = hme_read32(hp, hp->gregs + GREG_STAT); in quattro_sbus_interrupt()
2077 happy_meal_stop(hp, hp->gregs); in happy_meal_close()
2102 hme_read32(hp, hp->gregs + GREG_STAT), in happy_meal_tx_timeout()
2595 hp->gregs = of_ioremap(&op->resource[0], 0, in happy_meal_sbus_probe_one()
2597 if (!hp->gregs) { in happy_meal_sbus_probe_one()
2716 if (hp->gregs) in happy_meal_sbus_probe_one()
2717 of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); in happy_meal_sbus_probe_one()
2945 hp->gregs = (hpreg_base + 0x0000UL); in happy_meal_pci_probe()
3119 of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); in hme_sbus_remove()