Lines Matching +full:event +full:- +full:deep

3  * USB-specific i2400m driver definitions
6 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
25 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * Intel Corporation <linux-wimax@intel.com>
36 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
38 * - Initial implementation
41 * This driver implements the bus-specific part of the i2400m for
47 * endpoint (in usb-notif.c); when data is ready to read, the code in
48 * there schedules a read from the device (usb-rx.c) and then passes
53 * through the i2400m->bus_tx_kick() callback
54 * (usb-tx.c:i2400mu_bus_tx_kick) which will send the items in the
57 * This driver, as well, implements the USB-specific ops for the generic
100 edc->timestart = jiffies; in edc_init()
104 * edc_inc - report a soft error and check if we are over the watermark
123 * if (edc_inc(&my->edc, MAX_ERRORS, MAX_TIMEFRAME))
134 if (time_after(now, edc->timestart + timeframe)) { in edc_inc()
135 edc->errorcount = 1; in edc_inc()
136 edc->timestart = now; in edc_inc()
137 } else if (++edc->errorcount > max_err) { in edc_inc()
138 edc->errorcount = 0; in edc_inc()
139 edc->timestart = now; in edc_inc()
145 /* Host-Device interface for USB */
163 * struct i2400mu - descriptor for a USB connected i2400m
165 * @i2400m: bus-generic i2400m implementation; has to be first (see
172 * @urb_edc: error density counter; used to keep a density-on-time tab
180 * order to do deep power saving and put the device to sleep, we
188 * order to do deep power saving and put the device to sleep, we
193 * usb-notif.c:i2400mu_notification_grok().
195 * @rx_pending_count: number of rx-data-ready notifications that were
219 * (wimax_dev->debugfs_dentry) so they can be removed when the
249 i2400m_init(&i2400mu->i2400m); in i2400mu_init()
250 edc_init(&i2400mu->urb_edc); in i2400mu_init()
251 init_waitqueue_head(&i2400mu->tx_wq); in i2400mu_init()
252 atomic_set(&i2400mu->rx_pending_count, 0); in i2400mu_init()
253 init_waitqueue_head(&i2400mu->rx_wq); in i2400mu_init()
254 i2400mu->rx_size = PAGE_SIZE - sizeof(struct skb_shared_info); in i2400mu_init()
255 atomic_set(&i2400mu->do_autopm, 1); in i2400mu_init()
256 i2400mu->rx_size_auto_shrink = 1; in i2400mu_init()