Home
last modified time | relevance | path

Searched refs:prom_node (Results 1 – 25 of 75) sorted by relevance

123

/linux-2.4.37.9/arch/sparc64/kernel/
Disa.c30 prop_len = prom_getproperty(isa_dev->prom_node, "reg", in isa_dev_get_resource()
101 irq_prop = prom_getintdefault(isa_dev->prom_node, in isa_dev_get_irq()
144 int node = prom_getchild(parent_isa_dev->prom_node); in isa_fill_children()
168 isa_dev->prom_node = node; in isa_fill_children()
196 int node = prom_getchild(isa_br->prom_node); in isa_fill_devices()
225 isa_dev->prom_node = node; in isa_fill_devices()
294 isa_br->prom_node = pdev_cookie->prom_node; in isa_init()
298 prop_len = prom_getproperty(isa_br->prom_node, in isa_init()
308 prop_len = prom_getproperty(isa_br->prom_node, in isa_init()
318 prop_len = prom_getproperty(isa_br->prom_node, in isa_init()
Debus.c45 success = prom_getproperty(ebus->prom_node, "ranges", in ebus_ranges_init()
57 success = prom_getproperty(ebus->prom_node, "interrupt-map", in ebus_intmap_init()
65 success = prom_getproperty(ebus->prom_node, "interrupt-map-mask", in ebus_intmap_init()
105 dev->prom_node = node; in fill_ebus_child()
193 dev->prom_node = node; in fill_ebus_device()
319 ebusnd = cookie->prom_node; in ebus_init()
344 ebusnd = cookie->prom_node; in ebus_init()
351 ebus->prom_node = ebusnd; in ebus_init()
388 ebusnd = cookie->prom_node; in ebus_init()
Dpci_schizo.c1572 pci_fill_in_pbm_cookies(pbm->pci_bus, pbm, pbm->prom_node); in pbm_scan_bus()
1583 if (!p->pbm_B.prom_node || !p->pbm_A.prom_node) { in __schizo_scan_bus()
1592 prom_getbool(p->pbm_B.prom_node, "66mhz-capable"); in __schizo_scan_bus()
1595 prom_getbool(p->pbm_A.prom_node, "66mhz-capable"); in __schizo_scan_bus()
1801 err = prom_getproperty(pbm->prom_node, "virtual-dma", in schizo_pbm_iommu_init()
1990 if (!prom_getbool(pbm->prom_node, "no-bus-parking")) in schizo_pbm_hw_init()
2028 int prom_node, u32 portid, in schizo_pbm_init() argument
2065 err = prom_getproperty(prom_node, "reg", in schizo_pbm_init()
2083 pbm->prom_node = prom_node; in schizo_pbm_init()
2088 prom_getintdefault(prom_node, "version#", 0); in schizo_pbm_init()
[all …]
Ddevices.c43 linux_cpus[0].prom_node = prom_root_node; in device_scan()
55 linux_cpus[cpu_ctr].prom_node = scan; in device_scan()
Dtime.c733 busnd = central_bus->child->prom_node; in clock_probe()
745 busnd = ebus->prom_node; in clock_probe()
750 busnd = isa_br->prom_node; in clock_probe()
754 busnd = sbus_root->prom_node; in clock_probe()
786 busnd = ebus->prom_node; in clock_probe()
793 busnd = isa_br->prom_node; in clock_probe()
821 if (edev->prom_node == node) in clock_probe()
847 if (isadev->prom_node == node) in clock_probe()
939 node = linux_cpus[0].prom_node; in sparc64_init_timers()
Dpci_common.c178 pcp->prom_node = device_prom_node; in pdev_cookie_fillin()
232 int prom_node) in pci_fill_in_pbm_cookies() argument
244 pdev_cookie_fillin(pbm, pdev, prom_node); in pci_fill_in_pbm_cookies()
256 pci_fill_in_pbm_cookies(this_pbus, pbm, pcp->prom_node); in pci_fill_in_pbm_cookies()
634 plen = prom_getproperty(bus_pcp->prom_node, "interrupt-map", in pci_intmap_match()
640 plen = prom_getproperty(bus_pcp->prom_node, in pci_intmap_match()
714 int prom_node = pcp->prom_node; in pdev_fixup_irq() local
726 !prom_getchild(prom_node)) { in pdev_fixup_irq()
731 err = prom_getproperty(prom_node, "interrupts", in pdev_fixup_irq()
Dcentral.c36 success = prom_getproperty(central->prom_node, "ranges", in central_ranges_init()
48 success = prom_getproperty(fhc->prom_node, "ranges", in fhc_ranges_init()
136 fhc->prom_node = node; in probe_other_fhcs()
330 central_bus->prom_node = cnode; in central_probe()
347 fhc->prom_node = fnode; in central_probe()
Dpci_psycho.c1315 pci_fill_in_pbm_cookies(pbm->pci_bus, pbm, pbm->prom_node); in pbm_scan_bus()
1539 int prom_node, int is_pbm_a) in psycho_pbm_init() argument
1559 prom_getintdefault(prom_node, "version#", 0); in psycho_pbm_init()
1561 prom_getintdefault(prom_node, "module-revision#", 0); in psycho_pbm_init()
1570 pbm->prom_node = prom_node; in psycho_pbm_init()
1571 prom_getstring(prom_node, "name", in psycho_pbm_init()
1575 err = prom_getproperty(prom_node, "ranges", in psycho_pbm_init()
1584 err = prom_getproperty(prom_node, "interrupt-map", in psycho_pbm_init()
1589 err = prom_getproperty(prom_node, "interrupt-map-mask", in psycho_pbm_init()
1602 err = prom_getproperty(prom_node, "bus-range", in psycho_pbm_init()
[all …]
/linux-2.4.37.9/drivers/sbus/
Dsbus.c43 static void __init fill_sbus_device(int prom_node, struct sbus_dev *sdev) in fill_sbus_device() argument
48 sdev->prom_node = prom_node; in fill_sbus_device()
49 prom_getstring(prom_node, "name", in fill_sbus_device()
51 address = prom_getint(prom_node, "address"); in fill_sbus_device()
52 len = prom_getproperty(prom_node, "reg", in fill_sbus_device()
86 len = prom_getproperty(prom_node, "ranges", in fill_sbus_device()
115 len = prom_getproperty(prom_node, "interrupts", in fill_sbus_device()
130 len = prom_getproperty(prom_node, "intr", in fill_sbus_device()
151 len = prom_getproperty(prom_node, "interrupts", in fill_sbus_device()
224 len = prom_getproperty(sbus->prom_node, "ranges", in sbus_bus_ranges_init()
[all …]
/linux-2.4.37.9/include/asm-sparc/
Debus.h21 int prom_node; member
33 int prom_node; member
46 int prom_node; member
Dpbm.h27 int prom_node; member
43 int prom_node; member
Dsbus.h48 int prom_node; /* PROM device tree node for this device */ member
69 int prom_node; /* PROM device tree node for this SBus */ member
/linux-2.4.37.9/include/asm-sparc64/
Debus.h18 int prom_node; member
30 int prom_node; member
45 int prom_node; member
Disa.h17 int prom_node; member
30 int prom_node; member
Dfhc.h37 int prom_node; member
115 int prom_node; member
Dsbus.h48 int prom_node; /* OBP node of this device */ member
69 int prom_node; /* OBP node of SBUS */ member
Dpbm.h163 int prom_node; member
235 int prom_node; member
Dsmp.h22 int prom_node; member
/linux-2.4.37.9/drivers/mtd/maps/
Dsun_uflash.c114 edev->prom_node, "reg", (void *)regs, sizeof(regs)); in uflash_devinit()
142 iTmp = prom_getproplen(edev->prom_node, "model"); in uflash_devinit()
144 prom_getstring(edev->prom_node, "model", pdev->name, iTmp); in uflash_devinit()
183 if(0 > prom_getproplen(edev->prom_node, "user")) { in uflash_init()
/linux-2.4.37.9/arch/sparc/kernel/
Debus.c99 dev->prom_node = node; in fill_ebus_child()
156 dev->prom_node = node; in fill_ebus_device()
291 ebusnd = cookie->prom_node; in ebus_init()
300 ebus->prom_node = ebusnd; in ebus_init()
359 ebusnd = cookie->prom_node; in ebus_init()
Ddevices.c44 linux_cpus[linux_num_cpus].prom_node = scan; in device_scan()
64 linux_cpus[linux_num_cpus].prom_node = node; in device_scan()
/linux-2.4.37.9/drivers/char/drm/
Dffb_drv.c172 static int ffb_init_one(drm_device_t *dev, int prom_node, int parent_node, in ffb_init_one() argument
179 ffb_priv->prom_node = prom_node; in ffb_init_one()
180 if (prom_getproperty(ffb_priv->prom_node, "reg", in ffb_init_one()
/linux-2.4.37.9/drivers/scsi/
Dqlogicpti.c729 qpti->scsi_id = prom_getintdefault(qpti->prom_node, in qpti_get_scsi_id()
733 qpti->scsi_id = prom_getintdefault(qpti->prom_node, in qpti_get_scsi_id()
738 prom_getintdefault(qpti->sdev->bus->prom_node, in qpti_get_scsi_id()
751 bursts = prom_getintdefault(qpti->prom_node, "burst-sizes", 0xff); in qpti_get_bursts()
752 bmask = prom_getintdefault(sdev->bus->prom_node, in qpti_get_bursts()
771 cfreq = prom_getintdefault(qpti->prom_node,"clock-frequency",40000000); in qpti_get_clock()
855 qpti->prom_node = sdev->prom_node; in qlogicpti_detect()
856 prom_getstring(qpti->prom_node, "name", in qlogicpti_detect()
905 prom_getstring (qpti->prom_node, in qlogicpti_detect()
909 if (prom_getbool(qpti->prom_node, "differential")) in qlogicpti_detect()
/linux-2.4.37.9/drivers/video/
Dbwtwofb.c184 if ((!ARCH_SUN4) && (!prom_getbool(fb->prom_node, "width"))) { in bwtwofb_init()
250 prom_getproperty(fb->sbdp->prom_node, "address", in bwtwofb_init()
/linux-2.4.37.9/drivers/net/
Dmyri_sbus.c918 i = prom_getproperty(sdev->prom_node, "myrinet-eeprom-info", in myri_ether_init()
925 mp->eeprom.cpuvers = prom_getintdefault(sdev->prom_node,"cpu_version",0); in myri_ether_init()
926 mp->eeprom.cval = prom_getintdefault(sdev->prom_node,"clock_value",0); in myri_ether_init()
927 mp->eeprom.ramsz = prom_getintdefault(sdev->prom_node,"sram_size",0); in myri_ether_init()
942 i = prom_getproperty(sdev->prom_node, "myrinet-board-id", in myri_ether_init()
949 i = prom_getproperty(sdev->prom_node, "fpga_version", in myri_ether_init()
1037 mp->myri_bursts = prom_getintdefault(mp->myri_sdev->bus->prom_node, in myri_ether_init()
1046 i = prom_getint(sdev->prom_node, "interrupts"); in myri_ether_init()

123