Searched refs:sbank (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 508 int sbank = npc_get_bank(mcam, src); in npc_read_mcam_entry() local 513 bank = sbank; in npc_read_mcam_entry() 515 for (; bank < (sbank + mcam->banks_per_entry); bank++, kw = kw + 2) { in npc_read_mcam_entry() 530 NPC_AF_MCAMEX_BANKX_ACTION(src, sbank)); in npc_read_mcam_entry() 533 NPC_AF_MCAMEX_BANKX_TAG_ACT(src, sbank)); in npc_read_mcam_entry() 535 NPC_AF_MCAMEX_BANKX_CAMX_INTF(src, sbank, 1)) & 3; in npc_read_mcam_entry() 537 NPC_AF_MCAMEX_BANKX_CFG(src, sbank)) & 1; in npc_read_mcam_entry() 544 int sbank = npc_get_bank(mcam, src); in npc_copy_mcam_entry() local 553 sreg = NPC_AF_MCAMEX_BANKX_CAMX_INTF(src, sbank + bank, 0); in npc_copy_mcam_entry() 563 NPC_AF_MCAMEX_BANKX_ACTION(src, sbank)); in npc_copy_mcam_entry() [all …]
|
/linux-6.12.1/arch/x86/kvm/ |
D | hyperv.c | 1800 int bank, sbank = 0; in sparse_set_to_vcpu_mask() local 1824 bitmap[bank] = sparse_banks[sbank++]; in sparse_set_to_vcpu_mask() 1839 unsigned long sbank; in hv_is_vp_in_sparse_set() local 1850 sbank = hweight64(valid_bank_mask & GENMASK_ULL(valid_bit_nr - 1, 0)); in hv_is_vp_in_sparse_set() 1852 sbank = 0; in hv_is_vp_in_sparse_set() 1855 (unsigned long *)&sparse_banks[sbank]); in hv_is_vp_in_sparse_set()
|