Searched refs:bdq (Results 1 – 6 of 6) sorted by relevance
1506 if (qedi->bdq[i].buf_addr) { in qedi_free_bdq()1508 qedi->bdq[i].buf_addr, in qedi_free_bdq()1509 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()
2926 if (qedf->bdq[i].buf_addr) { in qedf_free_bdq()2928 qedf->bdq[i].buf_addr, qedf->bdq[i].buf_dma); in qedf_free_bdq()2964 qedf->bdq[i].buf_addr = dma_alloc_coherent(&qedf->pdev->dev, in qedf_alloc_bdq()2965 QEDF_BDQ_BUF_SIZE, &qedf->bdq[i].buf_dma, GFP_KERNEL); in qedf_alloc_bdq()2966 if (!qedf->bdq[i].buf_addr) { in qedf_alloc_bdq()2996 pbl->address.hi = cpu_to_le32(U64_HI(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()2997 pbl->address.lo = cpu_to_le32(U64_LO(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()
366 struct qedf_bdq_buf bdq[QEDF_BDQ_SIZE]; member
2562 bdq_addr = qedf->bdq[bdq_idx].buf_addr; in qedf_process_unsol_compl()