/arch/powerpc/sysdev/ |
D | mv64x60_pci.c | 124 struct resource rsrc; in mv64x60_add_bridge() local 128 memset(&rsrc, 0, sizeof(rsrc)); in mv64x60_add_bridge() 131 if (of_address_to_resource(dev, 0, &rsrc)) { in mv64x60_add_bridge() 149 setup_indirect_pci(hose, rsrc.start, rsrc.start + 4, 0); in mv64x60_add_bridge() 154 (unsigned long long)rsrc.start, hose->first_busno, in mv64x60_add_bridge()
|
D | mpic_msgr.c | 167 struct resource rsrc; in mpic_msgr_probe() local 198 of_address_to_resource(np, 0, &rsrc); in mpic_msgr_probe() 199 msgr_block_addr = devm_ioremap(&dev->dev, rsrc.start, resource_size(&rsrc)); in mpic_msgr_probe()
|
D | ppc4xx_ocm.c | 115 struct resource rsrc; in ocm_init_node() local 134 if (of_address_to_resource(node, 0, &rsrc)) { in ocm_init_node() 140 ocm->phys = rsrc.start; in ocm_init_node() 141 ocm->memtotal = (rsrc.end - rsrc.start + 1); in ocm_init_node()
|
D | fsl_pci.c | 510 struct resource rsrc; in fsl_add_bridge() local 526 if (of_address_to_resource(dev, 0, &rsrc)) { in fsl_add_bridge() 548 (u64)rsrc.start, (u64)resource_size(&rsrc)); in fsl_add_bridge() 550 pci = hose->private_data = ioremap(rsrc.start, resource_size(&rsrc)); in fsl_add_bridge() 554 setup_indirect_pci(hose, rsrc.start, rsrc.start + 0x4, in fsl_add_bridge() 588 (unsigned long long)rsrc.start, hose->first_busno, in fsl_add_bridge()
|
D | tsi108_pci.c | 202 struct resource rsrc; in tsi108_setup_pci() local 213 has_address = (of_address_to_resource(dev, 0, &rsrc) == 0); in tsi108_setup_pci() 236 rsrc.start, hose->first_busno, hose->last_busno); in tsi108_setup_pci()
|
/arch/mips/include/asm/ |
D | pci.h | 86 const struct resource *rsrc, resource_size_t *start, in pci_resource_to_user() argument 89 phys_addr_t size = resource_size(rsrc); in pci_resource_to_user() 91 *start = fixup_bigphys_addr(rsrc->start, size); in pci_resource_to_user() 92 *end = rsrc->start + size - 1; in pci_resource_to_user()
|
/arch/powerpc/platforms/85xx/ |
D | ge_imp3a.c | 90 struct resource rsrc; in ge_imp3a_pci_assign_primary() local 96 of_address_to_resource(np, 0, &rsrc); in ge_imp3a_pci_assign_primary() 97 if ((rsrc.start & 0xfffff) == 0x9000) in ge_imp3a_pci_assign_primary()
|
/arch/powerpc/platforms/powermac/ |
D | time.c | 264 struct resource rsrc; in via_calibrate_decr() local 271 if (vias == NULL || of_address_to_resource(vias, 0, &rsrc)) { in via_calibrate_decr() 276 via = ioremap(rsrc.start, resource_size(&rsrc)); in via_calibrate_decr()
|
D | pci.c | 781 struct resource rsrc; in pmac_add_bridge() local 789 has_address = (of_address_to_resource(dev, 0, &rsrc) == 0); in pmac_add_bridge() 829 primary = setup_uninorth(hose, &rsrc); in pmac_add_bridge() 836 setup_bandit(hose, &rsrc); in pmac_add_bridge() 839 setup_chaos(hose, &rsrc); in pmac_add_bridge() 845 disp_name, (unsigned long long)rsrc.start, hose->first_busno, in pmac_add_bridge()
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 370 struct resource rsrc; in mpc52xx_add_bridge() local 376 if (of_address_to_resource(node, 0, &rsrc) != 0) { in mpc52xx_add_bridge() 405 pci_regs = ioremap(rsrc.start, resource_size(&rsrc)); in mpc52xx_add_bridge() 413 mpc52xx_pci_setup(hose, pci_regs, rsrc.start); in mpc52xx_add_bridge()
|
/arch/sparc/include/asm/ |
D | pci_64.h | 59 const struct resource *rsrc,
|
/arch/microblaze/include/asm/ |
D | pci.h | 88 const struct resource *rsrc,
|
/arch/powerpc/include/asm/ |
D | pci.h | 142 const struct resource *rsrc,
|
/arch/arm/mach-omap2/ |
D | omap_hwmod.c | 3548 const char *name, struct resource *rsrc) in omap_hwmod_get_resource_byname() argument 3554 if (!oh || !rsrc) in omap_hwmod_get_resource_byname() 3562 rsrc->start = irq; in omap_hwmod_get_resource_byname() 3563 rsrc->end = irq; in omap_hwmod_get_resource_byname() 3569 rsrc->start = dma; in omap_hwmod_get_resource_byname() 3570 rsrc->end = dma; in omap_hwmod_get_resource_byname() 3576 rsrc->start = pa_start; in omap_hwmod_get_resource_byname() 3577 rsrc->end = pa_end; in omap_hwmod_get_resource_byname() 3582 rsrc->flags = type; in omap_hwmod_get_resource_byname() 3583 rsrc->name = name; in omap_hwmod_get_resource_byname()
|
/arch/microblaze/pci/ |
D | pci-common.c | 482 const struct resource *rsrc, in pci_resource_to_user() argument 491 if (rsrc->flags & IORESOURCE_IO) in pci_resource_to_user() 512 else if (rsrc->flags & IORESOURCE_MEM) in pci_resource_to_user() 516 *start = rsrc->start - offset; in pci_resource_to_user() 517 *end = rsrc->end - offset; in pci_resource_to_user()
|
/arch/powerpc/kernel/ |
D | pci-common.c | 610 const struct resource *rsrc, in pci_resource_to_user() argument 619 if (rsrc->flags & IORESOURCE_IO) in pci_resource_to_user() 640 else if (rsrc->flags & IORESOURCE_MEM) in pci_resource_to_user() 644 *start = rsrc->start - offset; in pci_resource_to_user() 645 *end = rsrc->end - offset; in pci_resource_to_user()
|