Lines Matching refs:access_ereg
139 static int access_ereg(struct phy_device *phydev, u8 mode, u8 bank, in access_ereg() function
192 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, bank, offset, val); in access_ereg_modify_changed()
197 rc = access_ereg(phydev, PHYACC_ATTR_MODE_WRITE, bank, offset, new); in access_ereg_modify_changed()
218 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_config_rgmii_delay()
244 return access_ereg(phydev, PHYACC_ATTR_MODE_WRITE, in lan87xx_config_rgmii_delay()
261 ret = access_ereg(phydev, cmd_seq[i].mode, in lan87xx_phy_init_cmd()
477 rc = access_ereg(phydev, PHYACC_ATTR_MODE_WRITE, in lan87xx_phy_config_intr()
483 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_phy_config_intr()
496 rc = access_ereg(phydev, PHYACC_ATTR_MODE_WRITE, in lan87xx_phy_config_intr()
508 rc = access_ereg(phydev, PHYACC_ATTR_MODE_WRITE, in lan87xx_phy_config_intr()
514 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_phy_config_intr()
526 irq_status = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_handle_interrupt()
623 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, PHYACC_ATTR_BANK_SMI, in lan87xx_cable_test_start()
629 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, PHYACC_ATTR_BANK_SMI, in lan87xx_cable_test_start()
662 rc = access_ereg(phydev, cable_test[i].mode, in lan87xx_cable_test_start()
702 gain_idx = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_cable_test_report()
705 pos_peak = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_cable_test_report()
707 neg_peak = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_cable_test_report()
709 pos_peak_time = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_cable_test_report()
711 neg_peak_time = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_cable_test_report()
762 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, PHYACC_ATTR_BANK_DSP, in lan87xx_cable_test_get_status()
769 rc = access_ereg(phydev, PHYACC_ATTR_MODE_WRITE, in lan87xx_cable_test_get_status()
843 rc = access_ereg(phydev, PHYACC_ATTR_MODE_WRITE, in lan87xx_get_sqi()
848 rc = access_ereg(phydev, PHYACC_ATTR_MODE_READ, in lan87xx_get_sqi()