Home
last modified time | relevance | path

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

/linux-6.12.1/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.c1447 u64 cfg, ctx_cfg; in rvu_mbox_handler_nix_lf_alloc() local
1505 ctx_cfg = rvu_read64(rvu, blkaddr, NIX_AF_CONST3); in rvu_mbox_handler_nix_lf_alloc()
1508 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1525 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1541 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1557 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1567 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1581 hwctx_size = 1UL << ((ctx_cfg >> 20) & 0xF); in rvu_mbox_handler_nix_lf_alloc()