Searched refs:bdq (Results 1 – 6 of 6) sorted by relevance
1508 if (qedi->bdq[i].buf_addr) { in qedi_free_bdq()1510 qedi->bdq[i].buf_addr, in qedi_free_bdq()1511 qedi->bdq[i].buf_dma); in qedi_free_bdq()1547 qedi->bdq[i].buf_addr = in qedi_alloc_bdq()1550 &qedi->bdq[i].buf_dma, in qedi_alloc_bdq()1552 if (!qedi->bdq[i].buf_addr) { in qedi_alloc_bdq()1582 cpu_to_le32(QEDI_U64_HI(qedi->bdq[i].buf_dma)); in qedi_alloc_bdq()1584 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
337 memcpy(ptr, (void *)qedi->bdq[idx].buf_addr, len); in qedi_get_rq_bdq_buf()365 pbl->address.hi = cpu_to_le32(QEDI_U64_HI(qedi->bdq[idx].buf_dma)); in qedi_put_rq_bdq_buf()366 pbl->address.lo = cpu_to_le32(QEDI_U64_LO(qedi->bdq[idx].buf_dma)); in qedi_put_rq_bdq_buf()
2922 if (qedf->bdq[i].buf_addr) { in qedf_free_bdq()2924 qedf->bdq[i].buf_addr, qedf->bdq[i].buf_dma); in qedf_free_bdq()2960 qedf->bdq[i].buf_addr = dma_alloc_coherent(&qedf->pdev->dev, in qedf_alloc_bdq()2961 QEDF_BDQ_BUF_SIZE, &qedf->bdq[i].buf_dma, GFP_KERNEL); in qedf_alloc_bdq()2962 if (!qedf->bdq[i].buf_addr) { in qedf_alloc_bdq()2992 pbl->address.hi = cpu_to_le32(U64_HI(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()2993 pbl->address.lo = cpu_to_le32(U64_LO(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()
368 struct qedf_bdq_buf bdq[QEDF_BDQ_SIZE]; member
2573 bdq_addr = qedf->bdq[bdq_idx].buf_addr; in qedf_process_unsol_compl()