Home
last modified time | relevance | path

Searched refs:phy_set_bits (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/ethernet/realtek/
H A Dr8169_phy_config.c304 phy_set_bits(phydev, 0x14, BIT(5)); in rtl8168cp_2_hw_phy_config()
305 phy_set_bits(phydev, 0x0d, BIT(5)); in rtl8168cp_2_hw_phy_config()
334 phy_set_bits(phydev, 0x14, BIT(5)); in rtl8168c_1_hw_phy_config()
335 phy_set_bits(phydev, 0x0d, BIT(5)); in rtl8168c_1_hw_phy_config()
361 phy_set_bits(phydev, 0x16, BIT(0)); in rtl8168c_2_hw_phy_config()
362 phy_set_bits(phydev, 0x14, BIT(5)); in rtl8168c_2_hw_phy_config()
363 phy_set_bits(phydev, 0x0d, BIT(5)); in rtl8168c_2_hw_phy_config()
383 phy_set_bits(phydev, 0x16, BIT(0)); in rtl8168c_3_hw_phy_config()
384 phy_set_bits(phydev, 0x14, BIT(5)); in rtl8168c_3_hw_phy_config()
385 phy_set_bits(phydev, 0x0d, BIT(5)); in rtl8168c_3_hw_phy_config()
[all …]
/linux/drivers/net/phy/
H A Dnxp-tja11xx.c133 return phy_set_bits(phydev, MII_ECTRL, MII_ECTRL_CONFIG_EN); in tja11xx_enable_reg_write()
138 return phy_set_bits(phydev, MII_ECTRL, MII_ECTRL_LINK_CONTROL); in tja11xx_enable_link_control()
158 ret = phy_set_bits(phydev, MII_ECTRL, MII_ECTRL_WAKE_REQUEST); in tja11xx_wakeup()
189 return phy_set_bits(phydev, MII_CFG3, MII_CFG3_PHY_EN); in tja11xx_wakeup()
343 ret = phy_set_bits(phydev, MII_COMMCFG, MII_COMMCFG_AUTO_OP); in tja11xx_config_init()
739 return phy_set_bits(phydev, MII_ECTRL, MII_ECTRL_CABLE_TEST); in tja11xx_cable_test_start()
800 ret = phy_set_bits(phydev, MII_COMMCFG, MII_COMMCFG_AUTO_OP); in tja11xx_cable_test_get_status()
H A Dnxp-cbtx.c89 return phy_set_bits(phydev, CBTX_MODE_CTRL_STAT, in cbtx_mdix_config()
105 return phy_set_bits(phydev, CBTX_MODE_CTRL_STAT, in cbtx_mdix_config()
H A Dadin.c388 return phy_set_bits(phydev, ADIN1300_PHY_CTRL2, in adin_set_downshift()
594 err = phy_set_bits(phydev, ADIN1300_INT_MASK_REG, in adin_phy_config_intr()
732 ret = phy_set_bits(phydev, ADIN1300_PHY_CTRL3, ADIN1300_LINKING_EN); in adin_config_aneg()
H A Dintel-xway.c501 return phy_set_bits(phydev, XWAY_MDIO_LED, XWAY_GPHY_LED_EN(index)); in xway_gphy_led_hw_control_set()
527 return phy_set_bits(phydev, XWAY_MDIO_LED, XWAY_GPHY_LED_INV(index)); in xway_gphy_led_polarity_set()
H A Dsmsc.c94 return phy_set_bits(phydev, MII_LAN83C185_CTRL_STATUS, in smsc_phy_config_edpd()
214 int rc = phy_set_bits(phydev, PHY_EDPD_CONFIG, in lan95xx_config_aneg_ext()
H A Dmxl-gpy.c812 ret = phy_set_bits(phydev, PHY_IMASK, PHY_IMASK_LSTC); in gpy_set_wol()
1015 return phy_set_bits(phydev, PHY_LED, PHY_LED_HWCONTROL(index)); in gpy_led_hw_control_set()
1041 return phy_set_bits(phydev, PHY_LED, PHY_LED_POLARITY(index)); in gpy_led_polarity_set()
H A Dicplus.c281 ret = phy_set_bits(phydev, IP10XX_SPEC_CTRL_STATUS, IP101A_G_APS_ON); in ip101a_config_init()
H A Ddp83867.c930 phy_set_bits(phydev, DP83867_CFG2, in dp83867_link_change_notify()
H A Dbcm-phy-lib.c636 return phy_set_bits(phydev, MII_BCM54XX_ECR, MII_BCM54XX_ECR_FIFOE); in bcm_phy_enable_jumbo()
H A Dbroadcom.c177 rc = phy_set_bits(phydev, MII_BMCR, BMCR_PDOWN); in bcm54616s_config_init()
H A Dmarvell.c1341 err = phy_set_bits(phydev, MII_88E1510_GEN_CTRL_REG_1, in m88e1510_config_init()
1583 return phy_set_bits(phydev, MII_88E1540_COPPER_CTRL3, in m88e1540_set_fld()
H A Dmicrel.c1447 return phy_set_bits(phydev, 0x1e, BIT(9)); in ksz9131_led_errata()
1946 ret = phy_set_bits(phydev, MII_KSZPHY_CTRL, in ksz886x_config_aneg()
H A Dphy_device.c2816 return phy_set_bits(phydev, MII_BMCR, BMCR_PDOWN); in genphy_suspend()
/linux/drivers/net/phy/mediatek/
H A Dmtk-2p5ge.c82 phy_set_bits(phydev, MII_BMCR, BMCR_RESET); in mt798x_2p5ge_phy_load_fw()
85 phy_set_bits(phydev, MII_BMCR, BMCR_PDOWN); in mt798x_2p5ge_phy_load_fw()
96 phy_set_bits(phydev, MII_BMCR, BMCR_RESET); in mt798x_2p5ge_phy_load_fw()
H A Dmtk-ge.c81 phy_set_bits(phydev, 0x17, BIT(4)); in mt7531_phy_config_init()
/linux/drivers/net/phy/qcom/
H A Dqca83xx.c121 phy_set_bits(phydev, MII_CTRL1000, CTL1000_PREFER_MASTER); in qca83xx_config_init()
165 phy_set_bits(phydev, MII_BMCR, BMCR_RESET | BMCR_ANENABLE); in qca83xx_resume()
H A Dat803x.c916 err = phy_set_bits(phydev, AT803X_INTR_ENABLE, value); in at8031_config_intr()
/linux/drivers/net/phy/realtek/
H A Drealtek_main.c586 return phy_set_bits(phydev, MII_CTRL1000, in rtl8211c_config_init()
1086 ret = phy_set_bits(phydev, RTL8366RB_POWER_SAVE, in rtl8366rb_config_init()
/linux/include/linux/
H A Dphy.h1889 static inline int phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val) in phy_set_bits() function