Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/ata/
Dlibata-sata.c65 int sata_scr_read(struct ata_link *link, int reg, u32 *val) in sata_scr_read() function
75 EXPORT_SYMBOL_GPL(sata_scr_read);
248 if ((rc = sata_scr_read(link, SCR_STATUS, &cur))) in sata_link_debounce()
257 if ((rc = sata_scr_read(link, SCR_STATUS, &cur))) in sata_link_debounce()
305 if ((rc = sata_scr_read(link, SCR_CONTROL, &scontrol))) in sata_link_resume()
326 if ((rc = sata_scr_read(link, SCR_CONTROL, &scontrol))) in sata_link_resume()
344 if (!(rc = sata_scr_read(link, SCR_ERROR, &serror))) in sata_link_resume()
377 rc = sata_scr_read(link, SCR_CONTROL, &scontrol); in sata_link_scr_lpm()
483 if (sata_scr_read(link, SCR_CONTROL, &scontrol)) in sata_set_spd_needed()
507 if ((rc = sata_scr_read(link, SCR_CONTROL, &scontrol))) in sata_set_spd()
[all …]
Dlibata-core.c2984 sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf) == 0)) { in ata_dev_configure()
3163 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in sata_print_link_status()
3165 if (sata_scr_read(link, SCR_CONTROL, &scontrol)) in sata_print_link_status()
3227 rc = sata_scr_read(link, SCR_STATUS, &sstatus); in sata_down_spd_limit()
3801 if (!sata_scr_read(link, SCR_ERROR, &serror)) in ata_std_postreset()
5038 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_online()
5062 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_offline()
5434 rc = sata_scr_read(link, SCR_CONTROL, &link->saved_scontrol); in sata_link_init_spd()
Dsata_highbank.c414 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in ahci_highbank_hardreset()
Dlibata-eh.c2038 rc = sata_scr_read(link, SCR_ERROR, &serror); in ata_eh_link_autopsy()
2801 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0) in ata_eh_reset()
2803 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0) in ata_eh_reset()
2900 sata_scr_read(link, SCR_STATUS, &sstatus)) in ata_eh_reset()
Dahci_xgene.c378 sata_scr_read(link, SCR_STATUS, &sstatus); in xgene_ahci_do_hardreset()
Dlibata-pmp.c988 rc = sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf); in sata_pmp_eh_recover()
Dahci.c839 if (sata_scr_read(link, SCR_STATUS, &sstatus) != 0 || in ahci_avn_hardreset()
Dsata_mv.c2650 sata_scr_read(&ap->link, SCR_ERROR, &serr); in mv_err_intr()
3644 sata_scr_read(link, SCR_STATUS, &sstatus); in mv_hardreset()
Dsata_nv.c2043 sata_scr_read(&ap->link, SCR_ERROR, &serror); in nv_swncq_hotplug()
/Linux-v6.6/include/linux/
Dlibata.h1183 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