Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c530 int sbank = npc_get_bank(mcam, src); in npc_read_mcam_entry() local
535 bank = sbank; in npc_read_mcam_entry()
537 for (; bank < (sbank + mcam->banks_per_entry); bank++, kw = kw + 2) { in npc_read_mcam_entry()
552 NPC_AF_MCAMEX_BANKX_ACTION(src, sbank)); in npc_read_mcam_entry()
555 NPC_AF_MCAMEX_BANKX_TAG_ACT(src, sbank)); in npc_read_mcam_entry()
557 NPC_AF_MCAMEX_BANKX_CAMX_INTF(src, sbank, 1)) & 3; in npc_read_mcam_entry()
559 NPC_AF_MCAMEX_BANKX_CFG(src, sbank)) & 1; in npc_read_mcam_entry()
566 int sbank = npc_get_bank(mcam, src); in npc_copy_mcam_entry() local
575 sreg = NPC_AF_MCAMEX_BANKX_CAMX_INTF(src, sbank + bank, 0); in npc_copy_mcam_entry()
585 NPC_AF_MCAMEX_BANKX_ACTION(src, sbank)); in npc_copy_mcam_entry()
[all …]
/linux-6.6.21/arch/x86/kvm/
Dhyperv.c1749 int bank, sbank = 0; in sparse_set_to_vcpu_mask() local
1773 bitmap[bank] = sparse_banks[sbank++]; in sparse_set_to_vcpu_mask()
1788 unsigned long sbank; in hv_is_vp_in_sparse_set() local
1799 sbank = hweight64(valid_bank_mask & GENMASK_ULL(valid_bit_nr - 1, 0)); in hv_is_vp_in_sparse_set()
1801 sbank = 0; in hv_is_vp_in_sparse_set()
1804 (unsigned long *)&sparse_banks[sbank]); in hv_is_vp_in_sparse_set()