Lines Matching refs:pfvf
140 static void print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf);
258 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize() argument
266 if (!pfvf->aura_ctx) { in print_npa_qsize()
269 bitmap_print_to_pagebuf(false, buf, pfvf->aura_bmap, in print_npa_qsize()
270 pfvf->aura_ctx->qsize); in print_npa_qsize()
271 seq_printf(m, "Aura count : %d\n", pfvf->aura_ctx->qsize); in print_npa_qsize()
275 if (!pfvf->pool_ctx) { in print_npa_qsize()
278 bitmap_print_to_pagebuf(false, buf, pfvf->pool_bmap, in print_npa_qsize()
279 pfvf->pool_ctx->qsize); in print_npa_qsize()
280 seq_printf(m, "Pool count : %d\n", pfvf->pool_ctx->qsize); in print_npa_qsize()
293 struct rvu_pfvf *pfvf) = NULL; in rvu_dbg_qsize_display()
294 struct rvu_pfvf *pfvf; in rvu_dbg_qsize_display() local
318 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_dbg_qsize_display()
319 print_qsize(filp, pfvf); in rvu_dbg_qsize_display()
477 struct rvu_pfvf *pfvf; in rvu_dbg_npa_ctx_display() local
504 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_dbg_npa_ctx_display()
505 if (ctype == NPA_AQ_CTYPE_AURA && !pfvf->aura_ctx) { in rvu_dbg_npa_ctx_display()
508 } else if (ctype == NPA_AQ_CTYPE_POOL && !pfvf->pool_ctx) { in rvu_dbg_npa_ctx_display()
518 max_id = pfvf->aura_ctx->qsize; in rvu_dbg_npa_ctx_display()
521 max_id = pfvf->pool_ctx->qsize; in rvu_dbg_npa_ctx_display()
555 struct rvu_pfvf *pfvf; in write_npa_ctx() local
562 pfvf = rvu_get_pfvf(rvu, pcifunc); in write_npa_ctx()
565 if (!pfvf->aura_ctx) { in write_npa_ctx()
569 max_id = pfvf->aura_ctx->qsize; in write_npa_ctx()
571 if (!pfvf->pool_ctx) { in write_npa_ctx()
575 max_id = pfvf->pool_ctx->qsize; in write_npa_ctx()
977 struct rvu_pfvf *pfvf; in rvu_dbg_nix_queue_ctx_display() local
1007 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_dbg_nix_queue_ctx_display()
1008 if (ctype == NIX_AQ_CTYPE_SQ && !pfvf->sq_ctx) { in rvu_dbg_nix_queue_ctx_display()
1011 } else if (ctype == NIX_AQ_CTYPE_RQ && !pfvf->rq_ctx) { in rvu_dbg_nix_queue_ctx_display()
1014 } else if (ctype == NIX_AQ_CTYPE_CQ && !pfvf->cq_ctx) { in rvu_dbg_nix_queue_ctx_display()
1020 max_id = pfvf->sq_ctx->qsize; in rvu_dbg_nix_queue_ctx_display()
1024 max_id = pfvf->rq_ctx->qsize; in rvu_dbg_nix_queue_ctx_display()
1028 max_id = pfvf->cq_ctx->qsize; in rvu_dbg_nix_queue_ctx_display()
1058 struct rvu_pfvf *pfvf; in write_nix_queue_ctx() local
1065 pfvf = rvu_get_pfvf(rvu, pcifunc); in write_nix_queue_ctx()
1068 if (!pfvf->sq_ctx) { in write_nix_queue_ctx()
1072 max_id = pfvf->sq_ctx->qsize; in write_nix_queue_ctx()
1074 if (!pfvf->rq_ctx) { in write_nix_queue_ctx()
1078 max_id = pfvf->rq_ctx->qsize; in write_nix_queue_ctx()
1080 if (!pfvf->cq_ctx) { in write_nix_queue_ctx()
1084 max_id = pfvf->cq_ctx->qsize; in write_nix_queue_ctx()
1226 static void print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf) in print_nix_qsize() argument
1228 if (!pfvf->cq_ctx) in print_nix_qsize()
1231 print_nix_qctx_qsize(filp, pfvf->cq_ctx->qsize, pfvf->cq_bmap, in print_nix_qsize()
1234 if (!pfvf->rq_ctx) in print_nix_qsize()
1237 print_nix_qctx_qsize(filp, pfvf->rq_ctx->qsize, pfvf->rq_bmap, in print_nix_qsize()
1240 if (!pfvf->sq_ctx) in print_nix_qsize()
1243 print_nix_qctx_qsize(filp, pfvf->sq_ctx->qsize, pfvf->sq_bmap, in print_nix_qsize()