Lines Matching refs:blkaddr

57 	int blkaddr, npalf, rc = 0;  in rvu_npa_aq_enq_inst()  local
69 blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NPA, pcifunc); in rvu_npa_aq_enq_inst()
70 if (!pfvf->npalf || blkaddr < 0) in rvu_npa_aq_enq_inst()
73 block = &hw->block[blkaddr]; in rvu_npa_aq_enq_inst()
328 int blkaddr; in rvu_mbox_handler_npa_lf_alloc() local
338 blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NPA, pcifunc); in rvu_mbox_handler_npa_lf_alloc()
339 if (!pfvf->npalf || blkaddr < 0) in rvu_mbox_handler_npa_lf_alloc()
342 block = &hw->block[blkaddr]; in rvu_mbox_handler_npa_lf_alloc()
354 ctx_cfg = rvu_read64(rvu, blkaddr, NPA_AF_CONST1); in rvu_mbox_handler_npa_lf_alloc()
380 cfg = rvu_read64(rvu, blkaddr, NPA_AF_CONST); in rvu_mbox_handler_npa_lf_alloc()
389 cfg = rvu_read64(rvu, blkaddr, NPA_AF_LFX_AURAS_CFG(npalf)); in rvu_mbox_handler_npa_lf_alloc()
395 rvu_write64(rvu, blkaddr, NPA_AF_LFX_AURAS_CFG(npalf), cfg); in rvu_mbox_handler_npa_lf_alloc()
398 rvu_write64(rvu, blkaddr, NPA_AF_LFX_LOC_AURAS_BASE(npalf), in rvu_mbox_handler_npa_lf_alloc()
402 rvu_write64(rvu, blkaddr, NPA_AF_LFX_QINTS_CFG(npalf), in rvu_mbox_handler_npa_lf_alloc()
404 rvu_write64(rvu, blkaddr, NPA_AF_LFX_QINTS_BASE(npalf), in rvu_mbox_handler_npa_lf_alloc()
415 cfg = rvu_read64(rvu, blkaddr, NPA_AF_CONST); in rvu_mbox_handler_npa_lf_alloc()
434 int blkaddr; in rvu_mbox_handler_npa_lf_free() local
437 blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NPA, pcifunc); in rvu_mbox_handler_npa_lf_free()
438 if (!pfvf->npalf || blkaddr < 0) in rvu_mbox_handler_npa_lf_free()
441 block = &hw->block[blkaddr]; in rvu_mbox_handler_npa_lf_free()
508 int blkaddr; in rvu_npa_init() local
510 blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NPA, 0); in rvu_npa_init()
511 if (blkaddr < 0) in rvu_npa_init()
515 return npa_aq_init(rvu, &hw->block[blkaddr]); in rvu_npa_init()
522 int blkaddr; in rvu_npa_freemem() local
524 blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NPA, 0); in rvu_npa_freemem()
525 if (blkaddr < 0) in rvu_npa_freemem()
528 block = &hw->block[blkaddr]; in rvu_npa_freemem()