Searched refs:queue (Results 151 - 175 of 742) sorted by relevance

1234567891011>>

/drivers/thunderbolt/
H A Dnhi.h42 struct list_head queue; member in struct:tb_ring
/drivers/usb/chipidea/
H A Dudc.h45 /* DMA layout of queue heads */
72 * @queue: link to QH list
80 struct list_head queue; member in struct:ci_hw_req
/drivers/bluetooth/
H A Dbpa10x.c67 static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count) argument
71 BT_DBG("%s queue %d buffer %p count %d", hdev->name,
72 queue, buf, count);
74 if (queue < 0 || queue > 1)
80 struct sk_buff *skb = data->rx_skb[queue];
132 data->rx_skb[queue] = skb;
153 data->rx_skb[queue] = NULL;
/drivers/virtio/
H A Dvirtio_mmio.c71 * 0x034 R QueueNumMax Maximum size of the currently selected queue
72 * 0x038 W QueueNum Queue size for the currently selected queue
73 * 0x03c W QueueAlign Used Ring alignment for the current queue
74 * 0x040 RW QueuePFN PFN for the currently selected queue
131 /* the number of entries in the queue */
134 /* the virtual address of the ring queue */
135 void *queue; member in struct:virtio_mmio_vq_info
221 /* the notify function used when creating a virt queue */
226 /* We write the queue's selector into the notification register to
275 /* Select and deactivate the queue */
[all...]
/drivers/media/pci/ttpci/
H A Dav7110_ca.c83 wake_up_interruptible(&cibuf->queue);
175 if (wait_event_interruptible(cibuf->queue,
200 if (wait_event_interruptible(cibuf->queue,
239 poll_wait(file, &rbuf->queue, wait);
240 poll_wait(file, &wbuf->queue, wait);
/drivers/net/fddi/skfp/
H A Dfplustm.c196 * initialize the pointer for receive queue 1
204 * initialize the pointer for receive queue 2
228 * initialize the pointer for asynchronous transmit queue
236 * initialize the pointer for synchronous transmit queue
278 struct s_smt_rx_queue *queue ; local
281 * init all tx data structures for receive queue 1
283 smc->hw.fp.rx[QUEUE_R1] = queue = &smc->hw.fp.rx_q[QUEUE_R1] ;
284 queue->rx_bmu_ctl = (HW_PTR) ADDR(B0_R1_CSR) ;
285 queue->rx_bmu_dsc = (HW_PTR) ADDR(B4_R1_DA) ;
288 * init all tx data structures for receive queue
308 struct s_smt_tx_queue *queue ; local
[all...]
/drivers/staging/rtl8712/
H A Drtl871x_ioctl_set.c63 struct __queue *queue = &(pmlmepriv->scanned_queue); local
65 phead = &queue->queue;
72 /* adhoc mode will start with an empty queue, but skip checking */
74 list_empty(&queue->queue)) {
77 /* when set_ssid/set_bssid for do_join(), but scanning queue
114 * there are no desired bss in scanning queue
H A Drtl871x_sta_mgt.c69 list_add_tail(&psta->list, &pstapriv->free_sta_queue.queue);
85 phead = &pstapriv->free_sta_queue.queue;
124 if (list_empty(&pfree_sta_queue->queue))
127 psta = LIST_CONTAINOR(pfree_sta_queue->queue.next,
210 list_add_tail(&psta->list, &pfree_sta_queue->queue);
/drivers/tty/ipwireless/
H A Dhardware.c294 struct list_head queue; member in struct:ipw_tx_packet
335 struct list_head queue; member in struct:ipw_rx_packet
500 /* If this packet has unsent data, then re-queue it. */
503 * Re-queue it at the head of the highest priority queue so
509 list_add(&packet->queue, &hw->tx_queue[0]);
565 struct ipw_rx_packet, queue);
568 list_del(&packet->queue);
614 list_add(&packet->queue, &hw->rx_pool);
669 /* If it's a CTRL packet, don't assemble, just queue i
[all...]
/drivers/usb/gadget/udc/
H A Dnet2280.c290 * advance the queue; do it pio-style, by hand.
337 INIT_LIST_HEAD(&ep->queue);
413 INIT_LIST_HEAD(&ep->queue);
504 INIT_LIST_HEAD(&req->queue);
533 WARN_ON(!list_empty(&req->queue));
912 list_del_init(&req->queue);
928 /* don't modify queue heads during completion callback */
951 !list_empty(&req->queue))
977 ep_vdbg(dev, "%s queue req %p, len %d buf %p\n",
986 /* kickstart this i/o queue
[all...]
H A Dnet2272.c267 INIT_LIST_HEAD(&ep->queue);
343 INIT_LIST_HEAD(&req->queue);
359 WARN_ON(!list_empty(&req->queue));
377 list_del_init(&req->queue);
394 /* don't modify queue heads during completion callback */
482 if (!list_empty(&ep->queue)) {
483 req = list_entry(ep->queue.next,
485 queue);
612 if (!list_empty(&ep->queue)) {
613 req = list_entry(ep->queue
[all...]
H A Dat91_udc.c134 if (list_empty (&ep->queue))
135 seq_printf(s, "\t(queue empty)\n");
137 else list_for_each_entry (req, &ep->queue, queue) {
260 list_del_init(&req->queue);
274 /* ep0 is always ready; other endpoints need a non-empty queue */
275 if (list_empty(&ep->queue) && ep->int_mask != (1 << 0))
396 * If ep_queue() calls us, the queue is empty and possibly in
453 /* terminate any request in the queue */
455 if (list_empty(&ep->queue))
[all...]
H A Dpxa25x_udc.c309 INIT_LIST_HEAD (&req->queue);
323 WARN_ON(!list_empty (&req->queue));
336 list_del_init(&req->queue);
348 /* don't modify queue heads during completion callback */
426 if (list_empty(&ep->queue))
573 if (list_empty(&ep->queue))
638 || !list_empty(&req->queue))) {
663 DBG(DBG_NOISY, "%s queue req %p, len %d buf %p\n",
671 /* kickstart this i/o queue? */
672 if (list_empty(&ep->queue)
[all...]
H A Dpxa27x_udc.c157 if (list_empty(&ep->queue)) {
162 list_for_each_entry(req, &ep->queue, queue) {
662 INIT_LIST_HEAD(&req->queue);
681 WARN_ON(!list_empty(&req->queue));
686 * ep_add_request - add a request to the endpoint's queue
692 * Queues the request in the endpoint's queue, and enables the interrupts
703 list_add_tail(&req->queue, &ep->queue);
708 * ep_del_request - removes a request from the endpoint's queue
[all...]
H A Dudc-xilinx.c117 * @queue: usb device request queue
122 struct list_head queue; member in struct:xusb_req
129 * @queue: endpoint message queue
147 struct list_head queue; member in struct:xusb_ep
548 * Deletes the message from the queue and updates data transfer completion
555 list_del_init(&req->queue);
738 while (!list_empty(&ep->queue)) {
739 req = list_first_entry(&ep->queue, struc
[all...]
H A Dlpc32xx_udc.c128 struct list_head queue; member in struct:lpc32xx_ep
205 struct list_head queue; member in struct:lpc32xx_request
523 if (list_empty(&ep->queue))
524 seq_printf(s, "\t(queue empty)\n");
526 list_for_each_entry(req, &ep->queue, queue) {
1046 req = list_entry(ep->queue.next, struct lpc32xx_request, queue);
1072 req = list_entry(ep->queue.next, struct lpc32xx_request, queue);
[all...]
H A Dfsl_udc_core.c171 /* Removed the req from fsl_ep->queue */
172 list_del_init(&req->queue);
219 while (!list_empty(&ep->queue)) {
222 req = list_entry(ep->queue.next, struct fsl_req, queue);
677 * the main operation is to insert the req->queue to the eq->queue
690 INIT_LIST_HEAD(&req->queue);
739 if (!(list_empty(&ep->queue)) && !(ep_index(ep) == 0)) {
742 lastreq = list_entry(ep->queue
[all...]
/drivers/net/wireless/rt2x00/
H A Drt2500pci.c294 struct data_queue *queue = rt2x00dev->bcn; local
305 rt2x00_set_field32(&reg, BCNCSR1_BEACON_CWMIN, queue->cw_min);
724 static void rt2500pci_start_queue(struct data_queue *queue) argument
726 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
729 switch (queue->qid) {
747 static void rt2500pci_kick_queue(struct data_queue *queue) argument
749 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
752 switch (queue->qid) {
773 static void rt2500pci_stop_queue(struct data_queue *queue) argument
775 struct rt2x00_dev *rt2x00dev = queue
1404 struct data_queue *queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); local
2066 rt2500pci_queue_init(struct data_queue *queue) argument
[all...]
H A Drt73usb.c1021 static void rt73usb_start_queue(struct data_queue *queue) argument
1023 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
1026 switch (queue->qid) {
1044 static void rt73usb_stop_queue(struct data_queue *queue) argument
1046 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
1049 switch (queue->qid) {
1489 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid);
1490 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs);
1491 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min);
1492 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue
2237 struct data_queue *queue; local
2360 rt73usb_queue_init(struct data_queue *queue) argument
[all...]
/drivers/block/
H A Dnbd.c703 nbd->disk->queue);
705 blk_queue_flush(nbd->disk->queue, REQ_FLUSH);
707 blk_queue_flush(nbd->disk->queue, 0);
726 dev_warn(disk_to_dev(nbd->disk), "queue cleared\n");
728 queue_flag_clear_unlocked(QUEUE_FLAG_DISCARD, nbd->disk->queue);
745 * This is for compatibility only. The queue is always cleared
841 disk->queue = blk_init_queue(do_nbd_request, &nbd_lock);
842 if (!disk->queue) {
849 queue_flag_set_unlocked(QUEUE_FLAG_NONROT, disk->queue);
850 queue_flag_clear_unlocked(QUEUE_FLAG_ADD_RANDOM, disk->queue);
[all...]
H A Dps3vram.c69 struct request_queue *queue; member in struct:ps3vram_priv
625 struct request_queue *queue; local
744 queue = blk_alloc_queue(GFP_KERNEL);
745 if (!queue) {
751 priv->queue = queue;
752 queue->queuedata = dev;
753 blk_queue_make_request(queue, ps3vram_make_request);
754 blk_queue_max_segments(queue, BLK_MAX_SEGMENTS);
755 blk_queue_max_segment_size(queue, BLK_MAX_SEGMENT_SIZ
[all...]
/drivers/atm/
H A Dfirestream.c138 You could queue up a bunch of outgoing packets without telling the
150 /* The strings that define what the RX queue entry is all about. */
588 static inline struct FS_QENTRY *get_qentry (struct fs_dev *dev, struct queue *q)
594 static void submit_qentry (struct fs_dev *dev, struct queue *q, struct FS_QENTRY *qe)
603 fs_dprintk (FS_DEBUG_TXQ, "Found queue at %x full. Waiting.\n",
638 static void submit_queue (struct fs_dev *dev, struct queue *q,
665 static void submit_command (struct fs_dev *dev, struct queue *q,
677 static void process_return_queue (struct fs_dev *dev, struct queue *q)
684 fs_dprintk (FS_DEBUG_QUEUE, "reaping return queue entry at %lx\n", rq);
687 fs_dprintk (FS_DEBUG_QUEUE, "queue entr
1401 init_q(struct fs_dev *dev, struct queue *txq, int queue, int nentries, int is_rq) argument
1437 init_fp(struct fs_dev *dev, struct freepool *fp, int queue, int bufsize, int nr_buffers) argument
[all...]
/drivers/md/
H A Dmultipath.c260 q = rdev->bdev->bd_disk->queue;
271 blk_queue_max_segments(mddev->queue, 1);
272 blk_queue_segment_boundary(mddev->queue,
442 if (rdev->bdev->bd_disk->queue->merge_bvec_fn) {
443 blk_queue_max_segments(mddev->queue, 1);
444 blk_queue_segment_boundary(mddev->queue,
492 mddev->queue->backing_dev_info.congested_fn = multipath_congested;
493 mddev->queue->backing_dev_info.congested_data = mddev;
515 blk_sync_queue(mddev->queue); /* the unplug fn references 'conf'*/
/drivers/net/wireless/rtl818x/rtl8187/
H A Ddev.c202 skb_queue_tail(&priv->b_tx_status.queue, skb);
204 /* queue is "full", discard last items */
205 while (skb_queue_len(&priv->b_tx_status.queue) > 5) {
209 "transmit status queue full\n");
211 old_skb = skb_dequeue(&priv->b_tx_status.queue);
224 * here, thus queue the skb and finish on a work queue. */
225 skb_queue_tail(&priv->b_tx_status.queue, skb);
400 /* TODO check rx queue length and refill *somewhere* */
512 spin_lock_irqsave(&priv->b_tx_status.queue
1201 int queue; local
1343 rtl8187_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument
[all...]
/drivers/usb/host/
H A Duhci-q.c43 * We turn on FSBR whenever a queue that wants it is advancing,
261 INIT_LIST_HEAD(&qh->queue);
296 if (!list_empty(&qh->queue))
309 * When a queue is stopped and a dequeued URB is given back, adjust
310 * the previous TD link (if the URB isn't first on the queue) or
332 /* If the URB isn't first on its queue, adjust the link pointer
335 if (qh->queue.next != &urbp->node) {
370 * Fix up the data toggles for URBs in a queue, when one of them
382 * queue (the short URB is the first). */
384 urbp = list_entry(qh->queue
[all...]

Completed in 483 milliseconds

1234567891011>>