Lines Matching refs:banksize
579 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
671 brcmf_chip_socram_banksize(sysmem, idx, &banksize); in brcmf_chip_sysmem_ramsize()
672 memsize += banksize; in brcmf_chip_sysmem_ramsize()