Searched refs:sata_scr_read (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/ata/ |
D | libata-sata.c | 63 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 …]
|
D | libata-core.c | 2621 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()
|
D | libata-eh.c | 1930 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()
|
D | sata_highbank.c | 414 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in ahci_highbank_hardreset()
|
D | ahci_xgene.c | 379 sata_scr_read(link, SCR_STATUS, &sstatus); in xgene_ahci_do_hardreset()
|
D | libata-pmp.c | 996 rc = sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf); in sata_pmp_eh_recover()
|
D | ahci.c | 810 if (sata_scr_read(link, SCR_STATUS, &sstatus) != 0 || in ahci_avn_hardreset()
|
D | sata_mv.c | 2653 sata_scr_read(&ap->link, SCR_ERROR, &serr); in mv_err_intr() 3645 sata_scr_read(link, SCR_STATUS, &sstatus); in mv_hardreset()
|
D | sata_nv.c | 2056 sata_scr_read(&ap->link, SCR_ERROR, &serror); in nv_swncq_hotplug()
|
/Linux-v5.10/include/linux/ |
D | libata.h | 1184 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
|