Searched refs:wimax_dev (Results 1 - 22 of 22) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/wimax/
H A Dwimax-internal.h41 * (wimax_dev->mutex). As well, most operations need to call this
49 int wimax_dev_is_ready(struct wimax_dev *wimax_dev) argument
51 if (wimax_dev->state == __WIMAX_ST_NULL)
53 if (wimax_dev->state == WIMAX_ST_DOWN)
55 if (wimax_dev->state == __WIMAX_ST_QUIESCING)
62 void __wimax_state_set(struct wimax_dev *wimax_dev, enum wimax_st state) argument
64 wimax_dev->state = state;
66 extern void __wimax_state_change(struct wimax_dev *, enu
72 wimax_debugfs_add(struct wimax_dev *wimax_dev) argument
76 wimax_debugfs_rm(struct wimax_dev *wimax_dev) argument
[all...]
H A Did-table.c27 * We need a way to map family ID to a wimax_dev pointer.
59 * wimax_id_table_add - add a gennetlink familiy ID / wimax_dev mapping
61 * @wimax_dev: WiMAX device descriptor to associate to the Generic
67 void wimax_id_table_add(struct wimax_dev *wimax_dev) argument
69 d_fnstart(3, NULL, "(wimax_dev %p)\n", wimax_dev);
71 list_add(&wimax_dev->id_table_node, &wimax_id_table);
73 d_fnend(3, NULL, "(wimax_dev %p)\n", wimax_dev);
90 struct wimax_dev *wimax_dev = NULL; local
116 wimax_id_table_rm(struct wimax_dev *wimax_dev) argument
133 struct wimax_dev *wimax_dev; local
[all...]
H A Dop-rfkill.c16 * @wimax_dev: WiMAX device descriptor
32 void wimax_report_rfkill_hw(struct wimax_dev *wimax_dev, argument
36 struct device *dev = wimax_dev_to_dev(wimax_dev);
39 d_fnstart(3, dev, "(wimax_dev %p state %u)\n", wimax_dev, state);
43 mutex_lock(&wimax_dev->mutex);
44 result = wimax_dev_is_ready(wimax_dev);
48 if (state != wimax_dev->rf_hw) {
49 wimax_dev
88 wimax_report_rfkill_sw(struct wimax_dev *wimax_dev, enum wimax_rf_state state) argument
145 __wimax_rf_toggle_radio(struct wimax_dev *wimax_dev, enum wimax_rf_state state) argument
191 struct wimax_dev *wimax_dev = data; local
240 wimax_rfkill(struct wimax_dev *wimax_dev, enum wimax_rf_state state) argument
287 wimax_rfkill_add(struct wimax_dev *wimax_dev) argument
333 wimax_rfkill_rm(struct wimax_dev *wimax_dev) argument
367 struct wimax_dev *wimax_dev; local
[all...]
H A Dop-reset.c44 * @wimax_dev: WiMAX device descriptor
68 int wimax_reset(struct wimax_dev *wimax_dev) argument
71 struct device *dev = wimax_dev_to_dev(wimax_dev);
75 d_fnstart(3, dev, "(wimax_dev %p)\n", wimax_dev);
76 mutex_lock(&wimax_dev->mutex);
77 dev_hold(wimax_dev->net_dev);
78 state = wimax_dev->state;
79 mutex_unlock(&wimax_dev
112 struct wimax_dev *wimax_dev; local
[all...]
H A Dstack.c26 * - basic life cycle of 'struct wimax_dev' [wimax_dev_*()]; on
101 struct wimax_dev *wimax_dev,
106 struct device *dev = wimax_dev_to_dev(wimax_dev);
110 d_fnstart(3, dev, "(wimax_dev %p new_state %u old_state %u)\n",
111 wimax_dev, new_state, old_state);
137 wimax_dev->net_dev->ifindex);
142 d_fnend(3, dev, "(wimax_dev %p new_state %u old_state %u) = %p\n",
143 wimax_dev, new_state, old_state, report_skb);
149 d_fnend(3, dev, "(wimax_dev
100 wimax_gnl_re_state_change_alloc( struct wimax_dev *wimax_dev, enum wimax_st new_state, enum wimax_st old_state, void **header) argument
166 wimax_gnl_re_state_change_send( struct wimax_dev *wimax_dev, struct sk_buff *report_skb, void *header) argument
202 __wimax_state_change(struct wimax_dev *wimax_dev, enum wimax_st new_state) argument
346 wimax_state_change(struct wimax_dev *wimax_dev, enum wimax_st new_state) argument
375 wimax_state_get(struct wimax_dev *wimax_dev) argument
395 wimax_dev_init(struct wimax_dev *wimax_dev) argument
455 wimax_dev_add(struct wimax_dev *wimax_dev, struct net_device *net_dev) argument
521 wimax_dev_rm(struct wimax_dev *wimax_dev) argument
[all...]
H A Dop-state-get.c55 struct wimax_dev *wimax_dev; local
65 wimax_dev = wimax_dev_get_by_genl_info(info, ifindex);
66 if (wimax_dev == NULL)
69 result = wimax_state_get(wimax_dev);
70 dev_put(wimax_dev->net_dev);
H A Ddebugfs.c39 int wimax_debugfs_add(struct wimax_dev *wimax_dev) argument
42 struct net_device *net_dev = wimax_dev->net_dev;
58 wimax_dev->debugfs_dentry = dentry;
71 debugfs_remove_recursive(wimax_dev->debugfs_dentry);
75 void wimax_debugfs_rm(struct wimax_dev *wimax_dev) argument
77 debugfs_remove_recursive(wimax_dev->debugfs_dentry);
H A Dop-msg.c48 * to the driver calling wimax_dev->op_msg_from_user(). The return
68 * wimax_dev->op_msg_from_user() Delivery of message to the driver
90 * @wimax_dev: WiMAX device descriptor
115 * wimax_dev->net_dev pointer is set to point to a proper
119 struct sk_buff *wimax_msg_alloc(struct wimax_dev *wimax_dev, argument
125 struct device *dev = wimax_dev_to_dev(wimax_dev);
144 wimax_dev->net_dev->ifindex);
245 * @wimax_dev: WiMAX device descriptor
268 * wimax_dev
272 wimax_msg_send(struct wimax_dev *wimax_dev, struct sk_buff *skb) argument
308 wimax_msg(struct wimax_dev *wimax_dev, const char *pipe_name, const void *buf, size_t size, gfp_t gfp_flags) argument
346 struct wimax_dev *wimax_dev; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dwimax.h46 * 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
411 struct wimax_dev { struct
454 wimax_dev_to_dev(struct wimax_dev *wimax_dev) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wimax/i2400m/
H A Ddriver.c146 * @wimax_dev: device descriptor
174 int i2400m_op_msg_from_user(struct wimax_dev *wimax_dev, argument
180 struct i2400m *i2400m = wimax_dev_to_i2400m(wimax_dev);
184 d_fnstart(4, dev, "(wimax_dev %p [i2400m %p] msg_buf %p "
185 "msg_len %zu genl_info %p)\n", wimax_dev, i2400m,
191 result = wimax_msg_send(&i2400m->wimax_dev, ack_skb);
193 d_fnend(4, dev, "(wimax_dev %p [i2400m %p] msg_buf %p msg_len %zu "
194 "genl_info %p) = %d\n", wimax_dev, i2400m, msg_buf, msg_len,
212 * @wimax_dev
226 i2400m_op_reset(struct wimax_dev *wimax_dev) argument
336 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
453 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
933 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
[all...]
H A Dop-rfkill.c68 * @wimax_dev: device descriptor
84 int i2400m_op_rfkill_sw_toggle(struct wimax_dev *wimax_dev, argument
88 struct i2400m *i2400m = wimax_dev_to_i2400m(wimax_dev);
97 d_fnstart(4, dev, "(wimax_dev %p state %d)\n", wimax_dev, state);
148 d_fnend(4, dev, "(wimax_dev %p state %d) = %d\n",
149 wimax_dev, state, result);
180 wimax_state = wimax_state_get(&i2400m->wimax_dev);
188 wimax_report_rfkill_sw(&i2400m->wimax_dev, WIMAX_RF_O
[all...]
H A Di2400m.h117 * well as i2400m->wimax_dev.net_dev and call i2400m_setup(). The
353 * @wimax_dev: WiMAX generic device for linkage into the kernel WiMAX
508 * (wimax_dev->debugfs_dentry) so they can be removed when the
568 struct wimax_dev wimax_dev; /* FIRST! See doc */ member in struct:i2400m
662 struct i2400m *wimax_dev_to_i2400m(struct wimax_dev *wimax_dev) argument
664 return container_of(wimax_dev, struct i2400m, wimax_dev);
862 dev_hold(i2400m->wimax_dev
[all...]
H A Dusb-tx.c248 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
252 wimax_dev->name);
H A Dnetdev.c83 struct net_device *net_dev = i2400m->wimax_dev.net_dev;
387 struct net_device *net_dev = i2400m->wimax_dev.net_dev;
409 i2400m_rx_fake_eth_header(i2400m->wimax_dev.net_dev,
413 skb->dev = i2400m->wimax_dev.net_dev;
430 struct net_device *net_dev = i2400m->wimax_dev.net_dev;
440 i2400m_rx_fake_eth_header(i2400m->wimax_dev.net_dev,
444 skb->dev = i2400m->wimax_dev.net_dev;
H A Dusb-rx.c337 struct net_device *net_dev = i2400m->wimax_dev.net_dev;
435 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
439 wimax_dev->name);
H A Dcontrol.c313 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
327 wimax_state_change(wimax_dev, WIMAX_ST_UNINITIALIZED);
332 wimax_state_change(wimax_dev, WIMAX_ST_RADIO_OFF);
338 wimax_state_change(wimax_dev, WIMAX_ST_READY);
343 wimax_state_change(wimax_dev, WIMAX_ST_READY);
348 wimax_state_change(wimax_dev, WIMAX_ST_SCANNING);
355 wimax_state_change(wimax_dev, WIMAX_ST_CONNECTED);
389 struct wimax_dev *wimax_de local
[all...]
H A Drx.c288 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
300 ack_skb = wimax_msg_alloc(wimax_dev, NULL, payload, size, GFP_KERNEL);
400 wimax_msg(&i2400m->wimax_dev, "echo",
402 result = wimax_msg(&i2400m->wimax_dev, NULL, l3l4_hdr, size,
437 struct wimax_dev *wimax_dev = &i2400m->wimax_dev; local
452 result = wimax_msg(wimax_dev, "trac
[all...]
H A Dsdio.c366 struct dentry *dentry = i2400ms->i2400m.wimax_dev.debugfs_dentry;
438 i2400m->wimax_dev.net_dev = net_dev;
505 struct net_device *net_dev = i2400m->wimax_dev.net_dev;
H A Dsdio-tx.c148 "%s-tx", i2400m->wimax_dev.name);
H A Ddebugfs.c39 *val = netif_queue_stopped(i2400m->wimax_dev.net_dev);
250 struct dentry *dentry = i2400m->wimax_dev.debugfs_dentry;
307 * wimax_dev->op_msg_from_user() into
H A Dusb.c269 * and wimax_dev->op_reset.
378 struct dentry *dentry = i2400mu->i2400m.wimax_dev.debugfs_dentry;
466 i2400m->wimax_dev.net_dev = net_dev;
556 struct net_device *net_dev = i2400m->wimax_dev.net_dev;
H A Dfw.c1027 struct net_device *net_dev = i2400m->wimax_dev.net_dev;

Completed in 120 milliseconds