Searched refs:gma_write16 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 155 gma_write16(hw, port, GM_SMI_DATA, val); in gm_phy_write() 156 gma_write16(hw, port, GM_SMI_CTRL, in gm_phy_write() 182 gma_write16(hw, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD(PHY_ADDR_MARV) in __gm_phy_read() 291 gma_write16(hw, port, GM_MC_ADDR_H1, 0); /* clear MC hash */ in sky2_gmac_reset() 292 gma_write16(hw, port, GM_MC_ADDR_H2, 0); in sky2_gmac_reset() 293 gma_write16(hw, port, GM_MC_ADDR_H3, 0); in sky2_gmac_reset() 294 gma_write16(hw, port, GM_MC_ADDR_H4, 0); in sky2_gmac_reset() 298 gma_write16(hw, port, GM_RX_CTRL, reg); in sky2_gmac_reset() 483 gma_write16(hw, port, GM_GP_CTRL, reg); in sky2_phy_init() 742 gma_write16(hw, port, GM_GP_CTRL, in sky2_phy_power_down() [all …]
|
H A D | skge.h | 2566 static inline void gma_write16(const struct skge_hw *hw, int port, int r, u16 v) in gma_write16() function 2574 gma_write16(hw, port, reg, (u16) addr[0] | ((u16) addr[1] << 8)); in gma_set_addr() 2575 gma_write16(hw, port, reg+4,(u16) addr[2] | ((u16) addr[3] << 8)); in gma_set_addr() 2576 gma_write16(hw, port, reg+8,(u16) addr[4] | ((u16) addr[5] << 8)); in gma_set_addr()
|
H A D | sky2.h | 2395 static inline void gma_write16(const struct sky2_hw *hw, unsigned port, int r, u16 v) in gma_write16() function 2403 gma_write16(hw, port, reg, (u16) addr[0] | ((u16) addr[1] << 8)); in gma_set_addr() 2404 gma_write16(hw, port, reg+4,(u16) addr[2] | ((u16) addr[3] << 8)); in gma_set_addr() 2405 gma_write16(hw, port, reg+8,(u16) addr[4] | ((u16) addr[5] << 8)); in gma_set_addr()
|