Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dsky2.c143 gma_write16(hw, port, GM_SMI_DATA, val); in gm_phy_write()
144 gma_write16(hw, port, GM_SMI_CTRL, in gm_phy_write()
161 gma_write16(hw, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD(PHY_ADDR_MARV) in __gm_phy_read()
288 gma_write16(hw, port, GM_MC_ADDR_H1, 0); /* clear MC hash */ in sky2_phy_reset()
289 gma_write16(hw, port, GM_MC_ADDR_H2, 0); in sky2_phy_reset()
290 gma_write16(hw, port, GM_MC_ADDR_H3, 0); in sky2_phy_reset()
291 gma_write16(hw, port, GM_MC_ADDR_H4, 0); in sky2_phy_reset()
295 gma_write16(hw, port, GM_RX_CTRL, reg); in sky2_phy_reset()
562 gma_write16(hw, port, GM_GP_CTRL, reg); in sky2_mac_init()
598 gma_write16(hw, port, GM_GP_CTRL, reg); in sky2_mac_init()
[all …]
Dskge.c1491 gma_write16(hw, port, GM_SMI_DATA, val); in gm_phy_write()
1492 gma_write16(hw, port, GM_SMI_CTRL, in gm_phy_write()
1510 gma_write16(hw, port, GM_SMI_CTRL, in __gm_phy_read()
1620 gma_write16(hw, port, GM_MC_ADDR_H1, 0); /* clear MC hash */ in yukon_reset()
1621 gma_write16(hw, port, GM_MC_ADDR_H2, 0); in yukon_reset()
1622 gma_write16(hw, port, GM_MC_ADDR_H3, 0); in yukon_reset()
1623 gma_write16(hw, port, GM_MC_ADDR_H4, 0); in yukon_reset()
1625 gma_write16(hw, port, GM_RX_CTRL, in yukon_reset()
1686 gma_write16(hw, port, GM_GP_CTRL, in yukon_mac_init()
1718 gma_write16(hw, port, GM_GP_CTRL, reg); in yukon_mac_init()
[all …]
Dsky2.h1941 static inline void gma_write16(const struct sky2_hw *hw, unsigned port, int r, u16 v) in gma_write16() function
1949 gma_write16(hw, port, reg, (u16) addr[0] | ((u16) addr[1] << 8)); in gma_set_addr()
1950 gma_write16(hw, port, reg+4,(u16) addr[2] | ((u16) addr[3] << 8)); in gma_set_addr()
1951 gma_write16(hw, port, reg+8,(u16) addr[4] | ((u16) addr[5] << 8)); in gma_set_addr()
Dskge.h2533 static inline void gma_write16(const struct skge_hw *hw, int port, int r, u16 v) in gma_write16() function
2541 gma_write16(hw, port, reg, (u16) addr[0] | ((u16) addr[1] << 8)); in gma_set_addr()
2542 gma_write16(hw, port, reg+4,(u16) addr[2] | ((u16) addr[3] << 8)); in gma_set_addr()
2543 gma_write16(hw, port, reg+8,(u16) addr[4] | ((u16) addr[5] << 8)); in gma_set_addr()