Home
last modified time | relevance | path

Searched refs:dequeue (Results 1 – 25 of 157) sorted by relevance

1234567

/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c150 if (!cdnsp_last_trb_on_seg(ring->deq_seg, ring->dequeue)) { in cdnsp_inc_deq()
151 ring->dequeue++; in cdnsp_inc_deq()
155 if (cdnsp_last_trb_on_ring(ring, ring->deq_seg, ring->dequeue)) in cdnsp_inc_deq()
159 ring->dequeue = ring->deq_seg->trbs; in cdnsp_inc_deq()
164 if (!cdnsp_trb_is_link(ring->dequeue)) { in cdnsp_inc_deq()
165 ring->dequeue++; in cdnsp_inc_deq()
168 while (cdnsp_trb_is_link(ring->dequeue)) { in cdnsp_inc_deq()
170 ring->dequeue = ring->deq_seg->trbs; in cdnsp_inc_deq()
246 num_trbs_in_deq_seg = ring->dequeue - ring->deq_seg->trbs; in cdnsp_room_on_ring()
454 new_deq = ep_ring->dequeue; in cdnsp_find_new_dequeue_state()
[all …]
H A Dcdns3-gadget.c332 * cdns3_ep_inc_deq - increment endpoint's dequeue pointer
333 * @priv_ep: The endpoint whose dequeue pointer we're incrementing
338 cdns3_ep_inc_trb(&priv_ep->dequeue, &priv_ep->ccs, priv_ep->num_trbs); in cdns3_ep_inc_deq()
1458 * DQ = priv_ep->dequeue - dequeue position
1465 * Then, we check if cycle bit for index priv_ep->dequeue
1469 * 1. priv_ep->dequeue never equals to current_index.
1470 * 2 priv_ep->enqueue never exceed priv_ep->dequeue
1471 * 3. exception: priv_ep->enqueue == priv_ep->dequeue
1476 * Case 1 - priv_ep->dequeue < current_inde
[all...]
H A Dcdns3-debug.h120 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_dbg_ring()
125 priv_ep->dequeue, trb, in cdns3_dbg_ring()
H A Dcdnsp-gadget.c431 * canceled, we simply move the ring's dequeue pointer past those TRBs
517 event = pdev->event_ring->dequeue; in cdnsp_invalidate_ep_events()
571 event = pdev->event_ring->dequeue; in cdnsp_wait_for_cmd_compl()
778 * Sets the dequeue pointer to the stream context array.
1169 "%s: can't dequeue to disabled endpoint\n", in cdnsp_gadget_ep_dequeue()
1232 .dequeue = cdnsp_gadget_ep_dequeue,
1243 .dequeue = cdnsp_gadget_ep_dequeue,
1383 if (event_ring_deq != pdev->event_ring->dequeue) { in cdnsp_update_erst_dequeue()
1385 pdev->event_ring->dequeue); in cdnsp_update_erst_dequeue()
1429 event_ring_deq = pdev->event_ring->dequeue; in cdnsp_consume_all_events()
[all...]
/linux/drivers/usb/mtu3/
H A Dmtu3_qmu.c150 ring->dequeue = gpd; in gpd_ring_init()
216 if (ring->dequeue < ring->end) in advance_deq_gpd()
217 ring->dequeue++; in advance_deq_gpd()
219 ring->dequeue = ring->start; in advance_deq_gpd()
221 return ring->dequeue; in advance_deq_gpd()
236 return next == ring->dequeue; in gpd_ring_empty()
513 struct qmu_gpd *gpd = ring->dequeue; in qmu_done_tx()
544 __func__, epnum, ring->dequeue, ring->enqueue); in qmu_done_tx()
553 struct qmu_gpd *gpd = ring->dequeue; in qmu_done_rx()
583 __func__, epnum, ring->dequeue, ring->enqueue); in qmu_done_rx()
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c195 cdns2_ep_inc_trb(&ring->dequeue, &ring->ccs, TRBS_PER_SEGMENT); in cdns2_ep_inc_deq()
724 writel(pep->ring.dma + pep->ring.dequeue, in cdns2_prepare_first_isoc_transfer()
733 buffer = pep->ring.dma + pep->ring.dequeue * TRB_SIZE; in cdns2_prepare_first_isoc_transfer()
903 if (ring->dequeue > preq->end_trb) in cdns2_trb_handled()
906 if (ring->dequeue < preq->start_trb) in cdns2_trb_handled()
910 if (preq->start_trb > preq->end_trb && ring->dequeue > preq->end_trb && in cdns2_trb_handled()
911 ring->dequeue < preq->start_trb) in cdns2_trb_handled()
914 if (preq->start_trb == preq->end_trb && ring->dequeue != preq->end_trb) in cdns2_trb_handled()
917 trb = &ring->trbs[ring->dequeue]; in cdns2_trb_handled()
922 if (doorbell == 1 && current_index == ring->dequeue) in cdns2_trb_handled()
[all …]
H A Dcdns2-debug.h110 trb = &trbs[ring->dequeue]; in cdns2_raw_ring()
114 ring->dequeue, trb, &dma); in cdns2_raw_ring()
/linux/drivers/usb/host/
H A Dxhci-ring.c137 return ((le32_to_cpu(ring->dequeue->event_cmd.flags) & TRB_CYCLE) == in unhandled_event_trb()
192 if (!last_trb_on_seg(ring->deq_seg, ring->dequeue)) { in inc_deq()
193 ring->dequeue++; in inc_deq()
196 if (last_trb_on_ring(ring, ring->deq_seg, ring->dequeue)) in inc_deq()
199 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
207 if (!trb_is_link(ring->dequeue)) { in inc_deq()
208 if (last_trb_on_seg(ring->deq_seg, ring->dequeue)) in inc_deq()
211 ring->dequeue++; in inc_deq()
214 while (trb_is_link(ring->dequeue)) { in inc_deq()
216 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
[all …]
H A Dxhci-dbgcap.c493 /* set ep context enqueue, dequeue, and cycle to initial values */ in xhci_dbc_reinit_ep_rings()
580 dbc->ring_evt->dequeue); in xhci_dbc_mem_init()
872 if (ring->dequeue == &ring->deq_seg->trbs[TRBS_PER_SEGMENT - 1]) { in inc_evt_deq()
874 ring->dequeue = ring->deq_seg->trbs; in inc_evt_deq()
877 ring->dequeue++; in inc_evt_deq()
953 evt = dbc->ring_evt->dequeue; in xhci_dbc_do_handle_events()
964 dbc->ring_evt->dequeue)); in xhci_dbc_do_handle_events()
981 evt = dbc->ring_evt->dequeue; in xhci_dbc_do_handle_events()
985 /* Update event ring dequeue pointer: */ in xhci_dbc_do_handle_events()
988 dbc->ring_evt->dequeue); in xhci_dbc_do_handle_events()
[all...]
/linux/net/sched/
H A Dsch_fifo.c191 .dequeue = qdisc_dequeue_head,
206 .dequeue = qdisc_dequeue_head,
221 .dequeue = qdisc_dequeue_head,
H A Dsch_generic.c67 * - enqueue, dequeue are serialized via qdisc root lock
189 struct sk_buff *nskb = q->dequeue(q); in try_bulk_dequeue_skb()
216 nskb = q->dequeue(q); in try_bulk_dequeue_skb_slow()
297 skb = q->dequeue(q); in dequeue_skb()
655 .dequeue = noop_dequeue,
667 .dequeue = noop_dequeue,
702 .dequeue = noop_dequeue,
921 .dequeue = pfifo_fast_dequeue,
981 sch->dequeue = ops->dequeue; in qdisc_alloc()
[all...]
H A Dsch_blackhole.c32 .dequeue = blackhole_dequeue,
H A Dbpf_qdisc.c314 [QDISC_OP_IDX(dequeue)] = QDISC_OPS_KF_DEQUEUE, in bpf_qdisc_kfunc_filter()
406 if (!ops->enqueue || !ops->dequeue || !ops->init ||
440 .dequeue = Qdisc_ops__dequeue,
H A Dsch_multiq.c106 skb = qdisc->dequeue(qdisc); in multiq_dequeue()
389 .dequeue = multiq_dequeue,
H A Dsch_plug.c209 .dequeue = plug_dequeue,
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Ddpio-driver.rst16 interfaces to enqueue and dequeue frames to/from network interfaces
34 A. allow other drivers, such as the Ethernet driver, to enqueue and dequeue
75 . . tx confirm> | | dequeue>
H A Doverview.rst198 Provides interfaces to enqueue and dequeue
202 enqueue/dequeue packets. To enqueue something a descriptor is written
299 . . tx confirm> | | dequeue>
370 other drivers such as the Ethernet driver to enqueue and dequeue data for
375 - hardware queuing operations (enqueue and dequeue of data)
380 a data availability notification callback. To dequeue a packet
384 and dequeue data.
H A Dethernet-driver.rst80 enqueue| dequeue| data | dequeue| seed |
104 Datapath I/O (DPIO) portals provide enqueue and dequeue services, data
/linux/drivers/usb/early/
H A Dxhci-dbc.c207 ring->dequeue = seg->trbs; in xdbc_reset_ring()
808 evt_trb = xdbc.evt_ring.dequeue; in xdbc_handle_events()
827 ++(xdbc.evt_ring.dequeue); in xdbc_handle_events()
828 if (xdbc.evt_ring.dequeue == &xdbc.evt_seg.trbs[TRBS_PER_SEGMENT]) { in xdbc_handle_events()
829 xdbc.evt_ring.dequeue = xdbc.evt_seg.trbs; in xdbc_handle_events()
833 evt_trb = xdbc.evt_ring.dequeue; in xdbc_handle_events()
839 xdbc_write64(__pa(xdbc.evt_ring.dequeue), &xdbc.xdbc_reg->erdp); in xdbc_handle_events()
/linux/net/sctp/
H A Dstream_sched_fc.c198 .dequeue = sctp_sched_fc_dequeue,
216 .dequeue = sctp_sched_fc_dequeue,
/linux/block/
H A Dbfq-cgroup.c168 bfq_stat_add(&bfqg->stats.dequeue, 1); in bfqg_stats_update_dequeue()
365 bfq_stat_reset(&stats->dequeue); in bfqg_stats_reset()
387 bfq_stat_add_aux(&to->dequeue, &from->dequeue); in bfqg_stats_add_aux()
448 bfq_stat_exit(&stats->dequeue); in bfqg_stats_exit()
469 bfq_stat_init(&stats->dequeue, gfp) || in bfqg_stats_init()
1372 .private = offsetof(struct bfq_group, stats.dequeue),
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-qbuf.rst123 Applications call the ``VIDIOC_DQBUF`` ioctl to dequeue a filled
136 dequeue a :ref:`DMABUF <dmabuf>` buffer, the driver fills the ``m.fd`` field
138 when the buffer was enqueued. No new file descriptor is created at dequeue time
175 The driver might dequeue an (empty) buffer despite returning
/linux/include/net/sctp/
H A Dstream_sched.h35 struct sctp_chunk *(*dequeue)(struct sctp_outq *q); member
/linux/include/net/
H A Dsch_generic.h70 struct sk_buff * (*dequeue)(struct Qdisc *sch);
91 #define TCQ_F_DEQUEUE_DROPS 0x400 /* ->dequeue() can drop packets in q->to_free */
108 /* Cache line potentially dirtied in dequeue() or __netif_reschedule(). */
115 /* Fields dirtied in dequeue() fast path. */
314 struct sk_buff * (*dequeue)(struct Qdisc *);
1077 return sch->dequeue(sch); in tc_skb_cb()
1193 skb = sch->dequeue(sch); in qdisc_dequeue_peeked()
1232 /* use instead of qdisc->dequeue() for all qdiscs queried with ->peek() */ in qdisc_replace()
1247 skb = sch->dequeue(sch); in rtnl_qdisc_drop()
77 struct sk_buff * (*dequeue)(struct Qdisc *sch); global() member
297 struct sk_buff * (*dequeue)(struct Qdisc *); global() member
/linux/drivers/bluetooth/
H A Dhci_mrvl.c445 .dequeue = mrvl_dequeue,
459 .dequeue = mrvl_dequeue,

1234567