Searched refs:gregs (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/sun/ |
D | sunqe.c | 62 static inline int qec_global_reset(void __iomem *gregs) in qec_global_reset() argument 66 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset() 68 u32 tmp = sbus_readl(gregs + GLOB_CTRL); in qec_global_reset() 145 void __iomem *gregs = qecp->gregs; in qe_init() local 166 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); in qe_init() 171 sbus_readl(gregs + GLOB_RSIZE); in qe_init() 473 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt() 720 sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); in qec_init_once() 722 sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); in qec_init_once() 724 sbus_writel(GLOB_CTRL_B16, qecp->gregs + GLOB_CTRL); in qec_init_once() [all …]
|
D | sunbmac.c | 80 static int qec_global_reset(void __iomem *gregs) in qec_global_reset() argument 84 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset() 86 if (sbus_readl(gregs + GLOB_CTRL) & GLOB_CTRL_RESET) { in qec_global_reset() 101 void __iomem *gregs = bp->gregs; in qec_init() local 112 sbus_writel(regval | GLOB_CTRL_BMODE, gregs + GLOB_CTRL); in qec_init() 113 sbus_writel(GLOB_PSIZE_2048, gregs + GLOB_PSIZE); in qec_init() 117 gregs + GLOB_MSIZE); in qec_init() 121 gregs + GLOB_TSIZE); in qec_init() 123 gregs + GLOB_RSIZE); in qec_init() 624 void __iomem *gregs = bp->gregs; in bigmac_init_hw() local [all …]
|
D | sunhme.c | 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() 1416 void __iomem *gregs = hp->gregs; in happy_meal_init() local 1441 happy_meal_stop(hp, gregs); in happy_meal_init() 1565 hme_read32(hp, gregs + GREG_CFG))); in happy_meal_init() 1569 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); in happy_meal_init() 1595 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init() 1598 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); in happy_meal_init() 1601 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST16); in happy_meal_init() [all …]
|
D | sunbmac.h | 289 void __iomem *gregs; /* QEC Global Registers */ member
|
D | sunqe.h | 314 void __iomem *gregs; /* QEC Global Registers */ member
|
D | sunhme.h | 401 void __iomem *gregs; /* Happy meal global registers */ member
|