/Linux-v5.10/arch/mips/txx9/generic/ |
D | pci.c | 93 .mem_resource = &primary_pci_mem_res[0], 128 new->c.mem_resource = new->r_mem; in txx9_alloc_pci_controller() 140 pcic->mem_resource[0].start = mem_base; in txx9_alloc_pci_controller() 141 pcic->mem_resource[0].end = mem_base + mem_size - 1; in txx9_alloc_pci_controller() 142 if (request_resource(&iomem_resource, &pcic->mem_resource[0])) in txx9_alloc_pci_controller() 160 &pcic->mem_resource[0], in txx9_alloc_pci_controller() 169 pcic->mem_resource[1].flags = IORESOURCE_MEM | IORESOURCE_BUSY; in txx9_alloc_pci_controller() 171 pcic->mem_resource[1].start = io_base; in txx9_alloc_pci_controller() 172 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 173 if (request_resource(&iomem_resource, &pcic->mem_resource[1])) in txx9_alloc_pci_controller() [all …]
|
/Linux-v5.10/drivers/cpufreq/ |
D | pcc-cpufreq.c | 391 struct pcc_memory_resource *mem_resource; in pcc_cpufreq_probe() local 429 mem_resource = (struct pcc_memory_resource *)member->buffer.pointer; in pcc_cpufreq_probe() 436 mem_resource->descriptor, mem_resource->length, in pcc_cpufreq_probe() 437 mem_resource->space_id, mem_resource->resource_usage, in pcc_cpufreq_probe() 438 mem_resource->type_specific, mem_resource->granularity, in pcc_cpufreq_probe() 439 mem_resource->minimum, mem_resource->maximum, in pcc_cpufreq_probe() 440 mem_resource->translation_offset, in pcc_cpufreq_probe() 441 mem_resource->address_length); in pcc_cpufreq_probe() 443 if (mem_resource->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) { in pcc_cpufreq_probe() 448 pcch_virt_addr = ioremap(mem_resource->minimum, in pcc_cpufreq_probe() [all …]
|
/Linux-v5.10/drivers/ssb/ |
D | driver_gige.c | 184 dev->pci_controller.mem_resource = &dev->mem_resource; in ssb_gige_probe() 202 dev->mem_resource.name = SSB_GIGE_MEM_RES_NAME; in ssb_gige_probe() 203 dev->mem_resource.start = base; in ssb_gige_probe() 204 dev->mem_resource.end = base + 0x10000 - 1; in ssb_gige_probe() 205 dev->mem_resource.flags = IORESOURCE_MEM | IORESOURCE_PCI_FIXED; in ssb_gige_probe() 264 res->name = dev->mem_resource.name; in ssb_gige_pcibios_plat_dev_init() 265 res->start = dev->mem_resource.start; in ssb_gige_pcibios_plat_dev_init() 266 res->end = dev->mem_resource.end; in ssb_gige_pcibios_plat_dev_init()
|
/Linux-v5.10/drivers/bcma/ |
D | driver_pci_host.c | 412 pc_host->pci_controller.mem_resource = &pc_host->mem_resource; in bcma_core_pci_hostmode_init() 422 pc_host->mem_resource.name = "BCMA PCIcore external memory"; in bcma_core_pci_hostmode_init() 423 pc_host->mem_resource.start = BCMA_SOC_PCI_DMA; in bcma_core_pci_hostmode_init() 424 pc_host->mem_resource.end = BCMA_SOC_PCI_DMA + BCMA_SOC_PCI_DMA_SZ - 1; in bcma_core_pci_hostmode_init() 425 pc_host->mem_resource.flags = IORESOURCE_MEM | IORESOURCE_PCI_FIXED; in bcma_core_pci_hostmode_init() 447 pc_host->mem_resource.start = BCMA_SOC_PCI_MEM; in bcma_core_pci_hostmode_init() 448 pc_host->mem_resource.end = BCMA_SOC_PCI_MEM + in bcma_core_pci_hostmode_init() 457 pc_host->mem_resource.start = BCMA_SOC_PCI_MEM; in bcma_core_pci_hostmode_init() 458 pc_host->mem_resource.end = BCMA_SOC_PCI_MEM + in bcma_core_pci_hostmode_init() 466 pc_host->mem_resource.start = BCMA_SOC_PCI1_MEM; in bcma_core_pci_hostmode_init() [all …]
|
/Linux-v5.10/arch/mips/pci/ |
D | pci-legacy.c | 65 if (start < PCIBIOS_MIN_MEM + hose->mem_resource->start) in pcibios_align_resource() 66 start = PCIBIOS_MIN_MEM + hose->mem_resource->start; in pcibios_align_resource() 89 hose->mem_resource, hose->mem_offset); in pcibios_scanbus() 166 res = hose->mem_resource; in pci_load_of_ranges() 188 parent = hose->mem_resource->parent; in register_pci_controller() 192 if (request_resource(parent, hose->mem_resource) < 0) in register_pci_controller() 200 release_resource(hose->mem_resource); in register_pci_controller()
|
D | ops-tx3927.c | 140 channel->mem_resource->start; in tx3927_pcic_setup() 142 channel->mem_resource->end - channel->mem_resource->start; in tx3927_pcic_setup() 144 channel->mem_resource->start - channel->mem_offset; in tx3927_pcic_setup()
|
D | pci-vr41xx.c | 88 .mem_resource = &pci_mem_resource, 279 if (setup->mem_resource != NULL) in vr41xx_pciu_init() 280 vr41xx_pci_controller.mem_resource = setup->mem_resource; in vr41xx_pciu_init()
|
D | ops-tx4927.c | 265 if (channel->mem_resource->end) { in tx4927_pcic_setup() 266 __raw_writel((channel->mem_resource->end in tx4927_pcic_setup() 267 - channel->mem_resource->start) >> 4, in tx4927_pcic_setup() 269 ____raw_writeq(channel->mem_resource->start | in tx4927_pcic_setup() 276 ____raw_writeq(channel->mem_resource->start - in tx4927_pcic_setup() 306 if (channel->mem_resource->end) in tx4927_pcic_setup()
|
D | pci-bcm63xx.c | 48 .mem_resource = &bcm_pci_mem_resource, 74 .mem_resource = &bcm_cb_mem_resource, 95 .mem_resource = &bcm_pcie_mem_resource,
|
D | pci-malta.c | 62 .mem_resource = &bonito64_mem_resource, 69 .mem_resource = >64120_mem_resource, 75 .mem_resource = &msc_mem_resource,
|
D | pcie-octeon.c | 1800 .mem_resource = &octeon_pcie0_mem_resource, 1821 .mem_resource = &octeon_pcie1_mem_resource, 1842 .mem_resource = &octeon_dummy_mem_resource, 1900 octeon_dummy_controller.mem_resource->start = (1ull<<48); in octeon_pcie_setup() 1901 octeon_dummy_controller.mem_resource->end = (1ull<<48); in octeon_pcie_setup() 1945 octeon_pcie0_controller.mem_resource->start = in octeon_pcie_setup() 1948 octeon_pcie0_controller.mem_resource->end = in octeon_pcie_setup() 2027 octeon_pcie1_controller.mem_resource->start = in octeon_pcie_setup() 2030 octeon_pcie1_controller.mem_resource->end = in octeon_pcie_setup()
|
D | pci-ip32.c | 117 .mem_resource = &mace_pci_mem_resource,
|
D | pci-bcm1480ht.c | 177 .mem_resource = &bcm1480ht_mem_resource,
|
D | pci-bcm1480.c | 183 .mem_resource = &bcm1480_mem_resource,
|
D | pci-sb1250.c | 192 .mem_resource = &sb1250_mem_resource,
|
D | pci-rc32434.c | 95 .mem_resource = &rc32434_res_pci_mem1,
|
D | pci-lantiq.c | 76 .mem_resource = &pci_mem_resource,
|
/Linux-v5.10/arch/mips/cobalt/ |
D | pci.c | 35 .mem_resource = &cobalt_mem_resource,
|
/Linux-v5.10/arch/mips/loongson2ef/common/ |
D | pci.c | 28 .mem_resource = &loongson_pci_mem_resource,
|
/Linux-v5.10/arch/mips/include/asm/vr41xx/ |
D | pci.h | 71 struct resource *mem_resource; member
|
/Linux-v5.10/arch/mips/include/asm/ |
D | pci.h | 36 struct resource *mem_resource; member
|
/Linux-v5.10/drivers/staging/mt7621-pci/ |
D | pci-mt7621.c | 266 struct resource *mem_resource = &pcie->mem; in setup_cm_memory_region() local 276 mask = ~(mem_resource->end - mem_resource->start); in setup_cm_memory_region() 278 write_gcr_reg1_base(mem_resource->start); in setup_cm_memory_region()
|
/Linux-v5.10/include/linux/ssb/ |
D | ssb_driver_gige.h | 50 struct resource mem_resource; member
|
/Linux-v5.10/include/linux/bcma/ |
D | bcma_driver_pci.h | 220 struct resource mem_resource; member
|
/Linux-v5.10/arch/mips/sni/ |
D | pcimt.c | 191 .mem_resource = &sni_mem_resource,
|