Searched refs:xm_write16 (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/marvell/ |
D | skge.h | 2535 static inline void xm_write16(const struct skge_hw *hw, int port, int r, u16 v) in xm_write16() function 2543 xm_write16(hw, port, reg, (u16)hash[0] | ((u16)hash[1] << 8)); in xm_outhash() 2544 xm_write16(hw, port, reg+2, (u16)hash[2] | ((u16)hash[3] << 8)); in xm_outhash() 2545 xm_write16(hw, port, reg+4, (u16)hash[4] | ((u16)hash[5] << 8)); in xm_outhash() 2546 xm_write16(hw, port, reg+6, (u16)hash[6] | ((u16)hash[7] << 8)); in xm_outhash() 2552 xm_write16(hw, port, reg, (u16)addr[0] | ((u16)addr[1] << 8)); in xm_outaddr() 2553 xm_write16(hw, port, reg+2, (u16)addr[2] | ((u16)addr[3] << 8)); in xm_outaddr() 2554 xm_write16(hw, port, reg+4, (u16)addr[4] | ((u16)addr[5] << 8)); in xm_outaddr()
|
D | skge.c | 1070 xm_write16(hw, port, XM_IMSK, XM_IMSK_DISABLE); in xm_link_down() 1080 xm_write16(hw, port, XM_PHY_ADDR, reg | hw->phy_addr); in __xm_phy_read() 1111 xm_write16(hw, port, XM_PHY_ADDR, reg | hw->phy_addr); in xm_phy_write() 1120 xm_write16(hw, port, XM_PHY_DATA, val); in xm_phy_write() 1166 xm_write16(hw, port, XM_IMSK, XM_IMSK_DISABLE); in genesis_reset() 1168 xm_write16(hw, port, XM_TX_CMD, 0); /* reset TX CMD Reg */ in genesis_reset() 1169 xm_write16(hw, port, XM_RX_CMD, 0); /* reset RX CMD Reg */ in genesis_reset() 1173 xm_write16(hw, port, PHY_BCOM_INT_MASK, 0xffff); in genesis_reset() 1294 xm_write16(hw, port, XM_MMU_CMD, r); in bcom_phy_init() 1507 xm_write16(hw, port, XM_IMSK, msk); in xm_link_timer() [all …]
|