Searched refs:banksize (Results 1 – 3 of 3) sorted by relevance
580 u32 *banksize) in brcmf_chip_socram_banksize() argument588 *banksize = (bankinfo & SOCRAM_BANKINFO_SZMASK) + 1; in brcmf_chip_socram_banksize()589 *banksize *= SOCRAM_BANKINFO_SZBASE; in brcmf_chip_socram_banksize()597 uint nb, banksize, lss; in brcmf_chip_socram_ramsize() local615 banksize = (coreinfo & SRCI_SRBSZ_MASK); in brcmf_chip_socram_ramsize()619 *ramsize = nb * (1 << (banksize + SR_BSZ_BASE)); in brcmf_chip_socram_ramsize()631 retent = brcmf_chip_socram_banksize(sr, i, &banksize); in brcmf_chip_socram_ramsize()632 *ramsize += banksize; in brcmf_chip_socram_ramsize()634 *srsize += banksize; in brcmf_chip_socram_ramsize()663 u32 banksize; in brcmf_chip_sysmem_ramsize() local[all …]
196 int bank = index / mcam->banksize; in npc_get_bank()211 index &= (mcam->banksize - 1); in is_mcam_entry_enabled()222 index &= (mcam->banksize - 1); in npc_enable_mcam_entry()236 index &= (mcam->banksize - 1); in npc_clear_mcam_entry()396 index &= (mcam->banksize - 1); in npc_get_default_entry_action()453 index &= (mcam->banksize - 1); in npc_config_mcam_entry()524 src &= (mcam->banksize - 1); in npc_read_mcam_entry()560 src &= (mcam->banksize - 1); in npc_copy_mcam_entry()561 dest &= (mcam->banksize - 1); in npc_copy_mcam_entry()597 index &= (mcam->banksize - 1); in npc_get_mcam_action()[all …]
177 u16 banksize; /* Number of MCAM entries in each bank */ member