Lines Matching defs:sas_ha
29 static void notify_ha_event(struct sas_ha_struct *sas_ha, enum ha_event event)
33 sas_queue_event(event, &sas_ha->event_lock, &sas_ha->pending,
34 &sas_ha->ha_events[event].work, sas_ha);
57 int sas_init_events(struct sas_ha_struct *sas_ha)
65 spin_lock_init(&sas_ha->event_lock);
68 INIT_WORK(&sas_ha->ha_events[i].work, sas_ha_event_fns[i]);
69 sas_ha->ha_events[i].ha = sas_ha;
72 sas_ha->notify_ha_event = notify_ha_event;
73 sas_ha->notify_port_event = notify_port_event;
74 sas_ha->notify_phy_event = notify_phy_event;