• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/

Lines Matching refs:wimax_dev

46  * Embed a `struct wimax_dev` at the beginning of the the device's
48 * `struct wimax_dev`s documentation.
83 * `struct wimax_dev`.
173 * - a function pointer in `struct wimax_dev`: optional, as the
177 * All function pointers are named wimax_dev->op_*(), and drivers
198 * The op_*() function pointers will not be called if the wimax_dev is
212 * wimax_dev->op_msg_from_user().
216 * RFKILL support is built into the wimax_dev layer; the driver just
219 * turn the radio off, it will call wimax_dev->op_rfkill_sw_toggle(),
248 * through wimax_dev->op_reset().
261 struct wimax_dev;
264 * struct wimax_dev - Generic WiMAX device
295 * NOTE: wimax_dev->mutex is NOT locked when this op is being
296 * called; however, wimax_dev->mutex_reset IS locked to ensure
318 * state change, that require wimax_dev->mutex.
337 * 1. Embed a &struct wimax_dev at *the beginning* the network
377 * wimax_dev->op_* function pointers
383 * through the wimax_dev->op*() function pointers will always be
386 * For locking, take wimax_dev->mutex is taken; (most) operations in
395 * to be released with dev_put(wimax_dev->net_dev).
411 struct wimax_dev {
418 int (*op_msg_from_user)(struct wimax_dev *wimax_dev,
422 int (*op_rfkill_sw_toggle)(struct wimax_dev *wimax_dev,
424 int (*op_reset)(struct wimax_dev *wimax_dev);
443 extern void wimax_dev_init(struct wimax_dev *);
444 extern int wimax_dev_add(struct wimax_dev *, struct net_device *);
445 extern void wimax_dev_rm(struct wimax_dev *);
448 struct wimax_dev *net_dev_to_wimax(struct net_device *net_dev)
454 struct device *wimax_dev_to_dev(struct wimax_dev *wimax_dev)
456 return wimax_dev->net_dev->dev.parent;
459 extern void wimax_state_change(struct wimax_dev *, enum wimax_st);
460 extern enum wimax_st wimax_state_get(struct wimax_dev *);
468 extern void wimax_report_rfkill_hw(struct wimax_dev *, enum wimax_rf_state);
469 extern void wimax_report_rfkill_sw(struct wimax_dev *, enum wimax_rf_state);
477 * wimax_msg(wimax_dev, pipe_name, buf, buf_size, GFP_KERNEL);
481 * skb = wimax_msg_alloc(wimax_dev, pipe_name, buf_size, GFP_KERNEL);
483 * wimax_msg_send(wimax_dev, pipe_name, skb);
495 extern struct sk_buff *wimax_msg_alloc(struct wimax_dev *, const char *,
497 extern int wimax_msg_send(struct wimax_dev *, struct sk_buff *);
498 extern int wimax_msg(struct wimax_dev *, const char *,
512 * (with a properly referenced `struct wimax_dev`).
515 * device's control structure and (as such) the 'struct wimax_dev' is
518 extern int wimax_rfkill(struct wimax_dev *, enum wimax_rf_state);
519 extern int wimax_reset(struct wimax_dev *);