Lines Matching refs:end
31 .end = 0x000fffffUL,
81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local
104 end = GT_READ(GT_PCI0M0HD_OFS); in mips_pcibios_init()
106 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init()
112 if (end1 - start1 > end - start) { in mips_pcibios_init()
114 end = end1; in mips_pcibios_init()
117 mask = ~(start ^ end); in mips_pcibios_init()
122 gt64120_mem_resource.end = end; in mips_pcibios_init()
126 gt64120_mem_resource.end <<= GT_PCI_DCRM_SHF; in mips_pcibios_init()
127 gt64120_mem_resource.end |= (1 << GT_PCI_DCRM_SHF) - 1; in mips_pcibios_init()
131 end = GT_READ(GT_PCI0IOHD_OFS); in mips_pcibios_init()
133 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init()
134 mask = ~(start ^ end); in mips_pcibios_init()
139 gt64120_io_resource.end = (map & mask) | ~mask; in mips_pcibios_init()
143 gt64120_io_resource.end <<= GT_PCI_DCRM_SHF; in mips_pcibios_init()
144 gt64120_io_resource.end |= (1 << GT_PCI_DCRM_SHF) - 1; in mips_pcibios_init()
161 end = 1; in mips_pcibios_init()
165 end++; in mips_pcibios_init()
170 end++; in mips_pcibios_init()
173 bonito64_mem_resource.end = start + in mips_pcibios_init()
174 BONITO_PCIMAP_WINBASE(end) - 1; in mips_pcibios_init()
190 msc_mem_resource.end = (start & mask) | ~mask; in mips_pcibios_init()
201 msc_io_resource.end = (map & mask) | ~mask; in mips_pcibios_init()
203 ioport_resource.end = ~mask; in mips_pcibios_init()
211 end = start | ~mask; in mips_pcibios_init()
213 start <= msc_mem_resource.end) || in mips_pcibios_init()
214 (end >= msc_mem_resource.start && in mips_pcibios_init()
215 end <= msc_mem_resource.end)) { in mips_pcibios_init()
218 end = min(end, msc_mem_resource.end); in mips_pcibios_init()
220 msc_mem_resource.end - end) in mips_pcibios_init()
221 msc_mem_resource.end = start - 1; in mips_pcibios_init()
223 msc_mem_resource.start = end + 1; in mips_pcibios_init()
236 iomem_resource.end &= 0xfffffffffULL; /* 64 GB */ in mips_pcibios_init()
237 ioport_resource.end = controller->io_resource->end; in mips_pcibios_init()