Lines Matching refs:cxt
191 init_p->cxts[0] = q->cxt; in bnx2x_vfop_qctor_prep()
306 if (bnx2x_vfq(vf, qid, cxt)) { in bnx2x_vf_queue_destroy()
307 bnx2x_vfq(vf, qid, cxt)->ustorm_ag_context.cdu_usage = 0; in bnx2x_vf_queue_destroy()
308 bnx2x_vfq(vf, qid, cxt)->xstorm_ag_context.cdu_reserved = 0; in bnx2x_vf_queue_destroy()
1336 struct hw_dma *cxt = &bp->vfdb->context[i]; in bnx2x_iov_free_mem() local
1337 BNX2X_PCI_FREE(cxt->addr, cxt->mapping, cxt->size); in bnx2x_iov_free_mem()
1366 struct hw_dma *cxt = BP_VF_CXT_PAGE(bp, i); in bnx2x_iov_alloc_mem() local
1367 cxt->size = min_t(size_t, tot_size, CDU_ILT_PAGE_SZ); in bnx2x_iov_alloc_mem()
1369 if (cxt->size) { in bnx2x_iov_alloc_mem()
1370 cxt->addr = BNX2X_PCI_ALLOC(&cxt->mapping, cxt->size); in bnx2x_iov_alloc_mem()
1371 if (!cxt->addr) in bnx2x_iov_alloc_mem()
1374 cxt->addr = NULL; in bnx2x_iov_alloc_mem()
1375 cxt->mapping = 0; in bnx2x_iov_alloc_mem()
1377 tot_size -= cxt->size; in bnx2x_iov_alloc_mem()
2073 q->cxt = &((base_cxt + i)->eth); in bnx2x_vf_acquire()
2077 vf->abs_vfid, i, q->index, q->cid, q->cxt); in bnx2x_vf_acquire()