Lines Matching refs:pq
1570 fd->pq = qib_user_sdma_queue_create(&dd->pcidev->dev, in do_qib_user_sdma_queue_create()
1574 if (!fd->pq) in do_qib_user_sdma_queue_create()
1815 if (fd->pq) { in qib_close()
1816 qib_user_sdma_queue_drain(rcd->ppd, fd->pq); in qib_close()
1817 qib_user_sdma_queue_destroy(fd->pq); in qib_close()
1910 static int qib_sdma_get_inflight(struct qib_user_sdma_queue *pq, in qib_sdma_get_inflight() argument
1913 const u32 val = qib_user_sdma_inflight_counter(pq); in qib_sdma_get_inflight()
1922 struct qib_user_sdma_queue *pq, in qib_sdma_get_complete() argument
1928 if (!pq) in qib_sdma_get_complete()
1931 err = qib_user_sdma_make_progress(ppd, pq); in qib_sdma_get_complete()
1935 val = qib_user_sdma_complete_counter(pq); in qib_sdma_get_complete()
2247 struct qib_user_sdma_queue *pq = fp->pq; in qib_write_iter() local
2249 if (!iter_is_iovec(from) || !from->nr_segs || !pq) in qib_write_iter()
2252 return qib_user_sdma_writev(rcd, pq, from->iov, from->nr_segs); in qib_write_iter()