• Home
  • Raw
  • Download

Lines Matching refs:gregs

914 static void happy_meal_stop(struct happy_meal *hp, void __iomem *gregs)  in happy_meal_stop()  argument
921 hme_write32(hp, gregs + GREG_SWRESET, GREG_RESET_ALL); in happy_meal_stop()
922 while (hme_read32(hp, gregs + GREG_SWRESET) && --tries) in happy_meal_stop()
1422 void __iomem *gregs = hp->gregs; in happy_meal_init() local
1447 happy_meal_stop(hp, gregs); in happy_meal_init()
1571 hme_read32(hp, gregs + GREG_CFG))); in happy_meal_init()
1575 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); in happy_meal_init()
1601 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init()
1604 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); in happy_meal_init()
1607 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST16); in happy_meal_init()
1610 hme_write32(hp, gregs + GREG_CFG, 0); in happy_meal_init()
1616 hme_write32(hp, gregs + GREG_IMASK, in happy_meal_init()
1714 void __iomem *gregs = hp->gregs; in happy_meal_set_initial_advertisement() local
1716 happy_meal_stop(hp, gregs); in happy_meal_set_initial_advertisement()
2101 u32 happy_status = hme_read32(hp, hp->gregs + GREG_STAT); in happy_meal_interrupt()
2144 u32 happy_status = hme_read32(hp, hp->gregs + GREG_STAT); in quattro_sbus_interrupt()
2224 happy_meal_stop(hp, hp->gregs); in happy_meal_close()
2255 hme_read32(hp, hp->gregs + GREG_STAT), in happy_meal_tx_timeout()
2753 hp->gregs = of_ioremap(&op->resource[0], 0, in happy_meal_sbus_probe_one()
2755 if (!hp->gregs) { in happy_meal_sbus_probe_one()
2876 if (hp->gregs) in happy_meal_sbus_probe_one()
2877 of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); in happy_meal_sbus_probe_one()
3092 hp->gregs = (hpreg_base + 0x0000UL); in happy_meal_pci_probe()
3200 iounmap(hp->gregs); in happy_meal_pci_probe()
3224 iounmap(hp->gregs); in happy_meal_pci_remove()
3294 of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); in hme_sbus_remove()