/linux-6.6.21/arch/mips/txx9/generic/ |
D | pci.c | 94 .mem_resource = &primary_pci_mem_res[0], 129 new->c.mem_resource = new->r_mem; in txx9_alloc_pci_controller() 141 pcic->mem_resource[0].start = mem_base; in txx9_alloc_pci_controller() 142 pcic->mem_resource[0].end = mem_base + mem_size - 1; in txx9_alloc_pci_controller() 143 if (request_resource(&iomem_resource, &pcic->mem_resource[0])) in txx9_alloc_pci_controller() 161 &pcic->mem_resource[0], in txx9_alloc_pci_controller() 170 pcic->mem_resource[1].flags = IORESOURCE_MEM | IORESOURCE_BUSY; in txx9_alloc_pci_controller() 172 pcic->mem_resource[1].start = io_base; in txx9_alloc_pci_controller() 173 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 174 if (request_resource(&iomem_resource, &pcic->mem_resource[1])) in txx9_alloc_pci_controller() [all …]
|
/linux-6.6.21/drivers/cpufreq/ |
D | pcc-cpufreq.c | 392 struct pcc_memory_resource *mem_resource; in pcc_cpufreq_evaluate() local 430 mem_resource = (struct pcc_memory_resource *)member->buffer.pointer; in pcc_cpufreq_evaluate() 437 mem_resource->descriptor, mem_resource->length, in pcc_cpufreq_evaluate() 438 mem_resource->space_id, mem_resource->resource_usage, in pcc_cpufreq_evaluate() 439 mem_resource->type_specific, mem_resource->granularity, in pcc_cpufreq_evaluate() 440 mem_resource->minimum, mem_resource->maximum, in pcc_cpufreq_evaluate() 441 mem_resource->translation_offset, in pcc_cpufreq_evaluate() 442 mem_resource->address_length); in pcc_cpufreq_evaluate() 444 if (mem_resource->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) { in pcc_cpufreq_evaluate() 449 pcch_virt_addr = ioremap(mem_resource->minimum, in pcc_cpufreq_evaluate() [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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() 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()
|
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-malta.c | 62 .mem_resource = &bonito64_mem_resource, 69 .mem_resource = >64120_mem_resource, 75 .mem_resource = &msc_mem_resource,
|
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 | 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-lantiq.c | 76 .mem_resource = &pci_mem_resource,
|
D | pci-rc32434.c | 95 .mem_resource = &rc32434_res_pci_mem1,
|
D | pci-rt2880.c | 140 .mem_resource = &rt2880_pci_mem_resource,
|
D | pci-mt7620.c | 214 .mem_resource = &mt7620_res_pci_mem1,
|
/linux-6.6.21/drivers/watchdog/ |
D | simatic-ipc-wdt.c | 59 static struct resource mem_resource = variable 192 res = &mem_resource; in simatic_ipc_wdt_probe()
|
/linux-6.6.21/arch/mips/cobalt/ |
D | pci.c | 35 .mem_resource = &cobalt_mem_resource,
|
/linux-6.6.21/arch/mips/loongson2ef/common/ |
D | pci.c | 28 .mem_resource = &loongson_pci_mem_resource,
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pci.h | 36 struct resource *mem_resource; member
|
/linux-6.6.21/include/linux/ssb/ |
D | ssb_driver_gige.h | 50 struct resource mem_resource; member
|
/linux-6.6.21/include/linux/bcma/ |
D | bcma_driver_pci.h | 220 struct resource mem_resource; member
|
/linux-6.6.21/arch/mips/sni/ |
D | pcimt.c | 191 .mem_resource = &sni_mem_resource,
|
D | pcit.c | 153 .mem_resource = &sni_mem_resource,
|