Lines Matching refs:gma_write16
154 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()
782 gma_write16(sky2->hw, sky2->port, GM_SERIAL_MODE, reg); in sky2_set_ipg()
794 gma_write16(hw, port, GM_GP_CTRL, reg); in sky2_enable_rx_tx()
839 gma_write16(hw, port, GM_GP_CTRL, in sky2_wol_init()
936 gma_write16(hw, port, GM_PHY_ADDR, reg | GM_PAR_MIB_CLR); in sky2_mac_init()
940 gma_write16(hw, port, GM_PHY_ADDR, reg); in sky2_mac_init()
943 gma_write16(hw, port, GM_TX_CTRL, TX_COL_THR(TX_COL_DEF)); in sky2_mac_init()
946 gma_write16(hw, port, GM_RX_CTRL, in sky2_mac_init()
950 gma_write16(hw, port, GM_TX_FLOW_CTRL, 0xffff); in sky2_mac_init()
953 gma_write16(hw, port, GM_TX_PARAM, in sky2_mac_init()
970 gma_write16(hw, port, GM_SERIAL_MODE, reg); in sky2_mac_init()
979 gma_write16(hw, port, GM_TX_IRQ_MSK, 0); in sky2_mac_init()
980 gma_write16(hw, port, GM_RX_IRQ_MSK, 0); in sky2_mac_init()
981 gma_write16(hw, port, GM_TR_IRQ_MSK, 0); in sky2_mac_init()
2082 gma_write16(hw, port, GM_GP_CTRL, ctrl); in sky2_hw_down()
2214 gma_write16(hw, port, GM_GP_CTRL, reg); in sky2_link_down()
2406 gma_write16(hw, port, GM_GP_CTRL, ctl & ~GM_GPCR_RX_ENA); in sky2_change_mtu()
2422 gma_write16(hw, port, GM_SERIAL_MODE, mode); in sky2_change_mtu()
2439 gma_write16(hw, port, GM_GP_CTRL, ctl); in sky2_change_mtu()
3875 gma_write16(hw, port, GM_MC_ADDR_H1, in sky2_set_multicast()
3877 gma_write16(hw, port, GM_MC_ADDR_H2, in sky2_set_multicast()
3879 gma_write16(hw, port, GM_MC_ADDR_H3, in sky2_set_multicast()
3881 gma_write16(hw, port, GM_MC_ADDR_H4, in sky2_set_multicast()
3884 gma_write16(hw, port, GM_RX_CTRL, reg); in sky2_set_multicast()