Lines Matching refs:ha
172 struct sas_ha_struct *sas_ha = dev->port->ha;
194 struct sas_ha_struct *sas_ha = dev->port->ha;
237 struct Scsi_Host *shost = port->ha->shost;
315 struct sas_ha_struct *ha = port->ha;
329 spin_lock_irq(&ha->lock);
333 ha->eh_active--;
335 spin_unlock_irq(&ha->lock);
375 struct sas_ha_struct *sas_ha = dev->port->ha;
428 struct sas_ha_struct *ha;
434 ha = dev->port->ha;
438 spin_lock_irq(&ha->phy_port_lock);
443 spin_unlock_irq(&ha->phy_port_lock);
517 struct sas_ha_struct *ha = port->ha;
521 mutex_lock(&ha->disco_mutex);
522 if (test_bit(SAS_HA_ATA_EH_ACTIVE, &ha->state)) {
539 mutex_unlock(&ha->disco_mutex);
548 static void sas_chain_work(struct sas_ha_struct *ha, struct sas_work *sw)
555 queue_work(ha->disco_q, &sw->work);
560 struct sas_ha_struct *ha)
565 spin_lock_irqsave(&ha->lock, flags);
566 sas_chain_work(ha, sw);
567 spin_unlock_irqrestore(&ha->lock, flags);
581 sas_chain_event(ev, &disc->pending, &disc->disc_work[ev].work, port->ha);