/linux-6.1.9/drivers/net/phy/ |
D | mediatek-ge.c | 21 return __phy_write(phydev, MTK_EXT_PAGE_ACCESS, page); in mtk_gephy_write_page() 34 __phy_write(phydev, 0x10, 0xafae); in mtk_gephy_config_init() 35 __phy_write(phydev, 0x12, 0x2f); in mtk_gephy_config_init() 36 __phy_write(phydev, 0x10, 0x8fae); in mtk_gephy_config_init()
|
D | bcm-phy-lib.c | 23 rc = __phy_write(phydev, MII_BCM54XX_EXP_SEL, reg); in __bcm_phy_write_exp() 27 return __phy_write(phydev, MII_BCM54XX_EXP_DATA, val); in __bcm_phy_write_exp() 47 val = __phy_write(phydev, MII_BCM54XX_EXP_SEL, reg); in __bcm_phy_read_exp() 54 __phy_write(phydev, MII_BCM54XX_EXP_SEL, 0); in __bcm_phy_read_exp() 76 ret = __phy_write(phydev, MII_BCM54XX_EXP_SEL, reg); in __bcm_phy_modify_exp() 88 return __phy_write(phydev, MII_BCM54XX_EXP_DATA, new); in __bcm_phy_modify_exp() 261 val = __phy_write(phydev, MII_BCM54XX_RDB_ADDR, rdb); in __bcm_phy_read_rdb() 285 ret = __phy_write(phydev, MII_BCM54XX_RDB_ADDR, rdb); in __bcm_phy_write_rdb() 289 return __phy_write(phydev, MII_BCM54XX_RDB_DATA, val); in __bcm_phy_write_rdb() 309 ret = __phy_write(phydev, MII_BCM54XX_RDB_ADDR, rdb); in __bcm_phy_modify_rdb() [all …]
|
D | motorcomm.c | 48 return __phy_write(phydev, YT8511_PAGE_SELECT, page); in yt8511_write_page() 93 ret = __phy_write(phydev, YT8511_PAGE_SELECT, YT8511_EXT_DELAY_DRIVE); in yt8511_config_init() 102 ret = __phy_write(phydev, YT8511_PAGE_SELECT, YT8511_EXT_SLEEP_CTRL); in yt8511_config_init()
|
D | microchip.c | 31 return __phy_write(phydev, LAN88XX_EXT_PAGE_ACCESS, page); in lan88xx_write_page() 102 ret = __phy_write(phydev, LAN88XX_EXT_PAGE_TR_LOW_DATA, in lan88xx_TR_reg_set() 109 ret = __phy_write(phydev, LAN88XX_EXT_PAGE_TR_HIGH_DATA, in lan88xx_TR_reg_set() 120 ret = __phy_write(phydev, LAN88XX_EXT_PAGE_TR_CR, buf); in lan88xx_TR_reg_set()
|
D | bcm7xxx.c | 236 ret = __phy_write(dev, location, v); in __phy_set_clr_bits() 646 ret = __phy_write(phydev, MII_BCM7XXX_SHD_2_ADDR_CTRL, shd); in bcm7xxx_28nm_ephy_read_mmd() 676 ret = __phy_write(phydev, MII_BCM7XXX_SHD_2_ADDR_CTRL, shd); in bcm7xxx_28nm_ephy_write_mmd() 681 __phy_write(phydev, MII_BCM7XXX_SHD_2_CTRL_STAT, val); in bcm7xxx_28nm_ephy_write_mmd()
|
D | marvell.c | 318 return __phy_write(phydev, MII_MARVELL_PHY_PAGE, page); in marvell_write_page() 528 ret = __phy_write(phydev, reg, val); in marvell_of_reg_init() 1877 err = __phy_write(phydev, MII_88E1318S_PHY_MAGIC_PACKET_WORD2, in m88e1318_set_wol() 1882 err = __phy_write(phydev, MII_88E1318S_PHY_MAGIC_PACKET_WORD1, in m88e1318_set_wol() 1887 err = __phy_write(phydev, MII_88E1318S_PHY_MAGIC_PACKET_WORD0, in m88e1318_set_wol() 2094 err = __phy_write(phydev, MII_VCT5_SAMPLE_POINT_DISTANCE, in marvell_vct5_amplitude_distance() 2104 err = __phy_write(phydev, MII_VCT5_CTRL, reg); in marvell_vct5_amplitude_distance() 2170 err = __phy_write(phydev, MII_VCT5_TX_PULSE_CTRL, reg); in marvell_vct5_amplitude_graph() 2445 ret = __phy_write(phydev, MII_88E1121_MISC_TEST, in m88e1121_get_temp() 2460 ret = __phy_write(phydev, MII_88E1121_MISC_TEST, in m88e1121_get_temp() [all …]
|
D | realtek.c | 92 return __phy_write(phydev, RTL821x_PAGE_SELECT, page); in rtl821x_write_page() 471 ret = __phy_write(phydev, RTL821x_EXT_PAGE_SELECT, 0xa4); in rtl8211e_config_init() 590 ret = __phy_write(phydev, 0x10, val); in rtlgen_write_mmd() 633 ret = __phy_write(phydev, 0x12, val); in rtl822x_write_mmd()
|
D | micrel.c | 2069 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, page); in lanphy_read_page_reg() 2070 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA, addr); in lanphy_read_page_reg() 2071 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, in lanphy_read_page_reg() 2083 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, page); in lanphy_write_page_reg() 2084 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA, addr); in lanphy_write_page_reg() 2085 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, in lanphy_write_page_reg() 2088 val = __phy_write(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA, val); in lanphy_write_page_reg()
|
D | vitesse.c | 128 return __phy_write(phydev, VSC73XX_EXT_PAGE_ACCESS, page); in vsc73xx_write_page()
|
D | icplus.c | 478 return __phy_write(phydev, IP101G_PAGE_CONTROL, page); in ip101g_write_page()
|
D | phy-core.c | 953 ret = __phy_write(phydev, regnum, val); in phy_write_paged()
|
/linux-6.1.9/drivers/power/reset/ |
D | linkstation-poweroff.c | 65 __phy_write(phydev, MII_MARVELL_PHY_PAGE, MII_MARVELL_COPPER_PAGE); in linkstation_mvphy_reg_intn() 72 __phy_write(phydev, MII_MARVELL_PHY_PAGE, MII_MARVELL_WOL_PAGE); in linkstation_mvphy_reg_intn() 103 __phy_write(phydev, MII_MARVELL_PHY_PAGE, MII_MARVELL_WOL_PAGE); in readynas_mvphy_set_reg()
|
/linux-6.1.9/drivers/net/phy/mscc/ |
D | mscc_main.c | 117 return __phy_write(phydev, MSCC_EXT_PAGE_ACCESS, page); in vsc85xx_phy_write_page() 295 __phy_write(phydev, MSCC_PHY_WOL_LOWER_MAC_ADDR, pwd[0]); in vsc85xx_wol_set() 296 __phy_write(phydev, MSCC_PHY_WOL_MID_MAC_ADDR, pwd[1]); in vsc85xx_wol_set() 297 __phy_write(phydev, MSCC_PHY_WOL_UPPER_MAC_ADDR, pwd[2]); in vsc85xx_wol_set() 299 __phy_write(phydev, MSCC_PHY_WOL_LOWER_MAC_ADDR, 0); in vsc85xx_wol_set() 300 __phy_write(phydev, MSCC_PHY_WOL_MID_MAC_ADDR, 0); in vsc85xx_wol_set() 301 __phy_write(phydev, MSCC_PHY_WOL_UPPER_MAC_ADDR, 0); in vsc85xx_wol_set() 308 __phy_write(phydev, MSCC_PHY_WOL_LOWER_PASSWD, pwd[0]); in vsc85xx_wol_set() 309 __phy_write(phydev, MSCC_PHY_WOL_MID_PASSWD, pwd[1]); in vsc85xx_wol_set() 310 __phy_write(phydev, MSCC_PHY_WOL_UPPER_PASSWD, pwd[2]); in vsc85xx_wol_set() [all …]
|
D | mscc_macsec.c | 33 __phy_write(phydev, MSCC_EXT_PAGE_MACSEC_20, in vsc8584_macsec_phy_read() 42 __phy_write(phydev, MSCC_EXT_PAGE_MACSEC_19, in vsc8584_macsec_phy_read() 71 __phy_write(phydev, MSCC_EXT_PAGE_MACSEC_20, in vsc8584_macsec_phy_write() 80 __phy_write(phydev, MSCC_EXT_PAGE_MACSEC_17, (u16)val); in vsc8584_macsec_phy_write() 81 __phy_write(phydev, MSCC_EXT_PAGE_MACSEC_18, (u16)(val >> 16)); in vsc8584_macsec_phy_write() 83 __phy_write(phydev, MSCC_EXT_PAGE_MACSEC_19, in vsc8584_macsec_phy_write()
|
/linux-6.1.9/drivers/net/ethernet/realtek/ |
D | r8169_phy_config.c | 25 __phy_write(phydev, 0x1e, extpage); in r8168d_modify_extpage() 36 __phy_write(phydev, 0x05, parm); in r8168d_phy_param() 47 __phy_write(phydev, 0x13, parm); in r8168g_phy_param() 64 __phy_write(phydev, regs->reg, regs->val); in __rtl_writephy_batch()
|
/linux-6.1.9/include/linux/ |
D | phy.h | 1094 static inline int __phy_write(struct phy_device *phydev, u32 regnum, u16 val) in __phy_write() function
|