Searched refs:xm_write16 (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/marvell/ |
D | skge.h | 2530 static inline void xm_write16(const struct skge_hw *hw, int port, int r, u16 v) in xm_write16() function 2538 xm_write16(hw, port, reg, (u16)hash[0] | ((u16)hash[1] << 8)); in xm_outhash() 2539 xm_write16(hw, port, reg+2, (u16)hash[2] | ((u16)hash[3] << 8)); in xm_outhash() 2540 xm_write16(hw, port, reg+4, (u16)hash[4] | ((u16)hash[5] << 8)); in xm_outhash() 2541 xm_write16(hw, port, reg+6, (u16)hash[6] | ((u16)hash[7] << 8)); in xm_outhash() 2547 xm_write16(hw, port, reg, (u16)addr[0] | ((u16)addr[1] << 8)); in xm_outaddr() 2548 xm_write16(hw, port, reg+2, (u16)addr[2] | ((u16)addr[3] << 8)); in xm_outaddr() 2549 xm_write16(hw, port, reg+4, (u16)addr[4] | ((u16)addr[5] << 8)); in xm_outaddr()
|
D | skge.c | 1086 xm_write16(hw, port, XM_IMSK, XM_IMSK_DISABLE); in xm_link_down() 1096 xm_write16(hw, port, XM_PHY_ADDR, reg | hw->phy_addr); in __xm_phy_read() 1127 xm_write16(hw, port, XM_PHY_ADDR, reg | hw->phy_addr); in xm_phy_write() 1136 xm_write16(hw, port, XM_PHY_DATA, val); in xm_phy_write() 1182 xm_write16(hw, port, XM_IMSK, XM_IMSK_DISABLE); in genesis_reset() 1184 xm_write16(hw, port, XM_TX_CMD, 0); /* reset TX CMD Reg */ in genesis_reset() 1185 xm_write16(hw, port, XM_RX_CMD, 0); /* reset RX CMD Reg */ in genesis_reset() 1189 xm_write16(hw, port, PHY_BCOM_INT_MASK, 0xffff); in genesis_reset() 1310 xm_write16(hw, port, XM_MMU_CMD, r); in bcom_phy_init() 1523 xm_write16(hw, port, XM_IMSK, msk); in xm_link_timer() [all …]
|