Lines Matching defs:pref
315 * One pref failed resource will set IORESOURCE_MEM, as we can
316 * allocate pref in non-pref range. Will release all assigned
317 * non-pref sibling resources according to that bit.
327 /* Check pref at first */
331 /* Count pref if its parent is non-pref */
363 * 2. If pref MMIO assignment fails, release assigned pref
364 * MMIO. If assigned pref MMIO's parent is non-pref MMIO
365 * and non-pref MMIO assignment fails, will release that
366 * assigned pref MMIO.
367 * 3. If non-pref MMIO assignment fails or pref MMIO
368 * assignment fails, will release assigned non-pref MMIO.
1153 /* MEM1 must not be pref MMIO */
1214 struct resource *pref;
1240 pci_bus_for_each_resource(bus, pref)
1241 if (pref && (pref->flags & IORESOURCE_PREFETCH))
1245 pref = &bus->self->resource[PCI_BRIDGE_PREF_MEM_WINDOW];
1273 if (pref && (pref->flags & IORESOURCE_MEM_64)) {
1539 * 2. If non pref MMIO assignment fails, release bridge nonpref MMIO.
1540 * 3. If 64bit pref MMIO assignment fails, and bridge pref is 64bit,
1541 * release bridge pref MMIO.
1542 * 4. If pref MMIO assignment fails, and bridge pref is 32bit,
1543 * release bridge pref MMIO.
1544 * 5. If pref MMIO assignment fails, and bridge pref is not