Searched refs:ctx_cfg (Results 1 – 2 of 2) sorted by relevance
336 u64 cfg, ctx_cfg; in rvu_mbox_handler_npa_lf_alloc() local363 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()
1333 u64 cfg, ctx_cfg; in rvu_mbox_handler_nix_lf_alloc() local1391 ctx_cfg = rvu_read64(rvu, blkaddr, NIX_AF_CONST3); in rvu_mbox_handler_nix_lf_alloc()1394 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc()1411 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc()1427 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc()1443 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc()1453 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_mbox_handler_nix_lf_alloc()1467 hwctx_size = 1UL << ((ctx_cfg >> 20) & 0xF); in rvu_mbox_handler_nix_lf_alloc()