/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 | 164 struct resource rsrc; in mpic_msgr_probe() local 195 of_address_to_resource(np, 0, &rsrc); in mpic_msgr_probe() 196 msgr_block_addr = ioremap(rsrc.start, rsrc.end - rsrc.start); in mpic_msgr_probe()
|
D | fsl_pci.c | 130 struct resource *rsrc) in setup_pci_atmu() argument 144 (u64)rsrc->start, (u64)resource_size(rsrc)); in setup_pci_atmu() 152 pci = ioremap(rsrc->start, resource_size(rsrc)); in setup_pci_atmu() 426 struct resource rsrc; in fsl_add_bridge() local 438 if (of_address_to_resource(dev, 0, &rsrc)) { in fsl_add_bridge() 457 setup_indirect_pci(hose, rsrc.start, rsrc.start + 0x4, in fsl_add_bridge() 483 (unsigned long long)rsrc.start, hose->first_busno, in fsl_add_bridge() 494 setup_pci_atmu(hose, &rsrc); 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/powerpc/platforms/86xx/ |
D | mpc86xx_hpcn.c | 55 struct resource rsrc; in mpc86xx_exclude_device() local 58 of_address_to_resource(node, 0, &rsrc); in mpc86xx_exclude_device() 60 if ((rsrc.start & 0xfffff) == 0x8000) { in mpc86xx_exclude_device() 83 struct resource rsrc; in mpc86xx_hpcn_setup_arch() local 84 of_address_to_resource(np, 0, &rsrc); in mpc86xx_hpcn_setup_arch() 85 if ((rsrc.start & 0xfffff) == 0x8000) in mpc86xx_hpcn_setup_arch()
|
D | mpc8610_hpcd.c | 291 struct resource rsrc; in mpc86xx_hpcd_setup_arch() local 292 of_address_to_resource(np, 0, &rsrc); in mpc86xx_hpcd_setup_arch() 293 if ((rsrc.start & 0xfffff) == 0xa000) in mpc86xx_hpcd_setup_arch()
|
/arch/powerpc/platforms/85xx/ |
D | mpc8536_ds.c | 62 struct resource rsrc; in mpc8536_ds_setup_arch() local 63 of_address_to_resource(np, 0, &rsrc); in mpc8536_ds_setup_arch() 64 if ((rsrc.start & 0xfffff) == 0x8000) in mpc8536_ds_setup_arch()
|
D | mpc85xx_ds.c | 125 struct resource rsrc; in mpc85xx_exclude_device() local 128 of_address_to_resource(node, 0, &rsrc); in mpc85xx_exclude_device() 130 if ((rsrc.start & 0xfffff) == primary_phb_addr) { in mpc85xx_exclude_device() 157 struct resource rsrc; in mpc85xx_ds_setup_arch() local 158 of_address_to_resource(np, 0, &rsrc); in mpc85xx_ds_setup_arch() 159 if ((rsrc.start & 0xfffff) == primary_phb_addr) in mpc85xx_ds_setup_arch()
|
D | tqm85xx.c | 77 struct resource rsrc; in tqm85xx_setup_arch() local 78 if (!of_address_to_resource(np, 0, &rsrc)) { in tqm85xx_setup_arch() 79 if ((rsrc.start & 0xfffff) == 0x8000) in tqm85xx_setup_arch()
|
D | sbc8548.c | 102 struct resource rsrc; in sbc8548_setup_arch() local 103 of_address_to_resource(np, 0, &rsrc); in sbc8548_setup_arch() 104 if ((rsrc.start & 0xfffff) == 0x8000) in sbc8548_setup_arch()
|
D | ge_imp3a.c | 111 struct resource rsrc; in ge_imp3a_setup_arch() local 112 of_address_to_resource(np, 0, &rsrc); in ge_imp3a_setup_arch() 113 if ((rsrc.start & 0xfffff) == primary_phb_addr) in ge_imp3a_setup_arch()
|
D | xes_mpc85xx.c | 144 struct resource rsrc; in xes_mpc85xx_setup_arch() local 145 of_address_to_resource(np, 0, &rsrc); in xes_mpc85xx_setup_arch() 146 if ((rsrc.start & 0xfffff) == primary_phb_addr) in xes_mpc85xx_setup_arch()
|
D | mpc85xx_cds.c | 315 struct resource rsrc; in mpc85xx_cds_setup_arch() local 316 of_address_to_resource(np, 0, &rsrc); in mpc85xx_cds_setup_arch() 317 if ((rsrc.start & 0xfffff) == 0x8000) in mpc85xx_cds_setup_arch()
|
D | mpc85xx_mds.c | 343 struct resource rsrc; in mpc85xx_mds_setup_arch() local 344 of_address_to_resource(np, 0, &rsrc); in mpc85xx_mds_setup_arch() 345 if ((rsrc.start & 0xfffff) == 0x8000) in mpc85xx_mds_setup_arch()
|
D | p1022_ds.c | 540 struct resource rsrc; in p1022_ds_setup_arch() local 543 of_address_to_resource(np, 0, &rsrc); in p1022_ds_setup_arch() 545 if ((rsrc.start & 0xfffff) == 0x8000) in p1022_ds_setup_arch()
|
/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 | 911 struct resource rsrc; in pmac_add_bridge() local 919 has_address = (of_address_to_resource(dev, 0, &rsrc) == 0); in pmac_add_bridge() 958 primary = setup_uninorth(hose, &rsrc); in pmac_add_bridge() 965 setup_bandit(hose, &rsrc); in pmac_add_bridge() 968 setup_chaos(hose, &rsrc); in pmac_add_bridge() 974 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 | 83 const struct resource *rsrc,
|
/arch/microblaze/include/asm/ |
D | pci.h | 141 const struct resource *rsrc,
|
/arch/powerpc/include/asm/ |
D | pci.h | 182 const struct resource *rsrc,
|
/arch/powerpc/kernel/ |
D | pci-common.c | 591 const struct resource *rsrc, in pci_resource_to_user() argument 600 if (rsrc->flags & IORESOURCE_IO) in pci_resource_to_user() 621 else if (rsrc->flags & IORESOURCE_MEM) in pci_resource_to_user() 625 *start = rsrc->start - offset; in pci_resource_to_user() 626 *end = rsrc->end - offset; in pci_resource_to_user()
|
/arch/microblaze/pci/ |
D | pci-common.c | 593 const struct resource *rsrc, in pci_resource_to_user() argument 602 if (rsrc->flags & IORESOURCE_IO) in pci_resource_to_user() 623 else if (rsrc->flags & IORESOURCE_MEM) in pci_resource_to_user() 627 *start = rsrc->start - offset; in pci_resource_to_user() 628 *end = rsrc->end - offset; in pci_resource_to_user()
|