/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_init.c | 28 MODULE_PARM_DESC(maxqlen, "maximum queue length"); 45 static int delete_seq_queue(int queue); 177 dp->queue = -1; 208 /* allocate queue */ 216 /*dp->addr.queue = dp->queue;*/ 224 /* initialize read queue */ 233 /* initialize write queue */ 267 delete_seq_queue(dp->queue); 339 * allocate a queue 362 delete_seq_queue(int queue) argument 402 int queue; local [all...] |
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_capture.c | 175 list_for_each_entry(isp_buffer, &state->queue, list) { 181 INIT_LIST_HEAD(&state->queue); 195 if (list_empty(&state->queue)) 201 isp_buffer = list_first_entry(&state->queue, struct sun6i_isp_buffer, 260 static int sun6i_isp_capture_queue_setup(struct vb2_queue *queue, argument 266 struct sun6i_isp_device *isp_dev = vb2_get_drv_priv(queue); 307 list_add_tail(&isp_buffer->list, &state->queue); 315 static int sun6i_isp_capture_start_streaming(struct vb2_queue *queue, argument 318 struct sun6i_isp_device *isp_dev = vb2_get_drv_priv(queue); 349 static void sun6i_isp_capture_stop_streaming(struct vb2_queue *queue) argument 631 struct vb2_queue *queue = &capture->queue; local [all...] |
H A D | sun6i_isp_params.c | 215 list_for_each_entry(isp_buffer, &state->queue, list) { 221 INIT_LIST_HEAD(&state->queue); 237 if (list_empty(&state->queue)) 243 isp_buffer = list_first_entry(&state->queue, struct sun6i_isp_buffer, 292 static int sun6i_isp_params_queue_setup(struct vb2_queue *queue, argument 298 struct sun6i_isp_device *isp_dev = vb2_get_drv_priv(queue); 340 list_add_tail(&isp_buffer->list, &state->queue); 347 static int sun6i_isp_params_start_streaming(struct vb2_queue *queue, argument 350 struct sun6i_isp_device *isp_dev = vb2_get_drv_priv(queue); 367 static void sun6i_isp_params_stop_streaming(struct vb2_queue *queue) argument 464 struct vb2_queue *queue = &isp_dev->params.queue; local [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800mmio.c | 27 unsigned int rt2800mmio_get_dma_done(struct data_queue *queue) argument 29 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 33 switch (queue->qid) { 38 qid = queue->qid; 45 entry = rt2x00queue_get_entry(queue, Q_INDEX_DMA_DONE); 74 const unsigned int txwi_size = entry->queue->winfo_size; 424 void rt2800mmio_start_queue(struct data_queue *queue) argument 426 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 429 switch (queue->qid) { 455 void rt2800mmio_kick_queue(struct data_queue *queue) argument 483 rt2800mmio_flush_queue(struct data_queue *queue, bool drop) argument 527 rt2800mmio_stop_queue(struct data_queue *queue) argument 564 rt2800mmio_queue_init(struct data_queue *queue) argument [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_core.c | 80 u8 mode, u32 queue) 85 value &= GMAC_RX_QUEUE_CLEAR(queue); 87 value |= GMAC_RX_AV_QUEUE_ENABLE(queue); 89 value |= GMAC_RX_DCB_QUEUE_ENABLE(queue); 95 u32 prio, u32 queue) 115 /* First assign new priorities to a queue, then 118 if (queue < 4) { 119 ctrl2 |= (prio << GMAC_RXQCTRL_PSRQX_SHIFT(queue)) & 120 GMAC_RXQCTRL_PSRQX_MASK(queue); 125 queue 79 dwmac4_rx_queue_enable(struct mac_device_info *hw, u8 mode, u32 queue) argument 94 dwmac4_rx_queue_priority(struct mac_device_info *hw, u32 prio, u32 queue) argument 135 dwmac4_tx_queue_priority(struct mac_device_info *hw, u32 prio, u32 queue) argument 155 dwmac4_rx_queue_routing(struct mac_device_info *hw, u8 packet, u32 queue) argument 236 dwmac4_set_mtl_tx_queue_weight(struct stmmac_priv *priv, struct mac_device_info *hw, u32 weight, u32 queue) argument 250 dwmac4_map_mtl_dma(struct mac_device_info *hw, u32 queue, u32 chan) argument 268 dwmac4_config_cbs(struct stmmac_priv *priv, struct mac_device_info *hw, u32 send_slope, u32 idle_slope, u32 high_credit, u32 low_credit, u32 queue) argument 723 u32 queue = 0; local 887 u32 queue; local [all...] |
H A D | stmmac_platform.c | 137 u8 queue = 0; local 176 /* Processing individual RX queue config */ 178 if (queue >= plat->rx_queues_to_use) 182 plat->rx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; 184 plat->rx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; 186 plat->rx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; 189 &plat->rx_queues_cfg[queue].chan)) 190 plat->rx_queues_cfg[queue].chan = queue; 194 &plat->rx_queues_cfg[queue] [all...] |
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_metadata.c | 48 if (format->type != vfh->vdev->queue->type) 68 if (format->type != vfh->vdev->queue->type) 99 if (uvc_queue_allocated(&stream->queue)) 117 if (fdesc->type != vfh->vdev->queue->type || 123 fdesc->type = vfh->vdev->queue->type; 163 struct uvc_video_queue *queue = &stream->meta.queue; local 168 * The video interface queue uses manual locking and thus does not set 169 * the queue pointer. Set it manually here. 171 vdev->queue [all...] |
H A D | uvcvideo.h | 295 struct list_head queue; member in struct:uvc_buffer 314 struct vb2_queue queue; member in struct:uvc_video_queue 315 struct mutex mutex; /* Protects queue */ 411 * @work: work queue entry for asynchronous decode 454 /* Buffers queue. */ 456 struct uvc_video_queue queue; member in struct:uvc_streaming 463 struct uvc_video_queue queue; member in struct:uvc_streaming::__anon197 668 /* Video buffers queue management. */ 669 int uvc_queue_init(struct uvc_video_queue *queue, enum v4l2_buf_type type, 671 void uvc_queue_release(struct uvc_video_queue *queue); 701 uvc_queue_streaming(struct uvc_video_queue *queue) argument 707 uvc_queue_to_stream(struct uvc_video_queue *queue) argument [all...] |
/linux-master/net/qrtr/ |
H A D | tun.c | 15 struct sk_buff_head queue; member in struct:qrtr_tun 23 skb_queue_tail(&tun->queue, skb); 40 skb_queue_head_init(&tun->queue); 66 while (!(skb = skb_dequeue(&tun->queue))) { 72 !skb_queue_empty(&tun->queue))) 121 if (!skb_queue_empty(&tun->queue)) 134 skb_queue_purge(&tun->queue);
|
/linux-master/drivers/media/common/videobuf2/ |
H A D | videobuf2-v4l2.c | 318 * queue. 350 * Clear buffer cache flags if queue does not support user 411 dprintk(q, 1, "%s: queue requires requests\n", opname); 415 dprintk(q, 1, "%s: queue uses requests\n", opname); 420 dprintk(q, 1, "%s: queue does not support requests\n", opname); 423 dprintk(q, 1, "%s: queue does not use requests\n", opname); 429 * to lock access to the vb2 queue, so check that there is a lock 443 * Make sure this op is implemented by the driver for the output queue. 544 * and obtain the timestamp source from the queue. 640 * @q: vb2 queue [all...] |
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 11 * get_free_pending_entry - get free entry from pending queue 12 * @q: pending queue 13 * @qlen: queue length 37 struct pending_queue *queue = &pqinfo->queue[qno]; local 39 queue->front++; 40 if (unlikely(queue->front == pqinfo->qlen)) 41 queue->front = 0; 228 struct command_queue *queue; local 234 dev_err(&pdev->dev, "Invalid queue (qn 408 int ret = 0, clear = 0, queue = 0; local [all...] |
/linux-master/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 232 struct device *dev = ctx->queue->dev_info->dev; 384 static int sec_send_request(struct sec_request *sec_req, struct sec_queue *queue) argument 392 * Add to hardware queue only under following circumstances 393 * 1) Software and hardware queue empty so no chain dependencies 394 * 2) No dependencies as new IV - (check software queue empty 398 * In other cases first insert onto the software queue which 401 if (!queue->havesoftqueue || 402 (kfifo_is_empty(&queue->softqueue) && 403 sec_queue_empty(queue))) { 404 ret = sec_queue_send(queue, 713 struct sec_queue *queue = ctx->queue; local [all...] |
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | tx.h | 184 static inline int wl1271_tx_get_queue(int queue) argument 186 switch (queue) { 201 int wlcore_tx_get_mac80211_queue(struct wl12xx_vif *wlvif, int queue) argument 205 switch (queue) { 249 u8 queue, enum wlcore_queue_stop_reason reason); 250 void wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, 252 void wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, 259 struct wl12xx_vif *wlvif, u8 queue, 264 u8 queue, 267 u8 queue); [all...] |
/linux-master/include/crypto/ |
H A D | algapi.h | 171 void crypto_init_queue(struct crypto_queue *queue, unsigned int max_qlen); 172 int crypto_enqueue_request(struct crypto_queue *queue, 174 void crypto_enqueue_request_head(struct crypto_queue *queue, 176 struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue); 177 static inline unsigned int crypto_queue_len(struct crypto_queue *queue) argument 179 return queue->qlen; 225 struct crypto_queue *queue) 227 return queue->backlog == &queue->list ? NULL : 228 container_of(queue 224 crypto_get_backlog( struct crypto_queue *queue) argument [all...] |
/linux-master/drivers/mfd/ |
H A D | pcf50633-adc.c | 43 struct pcf50633_adc_request *queue[PCF50633_MAX_ADC_FIFO_DEPTH]; member in struct:pcf50633_adc 74 if (!adc->queue[head]) 77 adc_setup(pcf, adc->queue[head]->mux, adc->queue[head]->avg); 91 if (adc->queue[tail]) { 93 dev_err(pcf->dev, "ADC queue is full, dropping request\n"); 97 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...] |
/linux-master/net/ipv4/ |
H A D | tcp_yeah.c | 20 #define TCP_YEAH_GAMMA 1 /* fraction of queue to be removed per rtt */ 114 u32 rtt, queue; local 136 queue = bw; 138 if (queue > TCP_YEAH_ALPHA || 140 if (queue > TCP_YEAH_ALPHA && 142 u32 reduction = min(queue / TCP_YEAH_GAMMA , 171 yeah->lastQ = queue;
|
/linux-master/drivers/scsi/aacraid/ |
H A D | comminit.c | 386 * queue headers. 396 /* Adapter to Host normal priority Command queue */ 397 comm->queue[HostNormCmdQueue].base = queues; 398 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); 402 /* Adapter to Host high priority command queue */ 403 comm->queue[HostHighCmdQueue].base = queues; 404 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); 409 /* Host to adapter normal priority command queue */ 410 comm->queue[AdapNormCmdQueue].base = queues; 411 aac_queue_init(dev, &comm->queue[AdapNormCmdQueu [all...] |
/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_hfi.c | 29 struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) 31 struct a6xx_hfi_queue_header *header = queue->header; 39 hdr = queue->data[index]; 41 queue->history[(queue->history_idx++) % HFI_HISTORY_SZ] = index; 55 data[i] = queue->data[index]; 67 struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) 69 struct a6xx_hfi_queue_header *header = queue->header; 72 spin_lock(&queue->lock); 78 spin_unlock(&queue 28 a6xx_hfi_queue_read(struct a6xx_gmu *gmu, struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) argument 66 a6xx_hfi_queue_write(struct a6xx_gmu *gmu, struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) argument 105 struct a6xx_hfi_queue *queue = &gmu->queues[HFI_RESPONSE_QUEUE]; local 174 struct a6xx_hfi_queue *queue = &gmu->queues[HFI_COMMAND_QUEUE]; local 779 struct a6xx_hfi_queue *queue = &gmu->queues[i]; local 795 a6xx_hfi_queue_init(struct a6xx_hfi_queue *queue, struct a6xx_hfi_queue_header *header, void *virt, u64 iova, u32 id) argument [all...] |
/linux-master/drivers/usb/musb/ |
H A D | musb_gadget.h | 103 struct list_head *queue = &ep->req_list; local 105 if (list_empty(queue)) 107 return container_of(queue->next, struct musb_request, list);
|
/linux-master/include/uapi/sound/ |
H A D | asequencer.h | 59 #define SNDRV_SEQ_EVENT_SETPOS_TICK 33 /* set tick queue position */ 60 #define SNDRV_SEQ_EVENT_SETPOS_TIME 34 /* set realtime queue position */ 64 #define SNDRV_SEQ_EVENT_QUEUE_SKEW 38 /* skew queue tempo */ 235 /* queue timer control */ 237 unsigned char queue; /* affected queue */ member in struct:snd_seq_ev_queue_control 262 struct snd_seq_ev_queue_control queue; member in union:snd_seq_event_data 276 unsigned char queue; /* schedule queue */ member in struct:snd_seq_event 290 unsigned char queue; /* schedul member in struct:snd_seq_ump_event 407 unsigned char queue; /* Queue for REMOVE_DEST */ member in struct:snd_seq_remove_events 497 int queue; /* queue id */ member in struct:snd_seq_queue_info 513 int queue; /* queue id */ member in struct:snd_seq_queue_status 525 int queue; /* sequencer queue */ member in struct:snd_seq_queue_tempo 541 int queue; /* sequencer queue */ member in struct:snd_seq_queue_timer 554 int queue; /* sequencer queue */ member in struct:snd_seq_queue_client 572 unsigned char queue; /* input time-stamp queue (optional) */ member in struct:snd_seq_port_subscribe 587 unsigned char queue; /* R/O: result */ member in struct:snd_seq_query_subs [all...] |
/linux-master/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.c | 122 sched = &v3d->queue[i].sched; 151 enum v3d_queue queue; local 153 for (queue = 0; queue < V3D_MAX_QUEUES; queue++) { 158 v3d_queue_to_string(queue), 159 file_priv->start_ns[queue] ? file_priv->enabled_ns[queue] 160 + timestamp - file_priv->start_ns[queue] 161 : file_priv->enabled_ns[queue]); [all...] |
H A D | v3d_irq.c | 9 * queue up the next one and unblock any waiters. 109 v3d->queue[V3D_BIN].jobs_sent++; 112 v3d->queue[V3D_BIN].start_ns = 0; 115 v3d->queue[V3D_BIN].enabled_ns += runtime; 129 v3d->queue[V3D_RENDER].jobs_sent++; 132 v3d->queue[V3D_RENDER].start_ns = 0; 135 v3d->queue[V3D_RENDER].enabled_ns += runtime; 149 v3d->queue[V3D_CSD].jobs_sent++; 152 v3d->queue[V3D_CSD].start_ns = 0; 155 v3d->queue[V3D_CS [all...] |
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 49 unsigned int queue) 52 return queue; 78 int queue, i; local 83 queue = skb_get_queue_mapping(skb); 87 * The driver has to accept the frame, regardless if the queue is 92 ar->tx_stats[queue].len++; 93 ar->tx_stats[queue].count++; 158 int queue; local 160 queue = skb_get_queue_mapping(skb); 164 ar->tx_stats[queue] 48 __carl9170_get_queue(struct ar9170 *ar, unsigned int queue) argument 455 int queue = skb_get_queue_mapping(skb); local 513 carl9170_get_queued_skb(struct ar9170 *ar, u8 cookie, struct sk_buff_head *queue) argument 1136 u16 seq, queue, tmpssn; local 1244 carl9170_tx_pick_skb(struct ar9170 *ar, struct sk_buff_head *queue) argument 1329 unsigned int queue = skb_get_queue_mapping(skb); local 1515 unsigned int queue = skb_get_queue_mapping(skb); local [all...] |
/linux-master/sound/virtio/ |
H A D | virtio_card.c | 21 * virtsnd_event_send() - Add an event to the event queue. 74 * virtsnd_event_notify_cb() - Dispatch all reported events from the event queue. 85 struct virtio_snd_queue *queue = virtsnd_event_queue(snd); local 90 spin_lock_irqsave(&queue->lock, flags); 98 spin_unlock_irqrestore(&queue->lock, flags); 105 * After calling this function, the event queue is disabled. 140 /* Allocate events and populate the event queue */ 165 struct virtio_snd_queue *queue = virtsnd_event_queue(snd); local 167 if (!virtqueue_enable_cb(queue->vqueue)) 168 virtsnd_event_notify_cb(queue 179 struct virtio_snd_queue *queue = virtsnd_event_queue(snd); local [all...] |
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | Makefile | 6 queue.o \
|