Lines Matching refs:queue
65 struct data_queue *queue = rt2x00dev->rx;
72 entry = rt2x00queue_get_entry(queue, Q_INDEX);
83 skbdesc->desc_len = entry->queue->desc_size;
102 void rt2x00pci_flush_queue(struct data_queue *queue, bool drop)
106 for (i = 0; !rt2x00queue_empty(queue) && i < 10; i++)
115 struct data_queue *queue)
126 queue->limit * queue->desc_size,
131 memset(addr, 0, queue->limit * queue->desc_size);
134 * Initialize all queue entries to contain valid addresses.
136 for (i = 0; i < queue->limit; i++) {
137 entry_priv = queue->entries[i].priv_data;
138 entry_priv->desc = addr + i * queue->desc_size;
139 entry_priv->desc_dma = dma + i * queue->desc_size;
146 struct data_queue *queue)
149 queue->entries[0].priv_data;
153 queue->limit * queue->desc_size,
160 struct data_queue *queue;
166 queue_for_each(rt2x00dev, queue) {
167 status = rt2x00pci_alloc_queue_dma(rt2x00dev, queue);
187 queue_for_each(rt2x00dev, queue)
188 rt2x00pci_free_queue_dma(rt2x00dev, queue);
196 struct data_queue *queue;
206 queue_for_each(rt2x00dev, queue)
207 rt2x00pci_free_queue_dma(rt2x00dev, queue);