• Home
  • Raw
  • Download

Lines Matching refs:gm_phy_write

153 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val)  in gm_phy_write()  function
340 gm_phy_write(hw, port, PHY_MARV_EXT_CTRL, ectrl); in sky2_phy_init()
356 gm_phy_write(hw, port, PHY_MARV_FE_SPEC_2, spec); in sky2_phy_init()
380 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); in sky2_phy_init()
387 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 2); in sky2_phy_init()
391 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); in sky2_phy_init()
395 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 1); in sky2_phy_init()
400 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); in sky2_phy_init()
403 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, pg); in sky2_phy_init()
475 gm_phy_write(hw, port, PHY_MARV_1000T_CTRL, ct1000); in sky2_phy_init()
477 gm_phy_write(hw, port, PHY_MARV_AUNE_ADV, adv); in sky2_phy_init()
478 gm_phy_write(hw, port, PHY_MARV_CTRL, ctrl); in sky2_phy_init()
495 gm_phy_write(hw, port, PHY_MARV_FE_LED_PAR, ctrl); in sky2_phy_init()
505 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); in sky2_phy_init()
512 gm_phy_write(hw, port, PHY_MARV_FE_LED_PAR, ctrl); in sky2_phy_init()
519 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 3); in sky2_phy_init()
522 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, in sky2_phy_init()
529 gm_phy_write(hw, port, PHY_MARV_PHY_STAT, in sky2_phy_init()
538 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, pg); in sky2_phy_init()
547 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 3); in sky2_phy_init()
550 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, in sky2_phy_init()
557 gm_phy_write(hw, port, PHY_MARV_INT_MASK, in sky2_phy_init()
560 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, pg); in sky2_phy_init()
573 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 255); in sky2_phy_init()
576 gm_phy_write(hw, port, 0x18, 0xaa99); in sky2_phy_init()
577 gm_phy_write(hw, port, 0x17, 0x2011); in sky2_phy_init()
581 gm_phy_write(hw, port, 0x18, 0xa204); in sky2_phy_init()
582 gm_phy_write(hw, port, 0x17, 0x2002); in sky2_phy_init()
586 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 0); in sky2_phy_init()
590 gm_phy_write(hw, port, PHY_MARV_PAGE_ADDR, 17); in sky2_phy_init()
591 gm_phy_write(hw, port, PHY_MARV_PAGE_DATA, 0x3f60); in sky2_phy_init()
595 gm_phy_write(hw, port, PHY_MARV_LED_CTRL, ledctrl); in sky2_phy_init()
603 gm_phy_write(hw, port, PHY_MARV_LED_OVER, ledover); in sky2_phy_init()
609 gm_phy_write(hw, port, PHY_MARV_INT_MASK, PHY_M_IS_AN_COMPL); in sky2_phy_init()
611 gm_phy_write(hw, port, PHY_MARV_INT_MASK, PHY_M_DEF_MSK); in sky2_phy_init()
633 gm_phy_write(hw, port, PHY_MARV_CTRL, PHY_CT_ANE); in sky2_phy_power_up()
651 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 2); in sky2_phy_power_down()
656 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); in sky2_phy_power_down()
659 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 0); in sky2_phy_power_down()
669 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 2); in sky2_phy_power_down()
674 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); in sky2_phy_power_down()
677 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 0); in sky2_phy_power_down()
681 gm_phy_write(hw, port, PHY_MARV_CTRL, PHY_CT_PDOWN); in sky2_phy_power_down()
1202 err = gm_phy_write(hw, sky2->port, data->reg_num & 0x1f, in sky2_ioctl()
1879 gm_phy_write(hw, port, PHY_MARV_INT_MASK, PHY_M_DEF_MSK); in sky2_link_up()
1903 gm_phy_write(hw, port, PHY_MARV_INT_MASK, 0); in sky2_link_down()
3397 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 3); in sky2_led()
3401 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, in sky2_led()
3408 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, in sky2_led()
3415 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, in sky2_led()
3422 gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, in sky2_led()
3429 gm_phy_write(hw, port, PHY_MARV_EXT_ADR, pg); in sky2_led()
3431 gm_phy_write(hw, port, PHY_MARV_LED_OVER, in sky2_led()