Home
last modified time | relevance | path

Searched refs:get_property (Results 1 – 25 of 50) sorted by relevance

12

/linux-2.4.37.9/arch/ppc/kernel/
Dprom.c118 if (get_property(np, "interrupt-parent", 0)) { in finish_device_tree()
146 ic = get_property(np, "interrupt-controller", &iclen); in finish_device_tree()
147 name = get_property(np, "name", NULL); in finish_device_tree()
173 np->name = get_property(np, "name", 0); in finish_node()
174 np->type = get_property(np, "device_type", 0); in finish_node()
189 ip = (int *) get_property(np, "#address-cells", 0); in finish_node()
192 ip = (int *) get_property(np, "#size-cells", 0); in finish_node()
246 parp = (phandle *) get_property(p, "interrupt-parent", NULL); in intr_parent()
275 get_property(p, "#interrupt-cells", NULL); in prom_n_intr_cells()
278 if (get_property(p, "interrupt-controller", NULL) != NULL in prom_n_intr_cells()
[all …]
Dsetup.c313 model = get_property(root, "device_type", NULL); in intuit_machine_type()
317 model = get_property(root, "model", NULL); in intuit_machine_type()
409 p = get_property(chosen, "bootargs", NULL); in platform_init()
Dpci.c719 bus_range = (int *) get_property(node, "bus-range", &len); in make_one_node_map()
731 class_code = (unsigned int *) get_property(node, "class-code", 0); in make_one_node_map()
735 reg = (unsigned int *)get_property(node, "reg", 0); in make_one_node_map()
772 of_prop_map = get_property(find_path_device("/"), "pci-OF-bus-map", 0); in pcibios_make_OF_bus_map()
803 class_code = (unsigned int *) get_property(node, "class-code", 0); in scan_OF_pci_childs()
821 reg = (unsigned int *) get_property(node, "reg", 0); in scan_OF_pci_childs_iterator()
917 reg = (unsigned int *) get_property(node, "reg", 0); in pci_device_from_OF_node()
957 ranges = (unsigned int *) get_property(dev, "ranges", &rlen); in pci_process_bridge_OF_ranges()
984 ranges = (unsigned int *) get_property(dev, "ranges", &rlen); in pci_process_bridge_OF_ranges()
/linux-2.4.37.9/arch/ppc64/kernel/
Dpci_dn.c52 char *device_type = get_property(dn, "device_type", 0); in update_dn_pci_info()
53 char *status = get_property(dn, "status", 0); in update_dn_pci_info()
56 if (device_type && strcmp(device_type, "pci") == 0 && get_property(dn, "class-code", 0) == 0) { in update_dn_pci_info()
58 regs = (u32 *)get_property(dn, "bus-range", 0); in update_dn_pci_info()
62 regs = (u32 *)get_property(dn, "reg", 0); in update_dn_pci_info()
70 char *name = get_property(dn, "name", 0); in update_dn_pci_info()
89 char *name = get_property(dn, "name", 0); in write_OF_bars()
90 char *device_type = get_property(dn, "device_type", 0); in write_OF_bars()
95 get_property(dn, "class-code", 0) == 0) in write_OF_bars()
142 char *name = get_property(dn, "name", 0);
[all …]
DpSeries_pci.c159 char *device_type = (char *)get_property(dn, "device_type", 0); in rtas_fake_read()
160 u32 *class_code = (u32 *)get_property(dn, "class-code", 0); in rtas_fake_read()
260 opprop = (unsigned int *)get_property(find_path_device("/"), in find_and_init_phbs()
265 ui_ptr = (unsigned int *) get_property(find_path_device("/"), in find_and_init_phbs()
285 model = (char *) get_property(Pci_Node, "model", NULL); in find_and_init_phbs()
295 ui_ptr = (unsigned int *) get_property(Pci_Node, "#size-cells", NULL); in find_and_init_phbs()
301 ui_ptr = (unsigned int *) get_property(Pci_Node, "#address-cells", NULL); in find_and_init_phbs()
312 ranges = (unsigned int *) get_property(Pci_Node, "ranges", &rlen); in find_and_init_phbs()
434 ui_ptr = (unsigned int *) get_property(dev, "reg", &len); in alloc_phb()
561 bus_range = (int *) get_property(dev, "bus-range", &len); in alloc_phb()
[all …]
Deeh.c150 char *status = get_property(dn, "status", 0); in early_set_eeh()
151 u32 *class_code = (u32 *)get_property(dn, "class-code", 0); in early_set_eeh()
152 u32 *vendor_id =(u32 *) get_property(dn, "vendor-id", 0); in early_set_eeh()
153 u32 *device_id = (u32 *)get_property(dn, "device-id", 0); in early_set_eeh()
213 regs = (u32 *)get_property(dn, "reg", 0); in early_set_eeh()
288 int *buid_vals = (int *) get_property(phb, "ibm,fw-phb-id", &len); in eeh_init()
389 s = (char *)get_property(dn, "ibm,loc-code", 0); in eeh_check_opts_config()
Dchrp_setup.c127 model = get_property(root, "model", NULL); in chrp_get_cpuinfo()
174 opprop = (unsigned int *) get_property(root, in chrp_setup_arch()
328 hypertas = get_property(dn, "ibm,hypertas-functions", &len); in chrp_init()
368 (p = (unsigned int *)get_property(root, in chrp_progress()
468 fp = (int *) get_property(cpu, "timebase-frequency", NULL); in pSeries_calibrate_decr()
475 fp = (int *) get_property(cpu, "clock-frequency", NULL); in pSeries_calibrate_decr()
DpSeries_lpar.c370 termno = (u32 *)get_property(vtys, "reg", 0); in hvc_count()
379 if ((termno = (u32 *)get_property(rtas, "ibm,termno", 0)) != NULL) { in hvc_count()
413 name = (char *)get_property(stdout_node, "name", 0); in find_udbg_vterm()
421 compatible = (char *)get_property(stdout_node, "compatible", 0); in find_udbg_vterm()
423 termno = (u32 *)get_property(stdout_node, "reg", 0); in find_udbg_vterm()
444 termno = (u32 *)get_property(stdout_node, "ibm,termno", 0); in find_udbg_vterm()
Dxics.c312 ireg = (uint *)get_property(np, "ibm,interrupt-server-ranges", 0); in xics_init_IRQ()
320 ireg = (uint *)get_property(np, "reg", &ilen); in xics_init_IRQ()
345 ireg = (uint *)get_property(np, "reg", &ilen); in xics_init_IRQ()
347 ireg = (uint *)get_property(np, "ibm,ppc-interrupt-gserver#s", &ilen); in xics_init_IRQ()
366 ireg = (uint *) get_property(np, "interrupts", 0); in xics_init_IRQ()
Dras.c73 (ireg = (unsigned int *)get_property(np, "open-pic-interrupt", in init_ras_IRQ()
84 (ireg = (unsigned int *)get_property(np, "open-pic-interrupt", in init_ras_IRQ()
Dprom.c1976 np->name = get_property(np, "name", 0); in finish_node()
1977 np->type = get_property(np, "device_type", 0); in finish_node()
1986 ip = (int *) get_property(np, "#address-cells", 0); in finish_node()
1989 ip = (int *) get_property(np, "#size-cells", 0); in finish_node()
1998 np->name = get_property(np, "compatible", 0); in finish_node()
2033 interrupts = (unsigned int *)get_property(np, "interrupts", &l); in finish_node_interrupts()
2038 reg = (unsigned int *)get_property(np, "reg", &l); in finish_node_interrupts()
2048 isizep = (unsigned int *)get_property(node, "#interrupt-cells", &l); in finish_node_interrupts()
2055 if (get_property(node, "interrupt-controller", &l)) { in finish_node_interrupts()
2077 map = (unsigned int *)get_property(node, "interrupt-map", &l); in finish_node_interrupts()
[all …]
Dlparcfg.c288 model = get_property(root, "model", NULL); in lparcfg_data()
289 system_id = get_property(root, "system-id", NULL); in lparcfg_data()
290 lp_index_ptr = (unsigned int *)get_property(root, "ibm,partition-no", NULL); in lparcfg_data()
304 ip = (int *)get_property(rtas_node, "ibm,lrdr-capacity", NULL); in lparcfg_data()
Dvio.c185 unit_address = (unsigned int *)get_property(node_vdev, "reg", NULL); in vio_register_device()
200 irq_p = (unsigned int *) get_property(node_vdev, "interrupts", 0); in vio_register_device()
248 return get_property((struct device_node *)vdev->archdata, (char*)which, length); in vio_get_attribute()
267 …dma_window = (unsigned int *) get_property((struct device_node *)dev->archdata, "ibm,my-dma-window… in vio_build_tce_table()
Dsetup.c281 fp = (int *) get_property(cpu_node, "clock-frequency", in show_cpuinfo()
342 name = (char *)get_property(prom_stdout, "name", NULL); in parse_cmd_line()
345 reg = (u32 *)get_property(prom_stdout, "reg", &i); in parse_cmd_line()
Drtasd.c308 ip = (int *)get_property(node, "rtas-event-scan-rate", NULL); in get_eventscan_parms()
316 ip = (int *)get_property(node, "rtas-error-log-max", NULL); in get_eventscan_parms()
Drtas.c127 tokp = (int *) get_property(rtas.dev, service, NULL); in rtas_token()
394 token_array = (char *) get_property(rtas.dev, "ibm,errinjct-tokens", in rtas_errinjct_init()
/linux-2.4.37.9/arch/ppc/platforms/
Dchrp_setup.c120 model = get_property(root, "model", NULL); in chrp_show_cpuinfo()
219 model = get_property(root, "model", NULL); in sio_init()
383 iranges = (unsigned int *) get_property(np, "interrupt-ranges", &len); in chrp_find_openpic()
460 get_property(np, "8259-interrupt-acknowledge", NULL); in chrp_init_IRQ()
475 (phandle *)get_property(np, "interrupt-controller", NULL); in chrp_init_IRQ()
563 machine = get_property(root, "model", NULL); in chrp_init()
616 if (get_property(rtas, "display-character", NULL)) { in chrp_init()
618 p = (unsigned int *) get_property in chrp_init()
622 } else if (get_property(rtas, "set-indicator", NULL)) in chrp_init()
Dpmac_setup.c159 fp = (int *) get_property(cpu_node, "clock-frequency", NULL); in of_show_percpuinfo()
184 pp = (char *) get_property(np, "model", NULL); in pmac_show_cpuinfo()
189 pp = (char *) get_property(np, "compatible", &plen); in pmac_show_cpuinfo()
213 get_property(np, "i-cache-size", NULL); in pmac_show_cpuinfo()
215 get_property(np, "d-cache-size", NULL); in pmac_show_cpuinfo()
218 if (get_property(np, "cache-unified", NULL) != 0 && dc) { in pmac_show_cpuinfo()
227 pp = get_property(np, "ram-type", NULL); in pmac_show_cpuinfo()
238 get_property(np, "reg", &n); in pmac_show_cpuinfo()
255 get_property(np, "l2cr-value", NULL); in pmac_show_cpuinfo()
295 fp = (int *) get_property(cpu, "clock-frequency", NULL); in pmac_setup_arch()
[all …]
Dpmac_pci.c56 class_code = (unsigned int *) get_property(node, "class-code", 0); in fixup_one_level_bus_range()
60 bus_range = (int *) get_property(node, "bus-range", &len); in fixup_one_level_bus_range()
83 bus_range = (int *) get_property(bridge, "bus-range", &len); in fixup_bus_range()
333 prop = (u32 *)get_property(nec, "vendor-id", NULL); in fixup_nec_usb2()
338 prop = (u32 *)get_property(nec, "device-id", NULL); in fixup_nec_usb2()
343 prop = (u32 *)get_property(nec, "reg", 0); in fixup_nec_usb2()
467 addr = (struct reg_property *) get_property(dev, "reg", &len); in add_bridges()
473 bus_range = (int *) get_property(dev, "bus-range", &len); in add_bridges()
Dchrp_pci.c302 machine = get_property(root, "model", NULL); in chrp_find_bridges()
317 bus_range = (int *) get_property(dev, "bus-range", &len); in chrp_find_bridges()
343 model = get_property(dev, "model", NULL); in chrp_find_bridges()
361 get_property(dev, "system-dma-base", &len); in chrp_find_bridges()
379 get_property(dev, "ibm,dma-ranges", &len); in chrp_find_bridges()
Dpmac_backlight.c53 prop = get_property(bk_node, "backlight-control", NULL); in register_backlight_controller()
63 prop = get_property(bk_node, "bklt", NULL); in register_backlight_controller()
Dpmac_feature.c1122 u32* num = (u32 *)get_property(np, "reg", NULL); in core99_reset_cpu()
1123 u32* rst = (u32 *)get_property(np, "soft-reset", NULL); in core99_reset_cpu()
1160 prop = (char *)get_property(node, "AAPL,clock-id", NULL); in core99_usb_enable()
2032 model = (const char *) get_property(dt, "model", NULL); in probe_motherboard()
2116 if (get_property(np, "flush-on-lock", NULL)) in probe_motherboard()
2213 u32* did = (u32 *)get_property(node, "device-id", NULL); in probe_one_macio()
2223 revp = (u32 *)get_property(node, "revision-id", NULL); in probe_one_macio()
2271 slots = (struct slot_names_prop *)get_property(np, "slot-names", &len); in initial_serial_shutdown()
2272 conn = get_property(np, "AAPL,connector", &len); in initial_serial_shutdown()
/linux-2.4.37.9/drivers/video/
Doffb.c280 get_property(dp, "AAPL,address", NULL); in offb_init()
294 get_property(dp, "AAPL,address", &na); in offb_init()
343 if ((pp = (int *)get_property(dp, "depth", &len)) != NULL in offb_init_nodriver()
346 if ((pp = (int *)get_property(dp, "width", &len)) != NULL in offb_init_nodriver()
349 if ((pp = (int *)get_property(dp, "height", &len)) != NULL in offb_init_nodriver()
352 if ((pp = (int *)get_property(dp, "linebytes", &len)) != NULL in offb_init_nodriver()
359 if ((up = (unsigned *)get_property(dp, "address", &len)) != NULL in offb_init_nodriver()
/linux-2.4.37.9/include/asm-ppc/
Dprom.h80 extern unsigned char *get_property(struct device_node *node, const char *name,
/linux-2.4.37.9/arch/ppc/xmon/
Dstart.c81 ranges = (unsigned int *) get_property(node, "ranges", &rlen); in chrp_find_phys_io_base()
154 slots = get_property(np, "slot-names", &l); in xmon_map_scc()

12