Lines Matching refs:sas_ha
54 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(sc->device->host);
125 scsi_eh_finish_cmd(sc, &sas_ha->eh_done_q);
176 struct sas_ha_struct *sas_ha = task->dev->port->ha;
177 struct scsi_core *core = &sas_ha->core;
182 if (sas_ha->lldd_queue_size < core->task_queue_size + 1) {
205 struct sas_ha_struct *sas_ha = dev->port->ha;
215 if (sas_ha->lldd_max_execute_num < 2)
732 struct sas_ha_struct *sas_ha;
736 sas_ha = dev->port->ha;
807 static void sas_queue(struct sas_ha_struct *sas_ha)
809 struct scsi_core *core = &sas_ha->core;
820 can_queue = sas_ha->lldd_queue_size - core->task_queue_size;
827 can_queue = sas_ha->lldd_queue_size;
833 can_queue = sas_ha->lldd_queue_size;
858 * @_sas_ha: pointer to struct sas_ha
862 struct sas_ha_struct *sas_ha = _sas_ha;
869 sas_queue(sas_ha);
877 int sas_init_queue(struct sas_ha_struct *sas_ha)
879 struct scsi_core *core = &sas_ha->core;
885 core->queue_thread = kthread_run(sas_queue_thread, sas_ha,
892 void sas_shutdown_queue(struct sas_ha_struct *sas_ha)
895 struct scsi_core *core = &sas_ha->core;
902 SAS_ADDR(sas_ha->sas_addr));