Searched refs:ecam_val (Results 1 – 1 of 1) sorted by relevance
628 u32 breg_val, ecam_val, first_busno = 0; in nwl_pcie_bridge_init() local667 ecam_val = nwl_bridge_readl(pcie, E_ECAM_CAPABILITIES) & E_ECAM_PRESENT; in nwl_pcie_bridge_init()668 if (!ecam_val) { in nwl_pcie_bridge_init()670 return ecam_val; in nwl_pcie_bridge_init()687 ecam_val = nwl_bridge_readl(pcie, E_ECAM_CONTROL); in nwl_pcie_bridge_init()688 pcie->last_busno = (ecam_val & E_ECAM_SIZE_LOC) >> E_ECAM_SIZE_SHIFT; in nwl_pcie_bridge_init()690 ecam_val = first_busno; in nwl_pcie_bridge_init()691 ecam_val |= (first_busno + 1) << 8; in nwl_pcie_bridge_init()692 ecam_val |= (pcie->last_busno << E_ECAM_SIZE_SHIFT); in nwl_pcie_bridge_init()693 writel(ecam_val, (pcie->ecam_base + PCI_PRIMARY_BUS)); in nwl_pcie_bridge_init()