Searched refs:cptlf (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cpt.c | 390 int cptlf, blkaddr; in rvu_mbox_handler_cpt_lf_alloc() local 426 cptlf = rvu_get_lf(rvu, block, pcifunc, slot); in rvu_mbox_handler_cpt_lf_alloc() 427 if (cptlf < 0) in rvu_mbox_handler_cpt_lf_alloc() 439 rvu_write64(rvu, blkaddr, CPT_AF_LFX_CTL(cptlf), val); in rvu_mbox_handler_cpt_lf_alloc() 444 val = rvu_read64(rvu, blkaddr, CPT_AF_LFX_CTL2(cptlf)); in rvu_mbox_handler_cpt_lf_alloc() 448 rvu_write64(rvu, blkaddr, CPT_AF_LFX_CTL2(cptlf), val); in rvu_mbox_handler_cpt_lf_alloc() 457 int num_lfs, cptlf, slot, err; in cpt_lf_free() local 467 cptlf = rvu_get_lf(rvu, block, pcifunc, slot); in cpt_lf_free() 468 if (cptlf < 0) in cpt_lf_free() 472 rvu_cpt_lf_teardown(rvu, pcifunc, blkaddr, cptlf, slot); in cpt_lf_free() [all …]
|