Home
last modified time | relevance | path

Searched refs:dev_is_sata (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/include/scsi/
H A Dsas_ata.h18 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata() function
49 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata() function
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_ata.c652 if (!dev_is_sata(dev)) in sas_probe_sata()
660 if (!dev_is_sata(dev)) in sas_probe_sata()
741 if (!dev_is_sata(dev)) in sas_ata_flush_pm_eh()
760 if (!dev_is_sata(dev)) in sas_suspend_sata()
782 if (!dev_is_sata(dev)) in sas_resume_sata()
849 if (!dev_is_sata(dev)) in sas_ata_strategy_handler()
881 if (!dev_is_sata(ddev) || TO_SAS_TASK(cmd)) in sas_ata_eh()
917 if (!dev_is_sata(dev)) in sas_ata_schedule_reset()
935 if (!dev_is_sata(dev)) in sas_ata_wait_eh()
H A Dsas_scsi_host.c173 if (dev_is_sata(dev)) { in sas_queuecommand()
215 if (dev_is_sata(dev)) { in sas_eh_finish_cmd()
395 if (dev_is_sata(dev)) { in sas_queue_reset()
439 if (dev_is_sata(dev) && !host->host_eh_scheduled) { in sas_eh_abort_handler()
671 WARN_ONCE(dev_is_sata(dev), "ssp reset to ata device?\n"); in sas_eh_handle_resets()
755 if (dev_is_sata(dev)) in sas_ioctl()
813 if (dev_is_sata(dev)) { in sas_slave_configure()
838 if (dev_is_sata(dev)) in sas_change_queue_depth()
993 if (dev_is_sata(device)) { in sas_execute_tmf()
1189 if (dev_is_sata(task->dev)) in sas_task_abort()
[all …]
H A Dsas_discover.c151 if (dev_is_sata(dev) || dev->dev_type == SAS_END_DEVICE) in sas_get_port_device()
302 if (dev_is_sata(dev) && dev->sata_dev.ap) { in sas_free_device()
325 if (dev_is_sata(dev)) in sas_unregister_common_dev()
H A Dsas_internal.h183 if (dev_is_sata(dev)) in sas_phy_set_target()
H A Dsas_init.c206 if (dev && dev_is_sata(dev)) { in sas_try_ata_reset()
H A Dsas_expander.c342 if (dev && dev_is_sata(dev)) in sas_ex_to_ata()
/openbmc/linux/drivers/scsi/isci/
H A Dremote_node_context.c146 if (dev_is_sata(dev)) { in sci_remote_node_context_construct_buffer()
243 if (dev_is_sata(dev) && dev->parent) { in sci_remote_node_context_validate_context_buffer()
317 if (dev_is_sata(dev) && !dev->parent) in sci_remote_node_context_resuming_state_enter()
379 if (dev_is_sata(idev->domain_dev)) in sci_remote_node_context_await_suspend_state_exit()
721 if ((dev_is_sata(dev) && dev->parent) || in sci_remote_node_context_resume()
H A Dtask.c442 if (dev_is_sata(dev)) in isci_task_lu_reset()
510 (dev_is_sata(task->dev) ? "STP/SATA" in isci_task_abort_task()
746 reset_stat = sas_phy_reset(phy, !dev_is_sata(dev)); in isci_reset_device()
H A Dhost.h364 if (dev_is_sata(dev) && dev->parent) in sci_remote_device_node_count()
H A Drequest.c3094 else if (dev_is_sata(dev)) in sci_io_request_construct()
3116 if (dev->dev_type == SAS_END_DEVICE || dev_is_sata(dev)) { in sci_task_request_construct()
3121 if (dev_is_sata(dev)) in sci_task_request_construct()
H A Dremote_device.c1715 if (dev_is_sata(idev->domain_dev)) { in isci_dev_set_hang_detection_timeout()
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c521 dev_is_sata(device) ? "SATA/STP" : "SAS", in hisi_sas_queue_command()
878 if (!dev_is_sata(dev)) in hisi_sas_slave_configure()
1491 if (dev_is_sata(device)) { in hisi_sas_terminate_stp_reject()
1766 !dev_is_sata(device)) ? true : false; in hisi_sas_debug_I_T_nexus_reset()
1792 if (dev_is_sata(device)) { in hisi_sas_debug_I_T_nexus_reset()
1822 if (rc == TMF_RESP_FUNC_COMPLETE && dev_is_sata(device)) { in hisi_sas_I_T_nexus_reset()
1869 if (dev_is_sata(device)) { in hisi_sas_lu_reset()
H A Dhisi_sas_v2_hw.c771 int sata_dev = dev_is_sata(device); in slot_index_alloc_quirk_v2_hw()
843 int i, sata_dev = dev_is_sata(device); in alloc_dev_quirk_v2_hw()
968 if (!dev_is_sata(device)) in setup_itct_v2_hw()
1012 if (dev_is_sata(sas_dev->sas_device)) in free_device_v2_hw()
2412 if (dev_is_sata(device) && task->ata_task.use_ncq) in slot_complete_v2_hw()
2632 (dev_is_sata(dev) << in prep_abort_v2_hw()
H A Dhisi_sas_v3_hw.c867 if (!dev_is_sata(device)) in setup_itct_v3_hw()
1507 bool sata = dev_is_sata(dev); in prep_abort_v3_hw()
2360 if (dev_is_sata(device) && task->ata_task.use_ncq) in slot_complete_v3_hw()
H A Dhisi_sas_v1_hw.c1256 if (dev_is_sata(device) && task->ata_task.use_ncq) in slot_complete_v1_hw()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c825 if (dev_is_sata(dev)) { in pm8001_I_T_nexus_reset()
877 if (dev_is_sata(dev)) { in pm8001_I_T_nexus_event_handler()
935 if (dev_is_sata(dev)) { in pm8001_lu_reset()