Lines Matching refs:flags

42 	if (!res->flags)  in pci_std_update_resource()
45 if (res->flags & IORESOURCE_UNSET) in pci_std_update_resource()
53 if (res->flags & IORESOURCE_PCI_FIXED) in pci_std_update_resource()
59 if (res->flags & IORESOURCE_IO) { in pci_std_update_resource()
61 new |= res->flags & ~PCI_BASE_ADDRESS_IO_MASK; in pci_std_update_resource()
66 new |= res->flags & ~PCI_BASE_ADDRESS_MEM_MASK; in pci_std_update_resource()
78 if (!(res->flags & IORESOURCE_ROM_ENABLE)) in pci_std_update_resource()
91 disable = (res->flags & IORESOURCE_MEM_64) && !dev->mmio_always_on; in pci_std_update_resource()
106 if (res->flags & IORESOURCE_MEM_64) { in pci_std_update_resource()
135 if (res->flags & IORESOURCE_UNSET) { in pci_claim_resource()
146 if (res->flags & IORESOURCE_ROM_SHADOW) in pci_claim_resource()
153 res->flags |= IORESOURCE_UNSET; in pci_claim_resource()
161 res->flags |= IORESOURCE_UNSET; in pci_claim_resource()
208 res->flags &= ~IORESOURCE_UNSET; in pci_revert_fw_address()
223 if (res->flags & IORESOURCE_IO) in pci_revert_fw_address()
237 res->flags |= IORESOURCE_UNSET; in pci_revert_fw_address()
263 min = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : PCIBIOS_MIN_MEM; in __pci_assign_resource()
282 if ((res->flags & (IORESOURCE_PREFETCH | IORESOURCE_MEM_64)) == in __pci_assign_resource()
297 if (res->flags & (IORESOURCE_PREFETCH | IORESOURCE_MEM_64)) in __pci_assign_resource()
326 if (res->flags & IORESOURCE_PCI_FIXED) in pci_assign_resource()
329 res->flags |= IORESOURCE_UNSET; in pci_assign_resource()
355 res->flags &= ~IORESOURCE_UNSET; in pci_assign_resource()
356 res->flags &= ~IORESOURCE_STARTALIGN; in pci_assign_resource()
369 unsigned long flags; in pci_reassign_resource() local
373 if (res->flags & IORESOURCE_PCI_FIXED) in pci_reassign_resource()
376 flags = res->flags; in pci_reassign_resource()
377 res->flags |= IORESOURCE_UNSET; in pci_reassign_resource()
388 res->flags = flags; in pci_reassign_resource()
394 res->flags &= ~IORESOURCE_UNSET; in pci_reassign_resource()
395 res->flags &= ~IORESOURCE_STARTALIGN; in pci_reassign_resource()
416 res->flags |= IORESOURCE_UNSET; in pci_release_resource()
428 if (!(res->flags & IORESOURCE_UNSET)) in pci_resize_resource()
454 ret = pci_reassign_bridge_resources(dev->bus->self, res->flags); in pci_resize_resource()
482 if (!(r->flags & (IORESOURCE_IO | IORESOURCE_MEM))) in pci_enable_resources()
485 (!(r->flags & IORESOURCE_ROM_ENABLE))) in pci_enable_resources()
488 if (r->flags & IORESOURCE_UNSET) { in pci_enable_resources()
500 if (r->flags & IORESOURCE_IO) in pci_enable_resources()
502 if (r->flags & IORESOURCE_MEM) in pci_enable_resources()