Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c336 u64 cfg, ctx_cfg; in rvu_mbox_handler_npa_lf_alloc() local
363 ctx_cfg = rvu_read64(rvu, blkaddr, NPA_AF_CONST1); in rvu_mbox_handler_npa_lf_alloc()
366 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_npa_lf_alloc()
378 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
393 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
Drvu_nix.c1334 u64 cfg, ctx_cfg; in rvu_mbox_handler_nix_lf_alloc() local
1392 ctx_cfg = rvu_read64(rvu, blkaddr, NIX_AF_CONST3); in rvu_mbox_handler_nix_lf_alloc()
1395 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1412 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1428 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1444 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1454 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1468 hwctx_size = 1UL << ((ctx_cfg >> 20) & 0xF); in rvu_mbox_handler_nix_lf_alloc()