Searched refs:ehc (Results 1 – 9 of 9) sorted by relevance
333 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local340 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()358 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local365 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()367 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()429 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local431 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()727 struct ata_eh_context *ehc = &link->eh_context; in ata_scsi_port_error_handler() local737 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()739 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler()[all …]
362 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_init_links() local365 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_init_links()366 ehc->i.action |= ATA_EH_RESET; in sata_pmp_init_links()747 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_eh_recover_pmp() local760 ehc->classes[0] = ATA_DEV_UNKNOWN; in sata_pmp_eh_recover_pmp()762 if (ehc->i.action & ATA_EH_RESET) { in sata_pmp_eh_recover_pmp()774 struct ata_eh_context *ehc = &tlink->eh_context; in sata_pmp_eh_recover_pmp() local776 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()777 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()784 if (ehc->i.action & ATA_EH_REVALIDATE) in sata_pmp_eh_recover_pmp()[all …]
372 struct ata_eh_context *ehc = &link->eh_context; in sata_link_scr_lpm() local434 ehc->i.serror &= ~SERR_PHYRDY_CHG; in sata_link_scr_lpm()1639 struct ata_eh_context *ehc = &link->eh_context; in ata_eh_analyze_ncq_error() local1650 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()1728 ehc->i.err_mask &= ~AC_ERR_DEV; in ata_eh_analyze_ncq_error()
286 struct ata_eh_context *ehc = &adev->link->eh_context; in ali_warn_atapi_dma() local287 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ali_warn_atapi_dma()
160 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_print_info() local162 return ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_print_info()3474 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local3499 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()3501 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()3541 if (!(ehc->i.flags & ATA_EHI_QUIET) || in ata_dev_set_mode()3542 ehc->i.flags & ATA_EHI_DID_HARDRESET) in ata_dev_set_mode()3784 struct ata_eh_context *ehc = &link->eh_context; in ata_std_prereset() local3785 const unsigned int *timing = sata_ehc_deb_timing(ehc); in ata_std_prereset()3789 if (ehc->i.action & ATA_EH_HARDRESET) in ata_std_prereset()[all …]
334 struct ata_eh_context *ehc = &ap->link.eh_context; in vt6420_prereset() local370 ehc->i.action &= ~ATA_EH_RESET; in vt6420_prereset()
1655 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local1662 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()1672 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()1964 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local1965 const unsigned int *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
1029 struct ata_eh_context *ehc = &ap->link.eh_context; in ata_acpi_on_devcfg() local1039 !(acpi_sata && (ehc->i.flags & ATA_EHI_DID_HARDRESET))) in ata_acpi_on_devcfg()
1525 struct ata_eh_context *ehc = &link->eh_context; in nv_hardreset() local1535 const unsigned int *timing = sata_ehc_deb_timing(ehc); in nv_hardreset()1538 if (!(ehc->i.flags & ATA_EHI_QUIET)) in nv_hardreset()1799 struct ata_eh_context *ehc = &ap->link.eh_context; in nv_swncq_error_handler() local1803 ehc->i.action |= ATA_EH_RESET; in nv_swncq_error_handler()