Home
last modified time | relevance | path

Searched refs:mem_resource (Results 1 – 42 of 42) sorted by relevance

/linux-4.1.27/arch/mips/txx9/generic/
Dpci.c98 .mem_resource = &primary_pci_mem_res[0],
133 new->c.mem_resource = new->r_mem; in txx9_alloc_pci_controller()
145 pcic->mem_resource[0].start = mem_base; in txx9_alloc_pci_controller()
146 pcic->mem_resource[0].end = mem_base + mem_size - 1; in txx9_alloc_pci_controller()
147 if (request_resource(&iomem_resource, &pcic->mem_resource[0])) in txx9_alloc_pci_controller()
165 &pcic->mem_resource[0], in txx9_alloc_pci_controller()
174 pcic->mem_resource[1].flags = IORESOURCE_MEM | IORESOURCE_BUSY; in txx9_alloc_pci_controller()
176 pcic->mem_resource[1].start = io_base; in txx9_alloc_pci_controller()
177 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller()
178 if (request_resource(&iomem_resource, &pcic->mem_resource[1])) in txx9_alloc_pci_controller()
[all …]
/linux-4.1.27/drivers/cpufreq/
Dpcc-cpufreq.c391 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_nocache(mem_resource->minimum, in pcc_cpufreq_probe()
[all …]
/linux-4.1.27/drivers/ssb/
Ddriver_gige.c184 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()
Ddriver_pcicore.c254 .mem_resource = &ssb_pcicore_mem_resource,
/linux-4.1.27/drivers/bcma/
Ddriver_pci_host.c412 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-4.1.27/arch/mips/pci/
Dpci.c72 if (start < PCIBIOS_MIN_MEM + hose->mem_resource->start) in pcibios_align_resource()
73 start = PCIBIOS_MIN_MEM + hose->mem_resource->start; in pcibios_align_resource()
93 hose->mem_resource, hose->mem_offset); in pcibios_scanbus()
154 res = hose->mem_resource; in pci_load_of_ranges()
176 parent = hose->mem_resource->parent; in register_pci_controller()
180 if (request_resource(parent, hose->mem_resource) < 0) in register_pci_controller()
188 release_resource(hose->mem_resource); in register_pci_controller()
Dops-tx3927.c140 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()
Dpci-vr41xx.c101 .mem_resource = &pci_mem_resource,
292 if (setup->mem_resource != NULL) in vr41xx_pciu_init()
293 vr41xx_pci_controller.mem_resource = setup->mem_resource; in vr41xx_pciu_init()
Dops-tx4927.c269 if (channel->mem_resource->end) { in tx4927_pcic_setup()
270 __raw_writel((channel->mem_resource->end in tx4927_pcic_setup()
271 - channel->mem_resource->start) >> 4, in tx4927_pcic_setup()
273 ____raw_writeq(channel->mem_resource->start | in tx4927_pcic_setup()
280 ____raw_writeq(channel->mem_resource->start - in tx4927_pcic_setup()
310 if (channel->mem_resource->end) in tx4927_pcic_setup()
Dpci-malta.c74 .mem_resource = &bonito64_mem_resource,
81 .mem_resource = &gt64120_mem_resource,
87 .mem_resource = &msc_mem_resource,
Dpci-bcm63xx.c48 .mem_resource = &bcm_pci_mem_resource,
74 .mem_resource = &bcm_cb_mem_resource,
95 .mem_resource = &bcm_pcie_mem_resource,
Dpci-lasat.c34 .mem_resource = &lasat_pci_mem_resource,
Dpci-emma2rh.c50 .mem_resource = &pci_mem_resource,
Dpcie-octeon.c1803 .mem_resource = &octeon_pcie0_mem_resource,
1824 .mem_resource = &octeon_pcie1_mem_resource,
1845 .mem_resource = &octeon_dummy_mem_resource,
1903 octeon_dummy_controller.mem_resource->start = (1ull<<48); in octeon_pcie_setup()
1904 octeon_dummy_controller.mem_resource->end = (1ull<<48); in octeon_pcie_setup()
1948 octeon_pcie0_controller.mem_resource->start = in octeon_pcie_setup()
1951 octeon_pcie0_controller.mem_resource->end = in octeon_pcie_setup()
2030 octeon_pcie1_controller.mem_resource->start = in octeon_pcie_setup()
2033 octeon_pcie1_controller.mem_resource->end = in octeon_pcie_setup()
Dpci-virtio-guest.c116 .mem_resource = &pci_virtio_guest_mem_resource,
Dpci-ip32.c117 .mem_resource = &mace_pci_mem_resource,
Dpci-bcm1480ht.c190 .mem_resource = &bcm1480ht_mem_resource,
Dpci-sb1250.c205 .mem_resource = &sb1250_mem_resource,
Dpci-bcm1480.c196 .mem_resource = &bcm1480_mem_resource,
Dpci-ip27.c63 bc->pc.mem_resource = &bc->mem; in bridge_probe()
Dpci-rc32434.c95 .mem_resource = &rc32434_res_pci_mem1,
Dpci-lantiq.c81 .mem_resource = &pci_mem_resource,
Dpci-rt2880.c151 .mem_resource = &rt2880_pci_mem_resource,
Dpci-xlr.c155 .mem_resource = &nlm_pci_mem_resource,
Dpci-xlp.c173 .mem_resource = &nlm_pci_mem_resource,
Dops-pmcmsp.c920 .mem_resource = &pci_mem_resource,
Dpci-ar724x.c384 apc->pci_controller.mem_resource = &apc->mem_res; in ar724x_pci_probe()
Dpci-ar71xx.c394 apc->pci_ctrl.mem_resource = &apc->mem_res; in ar71xx_pci_probe()
Dpci-ar2315.c477 apc->pci_ctrl.mem_resource = &apc->mem_res, in ar2315_pci_probe()
Dpci-octeon.c350 .mem_resource = &octeon_pci_mem_resource,
Dpci-rt3883.c506 rpc->pci_controller.mem_resource = &rpc->mem_res; in rt3883_pci_probe()
Dpci-alchemy.c450 ctx->alchemy_pci_ctrl.mem_resource = &alchemy_pci_def_memres; in alchemy_pci_probe()
/linux-4.1.27/arch/mips/cobalt/
Dpci.c35 .mem_resource = &cobalt_mem_resource,
/linux-4.1.27/arch/mips/include/asm/vr41xx/
Dpci.h84 struct resource *mem_resource; member
/linux-4.1.27/arch/mips/loongson/common/
Dpci.c33 .mem_resource = &loongson_pci_mem_resource,
/linux-4.1.27/arch/mips/include/asm/
Dpci.h33 struct resource *mem_resource; member
/linux-4.1.27/include/linux/ssb/
Dssb_driver_gige.h49 struct resource mem_resource; member
/linux-4.1.27/include/linux/bcma/
Dbcma_driver_pci.h219 struct resource mem_resource; member
/linux-4.1.27/arch/mips/sni/
Dpcimt.c191 .mem_resource = &sni_mem_resource,
Dpcit.c153 .mem_resource = &sni_mem_resource,
/linux-4.1.27/drivers/staging/i2o/
Di2o.h562 struct resource mem_resource; /* Mem resource allocated to the IOP */ member
Diop.c658 struct resource *res = &c->mem_resource; in i2o_res_alloc()