Home
last modified time | relevance | path

Searched refs:ehi (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/ata/
Dsata_sil24.c975 struct ata_eh_info *ehi; in sil24_error_intr() local
985 ehi = &link->eh_info; in sil24_error_intr()
986 ata_ehi_clear_desc(ehi); in sil24_error_intr()
988 ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); in sil24_error_intr()
991 ata_ehi_push_desc(ehi, "SDB notify"); in sil24_error_intr()
996 ata_ehi_hotplugged(ehi); in sil24_error_intr()
997 ata_ehi_push_desc(ehi, "%s", in sil24_error_intr()
1004 ehi->err_mask |= AC_ERR_HSM; in sil24_error_intr()
1005 ehi->action |= ATA_EH_RESET; in sil24_error_intr()
1006 ata_ehi_push_desc(ehi, "unknown FIS"); in sil24_error_intr()
[all …]
Dsata_nv.c818 struct ata_eh_info *ehi = &ap->link.eh_info; in nv_adma_check_cpb() local
821 ata_ehi_clear_desc(ehi); in nv_adma_check_cpb()
822 __ata_ehi_push_desc(ehi, "CPB resp_flags 0x%x: ", flags); in nv_adma_check_cpb()
824 ata_ehi_push_desc(ehi, "ATA error"); in nv_adma_check_cpb()
825 ehi->err_mask |= AC_ERR_DEV; in nv_adma_check_cpb()
827 ata_ehi_push_desc(ehi, "CMD error"); in nv_adma_check_cpb()
828 ehi->err_mask |= AC_ERR_DEV; in nv_adma_check_cpb()
830 ata_ehi_push_desc(ehi, "CPB error"); in nv_adma_check_cpb()
831 ehi->err_mask |= AC_ERR_SYSTEM; in nv_adma_check_cpb()
835 ata_ehi_push_desc(ehi, "unknown"); in nv_adma_check_cpb()
[all …]
Dsata_inic162x.c328 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 …]
Dpdc_adma.c420 struct ata_eh_info *ehi = &ap->link.eh_info; in adma_intr_pkt() local
421 ata_ehi_clear_desc(ehi); in adma_intr_pkt()
422 ata_ehi_push_desc(ehi, in adma_intr_pkt()
424 ata_ehi_push_desc(ehi, in adma_intr_pkt()
462 struct ata_eh_info *ehi = &ap->link.eh_info; in adma_intr_mmio() local
463 ata_ehi_clear_desc(ehi); in adma_intr_mmio()
464 ata_ehi_push_desc(ehi, "status 0x%02X", status); in adma_intr_mmio()
Dlibata-eh.c169 static __printf(2, 0) void __ata_ehi_pushv_desc(struct ata_eh_info *ehi, in __ata_ehi_pushv_desc() argument
172 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc()
173 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc()
187 void __ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...) in __ata_ehi_push_desc() argument
192 __ata_ehi_pushv_desc(ehi, fmt, args); in __ata_ehi_push_desc()
208 void ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...) in ata_ehi_push_desc() argument
212 if (ehi->desc_len) in ata_ehi_push_desc()
213 __ata_ehi_push_desc(ehi, ", "); in ata_ehi_push_desc()
216 __ata_ehi_pushv_desc(ehi, fmt, args); in ata_ehi_push_desc()
230 void ata_ehi_clear_desc(struct ata_eh_info *ehi) in ata_ehi_clear_desc() argument
[all …]
Dsata_mv.c2476 struct ata_eh_info *ehi = &link->eh_info; in mv_pmp_eh_prep() local
2479 ata_ehi_clear_desc(ehi); in mv_pmp_eh_prep()
2480 ata_ehi_push_desc(ehi, "dev err"); in mv_pmp_eh_prep()
2481 ehi->err_mask |= AC_ERR_DEV; in mv_pmp_eh_prep()
2482 ehi->action |= ATA_EH_RESET; in mv_pmp_eh_prep()
2605 struct ata_eh_info *ehi = &ap->link.eh_info; in mv_unexpected_intr() local
2608 ata_ehi_clear_desc(ehi); in mv_unexpected_intr()
2616 ata_ehi_push_desc(ehi, "unexpected device interrupt while %s", when); in mv_unexpected_intr()
2617 ehi->err_mask |= AC_ERR_OTHER; in mv_unexpected_intr()
2618 ehi->action |= ATA_EH_RESET; in mv_unexpected_intr()
[all …]
Dsata_fsl.c1062 struct ata_eh_info *ehi; in sata_fsl_error_intr() local
1069 ehi = &link->eh_info; in sata_fsl_error_intr()
1070 ata_ehi_clear_desc(ehi); in sata_fsl_error_intr()
1085 ehi->err_mask |= AC_ERR_ATA_BUS; in sata_fsl_error_intr()
1086 ehi->action |= ATA_EH_SOFTRESET; in sata_fsl_error_intr()
1100 ata_ehi_hotplugged(ehi); in sata_fsl_error_intr()
1101 ata_ehi_push_desc(ehi, "%s", "PHY RDY changed"); in sata_fsl_error_intr()
1132 ehi = &link->eh_info; in sata_fsl_error_intr()
1164 ehi->err_mask |= err_mask; in sata_fsl_error_intr()
1166 ehi->action |= action; in sata_fsl_error_intr()
Dsata_promise.c838 struct ata_eh_info *ehi = &ap->link.eh_info; in pdc_error_intr() local
841 ata_ehi_clear_desc(ehi); in pdc_error_intr()
842 ata_ehi_push_desc(ehi, "port_status 0x%08x", port_status); in pdc_error_intr()
859 ehi->serror |= serror; in pdc_error_intr()
961 struct ata_eh_info *ehi = &ap->link.eh_info; in pdc_interrupt() local
962 ata_ehi_clear_desc(ehi); in pdc_interrupt()
963 ata_ehi_hotplugged(ehi); in pdc_interrupt()
964 ata_ehi_push_desc(ehi, "hotplug_status %#x", tmp); in pdc_interrupt()
Dlibata-sff.c734 struct ata_eh_info *ehi = &dev->link->eh_info; in __atapi_pio_bytes() local
743 ata_ehi_push_desc(ehi, "unexpected or too much trailing data " in __atapi_pio_bytes()
802 struct ata_eh_info *ehi = &dev->link->eh_info; in atapi_pio_bytes() local
837 ata_ehi_push_desc(ehi, "ATAPI check failed (ireason=0x%x bytes=%u)", in atapi_pio_bytes()
918 struct ata_eh_info *ehi = &link->eh_info; in ata_sff_hsm_move() local
952 ata_ehi_push_desc(ehi, in ata_sff_hsm_move()
974 ata_ehi_push_desc(ehi, "ST_FIRST: " in ata_sff_hsm_move()
1022 ata_ehi_push_desc(ehi, "ST-ATAPI: " in ata_sff_hsm_move()
1057 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
1088 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
[all …]
Dsata_qstor.c338 struct ata_eh_info *ehi = &ap->link.eh_info; in qs_do_or_die() local
340 ata_ehi_clear_desc(ehi); in qs_do_or_die()
341 ata_ehi_push_desc(ehi, "status 0x%02X", status); in qs_do_or_die()
Dlibata-acpi.c103 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()
Dpata_macio.c1231 struct ata_eh_info *ehi; in pata_macio_mb_event() local
1239 ehi = &ap->link.eh_info; in pata_macio_mb_event()
1241 ata_ehi_push_desc(ehi, "mediabay plug"); in pata_macio_mb_event()
1242 ata_ehi_hotplugged(ehi); in pata_macio_mb_event()
1245 ata_ehi_push_desc(ehi, "mediabay unplug"); in pata_macio_mb_event()
Dsata_dwc_460ex.c415 struct ata_eh_info *ehi = &ap->link.eh_info; in sata_dwc_error_intr() local
421 ata_ehi_clear_desc(ehi); in sata_dwc_error_intr()
443 ehi->serror |= serror; in sata_dwc_error_intr()
444 ehi->action |= action; in sata_dwc_error_intr()
450 ehi->err_mask |= err_mask; in sata_dwc_error_intr()
Dsata_rcar.c653 struct ata_eh_info *ehi = &ap->link.eh_info; in sata_rcar_serr_interrupt() local
664 ata_ehi_clear_desc(ehi); in sata_rcar_serr_interrupt()
668 ata_ehi_hotplugged(ehi); in sata_rcar_serr_interrupt()
669 ata_ehi_push_desc(ehi, "%s", "hotplug"); in sata_rcar_serr_interrupt()
Dsata_sil.c421 struct ata_eh_info *ehi = &ap->link.eh_info; in sil_host_intr() local
496 ata_ehi_push_desc(ehi, "BMDMA2 stat 0x%x", bmdma2); in sil_host_intr()
Dpata_arasan_cf.c285 struct ata_eh_info *ehi = &ap->link.eh_info; in cf_card_detect() local
301 ata_ehi_hotplugged(ehi); in cf_card_detect()
Dpata_octeon_cf.c593 struct ata_eh_info *ehi = &ap->link.eh_info; in octeon_cf_dma_finished() local
629 ata_ehi_push_desc(ehi, "DMA stat 0x%x", status); in octeon_cf_dma_finished()
Dlibata-scsi.c4726 struct ata_eh_info *ehi = &link->eh_info; in ata_scsi_user_scan() local
4727 ehi->probe_mask |= ATA_ALL_DEVICES; in ata_scsi_user_scan()
4728 ehi->action |= ATA_EH_RESET; in ata_scsi_user_scan()
4734 struct ata_eh_info *ehi = &dev->link->eh_info; in ata_scsi_user_scan() local
4735 ehi->probe_mask |= 1 << dev->devno; in ata_scsi_user_scan()
4736 ehi->action |= ATA_EH_RESET; in ata_scsi_user_scan()
Dlibata-core.c4831 struct ata_eh_info *ehi = &dev->link->eh_info; in ata_qc_complete() local
4888 ehi->dev_action[dev->devno] |= ATA_EH_GET_SUCCESS_SENSE; in ata_qc_complete()
4911 ehi->dev_action[dev->devno] |= ATA_EH_REVALIDATE; in ata_qc_complete()
5841 struct ata_eh_info *ehi = &ap->link.eh_info; in ata_port_probe() local
5847 ehi->probe_mask |= ATA_ALL_DEVICES; in ata_port_probe()
5848 ehi->action |= ATA_EH_RESET; in ata_port_probe()
5849 ehi->flags |= ATA_EHI_NO_AUTOPSY | ATA_EHI_QUIET; in ata_port_probe()
Dlibahci.c1865 struct ata_eh_info *ehi = &ap->link.eh_info; in ahci_qc_complete() local
1890 ehi->err_mask |= AC_ERR_HSM; in ahci_qc_complete()
1891 ehi->action |= ATA_EH_RESET; in ahci_qc_complete()
/linux-6.6.21/include/linux/
Dlibata.h1542 void __ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...);
1544 void ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...);
1545 extern void ata_ehi_clear_desc(struct ata_eh_info *ehi);
1547 static inline void ata_ehi_hotplugged(struct ata_eh_info *ehi) in ata_ehi_hotplugged() argument
1549 ehi->probe_mask |= (1 << ATA_MAX_DEVICES) - 1; in ata_ehi_hotplugged()
1550 ehi->flags |= ATA_EHI_HOTPLUGGED; in ata_ehi_hotplugged()
1551 ehi->action |= ATA_EH_RESET | ATA_EH_ENABLE_LINK; in ata_ehi_hotplugged()
1552 ehi->err_mask |= AC_ERR_ATA_BUS; in ata_ehi_hotplugged()
/linux-6.6.21/drivers/scsi/libsas/
Dsas_ata.c913 struct ata_eh_info *ehi; in sas_ata_schedule_reset() local
921 ehi = &ap->link.eh_info; in sas_ata_schedule_reset()
924 ehi->err_mask |= AC_ERR_TIMEOUT; in sas_ata_schedule_reset()
925 ehi->action |= ATA_EH_RESET; in sas_ata_schedule_reset()