Searched refs:cptlf (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cpt.c | 450 int cptlf, blkaddr; in rvu_mbox_handler_cpt_lf_alloc() local 486 cptlf = rvu_get_lf(rvu, block, pcifunc, slot); in rvu_mbox_handler_cpt_lf_alloc() 487 if (cptlf < 0) in rvu_mbox_handler_cpt_lf_alloc() 499 rvu_write64(rvu, blkaddr, CPT_AF_LFX_CTL(cptlf), val); in rvu_mbox_handler_cpt_lf_alloc() 504 val = rvu_read64(rvu, blkaddr, CPT_AF_LFX_CTL2(cptlf)); in rvu_mbox_handler_cpt_lf_alloc() 508 rvu_write64(rvu, blkaddr, CPT_AF_LFX_CTL2(cptlf), val); in rvu_mbox_handler_cpt_lf_alloc() 517 int num_lfs, cptlf, slot, err; in cpt_lf_free() local 527 cptlf = rvu_get_lf(rvu, block, pcifunc, slot); in cpt_lf_free() 528 if (cptlf < 0) in cpt_lf_free() 532 rvu_cpt_lf_teardown(rvu, pcifunc, blkaddr, cptlf, slot); in cpt_lf_free() [all …]
|