Home
last modified time | relevance | path

Searched refs:banksize (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.c542 u32 *banksize) in brcmf_chip_socram_banksize() argument
550 *banksize = (bankinfo & SOCRAM_BANKINFO_SZMASK) + 1; in brcmf_chip_socram_banksize()
551 *banksize *= SOCRAM_BANKINFO_SZBASE; in brcmf_chip_socram_banksize()
559 uint nb, banksize, lss; in brcmf_chip_socram_ramsize() local
577 banksize = (coreinfo & SRCI_SRBSZ_MASK); in brcmf_chip_socram_ramsize()
581 *ramsize = nb * (1 << (banksize + SR_BSZ_BASE)); in brcmf_chip_socram_ramsize()
593 retent = brcmf_chip_socram_banksize(sr, i, &banksize); in brcmf_chip_socram_ramsize()
594 *ramsize += banksize; in brcmf_chip_socram_ramsize()
596 *srsize += banksize; in brcmf_chip_socram_ramsize()
624 u32 banksize; in brcmf_chip_sysmem_ramsize() local
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c89 int bank = index / mcam->banksize; in npc_get_bank()
104 index &= (mcam->banksize - 1); in is_mcam_entry_enabled()
115 index &= (mcam->banksize - 1); in npc_enable_mcam_entry()
212 index &= (mcam->banksize - 1); in npc_config_mcam_entry()
266 src &= (mcam->banksize - 1); in npc_copy_mcam_entry()
267 dest &= (mcam->banksize - 1); in npc_copy_mcam_entry()
303 index &= (mcam->banksize - 1); in npc_get_mcam_action()
539 index &= (mcam->banksize - 1); in rvu_npc_update_flowkey_alg_idx()
563 index &= (mcam->banksize - 1); in rvu_npc_update_flowkey_alg_idx()
602 NPC_AF_MCAMEX_BANKX_ACTION(index & (mcam->banksize - 1), bank)); in npc_enadis_default_entries()
[all …]
Drvu.h94 u16 banksize; /* Number of MCAM entries in each bank */ member