Searched refs:ehc (Results 1 – 8 of 8) sorted by relevance
349 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local356 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()374 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local381 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()383 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()445 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local447 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()749 struct ata_eh_context *ehc = &link->eh_context; in ata_scsi_port_error_handler() local759 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()761 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler()[all …]
363 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_init_links() local366 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_init_links()367 ehc->i.action |= ATA_EH_RESET; in sata_pmp_init_links()757 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_eh_recover_pmp() local772 ehc->classes[0] = ATA_DEV_UNKNOWN; in sata_pmp_eh_recover_pmp()774 if (ehc->i.action & ATA_EH_RESET) { in sata_pmp_eh_recover_pmp()787 struct ata_eh_context *ehc = &tlink->eh_context; in sata_pmp_eh_recover_pmp() local789 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()790 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()797 if (ehc->i.action & ATA_EH_REVALIDATE) in sata_pmp_eh_recover_pmp()[all …]
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()
335 struct ata_eh_context *ehc = &ap->link.eh_context; in vt6420_prereset() local371 ehc->i.action &= ~ATA_EH_RESET; in vt6420_prereset()
1331 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_hpa_resize() local1332 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_hpa_resize()2191 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_configure() local2192 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_configure()3234 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local3259 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()3261 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()3676 struct ata_eh_context *ehc = &link->eh_context; in sata_link_scr_lpm() local3723 ehc->i.serror &= ~SERR_PHYRDY_CHG; in sata_link_scr_lpm()3747 struct ata_eh_context *ehc = &link->eh_context; in ata_std_prereset() local[all …]
1795 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local1803 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()1813 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()2105 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local2106 const unsigned long *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
980 struct ata_eh_context *ehc = &ap->link.eh_context; in ata_acpi_on_devcfg() local990 !(acpi_sata && (ehc->i.flags & ATA_EHI_DID_HARDRESET))) in ata_acpi_on_devcfg()
1569 struct ata_eh_context *ehc = &link->eh_context; in nv_hardreset() local1579 const unsigned long *timing = sata_ehc_deb_timing(ehc); in nv_hardreset()1582 if (!(ehc->i.flags & ATA_EHI_QUIET)) in nv_hardreset()1843 struct ata_eh_context *ehc = &ap->link.eh_context; in nv_swncq_error_handler() local1847 ehc->i.action |= ATA_EH_RESET; in nv_swncq_error_handler()