Lines Matching refs:bus_shift
31 unsigned int bus_shift = ops->bus_shift; in pci_ecam_create() local
45 if (!bus_shift) in pci_ecam_create()
46 bus_shift = PCIE_ECAM_BUS_SHIFT; in pci_ecam_create()
53 cfg->bus_shift = bus_shift; in pci_ecam_create()
55 bus_range_max = resource_size(cfgres) >> bus_shift; in pci_ecam_create()
62 bsz = 1 << bus_shift; in pci_ecam_create()
129 unsigned int bsz = 1 << cfg->bus_shift; in pci_ecam_add_bus()
171 unsigned int bus_shift = cfg->ops->bus_shift; in pci_ecam_map_bus() local
172 unsigned int devfn_shift = cfg->ops->bus_shift - 8; in pci_ecam_map_bus()
187 if (cfg->ops->bus_shift) { in pci_ecam_map_bus()
188 bus_offset = (busn & PCIE_ECAM_BUS_MASK) << bus_shift; in pci_ecam_map_bus()