Lines Matching refs:prq
1178 struct efc_hw_rq_buffer *prq; in efct_hw_rx_buffer_alloc() local
1189 for (i = 0, prq = rq_buf; i < count; i ++, prq++) { in efct_hw_rx_buffer_alloc()
1190 prq->rqindex = rqindex; in efct_hw_rx_buffer_alloc()
1191 prq->dma.size = size; in efct_hw_rx_buffer_alloc()
1192 prq->dma.virt = dma_alloc_coherent(&efct->pci->dev, in efct_hw_rx_buffer_alloc()
1193 prq->dma.size, in efct_hw_rx_buffer_alloc()
1194 &prq->dma.phys, in efct_hw_rx_buffer_alloc()
1196 if (!prq->dma.virt) { in efct_hw_rx_buffer_alloc()
1212 struct efc_hw_rq_buffer *prq; in efct_hw_rx_buffer_free() local
1215 for (i = 0, prq = rq_buf; i < count; i++, prq++) { in efct_hw_rx_buffer_free()
1217 prq->dma.size, prq->dma.virt, in efct_hw_rx_buffer_free()
1218 prq->dma.phys); in efct_hw_rx_buffer_free()
1219 memset(&prq->dma, 0, sizeof(struct efc_dma)); in efct_hw_rx_buffer_free()