Home
last modified time | relevance | path

Searched refs:ehc (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-6.6/drivers/ata/
H A Dlibata-eh.c129 * ehc->cmd_timeout_idx keeps track of which timeout to use per
335 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local
342 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()
360 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local
367 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()
369 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()
431 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local
433 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()
688 struct ata_eh_context *ehc in ata_scsi_port_error_handler() local
1238 struct ata_eh_context *ehc = &link->eh_context; ata_eh_detach_dev() local
1286 struct ata_eh_context *ehc = &link->eh_context; ata_eh_about_to_do() local
1319 struct ata_eh_context *ehc = &link->eh_context; ata_eh_done() local
1514 struct ata_eh_context *ehc = &link->eh_context; ata_eh_analyze_serror() local
1948 struct ata_eh_context *ehc = &link->eh_context; ata_eh_get_success_sense() local
2026 struct ata_eh_context *ehc = &link->eh_context; ata_eh_link_autopsy() local
2332 struct ata_eh_context *ehc = &link->eh_context; ata_eh_link_report() local
2562 struct ata_eh_context *ehc = &link->eh_context; ata_eh_reset() local
2999 struct ata_eh_context *ehc = &dev->link->eh_context; ata_eh_park_issue_cmd() local
3029 struct ata_eh_context *ehc = &link->eh_context; ata_eh_revalidate_and_attach() local
3217 struct ata_eh_context *ehc = &link->eh_context; ata_set_mode() local
3374 struct ata_eh_context *ehc = &link->eh_context; ata_eh_set_lpm() local
3511 struct ata_eh_context *ehc = &link->eh_context; ata_eh_skip_recovery() local
3557 struct ata_eh_context *ehc = &dev->link->eh_context; ata_eh_schedule_probe() local
3606 struct ata_eh_context *ehc = &dev->link->eh_context; ata_eh_handle_dev_fail() local
3690 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3731 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3743 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3768 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3812 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
[all...]
H A 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()
752 struct ata_eh_context *ehc = &link->eh_context; in sata_pmp_eh_recover_pmp() local
765 ehc->classes[0] = ATA_DEV_UNKNOWN; in sata_pmp_eh_recover_pmp()
767 if (ehc->i.action & ATA_EH_RESET) { in sata_pmp_eh_recover_pmp()
780 struct ata_eh_context *ehc = &tlink->eh_context; in sata_pmp_eh_recover_pmp() local
782 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()
783 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()
790 if (ehc in sata_pmp_eh_recover_pmp()
[all...]
H A Dlibata-sata.c372 struct ata_eh_context *ehc = &link->eh_context; in sata_link_scr_lpm() local
434 ehc->i.serror &= ~SERR_PHYRDY_CHG; in sata_link_scr_lpm()
1448 struct ata_eh_context *ehc = &link->eh_context; in ata_eh_analyze_ncq_error() local
1459 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1539 ehc->i.err_mask &= ~AC_ERR_DEV; in ata_eh_analyze_ncq_error()
H A 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()
H A 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()
H A Dlibata-sff.c1654 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local
1661 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()
1671 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()
1963 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local
1964 const unsigned int *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
H A Dlibata-core.c165 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_print_info() local
167 return ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_print_info()
3425 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local
3450 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3452 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3492 if (!(ehc->i.flags & ATA_EHI_QUIET) || in ata_dev_set_mode()
3493 ehc->i.flags & ATA_EHI_DID_HARDRESET) in ata_dev_set_mode()
3735 struct ata_eh_context *ehc = &link->eh_context; in ata_std_prereset() local
3736 const unsigned int *timing = sata_ehc_deb_timing(ehc); in ata_std_prereset()
3740 if (ehc in ata_std_prereset()
[all...]
H A Dlibata-acpi.c954 struct ata_eh_context *ehc = &ap->link.eh_context; in ata_acpi_on_devcfg() local
964 !(acpi_sata && (ehc->i.flags & ATA_EHI_DID_HARDRESET))) in ata_acpi_on_devcfg()
H A Dsata_nv.c1522 struct ata_eh_context *ehc = &link->eh_context; in nv_hardreset() local
1532 const unsigned int *timing = sata_ehc_deb_timing(ehc); in nv_hardreset()
1535 if (!(ehc->i.flags & ATA_EHI_QUIET)) in nv_hardreset()
1796 struct ata_eh_context *ehc = &ap->link.eh_context; in nv_swncq_error_handler() local
1800 ehc->i.action |= ATA_EH_RESET; in nv_swncq_error_handler()
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-eh.c129 * ehc->cmd_timeout_idx keeps track of which timeout to use per
331 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local
338 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()
356 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local
363 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()
365 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()
427 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local
429 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()
678 struct ata_eh_context *ehc in ata_scsi_port_error_handler() local
1246 struct ata_eh_context *ehc = &link->eh_context; ata_eh_detach_dev() local
1287 struct ata_eh_context *ehc = &link->eh_context; ata_eh_about_to_do() local
1318 struct ata_eh_context *ehc = &link->eh_context; ata_eh_done() local
1508 struct ata_eh_context *ehc = &link->eh_context; ata_eh_analyze_serror() local
1924 struct ata_eh_context *ehc = &link->eh_context; ata_eh_link_autopsy() local
2224 struct ata_eh_context *ehc = &link->eh_context; ata_eh_link_report() local
2457 struct ata_eh_context *ehc = &link->eh_context; ata_eh_reset() local
2882 struct ata_eh_context *ehc = &dev->link->eh_context; ata_eh_park_issue_cmd() local
2912 struct ata_eh_context *ehc = &link->eh_context; ata_eh_revalidate_and_attach() local
3077 struct ata_eh_context *ehc = &link->eh_context; ata_set_mode() local
3234 struct ata_eh_context *ehc = &link->eh_context; ata_eh_set_lpm() local
3371 struct ata_eh_context *ehc = &link->eh_context; ata_eh_skip_recovery() local
3417 struct ata_eh_context *ehc = &dev->link->eh_context; ata_eh_schedule_probe() local
3466 struct ata_eh_context *ehc = &dev->link->eh_context; ata_eh_handle_dev_fail() local
3552 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3593 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3605 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3630 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
3674 struct ata_eh_context *ehc = &link->eh_context; ata_eh_recover() local
[all...]
H A 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 in sata_pmp_eh_recover_pmp()
[all...]
H A Dlibata-sata.c370 struct ata_eh_context *ehc = &link->eh_context; in sata_link_scr_lpm() local
432 ehc->i.serror &= ~SERR_PHYRDY_CHG; in sata_link_scr_lpm()
1438 struct ata_eh_context *ehc = &link->eh_context; in ata_eh_analyze_ncq_error() local
1449 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1494 ehc->i.err_mask &= ~AC_ERR_DEV; in ata_eh_analyze_ncq_error()
H A 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()
H A 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()
H A 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()
2408 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_configure() local
2409 int print_info = ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_configure()
3223 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local
3248 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3250 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3290 if (!(ehc->i.flags & ATA_EHI_QUIET) || in ata_dev_set_mode()
3291 ehc->i.flags & ATA_EHI_DID_HARDRESET) in ata_dev_set_mode()
3533 struct ata_eh_context *ehc in ata_std_prereset() local
[all...]
H A Dlibata-sff.c1738 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local
1746 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()
1756 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()
2048 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local
2049 const unsigned long *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
H A 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()
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A Dlibata.h1180 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument
1182 if (ehc->i.flags & ATA_EHI_HOTPLUGGED) in sata_ehc_deb_timing()
1201 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument
/kernel/linux/linux-6.6/include/linux/
H A Dlibata.h1174 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument
1176 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

Completed in 49 milliseconds