Home
last modified time | relevance | path

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

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.c577 u32 *banksize) in brcmf_chip_socram_banksize() argument
585 *banksize = (bankinfo & SOCRAM_BANKINFO_SZMASK) + 1; in brcmf_chip_socram_banksize()
586 *banksize *= SOCRAM_BANKINFO_SZBASE; in brcmf_chip_socram_banksize()
594 uint nb, banksize, lss; in brcmf_chip_socram_ramsize() local
612 banksize = (coreinfo & SRCI_SRBSZ_MASK); in brcmf_chip_socram_ramsize()
616 *ramsize = nb * (1 << (banksize + SR_BSZ_BASE)); in brcmf_chip_socram_ramsize()
628 retent = brcmf_chip_socram_banksize(sr, i, &banksize); in brcmf_chip_socram_ramsize()
629 *ramsize += banksize; in brcmf_chip_socram_ramsize()
631 *srsize += banksize; in brcmf_chip_socram_ramsize()
659 u32 banksize; in brcmf_chip_sysmem_ramsize() local
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c122 int bank = index / mcam->banksize; in npc_get_bank()
137 index &= (mcam->banksize - 1); in is_mcam_entry_enabled()
148 index &= (mcam->banksize - 1); in npc_enable_mcam_entry()
162 index &= (mcam->banksize - 1); in npc_clear_mcam_entry()
270 index &= (mcam->banksize - 1); in npc_config_mcam_entry()
328 src &= (mcam->banksize - 1); in npc_copy_mcam_entry()
329 dest &= (mcam->banksize - 1); in npc_copy_mcam_entry()
365 index &= (mcam->banksize - 1); in npc_get_mcam_action()
608 index &= (mcam->banksize - 1); in rvu_npc_update_flowkey_alg_idx()
632 index &= (mcam->banksize - 1); in rvu_npc_update_flowkey_alg_idx()
[all …]
Drvu.h122 u16 banksize; /* Number of MCAM entries in each bank */ member