Lines Matching refs:gm_phy_write
96 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
195 gm_phy_write(hw, port, PHY_MARV_AUNE_ADV, in skge_wol_init()
199 gm_phy_write(hw, port, PHY_MARV_1000T_CTRL, 0); in skge_wol_init()
200 gm_phy_write(hw, port, PHY_MARV_CTRL, in skge_wol_init()
734 gm_phy_write(hw, port, PHY_MARV_LED_CTRL, 0); in skge_led()
735 gm_phy_write(hw, port, PHY_MARV_LED_OVER, in skge_led()
743 gm_phy_write(hw, port, PHY_MARV_LED_CTRL, in skge_led()
749 gm_phy_write(hw, port, PHY_MARV_LED_OVER, in skge_led()
755 gm_phy_write(hw, port, PHY_MARV_LED_CTRL, 0); in skge_led()
756 gm_phy_write(hw, port, PHY_MARV_LED_OVER, in skge_led()
1901 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in gm_phy_write() function
1962 gm_phy_write(hw, port, PHY_MARV_EXT_CTRL, ectrl); in yukon_init()
1970 gm_phy_write(hw, port, PHY_MARV_CTRL, ctrl); in yukon_init()
2023 gm_phy_write(hw, port, PHY_MARV_1000T_CTRL, ct1000); in yukon_init()
2025 gm_phy_write(hw, port, PHY_MARV_AUNE_ADV, adv); in yukon_init()
2026 gm_phy_write(hw, port, PHY_MARV_CTRL, ctrl); in yukon_init()
2030 gm_phy_write(hw, port, PHY_MARV_INT_MASK, PHY_M_IS_AN_MSK); in yukon_init()
2032 gm_phy_write(hw, port, PHY_MARV_INT_MASK, PHY_M_IS_DEF_MSK); in yukon_init()
2037 gm_phy_write(hw, port, PHY_MARV_INT_MASK, 0);/* disable PHY IRQs */ in yukon_reset()
2221 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); in yukon_suspend()
2225 gm_phy_write(hw, port, PHY_MARV_CTRL, ctrl); in yukon_suspend()
2230 gm_phy_write(hw, port, PHY_MARV_CTRL, ctrl); in yukon_suspend()
2319 gm_phy_write(hw, port, PHY_MARV_INT_MASK, PHY_M_IS_DEF_MSK); in yukon_link_up()
2337 gm_phy_write(hw, port, PHY_MARV_AUNE_ADV, ctrl); in yukon_link_down()
2478 err = gm_phy_write(hw, skge->port, data->reg_num & 0x1f, in skge_ioctl()