b_res 738 drivers/pci/setup-bus.c struct resource *b_res = &bridge->resource[PCI_BRIDGE_RESOURCES]; b_res 740 drivers/pci/setup-bus.c b_res[1].flags |= IORESOURCE_MEM; b_res 743 drivers/pci/setup-bus.c b_res[0].flags |= IORESOURCE_IO; b_res 746 drivers/pci/setup-bus.c b_res[2].flags |= IORESOURCE_MEM | IORESOURCE_PREFETCH; b_res 748 drivers/pci/setup-bus.c b_res[2].flags |= IORESOURCE_MEM_64; b_res 749 drivers/pci/setup-bus.c b_res[2].flags |= PCI_PREF_RANGE_TYPE_64; b_res 869 drivers/pci/setup-bus.c struct resource *b_res = find_free_bus_resource(bus, IORESOURCE_IO, b_res 875 drivers/pci/setup-bus.c if (!b_res) b_res 906 drivers/pci/setup-bus.c resource_size(b_res), min_align); b_res 909 drivers/pci/setup-bus.c resource_size(b_res), min_align); b_res 911 drivers/pci/setup-bus.c if (b_res->start || b_res->end) b_res 913 drivers/pci/setup-bus.c b_res, &bus->busn_res); b_res 914 drivers/pci/setup-bus.c b_res->flags = 0; b_res 918 drivers/pci/setup-bus.c b_res->start = min_align; b_res 919 drivers/pci/setup-bus.c b_res->end = b_res->start + size0 - 1; b_res 920 drivers/pci/setup-bus.c b_res->flags |= IORESOURCE_STARTALIGN; b_res 922 drivers/pci/setup-bus.c add_to_list(realloc_head, bus->self, b_res, size1-size0, b_res 925 drivers/pci/setup-bus.c b_res, &bus->busn_res, b_res 981 drivers/pci/setup-bus.c struct resource *b_res = find_free_bus_resource(bus, b_res 987 drivers/pci/setup-bus.c if (!b_res) b_res 1053 drivers/pci/setup-bus.c min_align = max(min_align, window_alignment(bus, b_res->flags)); b_res 1054 drivers/pci/setup-bus.c size0 = calculate_memsize(size, min_size, 0, 0, resource_size(b_res), min_align); b_res 1058 drivers/pci/setup-bus.c resource_size(b_res), add_align); b_res 1060 drivers/pci/setup-bus.c if (b_res->start || b_res->end) b_res 1062 drivers/pci/setup-bus.c b_res, &bus->busn_res); b_res 1063 drivers/pci/setup-bus.c b_res->flags = 0; b_res 1066 drivers/pci/setup-bus.c b_res->start = min_align; b_res 1067 drivers/pci/setup-bus.c b_res->end = size0 + min_align - 1; b_res 1068 drivers/pci/setup-bus.c b_res->flags |= IORESOURCE_STARTALIGN; b_res 1070 drivers/pci/setup-bus.c add_to_list(realloc_head, bus->self, b_res, size1-size0, add_align); b_res 1072 drivers/pci/setup-bus.c b_res, &bus->busn_res, b_res 1092 drivers/pci/setup-bus.c struct resource *b_res = &bridge->resource[PCI_BRIDGE_RESOURCES]; b_res 1096 drivers/pci/setup-bus.c if (b_res[0].parent) b_res 1102 drivers/pci/setup-bus.c b_res[0].start = pci_cardbus_io_size; b_res 1103 drivers/pci/setup-bus.c b_res[0].end = b_res[0].start + pci_cardbus_io_size - 1; b_res 1104 drivers/pci/setup-bus.c b_res[0].flags |= IORESOURCE_IO | IORESOURCE_STARTALIGN; b_res 1106 drivers/pci/setup-bus.c b_res[0].end -= pci_cardbus_io_size; b_res 1107 drivers/pci/setup-bus.c add_to_list(realloc_head, bridge, b_res, pci_cardbus_io_size, b_res 1112 drivers/pci/setup-bus.c if (b_res[1].parent) b_res 1114 drivers/pci/setup-bus.c b_res[1].start = pci_cardbus_io_size; b_res 1115 drivers/pci/setup-bus.c b_res[1].end = b_res[1].start + pci_cardbus_io_size - 1; b_res 1116 drivers/pci/setup-bus.c b_res[1].flags |= IORESOURCE_IO | IORESOURCE_STARTALIGN; b_res 1118 drivers/pci/setup-bus.c b_res[1].end -= pci_cardbus_io_size; b_res 1119 drivers/pci/setup-bus.c add_to_list(realloc_head, bridge, b_res+1, pci_cardbus_io_size, b_res 1140 drivers/pci/setup-bus.c if (b_res[2].parent) b_res 1147 drivers/pci/setup-bus.c b_res[2].start = pci_cardbus_mem_size; b_res 1148 drivers/pci/setup-bus.c b_res[2].end = b_res[2].start + pci_cardbus_mem_size - 1; b_res 1149 drivers/pci/setup-bus.c b_res[2].flags |= IORESOURCE_MEM | IORESOURCE_PREFETCH | b_res 1152 drivers/pci/setup-bus.c b_res[2].end -= pci_cardbus_mem_size; b_res 1153 drivers/pci/setup-bus.c add_to_list(realloc_head, bridge, b_res+2, b_res 1162 drivers/pci/setup-bus.c if (b_res[3].parent) b_res 1164 drivers/pci/setup-bus.c b_res[3].start = pci_cardbus_mem_size; b_res 1165 drivers/pci/setup-bus.c b_res[3].end = b_res[3].start + b_res_3_size - 1; b_res 1166 drivers/pci/setup-bus.c b_res[3].flags |= IORESOURCE_MEM | IORESOURCE_STARTALIGN; b_res 1168 drivers/pci/setup-bus.c b_res[3].end -= b_res_3_size; b_res 1169 drivers/pci/setup-bus.c add_to_list(realloc_head, bridge, b_res+3, b_res_3_size, b_res 1182 drivers/pci/setup-bus.c struct resource *b_res; b_res 1227 drivers/pci/setup-bus.c b_res = &bus->self->resource[PCI_BRIDGE_RESOURCES]; b_res 1230 drivers/pci/setup-bus.c if (b_res[2].flags & IORESOURCE_MEM_64) { b_res 1491 drivers/pci/setup-bus.c struct resource *b_res; b_res 1494 drivers/pci/setup-bus.c b_res = &dev->resource[PCI_BRIDGE_RESOURCES]; b_res 1511 drivers/pci/setup-bus.c (b_res[2].flags & IORESOURCE_MEM_64)) b_res 1513 drivers/pci/setup-bus.c else if (!(b_res[2].flags & IORESOURCE_MEM_64) && b_res 1514 drivers/pci/setup-bus.c (b_res[2].flags & IORESOURCE_PREFETCH)) b_res 1519 drivers/pci/setup-bus.c r = &b_res[idx];