Home
last modified time | relevance | path

Searched refs:mem_res (Results 1 – 11 of 11) sorted by relevance

/arch/mips/pci/
Dpci-ar724x.c52 struct resource mem_res; member
376 apc->mem_res.parent = res; in ar724x_pci_probe()
377 apc->mem_res.name = "PCI memory space"; in ar724x_pci_probe()
378 apc->mem_res.start = res->start; in ar724x_pci_probe()
379 apc->mem_res.end = res->end; in ar724x_pci_probe()
380 apc->mem_res.flags = IORESOURCE_MEM; in ar724x_pci_probe()
384 apc->pci_controller.mem_resource = &apc->mem_res; in ar724x_pci_probe()
Dpci-ar71xx.c57 struct resource mem_res; member
365 apc->mem_res.parent = res; in ar71xx_pci_probe()
366 apc->mem_res.name = "PCI memory space"; in ar71xx_pci_probe()
367 apc->mem_res.start = res->start; in ar71xx_pci_probe()
368 apc->mem_res.end = res->end; in ar71xx_pci_probe()
369 apc->mem_res.flags = IORESOURCE_MEM; in ar71xx_pci_probe()
384 apc->pci_ctrl.mem_resource = &apc->mem_res; in ar71xx_pci_probe()
Dpci-ar2315.c166 struct resource mem_res; member
424 apc->mem_res.name = "AR2315 PCI mem space"; in ar2315_pci_probe()
425 apc->mem_res.parent = res; in ar2315_pci_probe()
426 apc->mem_res.start = res->start; in ar2315_pci_probe()
427 apc->mem_res.end = res->end; in ar2315_pci_probe()
428 apc->mem_res.flags = IORESOURCE_MEM; in ar2315_pci_probe()
477 apc->pci_ctrl.mem_resource = &apc->mem_res, in ar2315_pci_probe()
Dpci-rt3883.c69 struct resource mem_res; member
501 rpc->pci_controller.mem_resource = &rpc->mem_res; in rt3883_pci_probe()
507 rt3883_pci_w32(rpc, rpc->mem_res.start, RT3883_PCI_REG_MEMBASE); in rt3883_pci_probe()
/arch/sparc/kernel/
Dpci_common.c333 struct resource *mem_res) in pci_register_legacy_regions() argument
343 p->start = mem_res->start + 0xa0000UL; in pci_register_legacy_regions()
346 request_resource(mem_res, p); in pci_register_legacy_regions()
353 p->start = mem_res->start + 0xf0000UL; in pci_register_legacy_regions()
356 request_resource(mem_res, p); in pci_register_legacy_regions()
363 p->start = mem_res->start + 0xc0000UL; in pci_register_legacy_regions()
366 request_resource(mem_res, p); in pci_register_legacy_regions()
/arch/arm64/kernel/
Dsetup.c72 static struct resource mem_res[] = { variable
87 #define kernel_code mem_res[0]
88 #define kernel_data mem_res[1]
/arch/unicore32/kernel/
Dsetup.c70 static struct resource mem_res[] = { variable
85 #define kernel_code mem_res[0]
86 #define kernel_data mem_res[1]
/arch/arm/mach-ixp4xx/include/mach/
Dnpe.h19 struct resource *mem_res; member
/arch/arm/mach-ixp4xx/
Dixp4xx_qmgr.c18 static struct resource *mem_res; variable
290 mem_res = request_mem_region(IXP4XX_QMGR_BASE_PHYS, in qmgr_init()
293 if (mem_res == NULL) in qmgr_init()
Dixp4xx_npe.c696 if (!(npe->mem_res = request_mem_region(npe->regs_phys, in npe_init_module()
720 if (npe_tab[i].mem_res) { in npe_cleanup_module()
722 release_resource(npe_tab[i].mem_res); in npe_cleanup_module()
/arch/arm/kernel/
Dsetup.c172 static struct resource mem_res[] = { variable
193 #define video_ram mem_res[0]
194 #define kernel_code mem_res[1]
195 #define kernel_data mem_res[2]