Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/ata/
Dlibata-eh.c323 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local
330 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()
348 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local
355 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()
357 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()
419 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local
421 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()
670 struct ata_eh_context *ehc = &link->eh_context; in ata_scsi_port_error_handler() local
680 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()
682 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler()
[all …]
Dlibata-pmp.c362 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_init_links() local
365 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() local
771 ehc->classes[0] = ATA_DEV_UNKNOWN; in sata_pmp_eh_recover_pmp()
773 if (ehc->i.action & ATA_EH_RESET) { in sata_pmp_eh_recover_pmp()
786 struct ata_eh_context *ehc = &tlink->eh_context; in sata_pmp_eh_recover_pmp() local
788 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()
789 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()
796 if (ehc->i.action & ATA_EH_REVALIDATE) in sata_pmp_eh_recover_pmp()
[all …]
Dlibata-sata.c370 struct ata_eh_context *ehc = &link->eh_context; in sata_link_scr_lpm() local
419 ehc->i.serror &= ~SERR_PHYRDY_CHG; in sata_link_scr_lpm()
1425 struct ata_eh_context *ehc = &link->eh_context; in ata_eh_analyze_ncq_error() local
1436 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1481 ehc->i.err_mask &= ~AC_ERR_DEV; in ata_eh_analyze_ncq_error()
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()
Dlibata-core.c1269 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_hpa_resize() local
1270 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_hpa_resize()
2382 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_configure() local
2383 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_configure()
3197 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local
3222 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3224 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3264 if (!(ehc->i.flags & ATA_EHI_QUIET) || in ata_dev_set_mode()
3265 ehc->i.flags & ATA_EHI_DID_HARDRESET) in ata_dev_set_mode()
3507 struct ata_eh_context *ehc = &link->eh_context; in ata_std_prereset() local
[all …]
Dsata_via.c333 struct ata_eh_context *ehc = &ap->link.eh_context; in vt6420_prereset() local
369 ehc->i.action &= ~ATA_EH_RESET; in vt6420_prereset()
Dlibata-acpi.c981 struct ata_eh_context *ehc = &ap->link.eh_context; in ata_acpi_on_devcfg() local
991 !(acpi_sata && (ehc->i.flags & ATA_EHI_DID_HARDRESET))) in ata_acpi_on_devcfg()
Dlibata-sff.c1719 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local
1727 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()
1737 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()
2029 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local
2030 const unsigned long *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
Dsata_nv.c1531 struct ata_eh_context *ehc = &link->eh_context; in nv_hardreset() local
1541 const unsigned long *timing = sata_ehc_deb_timing(ehc); in nv_hardreset()
1544 if (!(ehc->i.flags & ATA_EHI_QUIET)) in nv_hardreset()
1805 struct ata_eh_context *ehc = &ap->link.eh_context; in nv_swncq_error_handler() local
1809 ehc->i.action |= ATA_EH_RESET; in nv_swncq_error_handler()
/Linux-v5.10/include/linux/
Dlibata.h1175 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument
1177 if (ehc->i.flags & ATA_EHI_HOTPLUGGED) in sata_ehc_deb_timing()
1196 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument