Lines Matching refs:cxt
189 init_p->cxts[0] = q->cxt; in bnx2x_vfop_qctor_prep()
312 if (bnx2x_vfq(vf, qid, cxt)) { in bnx2x_vf_queue_destroy()
313 bnx2x_vfq(vf, qid, cxt)->ustorm_ag_context.cdu_usage = 0; in bnx2x_vf_queue_destroy()
314 bnx2x_vfq(vf, qid, cxt)->xstorm_ag_context.cdu_reserved = 0; in bnx2x_vf_queue_destroy()
1383 struct hw_dma *cxt = &bp->vfdb->context[i]; in bnx2x_iov_free_mem() local
1384 BNX2X_PCI_FREE(cxt->addr, cxt->mapping, cxt->size); in bnx2x_iov_free_mem()
1413 struct hw_dma *cxt = BP_VF_CXT_PAGE(bp, i); in bnx2x_iov_alloc_mem() local
1414 cxt->size = min_t(size_t, tot_size, CDU_ILT_PAGE_SZ); in bnx2x_iov_alloc_mem()
1416 if (cxt->size) { in bnx2x_iov_alloc_mem()
1417 cxt->addr = BNX2X_PCI_ALLOC(&cxt->mapping, cxt->size); in bnx2x_iov_alloc_mem()
1418 if (!cxt->addr) in bnx2x_iov_alloc_mem()
1421 cxt->addr = NULL; in bnx2x_iov_alloc_mem()
1422 cxt->mapping = 0; in bnx2x_iov_alloc_mem()
1424 tot_size -= cxt->size; in bnx2x_iov_alloc_mem()
2120 q->cxt = &((base_cxt + i)->eth); in bnx2x_vf_acquire()
2124 vf->abs_vfid, i, q->index, q->cid, q->cxt); in bnx2x_vf_acquire()