Home
last modified time | relevance | path

Searched refs:gregs (Results 1 – 8 of 8) sorted by relevance

/drivers/memory/
A Dfsl_ifc.c51 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) in fsl_ifc_find()
55 u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->gregs->cspr_cs[i].cspr); in fsl_ifc_find()
68 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; in fsl_ifc_ctrl_init()
98 iounmap(ctrl->gregs); in fsl_ifc_ctrl_remove()
148 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; in fsl_ifc_ctrl_irq()
218 fsl_ifc_ctrl_dev->gregs = of_iomap(dev->dev.of_node, 0); in fsl_ifc_ctrl_probe()
219 if (!fsl_ifc_ctrl_dev->gregs) { in fsl_ifc_ctrl_probe()
232 version = ifc_in32(&fsl_ifc_ctrl_dev->gregs->ifc_rev) & in fsl_ifc_ctrl_probe()
242 addr = fsl_ifc_ctrl_dev->gregs; in fsl_ifc_ctrl_probe()
302 iounmap(fsl_ifc_ctrl_dev->gregs); in fsl_ifc_ctrl_probe()
/drivers/net/ethernet/sun/
A Dsunqe.c67 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset()
69 u32 tmp = sbus_readl(gregs + GLOB_CTRL); in qec_global_reset()
146 void __iomem *gregs = qecp->gregs; in qe_init() local
173 sbus_readl(gregs + GLOB_RSIZE); in qe_init()
736 qecp->gregs + GLOB_MSIZE); in qec_init_once()
742 qecp->gregs + GLOB_TSIZE); in qec_init_once()
744 qecp->gregs + GLOB_RSIZE); in qec_init_once()
782 if (!qecp->gregs) in get_qec()
786 ctrl = sbus_readl(qecp->gregs + GLOB_CTRL); in get_qec()
793 if (qec_global_reset(qecp->gregs)) in get_qec()
[all …]
A Dsunbmac.c80 static int qec_global_reset(void __iomem *gregs) in qec_global_reset() argument
101 void __iomem *gregs = bp->gregs; in qec_init() local
117 gregs + GLOB_MSIZE); in qec_init()
121 gregs + GLOB_TSIZE); in qec_init()
123 gregs + GLOB_RSIZE); in qec_init()
622 void __iomem *gregs = bp->gregs; in bigmac_init_hw() local
632 qec_global_reset(gregs); in bigmac_init_hw()
682 sbus_writel(sbus_readl(gregs + GLOB_RSIZE), in bigmac_init_hw()
1102 if (!bp->gregs) { in bigmac_ether_init()
1114 if (qec_global_reset(bp->gregs)) in bigmac_ether_init()
[all …]
A Dsunhme.c1259 void __iomem *gregs = hp->gregs; in happy_meal_init() local
1279 happy_meal_stop(hp, gregs); in happy_meal_init()
1421 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init()
1430 hme_write32(hp, gregs + GREG_CFG, 0); in happy_meal_init()
1438 hme_write32(hp, gregs + GREG_IMASK, in happy_meal_init()
1536 void __iomem *gregs = hp->gregs; in happy_meal_set_initial_advertisement() local
1538 happy_meal_stop(hp, gregs); in happy_meal_set_initial_advertisement()
1921 happy_meal_stop(hp, hp->gregs); in happy_meal_close()
2534 if (IS_ERR(hp->gregs)) { in happy_meal_sbus_probe_one()
2536 err = PTR_ERR(hp->gregs); in happy_meal_sbus_probe_one()
[all …]
A Dsunbmac.h290 void __iomem *gregs; /* QEC Global Registers */ member
A Dsunqe.h315 void __iomem *gregs; /* QEC Global Registers */ member
A Dsunhme.h402 void __iomem *gregs; /* Happy meal global registers */ member
/drivers/mtd/nand/raw/
A Dfsl_ifc_nand.c711 struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; in fsl_ifc_attach_chip()
781 struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; in fsl_ifc_sram_init()
857 struct fsl_ifc_global __iomem *ifc_global = ctrl->gregs; in fsl_ifc_chip_init()
1005 if (match_bank(fsl_ifc_ctrl_dev->gregs, bank, res.start)) in fsl_ifc_nand_probe()

Completed in 25 milliseconds