Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/mips/txx9/generic/
Dpci.c93 .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-6.1.9/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(mem_resource->minimum, in pcc_cpufreq_probe()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/arch/mips/pci/
Dpci-legacy.c65 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()
158 res = hose->mem_resource; in pci_load_of_ranges()
185 parent = hose->mem_resource->parent; in register_pci_controller()
189 if (request_resource(parent, hose->mem_resource) < 0) in register_pci_controller()
197 release_resource(hose->mem_resource); in register_pci_controller()
Dops-tx4927.c265 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()
Dpci-bcm63xx.c48 .mem_resource = &bcm_pci_mem_resource,
74 .mem_resource = &bcm_cb_mem_resource,
95 .mem_resource = &bcm_pcie_mem_resource,
Dpci-malta.c62 .mem_resource = &bonito64_mem_resource,
69 .mem_resource = &gt64120_mem_resource,
75 .mem_resource = &msc_mem_resource,
Dpcie-octeon.c1800 .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()
Dpci-ip32.c117 .mem_resource = &mace_pci_mem_resource,
Dpci-bcm1480ht.c177 .mem_resource = &bcm1480ht_mem_resource,
Dpci-sb1250.c192 .mem_resource = &sb1250_mem_resource,
Dpci-bcm1480.c183 .mem_resource = &bcm1480_mem_resource,
Dpci-rc32434.c95 .mem_resource = &rc32434_res_pci_mem1,
Dpci-lantiq.c76 .mem_resource = &pci_mem_resource,
Dpci-rt2880.c141 .mem_resource = &rt2880_pci_mem_resource,
Dpci-mt7620.c214 .mem_resource = &mt7620_res_pci_mem1,
/linux-6.1.9/drivers/watchdog/
Dsimatic-ipc-wdt.c59 static struct resource mem_resource = variable
193 res = &mem_resource; in simatic_ipc_wdt_probe()
/linux-6.1.9/arch/mips/cobalt/
Dpci.c35 .mem_resource = &cobalt_mem_resource,
/linux-6.1.9/arch/mips/loongson2ef/common/
Dpci.c28 .mem_resource = &loongson_pci_mem_resource,
/linux-6.1.9/arch/mips/include/asm/
Dpci.h36 struct resource *mem_resource; member
/linux-6.1.9/include/linux/ssb/
Dssb_driver_gige.h50 struct resource mem_resource; member
/linux-6.1.9/include/linux/bcma/
Dbcma_driver_pci.h220 struct resource mem_resource; member
/linux-6.1.9/arch/mips/sni/
Dpcit.c153 .mem_resource = &sni_mem_resource,
Dpcimt.c191 .mem_resource = &sni_mem_resource,

12