Lines Matching defs:queue
360 * TX cmd queue. Otherwise in case the cmd comes
2485 * The queue is empty (no good data) if WRITE = READ - 1, and is full if
2488 * During initialization, the host sets up the READ queue position to the first
2494 * resets the Rx queue buffers with new memory.
2517 * queue, updates firmware pointers, and updates
2524 * Moves the packet buffer from queue to rx_used.
2532 * il_rx_queue_space - Return number of free slots available in queue.
2540 /* keep some buffer to not confuse full and empty queue */
2549 * il_rx_queue_update_write_ptr - Update the write pointer for the RX queue
2568 D_INFO("Rx queue requesting wakeup," " GP1 = 0x%x\n",
2614 /* Fill the rx_used queue with _all_ of the Rx buffers */
2619 * not restocked the Rx queue with fresh buffers */
2723 D_INFO("Tx queue %d requesting wakeup," " GP1 = 0x%x\n",
2763 * il_tx_queue_free - Deallocate DMA queue.
2764 * @txq: Transmit queue to deallocate.
2766 * Empty queue by removing and destroying all BD's.
2800 /* 0-fill queue descriptor structure */
2806 * il_cmd_queue_unmap - Unmap any remaining DMA mappings from command queue
2844 * il_cmd_queue_free - Deallocate DMA queue.
2846 * Empty queue by removing and destroying all BD's.
2876 /* 0-fill queue descriptor structure */
2886 * A Tx or Rx queue resides in host DRAM, and is comprised of a circular buffer
2889 * queue via "read" and "write" pointers. Driver keeps minimum of 2 empty
2891 * queue states.
2894 * DMA/FIFO channels. Each queue is mapped to a single DMA channel.
2896 * For Tx queue, there are low mark and high mark limits. If, after queuing
2897 * the packet for Tx, free space become < low mark, Tx queue stopped. When
2899 * Tx queue resumed.
2924 * il_queue_init - Initialize queue's high/low-water and read/write idxes
2958 * il_tx_queue_alloc - Alloc driver data and TFD CB for one Tx/cmd queue
2998 * il_tx_queue_init - Allocate and initialize one tx/cmd queue
3009 * For the command queue (#4/#9), allocate command space + one big
3033 /* only happens for cmd queue */
3057 /* Initialize queue's high/low-water marks, and head/tail idxes */
3060 /* Tell device where to find queue */
3094 /* Initialize queue's high/low-water marks, and head/tail idxes */
3097 /* Tell device where to find queue */
3111 * command queue.
3148 IL_ERR("Restarting adapter due to command queue full\n");
3212 /* Set up entry in queue's byte count circular buffer */
3218 /* Increment and update queue's write idx */
3228 * il_hcmd_queue_reclaim - Reclaim TX command queue entries already Tx'd
3242 IL_ERR("Read idx for DMA queue txq id (%d), idx %d, "
3261 * il_tx_cmd_complete - Pull unused buffers off the queue and reclaim them
3283 * command queue then there a command routing bug has been introduced
3284 * in the queue management code. */
3287 "wrong command queue %d (should be %d), sequence 0x%X readp=%d writep=%d\n",
3303 /* Input error checking is done when commands are added to queue. */
4484 unsigned int link_id, u16 queue,
4498 if (queue >= AC_NUM) {
4499 D_MAC80211("leave - queue >= AC_NUM %d\n", queue);
4503 q = AC_NUM - 1 - queue;
4769 IL_ERR("Failed to flush queue %d\n", q->id);
4783 * change during timeout period and queue is not empty we reset firmware.
4815 * discover the queue hung between timeout and 1.25*timeout
4820 * Watchdog timer callback, we check each tx queue for stuck, if hung
4837 /* monitor and check for stuck cmd queue */
4843 /* skip as we already checked the command queue */