Home
last modified time | relevance | path

Searched refs:sata_scr_read (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/drivers/ata/
Dlibata-sata.c63 int sata_scr_read(struct ata_link *link, int reg, u32 *val) in sata_scr_read() function
73 EXPORT_SYMBOL_GPL(sata_scr_read);
246 if ((rc = sata_scr_read(link, SCR_STATUS, &cur))) in sata_link_debounce()
255 if ((rc = sata_scr_read(link, SCR_STATUS, &cur))) in sata_link_debounce()
303 if ((rc = sata_scr_read(link, SCR_CONTROL, &scontrol))) in sata_link_resume()
324 if ((rc = sata_scr_read(link, SCR_CONTROL, &scontrol))) in sata_link_resume()
342 if (!(rc = sata_scr_read(link, SCR_ERROR, &serror))) in sata_link_resume()
375 rc = sata_scr_read(link, SCR_CONTROL, &scontrol); in sata_link_scr_lpm()
468 if (sata_scr_read(link, SCR_CONTROL, &scontrol)) in sata_set_spd_needed()
492 if ((rc = sata_scr_read(link, SCR_CONTROL, &scontrol))) in sata_set_spd()
[all …]
Dlibata-core.c2621 sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf) == 0)) { in ata_dev_configure()
2940 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in sata_print_link_status()
2942 sata_scr_read(link, SCR_CONTROL, &scontrol); in sata_print_link_status()
3003 rc = sata_scr_read(link, SCR_STATUS, &sstatus); in sata_down_spd_limit()
3579 if (!sata_scr_read(link, SCR_ERROR, &serror)) in ata_std_postreset()
4843 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_online()
4867 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_offline()
5224 rc = sata_scr_read(link, SCR_CONTROL, &link->saved_scontrol); in sata_link_init_spd()
Dlibata-eh.c1930 rc = sata_scr_read(link, SCR_ERROR, &serror); in ata_eh_link_autopsy()
2675 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0) in ata_eh_reset()
2677 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0) in ata_eh_reset()
2781 sata_scr_read(link, SCR_STATUS, &sstatus)) in ata_eh_reset()
Dsata_highbank.c414 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in ahci_highbank_hardreset()
Dahci_xgene.c379 sata_scr_read(link, SCR_STATUS, &sstatus); in xgene_ahci_do_hardreset()
Dlibata-pmp.c996 rc = sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf); in sata_pmp_eh_recover()
Dahci.c810 if (sata_scr_read(link, SCR_STATUS, &sstatus) != 0 || in ahci_avn_hardreset()
Dsata_mv.c2653 sata_scr_read(&ap->link, SCR_ERROR, &serr); in mv_err_intr()
3645 sata_scr_read(link, SCR_STATUS, &sstatus); in mv_hardreset()
Dsata_nv.c2056 sata_scr_read(&ap->link, SCR_ERROR, &serror); in nv_swncq_hotplug()
/Linux-v5.10/include/linux/
Dlibata.h1184 extern int sata_scr_read(struct ata_link *link, int reg, u32 *val);
1201 static inline int sata_scr_read(struct ata_link *link, int reg, u32 *val) in sata_scr_read() function