Searched refs:ecam_val (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pcie-xilinx-nwl.c | 659 u32 breg_val, ecam_val, first_busno = 0; in nwl_pcie_bridge_init() local 693 ecam_val = nwl_bridge_readl(pcie, E_ECAM_CAPABILITIES) & E_ECAM_PRESENT; in nwl_pcie_bridge_init() 694 if (!ecam_val) { in nwl_pcie_bridge_init() 696 return ecam_val; in nwl_pcie_bridge_init() 713 ecam_val = nwl_bridge_readl(pcie, E_ECAM_CONTROL); in nwl_pcie_bridge_init() 714 pcie->last_busno = (ecam_val & E_ECAM_SIZE_LOC) >> E_ECAM_SIZE_SHIFT; in nwl_pcie_bridge_init() 716 ecam_val = first_busno; in nwl_pcie_bridge_init() 717 ecam_val |= (first_busno + 1) << 8; in nwl_pcie_bridge_init() 718 ecam_val |= (pcie->last_busno << E_ECAM_SIZE_SHIFT); in nwl_pcie_bridge_init() 719 writel(ecam_val, (pci in nwl_pcie_bridge_init() [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-xilinx-nwl.c | 628 u32 breg_val, ecam_val, first_busno = 0; in nwl_pcie_bridge_init() local 667 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, (pci in nwl_pcie_bridge_init() [all...] |
Completed in 3 milliseconds