Searched refs:ehc (Results 1 – 9 of 9) sorted by relevance
324 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local331 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()349 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local356 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()358 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()420 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local422 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()671 struct ata_eh_context *ehc = &link->eh_context; in ata_scsi_port_error_handler() local681 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()683 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()756 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_eh_recover_pmp() local770 ehc->classes[0] = ATA_DEV_UNKNOWN; in sata_pmp_eh_recover_pmp()772 if (ehc->i.action & ATA_EH_RESET) { in sata_pmp_eh_recover_pmp()785 struct ata_eh_context *ehc = &tlink->eh_context; in sata_pmp_eh_recover_pmp() local787 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()788 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()795 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()
1326 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_hpa_resize() local1327 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_hpa_resize()2434 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_configure() local2435 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_configure()3487 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local3512 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()3514 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()3554 if (!(ehc->i.flags & ATA_EHI_QUIET) || in ata_dev_set_mode()3555 ehc->i.flags & ATA_EHI_DID_HARDRESET) in ata_dev_set_mode()3932 struct ata_eh_context *ehc = &link->eh_context; in sata_link_scr_lpm() local[all …]
333 struct ata_eh_context *ehc = &ap->link.eh_context; in vt6420_prereset() local369 ehc->i.action &= ~ATA_EH_RESET; in vt6420_prereset()
981 struct ata_eh_context *ehc = &ap->link.eh_context; in ata_acpi_on_devcfg() local991 !(acpi_sata && (ehc->i.flags & ATA_EHI_DID_HARDRESET))) in ata_acpi_on_devcfg()
1723 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local1731 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()1741 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()2033 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local2034 const unsigned long *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
1529 struct ata_eh_context *ehc = &link->eh_context; in nv_hardreset() local1539 const unsigned long *timing = sata_ehc_deb_timing(ehc); in nv_hardreset()1542 if (!(ehc->i.flags & ATA_EHI_QUIET)) in nv_hardreset()1803 struct ata_eh_context *ehc = &ap->link.eh_context; in nv_swncq_error_handler() local1807 ehc->i.action |= ATA_EH_RESET; in nv_swncq_error_handler()
1064 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument1066 if (ehc->i.flags & ATA_EHI_HOTPLUGGED) in sata_ehc_deb_timing()