Lines Matching defs:ha
104 task->dev->port->ha->sas_ha_name);
176 struct sas_ha_struct *sas_ha = task->dev->port->ha;
205 struct sas_ha_struct *sas_ha = dev->port->ha;
285 struct sas_ha_struct *ha = task->dev->port->ha;
289 to_sas_internal(task->dev->port->ha->core.shost->transportt);
291 if (ha->lldd_max_execute_num > 1) {
292 struct scsi_core *core = &ha->core;
356 to_sas_internal(dev->port->ha->core.shost->transportt);
384 to_sas_internal(dev->port->ha->core.shost->transportt);
424 to_sas_internal(dev->port->ha->core.shost->transportt);
487 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);
569 SAS_DPRINTK("clear nexus ha\n");
570 res = i->dft->lldd_clear_nexus_ha(ha);
572 SAS_DPRINTK("clear nexus ha "
609 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);
622 if (sas_eh_handle_sas_errors(shost, &eh_work_q, &ha->eh_done_q))
631 if (!scsi_eh_get_sense(&eh_work_q, &ha->eh_done_q))
632 scsi_eh_ready_devs(shost, &eh_work_q, &ha->eh_done_q);
635 scsi_eh_flush_done_q(&ha->eh_done_q);
682 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);
687 spin_lock_irqsave(&ha->phy_port_lock, flags);
688 for (i = 0; i < ha->num_phys; i++) {
689 struct asd_sas_port *port = ha->sas_port[i];
703 spin_unlock_irqrestore(&ha->phy_port_lock, flags);
736 sas_ha = dev->port->ha;
925 to_sas_internal(task->dev->port->ha->core.shost->transportt);