/drivers/dma/ |
H A D | pch_dma.c | 111 struct list_head queue; member in struct:pch_dma_chan 184 return list_first_entry(&pd_chan->queue, 380 if (!list_empty(&pd_chan->queue)) 384 list_splice_init(&pd_chan->queue, &pd_chan->active_list); 397 list_splice_init(&pd_chan->queue, pd_chan->active_list.prev); 433 list_add_tail(&desc->desc_node, &pd_chan->queue); 551 BUG_ON(!list_empty(&pd_chan->queue)); 689 list_splice_init(&pd_chan->queue, &list); 923 INIT_LIST_HEAD(&pd_chan->queue);
|
H A D | timb_dma.c | 91 struct list_head queue; member in struct:timb_dma_chan 331 BUG_ON(list_empty(&td_chan->queue)); 334 td_desc = list_entry(td_chan->queue.next, struct timb_dma_desc, 364 list_add_tail(&td_desc->desc_node, &td_chan->queue); 497 BUG_ON(!list_empty(&td_chan->queue)); 537 if (list_empty(&td_chan->active_list) && !list_empty(&td_chan->queue)) 611 /* first the easy part, put the queue into the free list */ 613 list_for_each_entry_safe(td_desc, _td_desc, &td_chan->queue, 643 if (!list_empty(&td_chan->queue)) 757 INIT_LIST_HEAD(&td_chan->queue); [all...] |
/drivers/i2c/busses/ |
H A D | i2c-octeon.c | 65 wait_queue_head_t queue; member in struct:octeon_i2c 187 wake_up_interruptible(&i2c->queue); 210 result = wait_event_interruptible_timeout(i2c->queue, 560 init_waitqueue_head(&i2c->queue);
|
/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 72 cq->memsize, cq->queue, 102 cq->queue = dma_alloc_coherent(&rdev->lldi.pdev->dev, cq->memsize, 104 if (!cq->queue) { 109 memset(cq->queue, 0, cq->memsize); 167 dma_free_coherent(&rdev->lldi.pdev->dev, cq->memsize, cq->queue, 785 * Make actual HW queue 2x to avoid cdix_inc overflows. 790 * Make HW queue at least 64 entries so GTS updates aren't too 796 memsize = hwentries * sizeof *chp->cq.queue; 803 hwentries = memsize / sizeof *chp->cq.queue; 806 hwentries = memsize / sizeof *chp->cq.queue; [all...] |
/drivers/media/video/au0828/ |
H A D | au0828-vbi.c | 124 list_add_tail(&buf->vb.queue, &vbiq->active);
|
/drivers/net/wireless/prism54/ |
H A D | isl_38xx.h | 60 /* High end mobos queue up pci writes, the following 159 /* determine number of entries currently in queue */ 160 int isl38xx_in_queue(isl38xx_control_block *cb, int queue);
|
/drivers/net/wireless/rtl818x/rtl8180/ |
H A D | rtl8180.h | 55 struct sk_buff_head queue; member in struct:rtl8180_tx_ring
|
/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_symbol.h | 46 #include "../queue.h" 48 #include <sys/queue.h>
|
H A D | aicasm_scan.l | 55 #include "../queue.h" 57 #include <sys/queue.h>
|
/drivers/scsi/ |
H A D | libsrp.c | 63 kfifo_init(&q->queue, (void *) q->pool, max * sizeof(void *)); 66 kfifo_in(&q->queue, (void *) &iue, sizeof(void *)); 168 if (kfifo_out_locked(&target->iu_queue.queue, (void *) &iue, 184 kfifo_in_locked(&iue->target->iu_queue.queue, (void *) &iue,
|
/drivers/spi/ |
H A D | spi-dw.c | 558 /* Lock queue and check for queue work */ 560 if (list_empty(&dws->queue) || dws->run == QUEUE_STOPPED) { 572 /* Extract head of queue */ 573 dws->cur_msg = list_entry(dws->queue.next, struct spi_message, queue); 574 list_del_init(&dws->cur_msg->queue); 590 /* spi_device use this to queue in their spi_msg */ 607 list_add_tail(&msg->queue, &dws->queue); [all...] |
/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 44 struct list_head queue; member in struct:c67x00_ep_data 277 INIT_LIST_HEAD(&ep_data->queue); 316 if (!list_empty(&ep_data->queue)) 320 list_del(&ep_data->queue); 339 /* loop waiting for all transfers in the endpoint queue to complete */ 425 if (list_empty(&urbp->ep_data->queue)) 431 last_urb = list_entry(urbp->ep_data->queue.prev, 443 /* Add the URB to the endpoint queue */ 444 list_add_tail(&urbp->hep_node, &urbp->ep_data->queue); 807 if (!list_empty(&ep_data->queue)) { [all...] |
/drivers/usb/gadget/ |
H A D | uvc.h | 136 struct uvc_video_queue queue; member in struct:uvc_video
|
H A D | amd5536udc.c | 448 INIT_LIST_HEAD(&ep->queue); 525 INIT_LIST_HEAD(&req->queue); 566 BUG_ON(!list_empty(&req->queue)); 839 /* remove from ep queue */ 840 list_del_init(&req->queue); 1065 || !list_empty(&req->queue)) 1086 VDBG(dev, "%s queue req %p, len %d req->td_data=%p buf %p\n", 1095 /* on empty queue just do first transfer */ 1096 if (list_empty(&ep->queue)) { 1200 /* add request to ep queue */ [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt61pci.c | 1133 static void rt61pci_start_queue(struct data_queue *queue) argument 1135 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 1138 switch (queue->qid) { 1156 static void rt61pci_kick_queue(struct data_queue *queue) argument 1158 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 1161 switch (queue->qid) { 1187 static void rt61pci_stop_queue(struct data_queue *queue) argument 1189 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 1192 switch (queue->qid) { 1384 if (entry->queue 2154 struct data_queue *queue; local 2891 struct data_queue *queue; local [all...] |
H A D | rt73usb.c | 1024 static void rt73usb_start_queue(struct data_queue *queue) argument 1026 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 1029 switch (queue->qid) { 1047 static void rt73usb_stop_queue(struct data_queue *queue) argument 1049 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 1052 switch (queue->qid) { 1492 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid); 1493 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs); 1494 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); 1495 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue 2230 struct data_queue *queue; local [all...] |
H A D | rt2500usb.c | 742 static void rt2500usb_start_queue(struct data_queue *queue) argument 744 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 747 switch (queue->qid) { 765 static void rt2500usb_stop_queue(struct data_queue *queue) argument 767 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 770 switch (queue->qid) { 1111 rt2x00_set_field32(&word, TXD_W1_AIFS, entry->queue->aifs); 1112 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); 1113 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue->cw_max); 1146 struct rt2x00_dev *rt2x00dev = entry->queue [all...] |
H A D | rt2500pci.c | 296 struct data_queue *queue = rt2x00dev->bcn; local 307 rt2x00_set_field32(®, BCNCSR1_BEACON_CWMIN, queue->cw_min); 726 static void rt2500pci_start_queue(struct data_queue *queue) argument 728 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 731 switch (queue->qid) { 749 static void rt2500pci_kick_queue(struct data_queue *queue) argument 751 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 754 switch (queue->qid) { 775 static void rt2500pci_stop_queue(struct data_queue *queue) argument 777 struct rt2x00_dev *rt2x00dev = queue 1403 struct data_queue *queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); local [all...] |
H A D | rt2x00dev.c | 276 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; 431 * If the data queue was below the threshold before the txdone 432 * handler we must make sure the packet queue in the mac80211 stack 434 * serialized with rt2x00mac_tx(), otherwise we can wake up queue 437 spin_lock_bh(&entry->queue->tx_lock); 438 if (!rt2x00queue_threshold(entry->queue)) 439 rt2x00queue_unpause_queue(entry->queue); 440 spin_unlock_bh(&entry->queue->tx_lock); 592 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; 630 rxdesc.size > entry->queue [all...] |
/drivers/net/wireless/ath/ath6kl/ |
H A D | htc.c | 587 struct list_head *queue) 604 "htc tx got packet 0x%p queue depth %d\n", 614 /* now we can fully move onto caller's queue */ 617 list_move_tail(&packet->list, queue); 670 struct list_head *queue) 682 if (list_empty(queue)) 685 packet = list_first_entry(queue, struct htc_packet, list); 697 /* now remove it from the queue */ 724 list_add(&packet->list, queue); 734 * Drain a queue an 585 ath6kl_htc_tx_pkts_get(struct htc_target *target, struct htc_endpoint *endpoint, struct list_head *queue) argument 666 ath6kl_htc_tx_setup_scat_list(struct htc_target *target, struct htc_endpoint *endpoint, struct hif_scatter_req *scat_req, int n_scat, struct list_head *queue) argument 742 ath6kl_htc_tx_bundle(struct htc_endpoint *endpoint, struct list_head *queue, int *sent_bundle, int *n_bundle_pkts) argument 1099 struct list_head queue; local 1245 struct list_head queue; local 1340 ath6kl_htc_rx_setup(struct htc_target *target, struct htc_endpoint *ep, u32 *lk_ahds, struct list_head *queue, int n_msg) argument 1442 ath6kl_htc_rx_alloc(struct htc_target *target, u32 lk_ahds[], int msg, struct htc_endpoint *endpoint, struct list_head *queue) argument [all...] |
/drivers/media/video/ |
H A D | mx2_camera.c | 255 struct list_head queue; member in struct:mx2_buf_internal 486 internal.queue); 488 list_del(&buf->internal.queue); 605 list_add_tail(&buf->internal.queue, &pcdev->capture); 623 list_del(&buf->internal.queue); 814 internal.queue); 824 internal.queue); 853 list_add_tail(&pcdev->buf_discard[0].queue, 857 list_add_tail(&pcdev->buf_discard[1].queue, 1472 queue); [all...] |
/drivers/media/video/bt8xx/ |
H A D | bttv-risc.c | 612 list_del(&vbi->vb.queue); 654 if (set->top->vb.queue.next) 655 list_del(&set->top->vb.queue); 659 if (set->top->vb.queue.next) 660 list_del(&set->top->vb.queue); 661 if (set->bottom->vb.queue.next) 662 list_del(&set->bottom->vb.queue); 676 if (set->top->vb.queue.next) 677 list_del(&set->top->vb.queue); 687 if (set->bottom->vb.queue [all...] |
/drivers/md/ |
H A D | Makefile | 36 obj-$(CONFIG_DM_MULTIPATH_QL) += dm-queue-length.o
|
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc_common.h | 131 * enum s5p_mfc_queue_state - The state of buffer queue. 200 * @queue: waitqueue for waiting for completion of device commands 236 wait_queue_head_t queue; member in struct:s5p_mfc_dev 366 * @queue: waitqueue that can be used to wait for this context to 370 * @vq_src: vb2 queue for source buffers 371 * @vq_dst: vb2 queue for destination buffers 372 * @src_queue: driver internal queue for source buffers 373 * @dst_queue: driver internal queue for destination buffers 374 * @src_queue_cnt: number of buffers queued on the source internal queue 375 * @dst_queue_cnt: number of buffers queued on the dest internal queue 444 wait_queue_head_t queue; member in struct:s5p_mfc_ctx [all...] |
/drivers/scsi/aacraid/ |
H A D | sa.c | 68 aac_command_normal(&dev->queues->queue[HostNormCmdQueue]); 71 aac_response_normal(&dev->queues->queue[HostNormRespQueue]);
|