Lines Matching defs:event
31 static int sas_queue_event(int event, struct sas_work *work,
122 sas_port_event_fns[ev->event](work);
130 sas_phy_event_fns[ev->event](work);
135 enum port_event event,
141 BUG_ON(event >= PORT_NUM_EVENTS);
143 INIT_SAS_EVENT(ev, sas_port_event_worker, phy, event);
145 ret = sas_queue_event(event, &ev->work, ha);
152 int sas_notify_port_event_gfp(struct asd_sas_phy *phy, enum port_event event,
161 return __sas_notify_port_event(phy, event, ev);
165 int sas_notify_port_event(struct asd_sas_phy *phy, enum port_event event)
173 return __sas_notify_port_event(phy, event, ev);
178 enum phy_event event,
184 BUG_ON(event >= PHY_NUM_EVENTS);
186 INIT_SAS_EVENT(ev, sas_phy_event_worker, phy, event);
188 ret = sas_queue_event(event, &ev->work, ha);
195 int sas_notify_phy_event_gfp(struct asd_sas_phy *phy, enum phy_event event,
204 return __sas_notify_phy_event(phy, event, ev);
208 int sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event)
216 return __sas_notify_phy_event(phy, event, ev);