Home
last modified time | relevance | path

Searched refs:enq_ptr (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/i3c/master/mipi-i3c-hci/
Ddma.c589 unsigned int ptr, enq_ptr, deq_ptr; in hci_dma_process_ibi() local
599 enq_ptr = FIELD_GET(RING_OP2_IBI_ENQ_PTR, op2_val); in hci_dma_process_ibi()
608 for (ptr = deq_ptr; ptr != enq_ptr; in hci_dma_process_ibi()
643 DBG("no LAST_STATUS available (e=%d d=%d)", enq_ptr, deq_ptr); in hci_dma_process_ibi()
/Linux-v6.1/drivers/usb/gadget/udc/
Dtegra-xudc.c408 unsigned int enq_ptr; member
1067 if (ep->deq_ptr > ep->enq_ptr) in ep_available_trbs()
1068 return ep->deq_ptr - ep->enq_ptr - 1; in ep_available_trbs()
1070 return XUDC_TRANSFER_RING_SIZE - (ep->enq_ptr - ep->deq_ptr) - 2; in ep_available_trbs()
1176 req->first_trb = &ep->transfer_ring[ep->enq_ptr]; in tegra_xudc_queue_trbs()
1179 struct tegra_xudc_trb *trb = &ep->transfer_ring[ep->enq_ptr]; in tegra_xudc_queue_trbs()
1188 ep->enq_ptr++; in tegra_xudc_queue_trbs()
1189 if (ep->enq_ptr == XUDC_TRANSFER_RING_SIZE - 1) { in tegra_xudc_queue_trbs()
1190 trb = &ep->transfer_ring[ep->enq_ptr]; in tegra_xudc_queue_trbs()
1193 ep->enq_ptr = 0; in tegra_xudc_queue_trbs()
[all …]