Lines Matching defs:dev
18 static inline struct iw_spy_data *get_spydata(struct net_device *dev)
21 if (dev->wireless_data)
22 return dev->wireless_data->spy_data;
26 int iw_handler_set_spy(struct net_device * dev,
31 struct iw_spy_data * spydata = get_spydata(dev);
74 int iw_handler_get_spy(struct net_device * dev,
79 struct iw_spy_data * spydata = get_spydata(dev);
110 int iw_handler_set_thrspy(struct net_device * dev,
115 struct iw_spy_data * spydata = get_spydata(dev);
137 int iw_handler_get_thrspy(struct net_device * dev,
142 struct iw_spy_data * spydata = get_spydata(dev);
161 static void iw_send_thrspy_event(struct net_device * dev,
182 wireless_send_event(dev, SIOCGIWTHRSPY, &wrqu, (char *) &threshold);
192 void wireless_spy_update(struct net_device * dev,
196 struct iw_spy_data * spydata = get_spydata(dev);
220 iw_send_thrspy_event(dev, spydata,
226 iw_send_thrspy_event(dev, spydata,