Home
last modified time | relevance | path

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

/linux/drivers/ata/
H A Dlibata-eh.c333 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timeout() local
340 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()
358 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_internal_cmd_timed_out() local
365 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()
367 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()
429 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_eh_dev_action() local
431 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()
710 struct ata_eh_context *ehc = &link->eh_context; in ata_scsi_port_error_handler() local
720 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()
722 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler()
[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()
1639 struct ata_eh_context *ehc = &link->eh_context; in ata_eh_analyze_ncq_error() local
1650 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1728 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 Dlibata-core.c158 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_print_info() local
160 return ehc->i.flags & ATA_EHI_PRINTINFO; in ata_dev_print_info()
3432 struct ata_eh_context *ehc = &dev->link->eh_context; in ata_dev_set_mode() local
3457 ehc->i.flags |= ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3459 ehc->i.flags &= ~ATA_EHI_POST_SETMODE; in ata_dev_set_mode()
3499 if (!(ehc->i.flags & ATA_EHI_QUIET) || in ata_dev_set_mode()
3500 ehc->i.flags & ATA_EHI_DID_HARDRESET) in ata_dev_set_mode()
3742 struct ata_eh_context *ehc = &link->eh_context; in ata_std_prereset() local
3743 const unsigned int *timing = sata_ehc_deb_timing(ehc); in ata_std_prereset()
3747 if (ehc in ata_std_prereset()
4006 struct ata_eh_context *ehc = &dev->link->eh_context; ata_dev_print_quirks() local
[all...]
H A Dsata_via.c334 struct ata_eh_context *ehc = &ap->link.eh_context; in vt6420_prereset() local
370 ehc->i.action &= ~ATA_EH_RESET; in vt6420_prereset()
H A Dlibata-acpi.c962 struct ata_eh_context *ehc = &ap->link.eh_context; in ata_acpi_on_devcfg() local
972 !(acpi_sata && (ehc->i.flags & ATA_EHI_DID_HARDRESET))) in ata_acpi_on_devcfg()
H A Dlibata-sff.c1655 struct ata_eh_context *ehc = &link->eh_context; in ata_sff_prereset() local
1662 if (ehc->i.action & ATA_EH_HARDRESET) in ata_sff_prereset()
1672 ehc->i.action |= ATA_EH_HARDRESET; in ata_sff_prereset()
1964 struct ata_eh_context *ehc = &link->eh_context; in sata_sff_hardreset() local
1965 const unsigned int *timing = sata_ehc_deb_timing(ehc); in sata_sff_hardreset()
H 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/
H A Dlibata.h1236 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument
1238 if (ehc->i.flags & ATA_EHI_HOTPLUGGED) in sata_ehc_deb_timing()
1259 sata_ehc_deb_timing(struct ata_eh_context *ehc) in sata_ehc_deb_timing() argument