• Home
  • Raw
  • Download

Lines Matching refs:pci_sz

92 	pci_size_t pci_sz;  in fsl_pci_setup_inbound_windows()  local
106 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
111 if ((pcie_cap == PCI_CAP_ID_EXP) && (pci_sz < sz)) { in fsl_pci_setup_inbound_windows()
122 if (pci_sz != sz) in fsl_pci_setup_inbound_windows()
129 (u64)bus_start, (u64)phys_start, (u64)pci_sz); in fsl_pci_setup_inbound_windows()
130 pci_set_region(r, bus_start, phys_start, pci_sz, in fsl_pci_setup_inbound_windows()
133 set_inbound_window(pi--, r++, pci_sz); in fsl_pci_setup_inbound_windows()
135 sz -= pci_sz; in fsl_pci_setup_inbound_windows()
136 bus_start += pci_sz; in fsl_pci_setup_inbound_windows()
137 phys_start += pci_sz; in fsl_pci_setup_inbound_windows()
139 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
142 (u64)bus_start, (u64)phys_start, (u64)pci_sz); in fsl_pci_setup_inbound_windows()
143 pci_set_region(r, bus_start, phys_start, pci_sz, in fsl_pci_setup_inbound_windows()
146 set_inbound_window(pi--, r++, pci_sz); in fsl_pci_setup_inbound_windows()
147 sz -= pci_sz; in fsl_pci_setup_inbound_windows()
148 bus_start += pci_sz; in fsl_pci_setup_inbound_windows()
149 phys_start += pci_sz; in fsl_pci_setup_inbound_windows()
158 pci_sz = 1ull << __ilog2_u64(gd->ram_size); in fsl_pci_setup_inbound_windows()
160 if (gd->ram_size > pci_sz) in fsl_pci_setup_inbound_windows()
161 pci_sz = 1ull << (__ilog2_u64(gd->ram_size) + 1); in fsl_pci_setup_inbound_windows()
165 (u64)pci_sz); in fsl_pci_setup_inbound_windows()
169 pci_sz, in fsl_pci_setup_inbound_windows()
172 set_inbound_window(pi--, r++, pci_sz); in fsl_pci_setup_inbound_windows()
174 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
177 (u64)bus_start, (u64)phys_start, (u64)pci_sz); in fsl_pci_setup_inbound_windows()
178 pci_set_region(r, bus_start, phys_start, pci_sz, in fsl_pci_setup_inbound_windows()
181 sz -= pci_sz; in fsl_pci_setup_inbound_windows()
182 bus_start += pci_sz; in fsl_pci_setup_inbound_windows()
183 phys_start += pci_sz; in fsl_pci_setup_inbound_windows()
184 set_inbound_window(pi--, r++, pci_sz); in fsl_pci_setup_inbound_windows()