/linux-2.4.37.9/arch/ppc/platforms/ |
D | pmac_pic.c | 308 if (irqctrler == NULL || irqctrler->n_addrs <= 0) in enable_second_ohare() 356 if (irqctrler->n_addrs > 0) in pmac_pic_init() 427 if (irqctrler->n_addrs > 0) { in pmac_pic_init() 437 if (irqctrler && irqctrler->n_addrs > 0) { in pmac_pic_init()
|
D | chrp_pci.c | 167 if (np == NULL || np->n_addrs == 0) in hydra_init() 312 if (dev->n_addrs < 1 && !is_longtrail) { in chrp_find_bridges() 329 if (dev->n_addrs > 0) in chrp_find_bridges()
|
D | chrp_setup.c | 373 if (np == NULL || np->n_addrs == 0) in chrp_find_openpic() 392 if (np->n_addrs < len) { in chrp_find_openpic() 394 " OpenPIC (%d < %d)\n", np->n_addrs, len); in chrp_find_openpic()
|
D | pmac_time.c | 178 if (vias == 0 || vias->n_addrs == 0) in via_calibrate_decr()
|
D | pmac_nvram.c | 237 nvram_naddrs = dp->n_addrs; in pmac_nvram_init()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | pci_dn.c | 98 if (dn->n_addrs == 0) in write_OF_bars() 103 …ERN_WARNING "write_OF_bars %s: device has %d BARs, but no addrs recorded\n", devname, dn->n_addrs); in write_OF_bars() 108 for (i = 0; i < dn->n_addrs; i++) { in write_OF_bars()
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | prom.c | 558 np->n_addrs = i; in interpret_pci_props() 595 if (!strcmp(db->type, "dbdma") && db->n_addrs != 0) { in interpret_dbdma_props() 612 np->n_addrs = i; in interpret_dbdma_props() 647 if (!strcmp(db->type, "mac-io") && db->n_addrs != 0) { in interpret_macio_props() 664 np->n_addrs = i; in interpret_macio_props() 707 np->n_addrs = i; in interpret_isa_props() 749 np->n_addrs = i; in interpret_root_props() 1041 if (index >= node->n_addrs) in request_OF_resource() 1096 if (index >= node->n_addrs) in release_OF_resource()
|
/linux-2.4.37.9/drivers/macintosh/ |
D | via-cuda.c | 147 for (i = 0; i < vias->n_addrs; ++i) in find_via_cuda() 155 if (vias->n_addrs != 1 || vias->n_intrs != 1) { in find_via_cuda() 157 vias->n_addrs, vias->n_intrs); in find_via_cuda() 158 if (vias->n_addrs < 1 || vias->n_intrs < 1) in find_via_cuda()
|
D | macserial.c | 2358 if (ch->n_addrs >= 3 && ch->n_intrs == 3) in chan_init() 2417 ioremap(ch->addrs[ch->n_addrs - 2].address, 0x100); in chan_init() 2419 ioremap(ch->addrs[ch->n_addrs - 1].address, 0x100); in chan_init() 2516 if (ch->n_addrs < 1 || (ch ->n_intrs < 1)) { in probe_sccs() 2518 ch->full_name, ch->n_addrs, ch->n_intrs); in probe_sccs() 2592 if (!request_OF_resource(ch, ch->n_addrs - 2, " (tx dma)")) { in macserial_init() 2597 if (!request_OF_resource(ch, ch->n_addrs - 1, " (rx dma)")) { in macserial_init() 2598 release_OF_resource(ch, ch->n_addrs - 2); in macserial_init() 2778 release_OF_resource(ch, ch->n_addrs - 2); in macserial_cleanup() 2779 release_OF_resource(ch, ch->n_addrs - 1); in macserial_cleanup()
|
D | macio-adb.c | 99 for (i = 0; i < adbs->n_addrs; ++i) in macio_init()
|
D | via-pmu.c | 304 if (vias->n_addrs < 1 || vias->n_intrs < 1) { in find_via_pmu() 306 vias->n_addrs, vias->n_intrs); in find_via_pmu() 307 if (vias->n_addrs < 1 || vias->n_intrs < 1) in find_via_pmu() 339 if (gpiop && gpiop->n_addrs) { in find_via_pmu()
|
/linux-2.4.37.9/drivers/video/ |
D | offb.c | 278 if (strncmp(dp->name, "ATY,", 4) == 0 && dp->n_addrs == 1) { in offb_init() 291 if (dp->n_addrs == 0 && device_is_compatible(dp, "ATY,264LTPro")) { in offb_init() 305 for (i = 0; i < dp->n_addrs; ++i) { in offb_init() 310 if (i < dp->n_addrs) { in offb_init() 363 for (i = 0; i < dp->n_addrs; ++i) in offb_init_nodriver() 366 if (i >= dp->n_addrs) { in offb_init_nodriver()
|
D | platinumfb.c | 655 if(dp->n_addrs != 2) { in platinum_of_init() 656 printk(KERN_ERR "expecting 2 address for platinum (got %d)", dp->n_addrs); in platinum_of_init() 666 for (i = 0; i < dp->n_addrs; ++i) { in platinum_of_init()
|
D | valkyriefb.c | 590 if(dp->n_addrs != 1) { in valkyriefb_init() 591 printk(KERN_ERR "expecting 1 address for valkyrie (got %d)", dp->n_addrs); in valkyriefb_init()
|
D | controlfb.c | 870 if(dp->n_addrs != 2) { in control_of_init() 871 printk(KERN_ERR "expecting 2 address for control (got %d)", dp->n_addrs); in control_of_init() 881 for (i = 0; i < dp->n_addrs; ++i) { in control_of_init()
|
/linux-2.4.37.9/include/asm-ppc/ |
D | prom.h | 49 int n_addrs; member
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | prom.h | 124 int n_addrs; member
|
/linux-2.4.37.9/drivers/scsi/ |
D | mac53c94.c | 77 if (node->n_addrs != 2 || node->n_intrs != 2) in mac53c94_detect() 79 node->n_addrs, node->n_intrs); in mac53c94_detect()
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | airport.c | 182 if (of_node->n_addrs < 1 || of_node->n_intrs < 1) { in airport_attach()
|
/linux-2.4.37.9/drivers/block/ |
D | swim3.c | 1088 if (swim->n_addrs < 2) in swim3_add_device() 1091 swim->n_addrs, swim->n_intrs); in swim3_add_device() 1098 swim->n_addrs, swim->n_intrs); in swim3_add_device()
|
/linux-2.4.37.9/drivers/sound/dmasound/ |
D | dmasound_awacs.c | 2806 if (io->n_addrs < 3 || io->n_intrs < 3) { in dmasound_awacs_init() 2812 if (io->n_addrs < 3 || io->n_intrs < 3) { in dmasound_awacs_init() 2815 io->full_name, io->n_addrs, io->n_intrs); in dmasound_awacs_init() 2820 io->full_name, io->n_addrs, io->n_intrs); in dmasound_awacs_init() 3005 && mio->n_addrs > 0) { in dmasound_awacs_init()
|
/linux-2.4.37.9/arch/ppc/xmon/ |
D | start.c | 181 if (np && np->n_addrs) in xmon_map_scc()
|
/linux-2.4.37.9/drivers/ide/ppc/ |
D | pmac.c | 1007 if (np->n_addrs == 0) { in pmac_ide_probe() 1027 if (np->n_addrs > 1 && np->addrs[1].size > 0x100) in pmac_ide_probe() 1176 if (np->n_addrs >= 2 || pmif->kind == controller_un_ata6) { in pmac_ide_probe()
|
/linux-2.4.37.9/drivers/i2c/ |
D | i2c-keywest.c | 610 if (np->n_addrs >= 1 && np->n_intrs >= 1) in i2c_keywest_init()
|
/linux-2.4.37.9/drivers/net/ |
D | gmac.c | 1582 if (gmac->n_addrs < 1 || gmac->n_intrs < 1) { in gmac_probe1() 1584 gmac->full_name, gmac->n_addrs, gmac->n_intrs); in gmac_probe1()
|