Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pci/controller/
Dpcie-brcmstb.c778 u64 *rc_bar2_size, in brcm_pcie_get_rc_bar2_size_and_offset() argument
819 *rc_bar2_size = 1ULL << fls64(size - 1); in brcm_pcie_get_rc_bar2_size_and_offset()
854 if (!*rc_bar2_size || (*rc_bar2_offset & (*rc_bar2_size - 1)) || in brcm_pcie_get_rc_bar2_size_and_offset()
857 *rc_bar2_size, *rc_bar2_offset); in brcm_pcie_get_rc_bar2_size_and_offset()
866 u64 rc_bar2_offset, rc_bar2_size; in brcm_pcie_setup() local
921 ret = brcm_pcie_get_rc_bar2_size_and_offset(pcie, &rc_bar2_size, in brcm_pcie_setup()
927 u32p_replace_bits(&tmp, brcm_pcie_encode_ibar_size(rc_bar2_size), in brcm_pcie_setup()
953 if (rc_bar2_offset >= SZ_4G || (rc_bar2_size + rc_bar2_offset) < SZ_4G) in brcm_pcie_setup()