Searched refs:skge_read16 (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/marvell/ |
D | skge.h | 2481 static inline u16 skge_read16(const struct skge_hw *hw, int reg) in skge_read16() function 2514 v = skge_read16(hw, SK_XMAC_REG(port, reg)); in xm_read32() 2515 v |= (u32)skge_read16(hw, SK_XMAC_REG(port, reg+2)) << 16; in xm_read32() 2521 return skge_read16(hw, SK_XMAC_REG(port,reg)); in xm_read16() 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()
|
D | skge.c | 1545 if (skge_read16(hw, SK_REG(port, TX_MFF_CTRL1)) & MFF_SET_MAC_RST) in genesis_mac_init() 1713 if (!(skge_read16(hw, SK_REG(port, TX_MFF_CTRL1)) & MFF_SET_MAC_RST)) in genesis_stop() 2142 skge_read16(hw, SK_REG(port, GMAC_IRQ_SRC)); in yukon_mac_init() 2525 if ((skge_read16(hw, B0_CTST) & (CS_BUS_CLOCK | CS_BUS_SLOT_SZ)) == 0) in skge_qset() 3528 ctst = skge_read16(hw, B0_CTST); in skge_reset()
|