Lines Matching refs:mac
83 event.fun(event.mac->dev, event.event_type, event.context);
87 ieee80211softmac_notify_internal(struct ieee80211softmac_device *mac,
107 eventptr->mac = mac;
110 spin_lock_irqsave(&mac->lock, flags);
111 list_add(&eventptr->list, &mac->events);
112 spin_unlock_irqrestore(&mac->lock, flags);
121 struct ieee80211softmac_device *mac = ieee80211_priv(dev);
126 return ieee80211softmac_notify_internal(mac, event, NULL, fun, context, gfp_mask);
132 ieee80211softmac_call_events_locked(struct ieee80211softmac_device *mac, int event, void *event_ctx)
164 wireless_send_event(mac->dev, we_event, &wrqu, msg);
167 if (!list_empty(&mac->events))
168 list_for_each_entry_safe(eventptr, tmp, &mac->events, list) {
181 ieee80211softmac_call_events(struct ieee80211softmac_device *mac, int event, void *event_ctx)
185 spin_lock_irqsave(&mac->lock, flags);
186 ieee80211softmac_call_events_locked(mac, event, event_ctx);
188 spin_unlock_irqrestore(&mac->lock, flags);