Searched refs:queue (Results 176 - 200 of 575) sorted by relevance

1234567891011>>

/drivers/scsi/
H A Dipr.c634 ipr_cmd = list_entry(ioa_cfg->free_q.next, struct ipr_cmnd, queue);
635 list_del(&ipr_cmd->queue);
737 list_add_tail(&ipr_cmd->queue, &ioa_cfg->free_q);
760 list_add_tail(&ipr_cmd->queue, &ioa_cfg->free_q);
777 list_for_each_entry_safe(ipr_cmd, temp, &ioa_cfg->pending_q, queue) {
778 list_del(&ipr_cmd->queue);
844 list_add_tail(&ipr_cmd->queue, &ioa_cfg->pending_q);
953 * place the hostrcb on the free queue.
966 list_add_tail(&ipr_cmd->queue, &ioa_cfg->pending_q);
967 list_add_tail(&hostrcb->queue,
[all...]
H A Dips.c62 /* - Send all of the commands on the queue at once rather than */
103 /* - Don't release HA Lock in ips_next() until SC taken off queue */
806 /* See if the command is on the copp queue */
816 /* See if the command is on the wait queue */
871 /* See if the command is on the copp queue */
882 /* See if the command is on the wait queue */
1198 /* Set queue depths on devices once scan is complete */
2607 /* Take the next command off the queue and send it to the controller */
2626 * Block access to the queue function so
2734 spin_unlock(host->host_lock); /* Unlock HA after command is taken off queue */
2845 ips_putq_scb_head(ips_scb_queue_t * queue, ips_scb_t * item) argument
2873 ips_removeq_scb_head(ips_scb_queue_t * queue) argument
2908 ips_removeq_scb(ips_scb_queue_t * queue, ips_scb_t * item) argument
2953 ips_putq_wait_tail(ips_wait_queue_t *queue, struct scsi_cmnd *item) argument
2984 ips_removeq_wait_head(ips_wait_queue_t *queue) argument
3018 ips_removeq_wait(ips_wait_queue_t *queue, struct scsi_cmnd *item) argument
3065 ips_putq_copp_tail(ips_copp_queue_t * queue, ips_copp_wait_item_t * item) argument
3097 ips_removeq_copp_head(ips_copp_queue_t * queue) argument
3132 ips_removeq_copp(ips_copp_queue_t * queue, ips_copp_wait_item_t * item) argument
[all...]
/drivers/net/wireless/b43/
H A Dpio.c165 p->queue = q;
222 #define destroy_queue_tx(pio, queue) do { \
223 b43_destroy_pioqueue_tx((pio)->queue, __stringify(queue)); \
224 (pio)->queue = NULL; \
227 #define destroy_queue_rx(pio, queue) do { \
228 b43_destroy_pioqueue_rx((pio)->queue, __stringify(queue)); \
229 (pio)->queue = NULL; \
365 struct b43_pio_txqueue *q = pack->queue;
[all...]
/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c578 ath5k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, argument
585 if (queue >= ah->ah_capabilities.cap_queues.q_tx_num)
590 ath5k_hw_get_tx_queueprops(ah, queue, &qi);
598 "Configure tx [queue %d], "
600 queue, params->aifs, params->cw_min,
603 if (ath5k_hw_set_tx_queueprops(ah, queue, &qi)) {
605 "Unable to update hardware queue %u!\n", queue);
608 ath5k_hw_reset_tx_queue(ah, queue);
H A Dath5k.h134 /* Access QCU registers per queue */
530 * @AR5K_TX_QUEUE_DATA: A normal data queue
531 * @AR5K_TX_QUEUE_BEACON: The beacon queue
532 * @AR5K_TX_QUEUE_CAB: The after-beacon queue
533 * @AR5K_TX_QUEUE_UAPSD: Unscheduled Automatic Power Save Delivery queue
567 * @AR5K_TX_QUEUE_ID_NOQCU_DATA: Data queue on AR5210 (no QCU available)
568 * @AR5K_TX_QUEUE_ID_NOQCU_BEACON: Beacon queue on AR5210 (no QCU available)
569 * @AR5K_TX_QUEUE_ID_DATA_MIN: Data queue min index
570 * @AR5K_TX_QUEUE_ID_DATA_MAX: Data queue max index
571 * @AR5K_TX_QUEUE_ID_CAB: Content after beacon queue
[all...]
/drivers/usb/gadget/
H A Ddummy_hcd.c80 struct list_head queue; member in struct:dummy_ep
93 struct list_head queue; /* ep's requests */ member in struct:dummy_request
250 while (!list_empty(&ep->queue)) {
253 req = list_entry(ep->queue.next, struct dummy_request, queue);
254 list_del_init(&req->queue);
592 INIT_LIST_HEAD(&req->queue);
608 WARN_ON(!list_empty(&req->queue));
626 if (!_req || !list_empty(&req->queue) || !_req->complete)
639 dev_dbg(udc_dev(dum), "ep %p queue re
[all...]
H A Dci13xxx_udc.c1193 * show_qheads: DMA contents of all queue heads
1326 list_for_each(ptr, &udc->ci13xxx_ep[i].qh.queue)
1328 req = list_entry(ptr, struct ci13xxx_req, queue);
1450 /* don't queue twice */
1505 if (!list_empty(&mEp->qh.queue)) {
1510 mReqPrev = list_entry(mEp->qh.queue.prev,
1511 struct ci13xxx_req, queue);
1608 while (!list_empty(&mEp->qh.queue)) {
1612 list_entry(mEp->qh.queue.next,
1613 struct ci13xxx_req, queue);
[all...]
H A Dpxa27x_udc.c158 if (list_empty(&ep->queue)) {
163 list_for_each_entry(req, &ep->queue, queue) {
663 INIT_LIST_HEAD(&req->queue);
682 WARN_ON(!list_empty(&req->queue));
687 * ep_add_request - add a request to the endpoint's queue
693 * Queues the request in the endpoint's queue, and enables the interrupts
704 list_add_tail(&req->queue, &ep->queue);
709 * ep_del_request - removes a request from the endpoint's queue
[all...]
H A Dfsl_qe_udc.c88 /* the req->queue pointer is used by ep_queue() func, in which
89 * the request will be added into a udc_ep->queue 'd tail
90 * so here the req will be dropped from the ep->queue
92 list_del_init(&req->queue);
120 /* don't modify queue heads during completion callback */
140 while (!list_empty(&ep->queue)) {
142 req = list_entry(ep->queue.next, struct qe_req, queue);
789 if (ep->has_data <= 0 && (!list_empty(&ep->queue)))
916 if (list_empty(&ep->queue)) {
[all...]
H A Ds3c-hsotg.c70 * @queue: Queue of requests for this endpoint.
105 struct list_head queue; member in struct:s3c_hsotg_ep
176 * @queue: The list of requests for the endpoint this is queued for.
182 struct list_head queue; member in struct:s3c_hsotg_req
392 INIT_LIST_HEAD(&req->queue);
524 "%s: no queue slots available (0x%08x)\n",
639 * s3c_hsotg_start_req - start a USB request from an endpoint's queue
802 * We've been asked to queue a request, so ensure that the memory buffer
867 INIT_LIST_HEAD(&hs_req->queue);
880 first = list_empty(&hs_ep->queue);
[all...]
H A Dlangwell_udc.c386 /* remove the req from ep->queue */
387 list_del_init(&req->queue);
411 /* don't modify queue heads during completion callback */
438 while (!list_empty(&ep->queue)) {
440 req = list_entry(ep->queue.next, struct langwell_request,
441 queue);
512 INIT_LIST_HEAD(&req->queue);
536 WARN_ON(!list_empty(&req->queue));
548 /* queue dTD and PRIME endpoint */
578 if (!(list_empty(&ep->queue))) {
[all...]
/drivers/virtio/
H A Dvirtio_pci.c79 /* the number of entries in the queue */
82 /* the index of the queue */
85 /* the virtual address of the ring queue */
86 void *queue; member in struct:virtio_pci_vq_info
201 /* the notify function used when creating a virt queue */
207 /* we write the queue's selector into the notification register to
391 /* Select the queue we're interested in */
394 /* Check if queue is either not available or already active. */
400 * queue */
410 info->queue
[all...]
/drivers/net/wireless/rtlwifi/
H A Dpci.c491 (ring->entries - skb_queue_len(&ring->queue) > 5)) {
519 while (skb_queue_len(&ring->queue)) {
538 skb = __skb_dequeue(&ring->queue);
552 skb_queue_len(&ring->queue),
587 if ((ring->entries - skb_queue_len(&ring->queue))
593 skb_queue_len(&ring->queue));
914 pskb = __skb_dequeue(&ring->queue);
933 __skb_queue_tail(&ring->queue, pskb);
959 *we just alloc 2 desc for beacon queue,
965 *BE queue nee
[all...]
/drivers/scsi/bfa/
H A Dbfa_core.c641 * Callback only as long as there is room in request queue
707 int queue; local
714 * RME completion queue interrupt
718 for (queue = 0; queue < BFI_IOC_MAX_CQS; queue++)
719 bfa_isr_rspq(bfa, queue);
727 * CPE completion queue interrupt
731 for (queue = 0; queue < BFI_IOC_MAX_CQ
745 int queue; local
[all...]
/drivers/spi/
H A Dspi-topcliff-pch.c139 * @work: Reference to work queue handler
142 * @wait: Wait queue for waking up upon receiving an
147 * @queue: SPI Message queue
181 struct list_head queue; member in struct:pch_spi_data
574 /* add message to queue */
575 list_add_tail(&pmsg->queue, &data->queue);
580 /* schedule work queue to run */
582 dev_dbg(&pspi->dev, "%s - Invoked queue wor
[all...]
H A Dspi-bfin-sport.c68 /* Driver message queue */
72 struct list_head queue; member in struct:bfin_sport_spi_master_data
482 /* pop a msg from queue and kick off real transfer */
492 /* Lock queue and check for queue work */
494 if (list_empty(&drv_data->queue) || !drv_data->run) {
507 /* Extract head of queue */
508 next_msg = list_entry(drv_data->queue.next,
509 struct spi_message, queue);
516 list_del_init(&drv_data->cur_msg->queue);
[all...]
/drivers/infiniband/hw/cxgb3/
H A Dcxio_wr.h660 #define TPT_ERR_DDP_QUEUE_NUM 0x17 /* invalid ddp queue number */
692 union t3_wr *queue; /* DMA accessible memory */ member in struct:t3_wq
722 struct t3_cqe *queue; member in struct:t3_cq
738 &cq->queue[1 << cq->size_log2])->cq_err;
744 &cq->queue[1 << cq->size_log2])->cq_err = 1;
749 wq->queue->wq_in_err.err |= 1;
754 wq->queue->wq_in_err.err |= 2;
759 wq->queue->wq_in_err.err &= ~2;
764 return !(wq->queue->wq_in_err.err & 2);
771 cqe = cq->queue
[all...]
/drivers/net/ethernet/sfc/
H A Dtx.c29 * before we restart the netif queue
58 "TX queue %d transmission id %x complete\n",
59 tx_queue->queue, tx_queue->read_count);
66 * The list is protected by the TX queue lock.
123 * Add a socket buffer to a TX queue
126 * the TX queue. The queue's insert pointer will be incremented by
130 * the queue's insert pointer will be restored to its original value.
187 /* Add to TX queue, splitting across DMA boundaries */
197 * change of queue stat
[all...]
/drivers/scsi/ibmvscsi/
H A Dibmvfc.c560 list_for_each_entry(tgt, &vhost->targets, queue)
593 list_for_each_entry(tgt, &vhost->targets, queue)
722 /* Clean out the queue */
771 list_add_tail(&evt->queue, &vhost->free);
812 list_del(&evt->queue);
831 list_for_each_entry_safe(evt, pos, &vhost->sent, queue)
917 list_for_each_entry(tgt, &vhost->targets, queue)
1232 list_add_tail(&evt->queue, &vhost->free);
1251 list_del(&pool->events[i].queue);
1277 evt = list_entry(vhost->free.next, struct ibmvfc_event, queue);
3096 struct ibmvfc_crq_queue *queue = &vhost->crq; local
[all...]
/drivers/gpu/drm/via/
H A Dvia_dmablit.c398 via_dmablit_active(drm_via_blitq_t *blitq, int engine, uint32_t handle, wait_queue_head_t **queue) argument
413 if (queue && active) {
417 *queue = blitq->blit_queue + slot;
435 wait_queue_head_t *queue; local
438 if (via_dmablit_active(blitq, engine, handle, &queue)) {
439 DRM_WAIT_ON(ret, *queue, 3 * DRM_HZ,
676 * Reserve one free slot in the blit queue. Will wait for one second for one
720 * Grab a free slot. Build blit info and queue a blit.
795 * while waiting for a free slot in the blit queue. In that case it returns with -EAGAIN and should
/drivers/net/wireless/rtlwifi/rtl8192cu/
H A Dphy.c503 if (skb_queue_len(&ring->queue) == 0 ||
512 skb_queue_len(&ring->queue));
521 skb_queue_len(&ring->queue));
546 if (skb_queue_len(&ring->queue) == 0) {
553 skb_queue_len(&ring->queue));
562 skb_queue_len(&ring->queue));
/drivers/pps/
H A Dpps.c56 poll_wait(file, &pps->queue, wait);
159 err = wait_event_interruptible(pps->queue,
172 pps->queue,
/drivers/scsi/aacraid/
H A Ddpcsup.c49 * know there is a response on our normal priority queue. We will pull off
51 * take a spinlock out on the queue before operating on it.
65 * Keep pulling response QEs off the response queue and waking
80 * Remove this fib from the Outstanding I/O queue.
87 dev->queues->queue[AdapNormCmdQueue].numpending--;
164 * @q: queue to process
167 * let us know there is a command on our normal priority queue. We will
169 * We will take a spinlock out on the queue before operating on it.
181 * Keep pulling response QEs off the response queue and waking
281 * know there is a response on our normal priority queue
[all...]
/drivers/staging/rtl8712/
H A Drtl871x_ioctl_set.c63 struct __queue *queue = &(pmlmepriv->scanned_queue); local
65 phead = get_list_head(queue);
72 /* adhoc mode will start with an empty queue, but skip checking */
74 _queue_empty(queue)) {
77 /* when set_ssid/set_bssid for do_join(), but scanning queue
116 * there are no desired bss in scanning queue
/drivers/block/
H A Dumem.c25 * - Never block on make_request. queue
114 struct request_queue *queue; member in struct:cardinfo
920 card->queue = blk_alloc_queue(GFP_KERNEL);
921 if (!card->queue)
924 blk_queue_make_request(card->queue, mm_make_request);
925 card->queue->queue_lock = &card->lock;
926 card->queue->queuedata = card;
1066 blk_cleanup_queue(card->queue);
1124 disk->queue = cards[i].queue;
[all...]

Completed in 1479 milliseconds

1234567891011>>