Home
last modified time | relevance | path

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

/linux/drivers/ata/
A Dlibata-eh.c433 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()
2185 if (ehc->i.dev) { in ata_eh_link_autopsy()
2186 ehc->i.dev_action[ehc->i.dev->devno] |= in ata_eh_link_autopsy()
2196 dev = ehc->i.dev; in ata_eh_link_autopsy()
2425 if (ehc->i.dev) { in ata_eh_link_report()
2428 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2435 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2442 if (ehc->i.serror) in ata_eh_link_report()
3672 ehc->tries[dev->devno] = min(ehc->tries[dev->devno], 1); in ata_eh_handle_dev_fail()
3759 ehc->i.action |= ehc->i.dev_action[dev->devno] & in ata_eh_recover()
[all …]
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()
764 ehc->classes[0] = ATA_DEV_UNKNOWN; in sata_pmp_eh_recover_pmp()
766 if (ehc->i.action & ATA_EH_RESET) { in sata_pmp_eh_recover_pmp()
781 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()
782 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()
789 if (ehc->i.action & ATA_EH_REVALIDATE) in sata_pmp_eh_recover_pmp()
798 ehc->i.probe_mask |= ATA_ALL_DEVICES; in sata_pmp_eh_recover_pmp()
811 ehc->i.action |= ATA_EH_RESET; in sata_pmp_eh_recover_pmp()
[all …]
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()
1590 struct ata_eh_context *ehc = &link->eh_context; in ata_eh_analyze_ncq_error() local
1601 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1681 ehc->i.err_mask &= ~AC_ERR_DEV; in ata_eh_analyze_ncq_error()
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()
A Dlibata-core.c157 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_print_info() local
159 return ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_print_info()
3336 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local
3361 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3363 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3403 if (!(ehc->i.flags & ATA_EHI_QUIET) || in ata_dev_set_mode()
3404 ehc->i.flags & ATA_EHI_DID_HARDRESET) in ata_dev_set_mode()
3646 struct ata_eh_context *ehc = &link->eh_context; in ata_std_prereset() local
3651 if (ehc->i.action & ATA_EH_HARDRESET) in ata_std_prereset()
3666 ehc->i.action &= ~ATA_EH_SOFTRESET; in ata_std_prereset()
[all …]
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()
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()
A Dlibata-sff.c1653 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local
1660 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()
1670 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()
1962 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local
1963 const unsigned int *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
A Dsata_nv.c1525 struct ata_eh_context *ehc = &link->eh_context; in nv_hardreset() local
1535 const unsigned int *timing = sata_ehc_deb_timing(ehc); in nv_hardreset()
1538 if (!(ehc->i.flags & ATA_EHI_QUIET)) in nv_hardreset()
1799 struct ata_eh_context *ehc = &ap->link.eh_context; in nv_swncq_error_handler() local
1803 ehc->i.action |= ATA_EH_RESET; in nv_swncq_error_handler()
/linux/include/linux/
A Dlibata.h1232 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument
1234 if (ehc->i.flags & ATA_EHI_HOTPLUGGED) in sata_ehc_deb_timing()
1255 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument

Completed in 49 milliseconds