Home
last modified time | relevance | path

Searched refs:n_addrs (Results 1 – 25 of 32) sorted by relevance

12

/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_pic.c308 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()
Dchrp_pci.c167 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()
Dchrp_setup.c373 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()
Dpmac_time.c178 if (vias == 0 || vias->n_addrs == 0) in via_calibrate_decr()
Dpmac_nvram.c237 nvram_naddrs = dp->n_addrs; in pmac_nvram_init()
/linux-2.4.37.9/arch/ppc64/kernel/
Dpci_dn.c98 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/
Dprom.c558 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/
Dvia-cuda.c147 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()
Dmacserial.c2358 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()
Dmacio-adb.c99 for (i = 0; i < adbs->n_addrs; ++i) in macio_init()
Dvia-pmu.c304 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/
Doffb.c278 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()
Dplatinumfb.c655 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()
Dvalkyriefb.c590 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()
Dcontrolfb.c870 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/
Dprom.h49 int n_addrs; member
/linux-2.4.37.9/include/asm-ppc64/
Dprom.h124 int n_addrs; member
/linux-2.4.37.9/drivers/scsi/
Dmac53c94.c77 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/
Dairport.c182 if (of_node->n_addrs < 1 || of_node->n_intrs < 1) { in airport_attach()
/linux-2.4.37.9/drivers/block/
Dswim3.c1088 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/
Ddmasound_awacs.c2806 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/
Dstart.c181 if (np && np->n_addrs) in xmon_map_scc()
/linux-2.4.37.9/drivers/ide/ppc/
Dpmac.c1007 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/
Di2c-keywest.c610 if (np->n_addrs >= 1 && np->n_intrs >= 1) in i2c_keywest_init()
/linux-2.4.37.9/drivers/net/
Dgmac.c1582 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()

12