Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/i3c/master/mipi-i3c-hci/
Ddma.c359 unsigned int i, ring, enqueue_ptr; in hci_dma_queue_xfer() local
367 enqueue_ptr = FIELD_GET(RING_OP1_CR_ENQ_PTR, op1_val); in hci_dma_queue_xfer()
370 u32 *ring_data = rh->xfer + rh->xfer_struct_sz * enqueue_ptr; in hci_dma_queue_xfer()
409 rh->src_xfers[enqueue_ptr] = xfer; in hci_dma_queue_xfer()
412 xfer->ring_entry = enqueue_ptr; in hci_dma_queue_xfer()
414 enqueue_ptr = (enqueue_ptr + 1) % rh->xfer_entries; in hci_dma_queue_xfer()
421 if (enqueue_ptr == FIELD_GET(RING_OP2_CR_DEQ_PTR, op2_val)) { in hci_dma_queue_xfer()
432 op1_val |= FIELD_PREP(RING_OP1_CR_ENQ_PTR, enqueue_ptr); in hci_dma_queue_xfer()