Home
last modified time | relevance | path

Searched refs:ehc (Results 1 – 8 of 8) sorted by relevance

/drivers/ata/
Dlibata-eh.c339 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local
346 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()
364 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local
371 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()
373 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()
435 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local
437 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()
739 struct ata_eh_context *ehc = &link->eh_context; in ata_scsi_port_error_handler() local
749 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()
751 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler()
[all …]
Dlibata-pmp.c363 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_init_links() local
366 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_init_links()
367 ehc->i.action |= ATA_EH_RESET; in sata_pmp_init_links()
746 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_eh_recover_pmp() local
760 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()
775 struct ata_eh_context *ehc = &tlink->eh_context; in sata_pmp_eh_recover_pmp() local
777 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()
778 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()
785 if (ehc->i.action & ATA_EH_REVALIDATE) in sata_pmp_eh_recover_pmp()
[all …]
Dpata_ali.c286 struct ata_eh_context *ehc = &adev->link->eh_context; in ali_warn_atapi_dma() local
287 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ali_warn_atapi_dma()
Dsata_via.c336 struct ata_eh_context *ehc = &ap->link.eh_context; in vt6420_prereset() local
372 ehc->i.action &= ~ATA_EH_RESET; in vt6420_prereset()
Dlibata-core.c1323 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_hpa_resize() local
1324 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_hpa_resize()
2161 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_configure() local
2162 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_configure()
3187 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local
3212 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3214 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3629 struct ata_eh_context *ehc = &link->eh_context; in sata_link_scr_lpm() local
3676 ehc->i.serror &= ~SERR_PHYRDY_CHG; in sata_link_scr_lpm()
3700 struct ata_eh_context *ehc = &link->eh_context; in ata_std_prereset() local
[all …]
Dlibata-sff.c1788 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local
1796 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()
1806 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()
2096 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local
2097 const unsigned long *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
Dlibata-acpi.c990 struct ata_eh_context *ehc = &ap->link.eh_context; in ata_acpi_on_devcfg() local
1000 !(acpi_sata && (ehc->i.flags & ATA_EHI_DID_HARDRESET))) in ata_acpi_on_devcfg()
Dsata_nv.c1568 struct ata_eh_context *ehc = &link->eh_context; in nv_hardreset() local
1578 const unsigned long *timing = sata_ehc_deb_timing(ehc); in nv_hardreset()
1581 if (!(ehc->i.flags & ATA_EHI_QUIET)) in nv_hardreset()
1842 struct ata_eh_context *ehc = &ap->link.eh_context; in nv_swncq_error_handler() local
1846 ehc->i.action |= ATA_EH_RESET; in nv_swncq_error_handler()