Home
last modified time | relevance | path

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

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.c579 u32 *banksize) in brcmf_chip_socram_banksize() argument
587 *banksize = (bankinfo & SOCRAM_BANKINFO_SZMASK) + 1; in brcmf_chip_socram_banksize()
588 *banksize *= SOCRAM_BANKINFO_SZBASE; in brcmf_chip_socram_banksize()
596 uint nb, banksize, lss; in brcmf_chip_socram_ramsize() local
614 banksize = (coreinfo & SRCI_SRBSZ_MASK); in brcmf_chip_socram_ramsize()
618 *ramsize = nb * (1 << (banksize + SR_BSZ_BASE)); in brcmf_chip_socram_ramsize()
630 retent = brcmf_chip_socram_banksize(sr, i, &banksize); in brcmf_chip_socram_ramsize()
631 *ramsize += banksize; in brcmf_chip_socram_ramsize()
633 *srsize += banksize; in brcmf_chip_socram_ramsize()
662 u32 banksize; in brcmf_chip_sysmem_ramsize() local
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c196 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()
402 index &= (mcam->banksize - 1); in npc_get_default_entry_action()
463 index &= (mcam->banksize - 1); in npc_config_mcam_entry()
534 src &= (mcam->banksize - 1); in npc_read_mcam_entry()
570 src &= (mcam->banksize - 1); in npc_copy_mcam_entry()
571 dest &= (mcam->banksize - 1); in npc_copy_mcam_entry()
607 index &= (mcam->banksize - 1); in npc_get_mcam_action()
[all …]
Drvu.h173 u16 banksize; /* Number of MCAM entries in each bank */ member