Lines Matching defs:queue
360 * TX cmd queue. Otherwise in case the cmd comes
2487 * The queue is empty (no good data) if WRITE = READ - 1, and is full if
2490 * During initialization, the host sets up the READ queue position to the first
2496 * resets the Rx queue buffers with new memory.
2519 * queue, updates firmware pointers, and updates
2526 * Moves the packet buffer from queue to rx_used.
2534 * il_rx_queue_space - Return number of free slots available in queue.
2542 /* keep some buffer to not confuse full and empty queue */
2551 * il_rx_queue_update_write_ptr - Update the write pointer for the RX queue
2570 D_INFO("Rx queue requesting wakeup," " GP1 = 0x%x\n",
2616 /* Fill the rx_used queue with _all_ of the Rx buffers */
2621 * not restocked the Rx queue with fresh buffers */
2725 D_INFO("Tx queue %d requesting wakeup," " GP1 = 0x%x\n",
2765 * il_tx_queue_free - Deallocate DMA queue.
2766 * @txq: Transmit queue to deallocate.
2768 * Empty queue by removing and destroying all BD's.
2802 /* 0-fill queue descriptor structure */
2808 * il_cmd_queue_unmap - Unmap any remaining DMA mappings from command queue
2846 * il_cmd_queue_free - Deallocate DMA queue.
2848 * Empty queue by removing and destroying all BD's.
2878 /* 0-fill queue descriptor structure */
2888 * A Tx or Rx queue resides in host DRAM, and is comprised of a circular buffer
2891 * queue via "read" and "write" pointers. Driver keeps minimum of 2 empty
2893 * queue states.
2896 * DMA/FIFO channels. Each queue is mapped to a single DMA channel.
2898 * For Tx queue, there are low mark and high mark limits. If, after queuing
2899 * the packet for Tx, free space become < low mark, Tx queue stopped. When
2901 * Tx queue resumed.
2926 * il_queue_init - Initialize queue's high/low-water and read/write idxes
2960 * il_tx_queue_alloc - Alloc driver data and TFD CB for one Tx/cmd queue
3000 * il_tx_queue_init - Allocate and initialize one tx/cmd queue
3011 * For the command queue (#4/#9), allocate command space + one big
3035 /* only happens for cmd queue */
3059 /* Initialize queue's high/low-water marks, and head/tail idxes */
3062 /* Tell device where to find queue */
3096 /* Initialize queue's high/low-water marks, and head/tail idxes */
3099 /* Tell device where to find queue */
3113 * command queue.
3150 IL_ERR("Restarting adapter due to command queue full\n");
3215 /* Set up entry in queue's byte count circular buffer */
3221 /* Increment and update queue's write idx */
3231 * il_hcmd_queue_reclaim - Reclaim TX command queue entries already Tx'd
3245 IL_ERR("Read idx for DMA queue txq id (%d), idx %d, "
3264 * il_tx_cmd_complete - Pull unused buffers off the queue and reclaim them
3286 * command queue then there a command routing bug has been introduced
3287 * in the queue management code. */
3290 "wrong command queue %d (should be %d), sequence 0x%X readp=%d writep=%d\n",
3306 /* Input error checking is done when commands are added to queue. */
4486 il_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue,
4500 if (queue >= AC_NUM) {
4501 D_MAC80211("leave - queue >= AC_NUM %d\n", queue);
4505 q = AC_NUM - 1 - queue;
4771 IL_ERR("Failed to flush queue %d\n", q->id);
4785 * change during timeout period and queue is not empty we reset firmware.
4817 * discover the queue hung between timeout and 1.25*timeout
4822 * Watchdog timer callback, we check each tx queue for stuck, if if hung
4839 /* monitor and check for stuck cmd queue */
4845 /* skip as we already checked the command queue */