Searched refs:sata_scr_read (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/drivers/ata/ |
D | libata-sata.c | 65 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 …]
|
D | libata-core.c | 2984 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()
|
D | sata_highbank.c | 414 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in ahci_highbank_hardreset()
|
D | libata-eh.c | 2038 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()
|
D | ahci_xgene.c | 378 sata_scr_read(link, SCR_STATUS, &sstatus); in xgene_ahci_do_hardreset()
|
D | libata-pmp.c | 988 rc = sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf); in sata_pmp_eh_recover()
|
D | ahci.c | 839 if (sata_scr_read(link, SCR_STATUS, &sstatus) != 0 || in ahci_avn_hardreset()
|
D | sata_mv.c | 2650 sata_scr_read(&ap->link, SCR_ERROR, &serr); in mv_err_intr() 3644 sata_scr_read(link, SCR_STATUS, &sstatus); in mv_hardreset()
|
D | sata_nv.c | 2043 sata_scr_read(&ap->link, SCR_ERROR, &serror); in nv_swncq_hotplug()
|
/Linux-v6.6/include/linux/ |
D | libata.h | 1183 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
|