Searched refs:queue (Results 376 - 400 of 1381) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c100 struct list_head queue; member in struct:lpc32xx_ep
176 struct list_head queue; member in struct:lpc32xx_request
484 if (list_empty(&ep->queue))
485 seq_printf(s, "\t(queue empty)\n");
487 list_for_each_entry(req, &ep->queue, queue) {
983 req = list_entry(ep->queue.next, struct lpc32xx_request, queue);
1009 req = list_entry(ep->queue.next, struct lpc32xx_request, queue);
[all...]
H A Dfsl_udc_core.c164 /* Removed the req from fsl_ep->queue */
165 list_del_init(&req->queue);
212 while (!list_empty(&ep->queue)) {
215 req = list_entry(ep->queue.next, struct fsl_req, queue);
672 * the main operation is to insert the req->queue to the eq->queue
685 INIT_LIST_HEAD(&req->queue);
734 if (!(list_empty(&ep->queue)) && !(ep_index(ep) == 0)) {
737 lastreq = list_entry(ep->queue
[all...]
H A Dfusb300_udc.c258 while (!list_empty(&ep->queue)) {
259 req = list_entry(ep->queue.next, struct fusb300_request, queue);
276 INIT_LIST_HEAD(&req->queue);
435 if (list_empty(&ep->queue))
438 list_add_tail(&req->queue, &ep->queue);
463 if (!list_empty(&ep->queue))
483 if (!list_empty(&ep->queue)) {
525 .queue
[all...]
/linux-master/drivers/mmc/core/
H A Dblock.c52 #include "queue.h"
110 struct mmc_queue queue; member in struct:mmc_blk_data
229 struct mmc_card *card = md->queue.card;
260 mq = &md->queue;
263 req = blk_mq_alloc_request(mq->queue, REQ_OP_DRV_OUT, 0);
342 md->queue.card->ext_csd.boot_ro_lockable) {
344 if (!(md->queue.card->ext_csd.boot_ro_lock &
674 card = md->queue.card;
681 * Dispatch the ioctl() into the block request queue.
683 mq = &md->queue;
[all...]
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c726 /* Get queue physical ID */
747 /* Get queue physical ID */
827 * In Single queue mode: Host ID equal to Host ID used for
829 * In Multi queue mode: Host ID equal to number of
2273 int tx_port_num, val, queue, lrxq; local
2294 for (queue = 0; queue < MVPP2_MAX_TXQ; queue++)
2296 MVPP2_TXQ_SCHED_TOKEN_CNTR_REG(queue), 0);
2318 queue
2333 int lrxq, queue; local
2346 int lrxq, queue; local
2362 int queue; local
2655 int queue; local
2857 int queue = fls(cause) - 1; local
2865 int queue = fls(cause) - 1; local
3288 int queue; local
3312 int queue; local
3324 int queue, err; local
3346 int queue, err; local
3390 struct mvpp2_hwtstamp_queue *queue; local
4120 struct mvpp2_hwtstamp_queue *queue; local
5427 int queue; local
5916 int queue, err, val; local
[all...]
/linux-master/drivers/usb/host/
H A Duhci-q.c44 * We turn on FSBR whenever a queue that wants it is advancing,
260 INIT_LIST_HEAD(&qh->queue);
295 if (!list_empty(&qh->queue))
308 * When a queue is stopped and a dequeued URB is given back, adjust
309 * the previous TD link (if the URB isn't first on the queue) or
331 /* If the URB isn't first on its queue, adjust the link pointer
334 if (qh->queue.next != &urbp->node) {
369 * Fix up the data toggles for URBs in a queue, when one of them
381 * queue (the short URB is the first). */
383 urbp = list_entry(qh->queue
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsched.c177 if (p->queue < 0 || p->queue >= pi->nqsets)
180 txq = &adap->sge.ethtxq[pi->first_qset + p->queue];
193 if (p->queue < 0 || p->queue >= pi->nqsets)
196 txq = &adap->sge.ethtxq[pi->first_qset + p->queue];
198 /* Find the existing entry that the queue is bound to */
225 if (p->queue < 0 || p->queue >= pi->nqsets)
232 txq = &adap->sge.ethtxq[pi->first_qset + p->queue];
[all...]
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dtx.c73 "TX queue %d transmission id %x complete\n",
74 tx_queue->queue, tx_queue->read_count);
125 * queue, it is possible for the completion path to race with
128 * Therefore we stop the queue first, then read read_count
130 * restart the queue if the fill level turns out to be low
205 /* Map all data from an SKB for DMA and create descriptors on the queue.
282 * Add a socket buffer to a TX queue
285 * the TX queue. The queue's insert pointer will be incremented by
289 * the queue'
[all...]
/linux-master/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-stats.c27 if (f->index > 0 || f->type != video->queue->type)
41 if (f->type != video->queue->type)
117 list_add_tail(&stats_buf->queue, &stats_dev->stat);
142 struct rkisp1_buffer, queue);
143 list_del(&buf->queue);
374 struct rkisp1_buffer, queue);
375 list_del(&cur_buf->queue);
456 vdev->queue = &node->buf_queue;
459 rkisp1_stats_init_vb2_queue(vdev->queue, stats);
/linux-master/tools/perf/util/cs-etm-decoder/
H A Dcs-etm-decoder.c111 * value. Otherwise the first element of the packet queue is not
314 /* First get the packet queue for this traceID */
483 * The packet queue is full and we haven't seen a timestamp (had we
484 * seen one the packet queue wouldn't be full). Let the front end
499 cs_etm_decoder__buffer_discontinuity(struct cs_etm_packet_queue *queue, argument
506 cs_etm_decoder__reset_timestamp(queue);
507 return cs_etm_decoder__buffer_packet(queue, trace_chan_id,
512 cs_etm_decoder__buffer_exception(struct cs_etm_packet_queue *queue, argument
518 ret = cs_etm_decoder__buffer_packet(queue, trace_chan_id,
523 packet = &queue
530 cs_etm_decoder__buffer_exception_ret(struct cs_etm_packet_queue *queue, const uint8_t trace_chan_id) argument
[all...]
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_port_proxy.c362 * @queue: CLDMA queue.
369 int t7xx_port_proxy_recv_skb_from_dedicated_queue(struct cldma_queue *queue, struct sk_buff *skb) argument
371 struct t7xx_pci_dev *t7xx_dev = queue->md_ctrl->t7xx_dev;
378 if (WARN_ON_ONCE(port->port_conf->rxq_index != queue->index)) {
394 struct cldma_queue *queue, u16 channel)
406 if (queue->md_ctrl->hif_id == port_conf->path_id &&
416 * @queue: CLDMA queue.
423 int t7xx_port_proxy_recv_skb(struct cldma_queue *queue, struc argument
393 t7xx_port_proxy_find_port(struct t7xx_pci_dev *t7xx_dev, struct cldma_queue *queue, u16 channel) argument
[all...]
/linux-master/drivers/ptp/
H A Dptp_sysfs.c77 struct timestamp_event_queue *queue; local
87 /* The sysfs fifo will always draw from the fist queue */
88 queue = list_first_entry(&ptp->tsevqs, struct timestamp_event_queue,
92 spin_lock_irqsave(&queue->lock, flags);
93 qcnt = queue_cnt(queue);
95 event = queue->buf[queue->head];
97 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS);
99 spin_unlock_irqrestore(&queue
[all...]
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt73usb.c1013 static void rt73usb_start_queue(struct data_queue *queue) argument
1015 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
1018 switch (queue->qid) {
1036 static void rt73usb_stop_queue(struct data_queue *queue) argument
1038 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
1041 switch (queue->qid) {
1481 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid);
1482 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs);
1483 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min);
1484 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue
2226 struct data_queue *queue; local
2354 rt73usb_queue_init(struct data_queue *queue) argument
[all...]
/linux-master/drivers/media/i2c/
H A Dvideo-i2c.c765 struct vb2_queue *queue; local
792 queue = &data->vb_vidq;
793 queue->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
794 queue->io_modes = VB2_DMABUF | VB2_MMAP | VB2_USERPTR | VB2_READ;
795 queue->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
796 queue->drv_priv = data;
797 queue->buf_struct_size = sizeof(struct video_i2c_buffer);
798 queue->min_queued_buffers = 1;
799 queue->ops = &video_i2c_video_qops;
800 queue
[all...]
/linux-master/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c82 static int atl1c_alloc_rx_buffer(struct atl1c_adapter *adapter, u32 queue,
367 * @txqueue: index of hanging tx queue
873 * @queue: idx of transmit queue
876 u32 queue)
878 struct atl1c_tpd_ring *tpd_ring = &adapter->tpd_ring[queue];
889 netdev_tx_reset_queue(netdev_get_tx_queue(adapter->netdev, queue));
901 * @queue: idx of transmit queue
903 static void atl1c_clean_rx_ring(struct atl1c_adapter *adapter, u32 queue) argument
875 atl1c_clean_tx_ring(struct atl1c_adapter *adapter, u32 queue) argument
1746 atl1c_alloc_rx_buffer(struct atl1c_adapter *adapter, u32 queue, bool napi_mode) argument
1979 atl1c_tpd_avail(struct atl1c_adapter *adapter, u32 queue) argument
1998 atl1c_get_tpd(struct atl1c_adapter *adapter, u32 queue) argument
2040 atl1c_tso_csum(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc **tpd, u32 queue) argument
2141 atl1c_tx_rollback(struct atl1c_adapter *adpt, struct atl1c_tpd_desc *first_tpd, u32 queue) argument
2163 atl1c_tx_map(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc *tpd, u32 queue) argument
2261 atl1c_tx_queue(struct atl1c_adapter *adapter, u32 queue) argument
2273 u32 queue = skb_get_queue_mapping(skb); local
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_scheduler.c47 GEM_BUG_ON(rb_first_cached(&sched_engine->queue) !=
48 rb_first(&sched_engine->queue.rb_root));
51 for (rb = rb_first_cached(&sched_engine->queue); rb; rb = rb_next(rb)) {
75 parent = &sched_engine->queue.rb_root.rb_node;
114 rb_insert_color_cached(&p->node, &sched_engine->queue, first);
462 sched_engine->queue = RB_ROOT_CACHED;
/linux-master/block/partitions/
H A Defi.c137 queue_logical_block_size(disk->queue)) - 1ULL;
240 (queue_logical_block_size(state->disk->queue) / 512);
310 unsigned ssz = queue_logical_block_size(state->disk->queue);
357 queue_logical_block_size(state->disk->queue)) {
360 queue_logical_block_size(state->disk->queue));
718 unsigned ssz = queue_logical_block_size(state->disk->queue) / 512;
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4.h122 #define GMAC_RX_QUEUE_CLEAR(queue) ~(GENMASK(1, 0) << ((queue) * 2))
123 #define GMAC_RX_AV_QUEUE_ENABLE(queue) BIT((queue) * 2)
124 #define GMAC_RX_DCB_QUEUE_ENABLE(queue) BIT(((queue) * 2) + 1)
333 #define MTL_RXQ_DMA_MAP0 0x00000c30 /* queue 0 to 3 */
334 #define MTL_RXQ_DMA_MAP1 0x00000c34 /* queue 4 to 7 */
/linux-master/drivers/net/ethernet/sfc/
H A Dtx_common.c35 "creating TX queue %d size %#x mask %#x\n",
36 tx_queue->queue, efx->txq_entries, tx_queue->ptr_mask);
73 "initialising TX queue %d\n", tx_queue->queue);
103 "shutting down TX queue %d\n", tx_queue->queue);
133 "destroying TX queue %d\n", tx_queue->queue);
194 "TX queue %d transmission id %x complete\n",
195 tx_queue->queue, tx_queu
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c35 "creating TX queue %d size %#x mask %#x\n",
36 tx_queue->queue, efx->txq_entries, tx_queue->ptr_mask);
73 "initialising TX queue %d\n", tx_queue->queue);
106 "destroying TX queue %d\n", tx_queue->queue);
160 "TX queue %d transmission id %x complete\n",
161 tx_queue->queue, tx_queue->read_count);
175 "shutting down TX queue %d\n", tx_queue->queue);
[all...]
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Ddev.c199 skb_queue_tail(&priv->b_tx_status.queue, skb);
201 /* queue is "full", discard last items */
202 while (skb_queue_len(&priv->b_tx_status.queue) > 5) {
206 "transmit status queue full\n");
208 old_skb = skb_dequeue(&priv->b_tx_status.queue);
221 * here, thus queue the skb and finish on a work queue. */
222 skb_queue_tail(&priv->b_tx_status.queue, skb);
395 /* TODO check rx queue length and refill *somewhere* */
508 spin_lock_irqsave(&priv->b_tx_status.queue
1199 int queue; local
1340 rtl8187_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_packet_manager.c131 struct queue *q;
167 if (!kq->queue->properties.is_active)
171 kq->queue->queue, qpd->is_debug);
175 kq->queue,
189 pr_debug("static_queue, mapping user queue %d, is debug status %d\n",
190 q->queue, qpd->is_debug);
284 pr_err("Failed to allocate buffer on kernel queue\n");
357 pr_err("Failed to allocate buffer on kernel queue\n");
388 pr_err("Failed to allocate buffer on kernel queue\
[all...]
/linux-master/net/unix/
H A Dgarbage.c350 struct sk_buff_head *queue; local
356 queue = &u->sk.sk_receive_queue;
358 spin_lock(&queue->lock);
363 skb_queue_walk(queue, skb) {
372 skb_queue_splice_init(queue, hitlist);
382 spin_unlock(&queue->lock);
/linux-master/drivers/gpu/drm/v3d/
H A Dv3d_drv.h26 static inline char *v3d_queue_to_string(enum v3d_queue queue) argument
28 switch (queue) {
58 /* Stores the GPU stats for this queue in the global context. */
142 struct v3d_queue_state queue[V3D_MAX_QUEUES]; member in struct:v3d_dev
203 /* Stores the GPU stats for a specific queue for this fd. */
231 enum v3d_queue queue; member in struct:v3d_fence
526 struct dma_fence *v3d_fence_create(struct v3d_dev *v3d, enum v3d_queue queue);
559 void v3d_job_update_stats(struct v3d_job *job, enum v3d_queue queue);
/linux-master/drivers/infiniband/hw/cxgb4/
H A Dqp.c102 dma_free_coherent(&(rdev->lldi.pdev->dev), sq->memsize, sq->queue,
123 sq->queue = (__force union t4_wr *)(rdev->oc_mw_kva + sq->dma_addr -
131 sq->queue = dma_alloc_coherent(&(rdev->lldi.pdev->dev), sq->memsize,
133 if (!sq->queue)
135 sq->phys_addr = virt_to_phys(sq->queue);
163 wq->rq.memsize, wq->rq.queue,
260 memset(wq->sq.queue, 0, wq->sq.memsize);
264 wq->rq.queue = dma_alloc_coherent(&rdev->lldi.pdev->dev,
268 if (!wq->rq.queue) {
273 wq->sq.queue,
[all...]

Completed in 567 milliseconds

<<11121314151617181920>>