Lines Matching refs:domain_device
104 struct domain_device *dev = task->dev; in sas_scsi_task_done()
132 struct domain_device *dev, in sas_create_task()
166 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_queuecommand()
208 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_finish_cmd()
244 struct domain_device *dev) in sas_scsi_clear_queue_I_T()
249 struct domain_device *x = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_I_T()
262 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_port()
324 static int sas_recover_lu(struct domain_device *dev, struct scsi_cmnd *cmd) in sas_recover_lu()
353 static int sas_recover_I_T(struct domain_device *dev) in sas_recover_I_T()
369 struct sas_phy *sas_get_local_phy(struct domain_device *dev) in sas_get_local_phy()
389 static void sas_wait_eh(struct domain_device *dev) in sas_wait_eh()
418 static int sas_queue_reset(struct domain_device *dev, int reset_type, in sas_queue_reset()
465 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_abort_handler()
497 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_device_reset_handler()
519 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_target_reset_handler()
568 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_handle_sas_errors()
633 struct domain_device *dev = task->dev; in sas_eh_handle_sas_errors()
697 struct domain_device *dev; in sas_eh_handle_resets()
786 struct domain_device *dev = sdev_to_domain_dev(sdev); in sas_ioctl()
794 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy) in sas_find_dev_by_rphy()
798 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy()
805 struct domain_device *dev; in sas_find_dev_by_rphy()
826 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy); in sas_target_alloc()
840 struct domain_device *dev = sdev_to_domain_dev(scsi_dev); in sas_slave_configure()
866 struct domain_device *dev = sdev_to_domain_dev(sdev); in sas_change_queue_depth()
924 struct domain_device *found_dev = starget->hostdata; in sas_target_destroy()