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

Lines Matching defs:state

31  *   - device state machine [wimax_state_change()] and support to send
32 * reports to user space when the state changes
39 * [__]wimax_state_change() Called by drivers to update device's state
91 * Creates and fills a basic state change message; different code
192 printk(KERN_ERR "SW BUG! Forbidden state change %u -> %u\n",
199 * Set the current state of a WiMAX device [unlocking version of
205 enum wimax_st old_state = wimax_dev->state;
213 dev_err(dev, "SW BUG: requesting invalid state %u\n",
223 /* Verify the state transition and do exit-from-state actions */
282 dev_err(dev, "SW BUG: wimax_dev %p is in unknown state %u\n",
283 wimax_dev, wimax_dev->state);
288 /* Execute the actions of entry to the new state */
291 dev_err(dev, "SW BUG: wimax_dev %p entering NULL state "
292 "from %u\n", wimax_dev, wimax_dev->state);
293 WARN_ON(1); /* Nobody can enter this state */
327 * wimax_state_change - Set the current state of a WiMAX device
330 * @new_state: New state to switch to
332 * This implements the state changes for the wimax devices. It will
334 * - verify that the state transition is legal (for now it'll just
338 * - perform the actions needed for leaving the current state and
339 * whichever are needed for entering the new state.
341 * - issue a report to user space indicating the new state (and an
342 * optional payload with information about the new state).
350 * __WIMAX_ST_NULL state unless by calling wimax_dev_add(). If
351 * the wimax_dev's state is still NULL, we ignore any request
352 * to change its state because it means it hasn't been yet
361 if (wimax_dev->state > __WIMAX_ST_NULL)
369 * wimax_state_get() - Return the current state of a WiMAX device
373 * Returns: Current state of the device according to its driver.
377 enum wimax_st state;
379 state = wimax_dev->state;
381 return state;
515 * Reentrancy control is ensured by setting the state to
517 * wimax_*rfkill*() will be stopped by the quiescing state; ops coming