/linux/drivers/net/phy/ |
H A D | air_en8811h.c | 199 return __phy_write(phydev, AIR_EXT_PAGE_ACCESS, page); in air_phy_write_page() 207 ret = __phy_write(phydev, AIR_BPBUS_MODE, AIR_BPBUS_MODE_ADDR_FIXED); in __air_buckpbus_reg_write() 211 ret = __phy_write(phydev, AIR_BPBUS_WR_ADDR_HIGH, in __air_buckpbus_reg_write() 216 ret = __phy_write(phydev, AIR_BPBUS_WR_ADDR_LOW, in __air_buckpbus_reg_write() 221 ret = __phy_write(phydev, AIR_BPBUS_WR_DATA_HIGH, in __air_buckpbus_reg_write() 226 ret = __phy_write(phydev, AIR_BPBUS_WR_DATA_LOW, in __air_buckpbus_reg_write() 259 ret = __phy_write(phydev, AIR_BPBUS_MODE, AIR_BPBUS_MODE_ADDR_FIXED); in __air_buckpbus_reg_read() 263 ret = __phy_write(phydev, AIR_BPBUS_RD_ADDR_HIGH, in __air_buckpbus_reg_read() 268 ret = __phy_write(phydev, AIR_BPBUS_RD_ADDR_LOW, in __air_buckpbus_reg_read() 310 ret = __phy_write(phydev, AIR_BPBUS_MODE, AIR_BPBUS_MODE_ADDR_FIXED); in __air_buckpbus_reg_modify() [all …]
|
H A D | microchip.c | 37 return __phy_write(phydev, LAN88XX_EXT_PAGE_ACCESS, page); in lan88xx_write_page() 108 ret = __phy_write(phydev, LAN88XX_EXT_PAGE_TR_LOW_DATA, in lan88xx_TR_reg_set() 115 ret = __phy_write(phydev, LAN88XX_EXT_PAGE_TR_HIGH_DATA, in lan88xx_TR_reg_set() 126 ret = __phy_write(phydev, LAN88XX_EXT_PAGE_TR_CR, buf); in lan88xx_TR_reg_set()
|
H A D | realtek.c | 123 return __phy_write(phydev, RTL821x_PAGE_SELECT, page); in rtl821x_write_page() 626 ret = __phy_write(phydev, RTL821x_EXT_PAGE_SELECT, 0xa4); in rtl8211e_config_init() 765 ret = __phy_write(phydev, 0x10, val); in rtlgen_write_mmd() 808 ret = __phy_write(phydev, 0x12, val); in rtl822x_write_mmd() 1089 __phy_write(phydev, MII_MMD_CTRL, MDIO_MMD_PCS); in rtlgen_supports_mmd() 1090 __phy_write(phydev, MII_MMD_DATA, MDIO_PCS_EEE_ABLE); in rtlgen_supports_mmd() 1091 __phy_write(phydev, MII_MMD_CTRL, MDIO_MMD_PCS | MII_MMD_CTRL_NOINCR); in rtlgen_supports_mmd()
|
H A D | bcm7xxx.c | 235 ret = __phy_write(dev, location, v); in __phy_set_clr_bits() 645 ret = __phy_write(phydev, MII_BCM7XXX_SHD_2_ADDR_CTRL, shd); in bcm7xxx_28nm_ephy_read_mmd() 675 ret = __phy_write(phydev, MII_BCM7XXX_SHD_2_ADDR_CTRL, shd); in bcm7xxx_28nm_ephy_write_mmd() 680 __phy_write(phydev, MII_BCM7XXX_SHD_2_CTRL_STAT, val); in bcm7xxx_28nm_ephy_write_mmd()
|
H A D | marvell.c | 366 return __phy_write(phydev, MII_MARVELL_PHY_PAGE, page); in marvell_write_page() 576 ret = __phy_write(phydev, reg, val); in marvell_of_reg_init() 1941 err = __phy_write(phydev, MII_88E1318S_PHY_MAGIC_PACKET_WORD2, in m88e1318_set_wol() 1946 err = __phy_write(phydev, MII_88E1318S_PHY_MAGIC_PACKET_WORD1, in m88e1318_set_wol() 1951 err = __phy_write(phydev, MII_88E1318S_PHY_MAGIC_PACKET_WORD0, in m88e1318_set_wol() 2199 err = __phy_write(phydev, MII_VCT5_SAMPLE_POINT_DISTANCE, in marvell_vct5_amplitude_distance() 2209 err = __phy_write(phydev, MII_VCT5_CTRL, reg); in marvell_vct5_amplitude_distance() 2275 err = __phy_write(phydev, MII_VCT5_TX_PULSE_CTRL, reg); in marvell_vct5_amplitude_graph() 2818 ret = __phy_write(phydev, MII_88E1121_MISC_TEST, in m88e1121_get_temp() 2833 ret = __phy_write(phydev, MII_88E1121_MISC_TEST, in m88e1121_get_temp() [all …]
|
H A D | motorcomm.c | 387 ret = __phy_write(phydev, YTPHY_PAGE_SELECT, regnum); in ytphy_read_ext() 426 ret = __phy_write(phydev, YTPHY_PAGE_SELECT, regnum); in ytphy_write_ext() 430 return __phy_write(phydev, YTPHY_PAGE_DATA, val); in ytphy_write_ext() 471 ret = __phy_write(phydev, YTPHY_PAGE_SELECT, regnum); in ytphy_modify_ext() 670 return __phy_write(phydev, YT8511_PAGE_SELECT, page); in yt8511_write_page() 715 ret = __phy_write(phydev, YT8511_PAGE_SELECT, YT8511_EXT_DELAY_DRIVE); in yt8511_config_init() 724 ret = __phy_write(phydev, YT8511_PAGE_SELECT, YT8511_EXT_SLEEP_CTRL); in yt8511_config_init()
|
H A D | broadcom.c | 885 err = __phy_write(phydev, MII_BRCM_FET_BRCMTEST, reg); in brcm_fet_config_init() 920 err2 = __phy_write(phydev, MII_BRCM_FET_BRCMTEST, brcmtest); in brcm_fet_config_init() 1006 err = __phy_write(phydev, MII_BRCM_FET_BRCMTEST, reg); in brcm_fet_suspend() 1022 err2 = __phy_write(phydev, MII_BRCM_FET_BRCMTEST, brcmtest); in brcm_fet_suspend()
|
H A D | vitesse.c | 152 return __phy_write(phydev, VSC73XX_EXT_PAGE_ACCESS, page); in vsc73xx_write_page()
|
H A D | micrel.c | 2489 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, page); in lanphy_read_page_reg() 2490 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA, addr); in lanphy_read_page_reg() 2491 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, in lanphy_read_page_reg() 2503 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, page); in lanphy_write_page_reg() 2504 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA, addr); in lanphy_write_page_reg() 2505 __phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, in lanphy_write_page_reg() 2508 val = __phy_write(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA, val); in lanphy_write_page_reg()
|
/linux/drivers/power/reset/ |
H A 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/drivers/net/phy/mscc/ |
H A 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/drivers/net/ethernet/realtek/ |
H A 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/include/linux/ |
H A D | phy.h | 1352 static inline int __phy_write(struct phy_device *phydev, u32 regnum, u16 val) in __phy_write() function
|