25 #include <linux/export.h>
43 static void sas_queue_event(
int event,
unsigned long *
pending,
52 spin_unlock_irqrestore(&ha->
lock, flags);
64 spin_lock_irq(&ha->
lock);
65 spin_unlock_irq(&ha->
lock);
69 spin_lock_irq(&ha->
lock);
75 spin_unlock_irq(&ha->
lock);
106 for (i = 0; i < ha->
num_phys; i++) {
123 sas_queue_event(event, &sas_ha->
pending,
156 INIT_SAS_WORK(&sas_ha->
ha_events[i].work, sas_ha_event_fns[i]);