Home
last modified time | relevance | path

Searched refs:deq_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
596 deq_ptr = FIELD_GET(RING_OP1_IBI_DEQ_PTR, op1_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()
646 deq_ptr = last_ptr + 1; in hci_dma_process_ibi()
647 deq_ptr %= rh->ibi_status_entries; in hci_dma_process_ibi()
719 op1_val |= FIELD_PREP(RING_OP1_IBI_DEQ_PTR, deq_ptr); in hci_dma_process_ibi()
/Linux-v6.1/drivers/usb/gadget/udc/
Dtegra-xudc.c409 unsigned int deq_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()
1456 dma_addr_t deq_ptr; in __tegra_xudc_ep_dequeue() local
1474 deq_ptr = trb_virt_to_phys(ep, in __tegra_xudc_ep_dequeue()
1477 if (dma_mapping_error(xudc->dev, deq_ptr)) { in __tegra_xudc_ep_dequeue()
1480 ep_ctx_write_deq_ptr(ep->context, deq_ptr); in __tegra_xudc_ep_dequeue()
1810 ep->deq_ptr = 0; in __tegra_xudc_ep_enable()
2684 ep->deq_ptr = (last - ep->transfer_ring) + 1; in tegra_xudc_handle_transfer_completion()
[all …]