Home
last modified time | relevance | path

Searched refs:num_lfs (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cpt.c391 int num_lfs, slot; in rvu_mbox_handler_cpt_lf_alloc() local
402 num_lfs = rvu_get_rsrc_mapcount(rvu_get_pfvf(rvu, pcifunc), in rvu_mbox_handler_cpt_lf_alloc()
404 if (!num_lfs) in rvu_mbox_handler_cpt_lf_alloc()
425 for (slot = 0; slot < num_lfs; slot++) { in rvu_mbox_handler_cpt_lf_alloc()
457 int num_lfs, cptlf, slot, err; in cpt_lf_free() local
461 num_lfs = rvu_get_rsrc_mapcount(rvu_get_pfvf(rvu, pcifunc), in cpt_lf_free()
463 if (!num_lfs) in cpt_lf_free()
466 for (slot = 0; slot < num_lfs; slot++) { in cpt_lf_free()
638 int blkaddr, num_lfs, lf; in is_valid_offset() local
655 num_lfs = rvu_get_rsrc_mapcount(pfvf, block->addr); in is_valid_offset()
[all …]
Drvu.c345 int devnum, num_lfs = 0; in rvu_update_rsrc_map() local
370 num_lfs = pfvf->npalf; in rvu_update_rsrc_map()
375 num_lfs = pfvf->nixlf; in rvu_update_rsrc_map()
379 num_lfs = pfvf->sso; in rvu_update_rsrc_map()
383 num_lfs = pfvf->ssow; in rvu_update_rsrc_map()
387 num_lfs = pfvf->timlfs; in rvu_update_rsrc_map()
391 num_lfs = pfvf->cptlfs; in rvu_update_rsrc_map()
395 num_lfs = pfvf->cpt1_lfs; in rvu_update_rsrc_map()
400 rvu_write64(rvu, BLKADDR_RVUM, reg | (devnum << 16), num_lfs); in rvu_update_rsrc_map()
1383 int slot, lf, num_lfs; in rvu_detach_block() local
[all …]