Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/
H A Dskge.h2552 #define SK_GMAC_REG(port,reg) \ macro
2557 return skge_read16(hw, SK_GMAC_REG(port,reg)); in gma_read16()
2562 return (u32) skge_read16(hw, SK_GMAC_REG(port,reg)) in gma_read32()
2563 | ((u32)skge_read16(hw, SK_GMAC_REG(port,reg+4)) << 16); in gma_read32()
2568 skge_write16(hw, SK_GMAC_REG(port,r), v); in gma_write16()
H A Dsky2.h2346 #define SK_GMAC_REG(port,reg) \ macro
2352 return sky2_read16(hw, SK_GMAC_REG(port,reg)); in gma_read16()
2357 unsigned base = SK_GMAC_REG(port, reg); in gma_read32()
2364 unsigned base = SK_GMAC_REG(port, reg); in gma_read64()
2397 sky2_write16(hw, SK_GMAC_REG(port,r), v); in gma_write16()