Searched refs:sata_scr_read (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/ata/ |
H A 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 …]
|
H A D | libata-core.c | 2978 sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf) == 0)) { in ata_dev_configure() 3158 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in sata_print_link_status() 3160 if (sata_scr_read(link, SCR_CONTROL, &scontrol)) in sata_print_link_status() 3689 if (!sata_scr_read(link, SCR_ERROR, &serror)) in ata_std_postreset() 5011 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_online() 5035 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_offline() 5389 rc = sata_scr_read(link, SCR_CONTROL, &link->saved_scontrol); in sata_link_init_spd()
|
H A D | sata_highbank.c | 415 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in ahci_highbank_hardreset()
|
H A D | libata-eh.c | 2095 rc = sata_scr_read(link, SCR_ERROR, &serror); in ata_eh_link_autopsy() 2858 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0) in ata_eh_reset() 2860 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0) in ata_eh_reset() 2957 sata_scr_read(link, SCR_STATUS, &sstatus)) in ata_eh_reset()
|
H A D | libata-pmp.c | 987 rc = sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf); in sata_pmp_eh_recover()
|
H A D | sata_nv.c | 2047 sata_scr_read(&ap->link, SCR_ERROR, &serror); in nv_swncq_hotplug()
|
/linux/include/linux/ |
H A D | libata.h | 1239 extern int sata_scr_read(struct ata_link *link, int reg, u32 *val); 1258 static inline int sata_scr_read(struct ata_link *link, int reg, u32 *val) in sata_scr_read() function
|