Lines Matching refs:queue

1041 static void rt61pci_start_queue(struct data_queue *queue)
1043 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
1046 switch (queue->qid) {
1064 static void rt61pci_kick_queue(struct data_queue *queue)
1066 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
1069 switch (queue->qid) {
1095 static void rt61pci_stop_queue(struct data_queue *queue)
1097 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
1100 switch (queue->qid) {
1292 if (entry->queue->qid == QID_RX) {
1310 if (entry->queue->qid == QID_RX) {
1787 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid);
1788 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs);
1789 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min);
1790 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue->cw_max);
1812 rt2x00_set_field32(&word, TXD_W5_PID_TYPE, entry->queue->qid);
1815 TXPOWER_TO_DEV(entry->queue->rt2x00dev->tx_power));
1819 if (entry->queue->qid != QID_BEACON) {
1865 skbdesc->desc_len = (entry->queue->qid == QID_BEACON) ? TXINFO_SIZE :
1875 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev;
1939 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev;
1997 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev;
2061 struct data_queue *queue;
2088 * queue identication number.
2091 queue = rt2x00queue_get_tx_queue(rt2x00dev, type);
2092 if (unlikely(!queue))
2100 if (unlikely(index >= queue->limit))
2103 entry = &queue->entries[index];
2111 entry_done = rt2x00queue_get_entry(queue, Q_INDEX_DONE);
2120 entry_done = rt2x00queue_get_entry(queue, Q_INDEX_DONE);
2807 struct data_queue *queue;
2815 * update the queue settings and validate the input. After that
2817 * in the queue parameter.
2830 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx);
2838 rt2x00_set_field32(&reg, field, queue->txop);
2846 rt2x00_set_field32(&reg, field, queue->aifs);
2850 rt2x00_set_field32(&reg, field, queue->cw_min);
2854 rt2x00_set_field32(&reg, field, queue->cw_max);
2938 static void rt61pci_queue_init(struct data_queue *queue)
2940 switch (queue->qid) {
2942 queue->limit = 32;
2943 queue->data_size = DATA_FRAME_SIZE;
2944 queue->desc_size = RXD_DESC_SIZE;
2945 queue->priv_size = sizeof(struct queue_entry_priv_mmio);
2952 queue->limit = 32;
2953 queue->data_size = DATA_FRAME_SIZE;
2954 queue->desc_size = TXD_DESC_SIZE;
2955 queue->priv_size = sizeof(struct queue_entry_priv_mmio);
2959 queue->limit = 4;
2960 queue->data_size = 0; /* No DMA required for beacons */
2961 queue->desc_size = TXINFO_SIZE;
2962 queue->priv_size = sizeof(struct queue_entry_priv_mmio);