Lines Matching refs:event
43 static void sas_queue_event(int event, unsigned long *pending, in sas_queue_event() argument
47 if (!test_and_set_bit(event, pending)) { in sas_queue_event()
119 static void notify_ha_event(struct sas_ha_struct *sas_ha, enum ha_event event) in notify_ha_event() argument
121 BUG_ON(event >= HA_NUM_EVENTS); in notify_ha_event()
123 sas_queue_event(event, &sas_ha->pending, in notify_ha_event()
124 &sas_ha->ha_events[event].work, sas_ha); in notify_ha_event()
127 static void notify_port_event(struct asd_sas_phy *phy, enum port_event event) in notify_port_event() argument
131 BUG_ON(event >= PORT_NUM_EVENTS); in notify_port_event()
133 sas_queue_event(event, &phy->port_events_pending, in notify_port_event()
134 &phy->port_events[event].work, ha); in notify_port_event()
137 void sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event) in sas_notify_phy_event() argument
141 BUG_ON(event >= PHY_NUM_EVENTS); in sas_notify_phy_event()
143 sas_queue_event(event, &phy->phy_events_pending, in sas_notify_phy_event()
144 &phy->phy_events[event].work, ha); in sas_notify_phy_event()