Lines Matching refs:device
3 * Miscellaneous control functions for managing the device
39 * This is a collection of functions used to control the device (plus
42 * There are utilities for handling TLV buffers, hooks on the device's
43 * reports to act on device changes of state [i2400m_report_hook()],
45 * commands to the device and blocking until a reply arrives
47 * the device state, powersving mode and configuration plus the
48 * routines to setup the device once communication is stablished with
91 "If true, the device will not enable idle mode negotiation "
98 "If true, the driver will not tell the device to enter "
100 "False by default (so the device is told to do power "
106 "If true, the driver will not do any device setup "
144 * @i2400m: device instance
166 struct device *dev = i2400m_dev(i2400m);
211 * @i2400m: device descriptor
230 struct device *dev = i2400m_dev(i2400m);
273 * @i2400m: device descriptor
305 * Act on a TLV System State reported by the device
307 * @i2400m: device descriptor
314 struct device *dev = i2400m_dev(i2400m);
374 * Parse and act on a TLV Media Status sent by the device
376 * @i2400m: device descriptor
379 * This will set the carrier up on down based on the device's link
381 * the device's state as sometimes we need to do a link-renew (the BS
391 struct device *dev = i2400m_dev(i2400m);
425 * @i2400m: device descriptor
437 struct device *dev = i2400m_dev(i2400m);
471 * @i2400m: device descriptor
485 struct device *dev = i2400m_dev(i2400m);
504 * @i2400m: device descriptor
512 * device report.
517 struct device *dev = i2400m_dev(i2400m);
530 /* If the device is ready for power save, then ask it to do
554 * @i2400m: device descriptor
569 struct device *dev = i2400m_dev(i2400m);
603 struct device *dev = i2400m_dev(i2400m);
634 * @i2400m: device descriptor
655 * i2400m_msg_to_dev - Send a control message to the device and get a response
657 * @i2400m: device descriptor
686 * This function delivers a message/command to the device and waits
709 struct device *dev = i2400m_dev(i2400m);
736 * the message to the device */
834 * The Enter Power Save command requests the device to go into power
835 * saving mode. The device will ack or nak the command depending on it
838 * As well, the device might request to go into power saving mode by
858 * This command is (mainly) executed when the device indicates that it
864 struct device *dev = i2400m_dev(i2400m);
896 d_printf(1, dev, "device ready to power save\n");
907 * Definitions for getting device information
914 * i2400m_get_device_info - Query the device for detailed device information
916 * @i2400m: device descriptor
928 struct device *dev = i2400m_dev(i2400m);
947 dev_err(dev, "Failed to issue 'get device info' command: %ld\n",
954 dev_err(dev, "'get device info' (0x%04x) command failed: "
963 "detailed device info TLV not found (0x%04x)\n",
994 * @i2400m: device descriptor
1010 struct device *dev = i2400m_dev(i2400m);
1081 * Send an DoExitIdle command to the device to ask it to go out of
1084 * @i2400m: device descriptor
1094 struct device *dev = i2400m_dev(i2400m);
1126 * Query the device for its state, update the WiMAX stack's idea of it
1128 * @i2400m: device descriptor
1142 struct device *dev = i2400m_dev(i2400m);
1185 * @i2400m: device descriptor
1197 struct device *dev = i2400m_dev(i2400m);
1263 * i2400m_set_idle_timeout - Set the device's idle mode timeout
1265 * @i2400m: i2400m device descriptor
1271 * received), the device will negotiate with the basestation entering
1283 struct device *dev = i2400m_dev(i2400m);
1334 * i2400m_dev_initialize - Initialize the device once communications are ready
1336 * @i2400m: device descriptor
1340 * Configures the device to work the way we like it.
1342 * At the point of this call, the device is registered with the WiMAX
1344 * device normally.
1349 struct device *dev = i2400m_dev(i2400m);
1412 dev_err(dev, "failed to initialize the device: %d\n", result);
1419 * i2400m_dev_shutdown - Shutdown a running device
1421 * @i2400m: device descriptor
1423 * Release resources acquired during the running of the device; in
1424 * theory, should also tell the device to go to sleep, switch off the
1426 * disconnection, reset handling) we can't even talk to the device.
1430 struct device *dev = i2400m_dev(i2400m);