Lines Matching refs:xm_phy_write
96 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
691 xm_phy_write(hw, port, PHY_BCOM_P_EXT_CTRL, PHY_B_PEC_LED_OFF); in skge_led()
716 xm_phy_write(hw, port, PHY_BCOM_P_EXT_CTRL, PHY_B_PEC_LED_ON); in skge_led()
1116 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in xm_phy_write() function
1312 xm_phy_write(hw, port, in bcom_phy_init()
1322 xm_phy_write(hw, port, in bcom_phy_init()
1333 xm_phy_write(hw, port, PHY_BCOM_AUX_CTRL, r); in bcom_phy_init()
1352 xm_phy_write(hw, port, PHY_BCOM_1000T_CTRL, adv); in bcom_phy_init()
1359 xm_phy_write(hw, port, PHY_BCOM_1000T_CTRL, PHY_B_1000C_MSE); in bcom_phy_init()
1363 xm_phy_write(hw, port, PHY_BCOM_AUNE_ADV, in bcom_phy_init()
1368 xm_phy_write(hw, port, PHY_BCOM_AUX_CTRL, in bcom_phy_init()
1375 xm_phy_write(hw, port, PHY_BCOM_P_EXT_CTRL, ext); in bcom_phy_init()
1376 xm_phy_write(hw, port, PHY_BCOM_CTRL, ctl); in bcom_phy_init()
1379 xm_phy_write(hw, port, PHY_BCOM_INT_MASK, PHY_B_DEF_MSK); in bcom_phy_init()
1396 xm_phy_write(hw, port, PHY_XMAC_AUNE_ADV, ctrl); in xm_phy_init()
1410 xm_phy_write(hw, port, PHY_XMAC_CTRL, ctrl); in xm_phy_init()
1851 xm_phy_write(hw, port, PHY_BCOM_AUX_CTRL, in genesis_link_up()
1854 xm_phy_write(hw, port, PHY_BCOM_INT_MASK, PHY_B_DEF_MSK); in genesis_link_up()
1883 xm_phy_write(hw, port, PHY_BCOM_CTRL, in bcom_phy_intr()
1885 xm_phy_write(hw, port, PHY_BCOM_CTRL, in bcom_phy_intr()
2468 err = xm_phy_write(hw, skge->port, data->reg_num & 0x1f, in skge_ioctl()