Searched refs:bdq (Results 1 – 6 of 6) sorted by relevance
1507 if (qedi->bdq[i].buf_addr) { in qedi_free_bdq()1509 qedi->bdq[i].buf_addr, in qedi_free_bdq()1510 qedi->bdq[i].buf_dma); in qedi_free_bdq()1545 qedi->bdq[i].buf_addr = in qedi_alloc_bdq()1548 &qedi->bdq[i].buf_dma, in qedi_alloc_bdq()1550 if (!qedi->bdq[i].buf_addr) { in qedi_alloc_bdq()1580 cpu_to_le32(QEDI_U64_HI(qedi->bdq[i].buf_dma)); in qedi_alloc_bdq()1582 cpu_to_le32(QEDI_U64_LO(qedi->bdq[i].buf_dma)); in qedi_alloc_bdq()
296 struct qedi_bdq_buf bdq[QEDI_BDQ_NUM]; member
348 memcpy(ptr, (void *)qedi->bdq[idx].buf_addr, len); in qedi_get_rq_bdq_buf()376 pbl->address.hi = cpu_to_le32(QEDI_U64_HI(qedi->bdq[idx].buf_dma)); in qedi_put_rq_bdq_buf()377 pbl->address.lo = cpu_to_le32(QEDI_U64_LO(qedi->bdq[idx].buf_dma)); in qedi_put_rq_bdq_buf()
2924 if (qedf->bdq[i].buf_addr) { in qedf_free_bdq()2926 qedf->bdq[i].buf_addr, qedf->bdq[i].buf_dma); in qedf_free_bdq()2961 qedf->bdq[i].buf_addr = dma_alloc_coherent(&qedf->pdev->dev, in qedf_alloc_bdq()2962 QEDF_BDQ_BUF_SIZE, &qedf->bdq[i].buf_dma, GFP_KERNEL); in qedf_alloc_bdq()2963 if (!qedf->bdq[i].buf_addr) { in qedf_alloc_bdq()2993 pbl->address.hi = cpu_to_le32(U64_HI(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()2994 pbl->address.lo = cpu_to_le32(U64_LO(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()
374 struct qedf_bdq_buf bdq[QEDF_BDQ_SIZE]; member
2553 bdq_addr = qedf->bdq[bdq_idx].buf_addr; in qedf_process_unsol_compl()