/Linux-v5.4/drivers/ata/ |
D | sata_sil24.c | 974 struct ata_eh_info *ehi; in sil24_error_intr() local 984 ehi = &link->eh_info; in sil24_error_intr() 985 ata_ehi_clear_desc(ehi); in sil24_error_intr() 987 ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); in sil24_error_intr() 990 ata_ehi_push_desc(ehi, "SDB notify"); in sil24_error_intr() 995 ata_ehi_hotplugged(ehi); in sil24_error_intr() 996 ata_ehi_push_desc(ehi, "%s", in sil24_error_intr() 1003 ehi->err_mask |= AC_ERR_HSM; in sil24_error_intr() 1004 ehi->action |= ATA_EH_RESET; in sil24_error_intr() 1005 ata_ehi_push_desc(ehi, "unknown FIS"); in sil24_error_intr() [all …]
|
D | sata_nv.c | 811 struct ata_eh_info *ehi = &ap->link.eh_info; in nv_adma_check_cpb() local 814 ata_ehi_clear_desc(ehi); in nv_adma_check_cpb() 815 __ata_ehi_push_desc(ehi, "CPB resp_flags 0x%x: ", flags); in nv_adma_check_cpb() 817 ata_ehi_push_desc(ehi, "ATA error"); in nv_adma_check_cpb() 818 ehi->err_mask |= AC_ERR_DEV; in nv_adma_check_cpb() 820 ata_ehi_push_desc(ehi, "CMD error"); in nv_adma_check_cpb() 821 ehi->err_mask |= AC_ERR_DEV; in nv_adma_check_cpb() 823 ata_ehi_push_desc(ehi, "CPB error"); in nv_adma_check_cpb() 824 ehi->err_mask |= AC_ERR_SYSTEM; in nv_adma_check_cpb() 828 ata_ehi_push_desc(ehi, "unknown"); in nv_adma_check_cpb() [all …]
|
D | sata_inic162x.c | 328 struct ata_eh_info *ehi = &ap->link.eh_info; in inic_host_err_intr() local 333 ata_ehi_clear_desc(ehi); in inic_host_err_intr() 334 ata_ehi_push_desc(ehi, "irq_stat=0x%x idma_stat=0x%x", in inic_host_err_intr() 340 ata_ehi_push_desc(ehi, "hotplug"); in inic_host_err_intr() 341 ata_ehi_hotplugged(ehi); in inic_host_err_intr() 346 ata_ehi_push_desc(ehi, "PCI error"); in inic_host_err_intr() 351 ata_ehi_push_desc(ehi, "CPB error"); in inic_host_err_intr() 354 __ata_ehi_push_desc(ehi, " ignored"); in inic_host_err_intr() 355 ehi->err_mask |= AC_ERR_INVALID; in inic_host_err_intr() 360 ehi->err_mask |= AC_ERR_DEV; in inic_host_err_intr() [all …]
|
D | pdc_adma.c | 442 struct ata_eh_info *ehi = &ap->link.eh_info; in adma_intr_pkt() local 443 ata_ehi_clear_desc(ehi); in adma_intr_pkt() 444 ata_ehi_push_desc(ehi, in adma_intr_pkt() 446 ata_ehi_push_desc(ehi, in adma_intr_pkt() 486 struct ata_eh_info *ehi = &ap->link.eh_info; in adma_intr_mmio() local 487 ata_ehi_clear_desc(ehi); in adma_intr_mmio() 488 ata_ehi_push_desc(ehi, "status 0x%02X", status); in adma_intr_mmio()
|
D | libata-eh.c | 161 static __printf(2, 0) void __ata_ehi_pushv_desc(struct ata_eh_info *ehi, in __ata_ehi_pushv_desc() argument 164 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc() 165 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc() 179 void __ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...) in __ata_ehi_push_desc() argument 184 __ata_ehi_pushv_desc(ehi, fmt, args); in __ata_ehi_push_desc() 199 void ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...) in ata_ehi_push_desc() argument 203 if (ehi->desc_len) in ata_ehi_push_desc() 204 __ata_ehi_push_desc(ehi, ", "); in ata_ehi_push_desc() 207 __ata_ehi_pushv_desc(ehi, fmt, args); in ata_ehi_push_desc() 220 void ata_ehi_clear_desc(struct ata_eh_info *ehi) in ata_ehi_clear_desc() argument [all …]
|
D | sata_mv.c | 2477 struct ata_eh_info *ehi = &link->eh_info; in mv_pmp_eh_prep() local 2480 ata_ehi_clear_desc(ehi); in mv_pmp_eh_prep() 2481 ata_ehi_push_desc(ehi, "dev err"); in mv_pmp_eh_prep() 2482 ehi->err_mask |= AC_ERR_DEV; in mv_pmp_eh_prep() 2483 ehi->action |= ATA_EH_RESET; in mv_pmp_eh_prep() 2606 struct ata_eh_info *ehi = &ap->link.eh_info; in mv_unexpected_intr() local 2609 ata_ehi_clear_desc(ehi); in mv_unexpected_intr() 2617 ata_ehi_push_desc(ehi, "unexpected device interrupt while %s", when); in mv_unexpected_intr() 2618 ehi->err_mask |= AC_ERR_OTHER; in mv_unexpected_intr() 2619 ehi->action |= ATA_EH_RESET; in mv_unexpected_intr() [all …]
|
D | sata_fsl.c | 1085 struct ata_eh_info *ehi; in sata_fsl_error_intr() local 1092 ehi = &link->eh_info; in sata_fsl_error_intr() 1093 ata_ehi_clear_desc(ehi); in sata_fsl_error_intr() 1108 ehi->err_mask |= AC_ERR_ATA_BUS; in sata_fsl_error_intr() 1109 ehi->action |= ATA_EH_SOFTRESET; in sata_fsl_error_intr() 1123 ata_ehi_hotplugged(ehi); in sata_fsl_error_intr() 1124 ata_ehi_push_desc(ehi, "%s", "PHY RDY changed"); in sata_fsl_error_intr() 1155 ehi = &link->eh_info; in sata_fsl_error_intr() 1187 ehi->err_mask |= err_mask; in sata_fsl_error_intr() 1189 ehi->action |= action; in sata_fsl_error_intr()
|
D | sata_promise.c | 844 struct ata_eh_info *ehi = &ap->link.eh_info; in pdc_error_intr() local 847 ata_ehi_clear_desc(ehi); in pdc_error_intr() 848 ata_ehi_push_desc(ehi, "port_status 0x%08x", port_status); in pdc_error_intr() 865 ehi->serror |= serror; in pdc_error_intr() 976 struct ata_eh_info *ehi = &ap->link.eh_info; in pdc_interrupt() local 977 ata_ehi_clear_desc(ehi); in pdc_interrupt() 978 ata_ehi_hotplugged(ehi); in pdc_interrupt() 979 ata_ehi_push_desc(ehi, "hotplug_status %#x", tmp); in pdc_interrupt()
|
D | libata-sff.c | 780 struct ata_eh_info *ehi = &dev->link->eh_info; in __atapi_pio_bytes() local 789 ata_ehi_push_desc(ehi, "unexpected or too much trailing data " in __atapi_pio_bytes() 848 struct ata_eh_info *ehi = &dev->link->eh_info; in atapi_pio_bytes() local 885 ata_ehi_push_desc(ehi, "ATAPI check failed (ireason=0x%x bytes=%u)", in atapi_pio_bytes() 976 struct ata_eh_info *ehi = &link->eh_info; in ata_sff_hsm_move() local 1011 ata_ehi_push_desc(ehi, in ata_sff_hsm_move() 1033 ata_ehi_push_desc(ehi, "ST_FIRST: " in ata_sff_hsm_move() 1081 ata_ehi_push_desc(ehi, "ST-ATAPI: " in ata_sff_hsm_move() 1116 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move() 1147 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move() [all …]
|
D | libata-acpi.c | 103 struct ata_eh_info *ehi = &ap->link.eh_info; in ata_acpi_handle_hotplug() local 116 ata_ehi_push_desc(ehi, "ACPI event"); in ata_acpi_handle_hotplug() 118 ata_ehi_hotplugged(ehi); in ata_acpi_handle_hotplug() 122 ata_ehi_push_desc(ehi, "ACPI event"); in ata_acpi_handle_hotplug()
|
D | sata_qstor.c | 343 struct ata_eh_info *ehi = &ap->link.eh_info; in qs_do_or_die() local 345 ata_ehi_clear_desc(ehi); in qs_do_or_die() 346 ata_ehi_push_desc(ehi, "status 0x%02X", status); in qs_do_or_die()
|
D | pata_macio.c | 1230 struct ata_eh_info *ehi; in pata_macio_mb_event() local 1238 ehi = &ap->link.eh_info; in pata_macio_mb_event() 1240 ata_ehi_push_desc(ehi, "mediabay plug"); in pata_macio_mb_event() 1241 ata_ehi_hotplugged(ehi); in pata_macio_mb_event() 1244 ata_ehi_push_desc(ehi, "mediabay unplug"); in pata_macio_mb_event()
|
D | sata_rcar.c | 678 struct ata_eh_info *ehi = &ap->link.eh_info; in sata_rcar_serr_interrupt() local 689 ata_ehi_clear_desc(ehi); in sata_rcar_serr_interrupt() 693 ata_ehi_hotplugged(ehi); in sata_rcar_serr_interrupt() 694 ata_ehi_push_desc(ehi, "%s", "hotplug"); in sata_rcar_serr_interrupt()
|
D | sata_dwc_460ex.c | 456 struct ata_eh_info *ehi = &ap->link.eh_info; in sata_dwc_error_intr() local 462 ata_ehi_clear_desc(ehi); in sata_dwc_error_intr() 484 ehi->serror |= serror; in sata_dwc_error_intr() 485 ehi->action |= action; in sata_dwc_error_intr() 491 ehi->err_mask |= err_mask; in sata_dwc_error_intr()
|
D | sata_sil.c | 420 struct ata_eh_info *ehi = &ap->link.eh_info; in sil_host_intr() local 495 ata_ehi_push_desc(ehi, "BMDMA2 stat 0x%x", bmdma2); in sil_host_intr()
|
D | pata_arasan_cf.c | 285 struct ata_eh_info *ehi = &ap->link.eh_info; in cf_card_detect() local 301 ata_ehi_hotplugged(ehi); in cf_card_detect()
|
D | pata_octeon_cf.c | 624 struct ata_eh_info *ehi = &ap->link.eh_info; in octeon_cf_dma_finished() local 662 ata_ehi_push_desc(ehi, "DMA stat 0x%x", status); in octeon_cf_dma_finished()
|
D | libata-scsi.c | 4858 struct ata_eh_info *ehi = &link->eh_info; in ata_scsi_user_scan() local 4859 ehi->probe_mask |= ATA_ALL_DEVICES; in ata_scsi_user_scan() 4860 ehi->action |= ATA_EH_RESET; in ata_scsi_user_scan() 4866 struct ata_eh_info *ehi = &dev->link->eh_info; in ata_scsi_user_scan() local 4867 ehi->probe_mask |= 1 << dev->devno; in ata_scsi_user_scan() 4868 ehi->action |= ATA_EH_RESET; in ata_scsi_user_scan()
|
D | libata-core.c | 5255 struct ata_eh_info *ehi = &dev->link->eh_info; in ata_qc_complete() local 5303 ehi->dev_action[dev->devno] |= ATA_EH_REVALIDATE; in ata_qc_complete() 6431 struct ata_eh_info *ehi = &ap->link.eh_info; in __ata_port_probe() local 6437 ehi->probe_mask |= ATA_ALL_DEVICES; in __ata_port_probe() 6438 ehi->action |= ATA_EH_RESET; in __ata_port_probe() 6439 ehi->flags |= ATA_EHI_NO_AUTOPSY | ATA_EHI_QUIET; in __ata_port_probe()
|
D | libahci.c | 1803 struct ata_eh_info *ehi = &ap->link.eh_info; in ahci_handle_port_interrupt() local 1878 ehi->err_mask |= AC_ERR_HSM; in ahci_handle_port_interrupt() 1879 ehi->action |= ATA_EH_RESET; in ahci_handle_port_interrupt()
|
/Linux-v5.4/include/linux/ |
D | libata.h | 1452 void __ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...); 1454 void ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...); 1455 extern void ata_ehi_clear_desc(struct ata_eh_info *ehi); 1457 static inline void ata_ehi_hotplugged(struct ata_eh_info *ehi) in ata_ehi_hotplugged() argument 1459 ehi->probe_mask |= (1 << ATA_MAX_DEVICES) - 1; in ata_ehi_hotplugged() 1460 ehi->flags |= ATA_EHI_HOTPLUGGED; in ata_ehi_hotplugged() 1461 ehi->action |= ATA_EH_RESET | ATA_EH_ENABLE_LINK; in ata_ehi_hotplugged() 1462 ehi->err_mask |= AC_ERR_ATA_BUS; in ata_ehi_hotplugged()
|
/Linux-v5.4/drivers/scsi/libsas/ |
D | sas_ata.c | 826 struct ata_eh_info *ehi; in sas_ata_schedule_reset() local 834 ehi = &ap->link.eh_info; in sas_ata_schedule_reset() 837 ehi->err_mask |= AC_ERR_TIMEOUT; in sas_ata_schedule_reset() 838 ehi->action |= ATA_EH_RESET; in sas_ata_schedule_reset()
|