Home
last modified time | relevance | path

Searched refs:MGMT_PAL_INT_MDIO (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c254 #define MGMT_CLKOFF (MGMT_PAL_INT_MDIO|MGMT_PAL_EXT_MDIO|MGMT_PAL_OENAB)
280 sbus_writel(bit | MGMT_PAL_INT_MDIO | MGMT_PAL_OENAB, in write_tcvr_bit()
301 retval = (sbus_readl(tregs + TCVR_MPAL) & MGMT_PAL_INT_MDIO) >> 3; in read_tcvr_bit()
303 sbus_writel(MGMT_PAL_INT_MDIO, tregs + TCVR_MPAL); in read_tcvr_bit()
305 sbus_writel(MGMT_PAL_INT_MDIO | MGMT_PAL_DCLOCK, tregs + TCVR_MPAL); in read_tcvr_bit()
321 retval = (sbus_readl(tregs + TCVR_MPAL) & MGMT_PAL_INT_MDIO) >> 3; in read_tcvr_bit2()
325 sbus_writel(MGMT_PAL_INT_MDIO, tregs + TCVR_MPAL); in read_tcvr_bit2()
328 sbus_writel(MGMT_PAL_INT_MDIO | MGMT_PAL_DCLOCK, tregs + TCVR_MPAL); in read_tcvr_bit2()
460 sbus_writel(MGMT_PAL_INT_MDIO | MGMT_PAL_EXT_MDIO | MGMT_PAL_DCLOCK, in bigmac_tcvr_init()
467 sbus_writel(MGMT_PAL_INT_MDIO | MGMT_PAL_EXT_MDIO, tregs + TCVR_MPAL); in bigmac_tcvr_init()
[all …]
H A Dsunbmac.h221 #define MGMT_PAL_INT_MDIO MGMT_PAL_TIMEO macro