Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c285 u64 cfg, ctx_cfg; in rvu_mbox_handler_npa_lf_alloc() local
309 ctx_cfg = rvu_read64(rvu, blkaddr, NPA_AF_CONST1); in rvu_mbox_handler_npa_lf_alloc()
312 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_npa_lf_alloc()
324 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
339 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
Drvu_nix.c742 u64 cfg, ctx_cfg; in rvu_mbox_handler_nix_lf_alloc() local
797 ctx_cfg = rvu_read64(rvu, blkaddr, NIX_AF_CONST3); in rvu_mbox_handler_nix_lf_alloc()
800 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
817 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc()
832 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
847 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
856 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
868 hwctx_size = 1UL << ((ctx_cfg >> 20) & 0xF); in rvu_mbox_handler_nix_lf_alloc()