/drivers/gpu/drm/ttm/ |
H A D | ttm_lock.c | 48 init_waitqueue_head(&lock->queue); 60 wake_up_all(&lock->queue); 88 ret = wait_event_interruptible(lock->queue, 91 wait_event(lock->queue, __ttm_read_lock(lock)); 127 (lock->queue, __ttm_read_trylock(lock, &locked)); 129 wait_event(lock->queue, __ttm_read_trylock(lock, &locked)); 143 wake_up_all(&lock->queue); 174 ret = wait_event_interruptible(lock->queue, 179 wake_up_all(&lock->queue); 183 wait_event(lock->queue, __ttm_read_loc [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00mac.c | 33 struct data_queue *queue, 93 retval = rt2x00queue_write_tx_frame(queue, skb, true); 107 struct data_queue *queue = NULL; local 119 * Use the ATIM queue if appropriate and present. 125 queue = rt2x00queue_get_tx_queue(rt2x00dev, qid); 126 if (unlikely(!queue)) { 128 "Attempt to send packet over invalid queue %d.\n" 134 * If CTS/RTS is required. create and queue that frame first. 145 if (rt2x00queue_available(queue) <= 1) 148 if (rt2x00mac_tx_rts_cts(rt2x00dev, queue, sk 32 rt2x00mac_tx_rts_cts(struct rt2x00_dev *rt2x00dev, struct data_queue *queue, struct sk_buff *frag_skb) argument 203 struct data_queue *queue = rt2x00dev->bcn; local 729 struct data_queue *queue; local 772 struct data_queue *queue; local 848 struct data_queue *queue; local 863 struct data_queue *queue; local [all...] |
H A D | rt2x00queue.h | 23 Abstract: rt2x00 queue datastructures and routines 48 * @QID_AC_VO: AC VO queue 49 * @QID_AC_VI: AC VI queue 50 * @QID_AC_BE: AC BE queue 51 * @QID_AC_BK: AC BK queue 52 * @QID_HCCA: HCCA queue 53 * @QID_MGMT: MGMT queue (prio queue) 54 * @QID_RX: RX queue 56 * @QID_BEACON: Beacon queue (valu 380 struct data_queue *queue; member in struct:queue_entry 608 rt2x00queue_empty(struct data_queue *queue) argument 617 rt2x00queue_full(struct data_queue *queue) argument 626 rt2x00queue_available(struct data_queue *queue) argument 635 rt2x00queue_threshold(struct data_queue *queue) argument [all...] |
/drivers/usb/musb/ |
H A D | musb_host.h | 76 /* map from control or bulk queue head to the first qh on that ring */ 98 struct list_head *queue; local 102 queue = &qh->hep->urb_list; 103 if (list_empty(queue)) 105 return list_entry(queue->next, struct urb, urb_list);
|
H A D | musb_gadget.h | 102 struct list_head *queue = &ep->req_list; local 104 if (list_empty(queue)) 106 return container_of(queue->next, struct musb_request, list);
|
/drivers/scsi/ibmvscsi/ |
H A D | ibmvscsi.h | 55 /* an RPA command/response transport queue */ 98 struct crq_queue queue; member in struct:ibmvscsi_host_data 110 /* routines for managing a command/response queue */ 115 int (*init_crq_queue)(struct crq_queue *queue, 118 void (*release_crq_queue)(struct crq_queue *queue, 121 int (*reset_crq_queue)(struct crq_queue *queue, 123 int (*reenable_crq_queue)(struct crq_queue *queue,
|
/drivers/ptp/ |
H A D | ptp_chardev.c | 111 struct timestamp_event_queue *queue = &ptp->tsevq; local 128 ptp->defunct || queue_cnt(queue))) { 138 spin_lock_irqsave(&queue->lock, flags); 140 qcnt = queue_cnt(queue); 146 event[i] = queue->buf[queue->head]; 147 queue->head = (queue->head + 1) % PTP_MAX_TIMESTAMPS; 150 spin_unlock_irqrestore(&queue->lock, flags);
|
H A D | ptp_sysfs.c | 89 struct timestamp_event_queue *queue = &ptp->tsevq; local 100 spin_lock_irqsave(&queue->lock, flags); 101 qcnt = queue_cnt(queue); 103 event = queue->buf[queue->head]; 104 queue->head = (queue->head + 1) % PTP_MAX_TIMESTAMPS; 106 spin_unlock_irqrestore(&queue->lock, flags);
|
/drivers/scsi/aacraid/ |
H A D | comminit.c | 255 * queue headers. 265 /* Adapter to Host normal priority Command queue */ 266 comm->queue[HostNormCmdQueue].base = queues; 267 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); 271 /* Adapter to Host high priority command queue */ 272 comm->queue[HostHighCmdQueue].base = queues; 273 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); 278 /* Host to adapter normal priority command queue */ 279 comm->queue[AdapNormCmdQueue].base = queues; 280 aac_queue_init(dev, &comm->queue[AdapNormCmdQueu [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.h | 36 int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int queue, u8 *mac); 37 int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int queue, u16 vlan,
|
/drivers/usb/gadget/ |
H A D | s3c2410_udc.h | 18 struct list_head queue; member in struct:s3c2410_ep 57 struct list_head queue; /* ep's requests */ member in struct:s3c2410_request
|
H A D | uvc_v4l2.c | 151 mutex_lock(&video->queue.mutex); 152 if (uvc_free_buffers(&video->queue) < 0) 155 mutex_unlock(&video->queue.mutex); 195 if (fmt->type != video->queue.type) 205 if (fmt->type != video->queue.type) 216 if (rb->type != video->queue.type || 220 ret = uvc_alloc_buffers(&video->queue, rb->count, 234 if (buf->type != video->queue.type) 237 return uvc_query_buffer(&video->queue, buf); 241 if ((ret = uvc_queue_buffer(&video->queue, ar [all...] |
/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 85 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue); 86 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue); 358 struct s_smt_tx_queue *queue ; local 366 queue = smc->hw.fp.tx[QUEUE_A0] ; 372 queue->tx_curr_put = queue->tx_curr_get = ds ; 374 queue->tx_free = HWM_ASYNC_TXD_COUNT ; 375 queue->tx_used = 0 ; 380 queue = smc->hw.fp.tx[QUEUE_S] ; 386 queue 395 struct s_smt_rx_queue *queue ; local 586 repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) argument 638 repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue) argument 1047 struct s_smt_rx_queue *queue ; /* points to the queue ctl struct */ local 1467 struct s_smt_rx_queue *queue ; local 1632 struct s_smt_tx_queue *queue ; local 1816 struct s_smt_tx_queue *queue ; local 1943 struct s_smt_tx_queue *queue ; local 2034 struct s_smt_tx_queue *queue ; local [all...] |
H A D | Makefile | 8 ecm.o pcmplc.o pmf.o queue.o rmt.o \
|
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc_intr.c | 29 ret = wait_event_interruptible_timeout(dev->queue, 61 ret = wait_event_interruptible_timeout(ctx->queue, 66 ret = wait_event_timeout(ctx->queue,
|
/drivers/mmc/card/ |
H A D | queue.c | 2 * linux/drivers/mmc/card/queue.c 21 #include "queue.h" 53 struct request_queue *q = mq->queue; 94 * Generic MMC request handler. This is called for any queue on a 96 * on any queue on this host, and attempt to issue it. This may 97 * not be the queue we were asked to process. 153 * mmc_init_queue - initialise a queue structure. 154 * @mq: mmc queue 155 * @card: mmc card to attach this queue 156 * @lock: queue loc [all...] |
/drivers/mfd/ |
H A D | pcf50633-adc.c | 48 struct pcf50633_adc_request *queue[PCF50633_MAX_ADC_FIFO_DEPTH]; member in struct:pcf50633_adc 79 if (!adc->queue[head]) 82 adc_setup(pcf, adc->queue[head]->mux, adc->queue[head]->avg); 96 if (adc->queue[tail]) { 98 dev_err(pcf->dev, "ADC queue is full, dropping request\n"); 102 adc->queue[tail] = req; 183 req = adc->queue[head]; 185 dev_err(pcf->dev, "pcf50633-adc irq: ADC queue empty!\n"); 189 adc->queue[hea [all...] |
/drivers/staging/rtl8712/ |
H A D | osdep_service.h | 47 struct list_head queue; member in struct:__queue 58 _init_listhead(&((pqueue)->queue)); \ 67 static inline struct list_head *get_list_head(struct __queue *queue) argument 69 return &(queue->queue); 150 return is_list_empty(&(pqueue->queue));
|
/drivers/media/video/uvc/ |
H A D | uvc_isight.c | 39 static int isight_decode(struct uvc_video_queue *queue, struct uvc_buffer *buf, argument 123 ret = isight_decode(&stream->queue, buf, 133 buf = uvc_queue_next_buffer(&stream->queue,
|
/drivers/media/video/omap3isp/ |
H A D | ispvideo.h | 94 spinlock_t lock; /* Pipeline state and queue flags */ 133 /* Set if DMA queue becomes empty when ISP_PIPELINE_STREAM_CONTINUOUS */ 135 /* Set when queuing buffer to an empty DMA queue */ 144 * @queue: Resume streaming when a buffer is queued. Called on VIDIOC_QBUF 148 int(*queue)(struct isp_video *video, struct isp_buffer *buffer); member in struct:isp_video_operations 175 /* Video buffers queue */ 176 struct isp_video_queue *queue; member in struct:isp_video 188 struct isp_video_queue queue; member in struct:isp_video_fh 195 container_of(q, struct isp_video_fh, queue)
|
H A D | ispvideo.c | 477 * Video queue operations 480 static void isp_video_queue_prepare(struct isp_video_queue *queue, argument 484 container_of(queue, struct isp_video_fh, queue); 496 struct isp_video_fh *vfh = isp_video_queue_to_isp_video_fh(buf->queue); 508 struct isp_video_fh *vfh = isp_video_queue_to_isp_video_fh(buf->queue); 530 * isp_video_buffer_queue - Add buffer to streaming queue 540 struct isp_video_fh *vfh = isp_video_queue_to_isp_video_fh(buf->queue); 560 video->ops->queue(video, buffer); 585 * Remove the current video buffer from the DMA queue an 600 struct isp_video_queue *queue = video->queue; local 1262 struct isp_video_queue *queue = &vfh->queue; local [all...] |
/drivers/watchdog/ |
H A D | mtx-1_wdt.c | 65 int queue; member in struct:__anon5972 82 if (mtx1_wdt_device.queue && ticks) 100 if (!mtx1_wdt_device.queue) { 101 mtx1_wdt_device.queue = 1; 115 if (mtx1_wdt_device.queue) { 116 mtx1_wdt_device.queue = 0; 221 mtx1_wdt_device.queue = 0; 239 if (mtx1_wdt_device.queue) { 240 mtx1_wdt_device.queue = 0;
|
/drivers/net/wireless/iwmc3200wifi/ |
H A D | tx.c | 44 * 3) We queue it to its corresponding tx queue [iwm_xmit_frame] 46 * queue. [iwm_xmit_frame] 48 * 6) We go through every queued skb on the tx queue, and for each 58 * When we run out of Tx credits, the skbs are filling the tx queue, 59 * and eventually we will stop the netdev queue. [iwm_tx_worker] 60 * The tx queue is emptied as we're getting new tx credits, by 62 * The netdev queue is started again when we have enough tx credits, 63 * and when our tx queue has some reasonable amout of space available 122 int queue; local 460 u16 queue; local [all...] |
/drivers/net/wireless/wl1251/ |
H A D | tx.h | 139 /* index of the TX queue used for this packet */ 153 /* Numbers of HW queue blocks to be allocated */ 211 static inline int wl1251_tx_get_queue(int queue) argument 213 switch (queue) {
|
/drivers/block/ |
H A D | ps3disk.c | 43 spinlock_t lock; /* Request queue spinlock */ 44 struct request_queue *queue; member in struct:ps3disk_private 282 ps3disk_do_request(dev, priv->queue); 410 struct request_queue *queue; local 454 queue = blk_init_queue(ps3disk_request, &priv->lock); 455 if (!queue) { 462 priv->queue = queue; 463 queue->queuedata = dev; 465 blk_queue_bounce_limit(queue, BLK_BOUNCE_HIG [all...] |