Home
last modified time | relevance | path

Searched refs:gma_write16 (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/marvell/
Dskge.c206 gma_write16(hw, port, GM_GP_CTRL, in skge_wol_init()
1905 gma_write16(hw, port, GM_SMI_DATA, val); in gm_phy_write()
1906 gma_write16(hw, port, GM_SMI_CTRL, in gm_phy_write()
1923 gma_write16(hw, port, GM_SMI_CTRL, in __gm_phy_read()
2038 gma_write16(hw, port, GM_MC_ADDR_H1, 0); /* clear MC hash */ in yukon_reset()
2039 gma_write16(hw, port, GM_MC_ADDR_H2, 0); in yukon_reset()
2040 gma_write16(hw, port, GM_MC_ADDR_H3, 0); in yukon_reset()
2041 gma_write16(hw, port, GM_MC_ADDR_H4, 0); in yukon_reset()
2043 gma_write16(hw, port, GM_RX_CTRL, in yukon_reset()
2104 gma_write16(hw, port, GM_GP_CTRL, in yukon_mac_init()
[all …]
Dsky2.c154 gma_write16(hw, port, GM_SMI_DATA, val); in gm_phy_write()
155 gma_write16(hw, port, GM_SMI_CTRL, in gm_phy_write()
181 gma_write16(hw, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD(PHY_ADDR_MARV) in __gm_phy_read()
290 gma_write16(hw, port, GM_MC_ADDR_H1, 0); /* clear MC hash */ in sky2_gmac_reset()
291 gma_write16(hw, port, GM_MC_ADDR_H2, 0); in sky2_gmac_reset()
292 gma_write16(hw, port, GM_MC_ADDR_H3, 0); in sky2_gmac_reset()
293 gma_write16(hw, port, GM_MC_ADDR_H4, 0); in sky2_gmac_reset()
297 gma_write16(hw, port, GM_RX_CTRL, reg); in sky2_gmac_reset()
482 gma_write16(hw, port, GM_GP_CTRL, reg); in sky2_phy_init()
741 gma_write16(hw, port, GM_GP_CTRL, in sky2_phy_power_down()
[all …]
Dskge.h2566 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()
Dsky2.h2395 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()