Home
last modified time | relevance | path

Searched refs:GLOB_CTRL (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sun/
H 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()
722 sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); in qec_init_once()
724 sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); in qec_init_once()
726 sbus_writel(GLOB_CTRL_B16, qecp->gregs + GLOB_CTRL); in qec_init_once()
786 ctrl = sbus_readl(qecp->gregs + GLOB_CTRL); in get_qec()
H A Dsunbmac.h12 #define GLOB_CTRL 0x00UL /* Control */ macro
H A Dsunqe.h12 #define GLOB_CTRL 0x00UL /* Control */ macro
H A Dsunbmac.c84 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()
112 sbus_writel(regval | GLOB_CTRL_BMODE, gregs + GLOB_CTRL); in qec_init()
1108 if ((sbus_readl(bp->gregs + GLOB_CTRL) & 0xf0000000) != GLOB_CTRL_BMODE) { in bigmac_ether_init()