Home
last modified time | relevance | path

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

/drivers/ata/
Dsata_sil24.c986 struct ata_eh_info *ehi; in sil24_error_intr() local
996 ehi = &link->eh_info; in sil24_error_intr()
997 ata_ehi_clear_desc(ehi); in sil24_error_intr()
999 ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); in sil24_error_intr()
1002 ata_ehi_push_desc(ehi, "SDB notify"); in sil24_error_intr()
1007 ata_ehi_hotplugged(ehi); in sil24_error_intr()
1008 ata_ehi_push_desc(ehi, "%s", in sil24_error_intr()
1015 ehi->err_mask |= AC_ERR_HSM; in sil24_error_intr()
1016 ehi->action |= ATA_EH_RESET; in sil24_error_intr()
1017 ata_ehi_push_desc(ehi, "unknown FIS"); in sil24_error_intr()
[all …]
Dsata_nv.c846 struct ata_eh_info *ehi = &ap->link.eh_info; in nv_adma_check_cpb() local
849 ata_ehi_clear_desc(ehi); in nv_adma_check_cpb()
850 __ata_ehi_push_desc(ehi, "CPB resp_flags 0x%x: ", flags); in nv_adma_check_cpb()
852 ata_ehi_push_desc(ehi, "ATA error"); in nv_adma_check_cpb()
853 ehi->err_mask |= AC_ERR_DEV; in nv_adma_check_cpb()
855 ata_ehi_push_desc(ehi, "CMD error"); in nv_adma_check_cpb()
856 ehi->err_mask |= AC_ERR_DEV; in nv_adma_check_cpb()
858 ata_ehi_push_desc(ehi, "CPB error"); in nv_adma_check_cpb()
859 ehi->err_mask |= AC_ERR_SYSTEM; in nv_adma_check_cpb()
863 ata_ehi_push_desc(ehi, "unknown"); in nv_adma_check_cpb()
[all …]
Dsata_inic162x.c322 struct ata_eh_info *ehi = &ap->link.eh_info; in inic_host_err_intr() local
327 ata_ehi_clear_desc(ehi); in inic_host_err_intr()
328 ata_ehi_push_desc(ehi, "irq_stat=0x%x idma_stat=0x%x", in inic_host_err_intr()
334 ata_ehi_push_desc(ehi, "hotplug"); in inic_host_err_intr()
335 ata_ehi_hotplugged(ehi); in inic_host_err_intr()
340 ata_ehi_push_desc(ehi, "PCI error"); in inic_host_err_intr()
345 ata_ehi_push_desc(ehi, "CPB error"); in inic_host_err_intr()
348 __ata_ehi_push_desc(ehi, " ignored"); in inic_host_err_intr()
349 ehi->err_mask |= AC_ERR_INVALID; in inic_host_err_intr()
354 ehi->err_mask |= AC_ERR_DEV; in inic_host_err_intr()
[all …]
Dpdc_adma.c459 struct ata_eh_info *ehi = &ap->link.eh_info; in adma_intr_pkt() local
460 ata_ehi_clear_desc(ehi); in adma_intr_pkt()
461 ata_ehi_push_desc(ehi, in adma_intr_pkt()
463 ata_ehi_push_desc(ehi, in adma_intr_pkt()
503 struct ata_eh_info *ehi = &ap->link.eh_info; in adma_intr_mmio() local
504 ata_ehi_clear_desc(ehi); in adma_intr_mmio()
505 ata_ehi_push_desc(ehi, "status 0x%02X", status); in adma_intr_mmio()
Dsata_mv.c2485 struct ata_eh_info *ehi; in mv_pmp_eh_prep() local
2491 ehi = &ap->link.eh_info; in mv_pmp_eh_prep()
2498 ehi = &link->eh_info; in mv_pmp_eh_prep()
2499 ata_ehi_clear_desc(ehi); in mv_pmp_eh_prep()
2500 ata_ehi_push_desc(ehi, "dev err"); in mv_pmp_eh_prep()
2501 ehi->err_mask |= AC_ERR_DEV; in mv_pmp_eh_prep()
2502 ehi->action |= ATA_EH_RESET; in mv_pmp_eh_prep()
2625 struct ata_eh_info *ehi = &ap->link.eh_info; in mv_unexpected_intr() local
2628 ata_ehi_clear_desc(ehi); in mv_unexpected_intr()
2636 ata_ehi_push_desc(ehi, "unexpected device interrupt while %s", when); in mv_unexpected_intr()
[all …]
Dlibata-eh.c186 static void __ata_ehi_pushv_desc(struct ata_eh_info *ehi, const char *fmt, in __ata_ehi_pushv_desc() argument
189 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc()
190 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc()
204 void __ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...) in __ata_ehi_push_desc() argument
209 __ata_ehi_pushv_desc(ehi, fmt, args); in __ata_ehi_push_desc()
224 void ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...) in ata_ehi_push_desc() argument
228 if (ehi->desc_len) in ata_ehi_push_desc()
229 __ata_ehi_push_desc(ehi, ", "); in ata_ehi_push_desc()
232 __ata_ehi_pushv_desc(ehi, fmt, args); in ata_ehi_push_desc()
245 void ata_ehi_clear_desc(struct ata_eh_info *ehi) in ata_ehi_clear_desc() argument
[all …]
Dsata_fsl.c1098 struct ata_eh_info *ehi; in sata_fsl_error_intr() local
1105 ehi = &link->eh_info; in sata_fsl_error_intr()
1106 ata_ehi_clear_desc(ehi); in sata_fsl_error_intr()
1121 ehi->err_mask |= AC_ERR_ATA_BUS; in sata_fsl_error_intr()
1122 ehi->action |= ATA_EH_SOFTRESET; in sata_fsl_error_intr()
1136 ata_ehi_hotplugged(ehi); in sata_fsl_error_intr()
1137 ata_ehi_push_desc(ehi, "%s", "PHY RDY changed"); in sata_fsl_error_intr()
1168 ehi = &link->eh_info; in sata_fsl_error_intr()
1200 ehi->err_mask |= err_mask; in sata_fsl_error_intr()
1202 ehi->action |= action; in sata_fsl_error_intr()
Dsata_promise.c862 struct ata_eh_info *ehi = &ap->link.eh_info; in pdc_error_intr() local
865 ata_ehi_clear_desc(ehi); in pdc_error_intr()
866 ata_ehi_push_desc(ehi, "port_status 0x%08x", port_status); in pdc_error_intr()
883 ehi->serror |= serror; in pdc_error_intr()
994 struct ata_eh_info *ehi = &ap->link.eh_info; in pdc_interrupt() local
995 ata_ehi_clear_desc(ehi); in pdc_interrupt()
996 ata_ehi_hotplugged(ehi); in pdc_interrupt()
997 ata_ehi_push_desc(ehi, "hotplug_status %#x", tmp); in pdc_interrupt()
Dlibata-sff.c839 struct ata_eh_info *ehi = &dev->link->eh_info; in __atapi_pio_bytes() local
848 ata_ehi_push_desc(ehi, "unexpected or too much trailing data " in __atapi_pio_bytes()
921 struct ata_eh_info *ehi = &dev->link->eh_info; in atapi_pio_bytes() local
958 ata_ehi_push_desc(ehi, "ATAPI check failed (ireason=0x%x bytes=%u)", in atapi_pio_bytes()
1049 struct ata_eh_info *ehi = &link->eh_info; in ata_sff_hsm_move() local
1084 ata_ehi_push_desc(ehi, in ata_sff_hsm_move()
1106 ata_ehi_push_desc(ehi, "ST_FIRST: " in ata_sff_hsm_move()
1154 ata_ehi_push_desc(ehi, "ST-ATAPI: " in ata_sff_hsm_move()
1189 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
1220 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
[all …]
Dlibata-acpi.c102 struct ata_eh_info *ehi = &ap->link.eh_info; in ata_acpi_handle_hotplug() local
115 ata_ehi_push_desc(ehi, "ACPI event"); in ata_acpi_handle_hotplug()
117 ata_ehi_hotplugged(ehi); in ata_acpi_handle_hotplug()
121 ata_ehi_push_desc(ehi, "ACPI event"); in ata_acpi_handle_hotplug()
Dpata_macio.c1232 struct ata_eh_info *ehi; in pata_macio_mb_event() local
1240 ehi = &ap->link.eh_info; in pata_macio_mb_event()
1242 ata_ehi_push_desc(ehi, "mediabay plug"); in pata_macio_mb_event()
1243 ata_ehi_hotplugged(ehi); in pata_macio_mb_event()
1246 ata_ehi_push_desc(ehi, "mediabay unplug"); in pata_macio_mb_event()
Dsata_qstor.c361 struct ata_eh_info *ehi = &ap->link.eh_info; in qs_do_or_die() local
363 ata_ehi_clear_desc(ehi); in qs_do_or_die()
364 ata_ehi_push_desc(ehi, "status 0x%02X", status); in qs_do_or_die()
Dsata_rcar.c681 struct ata_eh_info *ehi = &ap->link.eh_info; in sata_rcar_serr_interrupt() local
692 ata_ehi_clear_desc(ehi); in sata_rcar_serr_interrupt()
696 ata_ehi_hotplugged(ehi); in sata_rcar_serr_interrupt()
697 ata_ehi_push_desc(ehi, "%s", "hotplug"); in sata_rcar_serr_interrupt()
Dsata_dwc_460ex.c407 struct ata_eh_info *ehi = &ap->link.eh_info; in sata_dwc_error_intr() local
413 ata_ehi_clear_desc(ehi); in sata_dwc_error_intr()
435 ehi->serror |= serror; in sata_dwc_error_intr()
436 ehi->action |= action; in sata_dwc_error_intr()
442 ehi->err_mask |= err_mask; in sata_dwc_error_intr()
Dsata_sil.c438 struct ata_eh_info *ehi = &ap->link.eh_info; in sil_host_intr() local
513 ata_ehi_push_desc(ehi, "BMDMA2 stat 0x%x", bmdma2); in sil_host_intr()
Dlibata-scsi.c4043 struct ata_eh_info *ehi = &link->eh_info; in ata_scsi_user_scan() local
4044 ehi->probe_mask |= ATA_ALL_DEVICES; in ata_scsi_user_scan()
4045 ehi->action |= ATA_EH_RESET; in ata_scsi_user_scan()
4051 struct ata_eh_info *ehi = &dev->link->eh_info; in ata_scsi_user_scan() local
4052 ehi->probe_mask |= 1 << dev->devno; in ata_scsi_user_scan()
4053 ehi->action |= ATA_EH_RESET; in ata_scsi_user_scan()
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.c633 struct ata_eh_info *ehi = &ap->link.eh_info; in octeon_cf_dma_finished() local
671 ata_ehi_push_desc(ehi, "DMA stat 0x%x", status); in octeon_cf_dma_finished()
Dpata_bf54x.c1302 struct ata_eh_info *ehi = &ap->link.eh_info; in bfin_ata_host_intr() local
1367 ata_ehi_push_desc(ehi, "BMDMA stat 0x%x", host_stat); in bfin_ata_host_intr()
Dlibata-core.c4987 struct ata_eh_info *ehi = &dev->link->eh_info; in ata_qc_complete() local
5033 ehi->dev_action[dev->devno] |= ATA_EH_REVALIDATE; in ata_qc_complete()
6123 struct ata_eh_info *ehi = &ap->link.eh_info; in __ata_port_probe() local
6129 ehi->probe_mask |= ATA_ALL_DEVICES; in __ata_port_probe()
6130 ehi->action |= ATA_EH_RESET; in __ata_port_probe()
6131 ehi->flags |= ATA_EHI_NO_AUTOPSY | ATA_EHI_QUIET; in __ata_port_probe()
Dlibahci.c1716 struct ata_eh_info *ehi = &ap->link.eh_info; in ahci_handle_port_interrupt() local
1791 ehi->err_mask |= AC_ERR_HSM; in ahci_handle_port_interrupt()
1792 ehi->action |= ATA_EH_RESET; in ahci_handle_port_interrupt()
/drivers/scsi/libsas/
Dsas_ata.c840 struct ata_eh_info *ehi; in sas_ata_schedule_reset() local
848 ehi = &ap->link.eh_info; in sas_ata_schedule_reset()
851 ehi->err_mask |= AC_ERR_TIMEOUT; in sas_ata_schedule_reset()
852 ehi->action |= ATA_EH_RESET; in sas_ata_schedule_reset()