Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cpt.c333 int num_lfs, slot; in rvu_mbox_handler_cpt_lf_alloc() local
344 num_lfs = rvu_get_rsrc_mapcount(rvu_get_pfvf(rvu, pcifunc), in rvu_mbox_handler_cpt_lf_alloc()
346 if (!num_lfs) in rvu_mbox_handler_cpt_lf_alloc()
367 for (slot = 0; slot < num_lfs; slot++) { in rvu_mbox_handler_cpt_lf_alloc()
395 int num_lfs, cptlf, slot, err; in cpt_lf_free() local
399 num_lfs = rvu_get_rsrc_mapcount(rvu_get_pfvf(rvu, pcifunc), in cpt_lf_free()
401 if (!num_lfs) in cpt_lf_free()
404 for (slot = 0; slot < num_lfs; slot++) { in cpt_lf_free()
576 int blkaddr, num_lfs, lf; in is_valid_offset() local
593 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()
1375 int slot, lf, num_lfs; in rvu_detach_block() local
[all …]