Searched refs:gma_write16 (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | skge.c | 217 gma_write16(hw, port, GM_GP_CTRL, in skge_wol_init() 1896 gma_write16(hw, port, GM_SMI_DATA, val); in gm_phy_write() 1897 gma_write16(hw, port, GM_SMI_CTRL, in gm_phy_write() 1914 gma_write16(hw, port, GM_SMI_CTRL, in __gm_phy_read() 2029 gma_write16(hw, port, GM_MC_ADDR_H1, 0); /* clear MC hash */ in yukon_reset() 2030 gma_write16(hw, port, GM_MC_ADDR_H2, 0); in yukon_reset() 2031 gma_write16(hw, port, GM_MC_ADDR_H3, 0); in yukon_reset() 2032 gma_write16(hw, port, GM_MC_ADDR_H4, 0); in yukon_reset() 2034 gma_write16(hw, port, GM_RX_CTRL, in yukon_reset() 2095 gma_write16(hw, port, GM_GP_CTRL, in yukon_mac_init() [all …]
|
D | sky2.c | 165 gma_write16(hw, port, GM_SMI_DATA, val); in gm_phy_write() 166 gma_write16(hw, port, GM_SMI_CTRL, in gm_phy_write() 192 gma_write16(hw, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD(PHY_ADDR_MARV) in __gm_phy_read() 301 gma_write16(hw, port, GM_MC_ADDR_H1, 0); /* clear MC hash */ in sky2_gmac_reset() 302 gma_write16(hw, port, GM_MC_ADDR_H2, 0); in sky2_gmac_reset() 303 gma_write16(hw, port, GM_MC_ADDR_H3, 0); in sky2_gmac_reset() 304 gma_write16(hw, port, GM_MC_ADDR_H4, 0); in sky2_gmac_reset() 308 gma_write16(hw, port, GM_RX_CTRL, reg); in sky2_gmac_reset() 493 gma_write16(hw, port, GM_GP_CTRL, reg); in sky2_phy_init() 752 gma_write16(hw, port, GM_GP_CTRL, in sky2_phy_power_down() [all …]
|
D | sky2.h | 2399 static inline void gma_write16(const struct sky2_hw *hw, unsigned port, int r, u16 v) in gma_write16() function 2407 gma_write16(hw, port, reg, (u16) addr[0] | ((u16) addr[1] << 8)); in gma_set_addr() 2408 gma_write16(hw, port, reg+4,(u16) addr[2] | ((u16) addr[3] << 8)); in gma_set_addr() 2409 gma_write16(hw, port, reg+8,(u16) addr[4] | ((u16) addr[5] << 8)); in gma_set_addr()
|
D | skge.h | 2571 static inline void gma_write16(const struct skge_hw *hw, int port, int r, u16 v) in gma_write16() function 2579 gma_write16(hw, port, reg, (u16) addr[0] | ((u16) addr[1] << 8)); in gma_set_addr() 2580 gma_write16(hw, port, reg+4,(u16) addr[2] | ((u16) addr[3] << 8)); in gma_set_addr() 2581 gma_write16(hw, port, reg+8,(u16) addr[4] | ((u16) addr[5] << 8)); in gma_set_addr()
|