Home
last modified time | relevance | path

Searched refs:prom_getproperty (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/arch/m68k/sun3/prom/
H A Dconsole.c94 prom_getproperty(st_p, "device_type", propb, sizeof(propb));
97 prom_getproperty(prom_root_node, "stdin-path", propb, sizeof(propb));
140 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb));
149 prom_getproperty(prom_root_node, "stdout-path", propb, sizeof(propb));
/openbmc/linux/arch/sparc/prom/
H A Dtree_32.c110 int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) in prom_getproperty() function
125 EXPORT_SYMBOL(prom_getproperty);
134 if(prom_getproperty(node, prop, (char *) &intprop, sizeof(int)) != -1) in prom_getint()
174 len = prom_getproperty(node, prop, user_buf, ubuf_size); in prom_getstring()
192 error = prom_getproperty(thisnode, "name", promlib_buf, in prom_searchsiblings()
258 if (prom_getproperty (node2, "reg", (char *)reg, sizeof (reg)) > 0) { in prom_finddevice()
H A Dtree_64.c117 int prom_getproperty(phandle node, const char *prop, in prom_getproperty() function
140 EXPORT_SYMBOL(prom_getproperty);
149 if (prom_getproperty(node, prop, (char *) &intprop, sizeof(int)) != -1) in prom_getint()
193 len = prom_getproperty(node, prop, user_buf, ubuf_size); in prom_getstring()
206 prom_getproperty(node, "name", namebuf, sizeof(namebuf)); in prom_nodematch()
223 error = prom_getproperty(thisnode, "name", promlib_buf, in prom_searchsiblings()
H A Dranges.c77 success = prom_getproperty(obio_node, "ranges", in prom_ranges_init()
95 success = prom_getproperty(node, "ranges", in prom_apply_generic_ranges()
104 success = prom_getproperty(parent, "ranges", in prom_apply_generic_ranges()
H A Dmisc_32.c103 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
H A Dmemory.c39 size = prom_getproperty(node, "available", (char *) reg, sizeof(reg)); in prom_meminit_v2()
H A Dmisc_64.c159 if (!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
/openbmc/linux/arch/sparc/kernel/
H A Dbtext.c49 if (prom_getproperty(node, "width", (char *)&width, 4) < 0) in btext_initialize()
51 if (prom_getproperty(node, "height", (char *)&height, 4) < 0) in btext_initialize()
53 if (prom_getproperty(node, "depth", (char *)&depth, 4) < 0) in btext_initialize()
57 if (prom_getproperty(node, "linebytes", (char *)&prop, 4) >= 0 && in btext_initialize()
64 if (prom_getproperty(node, "address", (char *)&prop, 4) >= 0) in btext_initialize()
317 if (prom_getproperty(node, "device_type", type, 32) < 0) in btext_find_display()
H A Dauxio_32.c62 if(prom_getproperty(auxio_nd, "reg", (char *) auxregs, sizeof(auxregs)) <= 0) in auxio_probe()
126 if (prom_getproperty(node, "reg", (char *)&regs, sizeof(regs)) <= 0) in auxio_power_probe()
H A Didprom.c48 prom_getproperty(prom_root_node, "banner-name", in display_system_type()
H A Dprom_common.c146 .getproperty = prom_getproperty,
H A Dpcic.c309 err = prom_getproperty(node, "reg", (char*)regs, sizeof(regs)); in pcic_probe()
454 err = prom_getproperty(node, "reg", in pdev_to_pnode()
H A Dtime_64.c175 if (prom_getproperty(node, "device_type", type, sizeof(type)) != -1) in cpuid_to_freq()
/openbmc/linux/arch/sparc/include/asm/
H A Dfloppy_32.h308 if (prom_getproperty(fd_node, "status", state, sizeof(state)) != -1) { in sun_floppy_init()
313 num_regs = prom_getproperty(fd_node, "reg", (char *) fd_regs, sizeof(fd_regs)); in sun_floppy_init()
H A Doplib_32.h130 int __must_check prom_getproperty(phandle thisnode, const char *property,
H A Doplib_64.h198 int prom_getproperty(phandle thisnode, const char *property,
/openbmc/linux/arch/m68k/sun3/
H A Didprom.c73 prom_getproperty(prom_root_node, "banner-name", in display_system_type()
/openbmc/linux/arch/m68k/include/asm/
H A Doplib.h229 extern int prom_getproperty(int thisnode, char *property,
/openbmc/linux/arch/sparc/mm/
H A Dinit_64.c125 ret = prom_getproperty(node, property, (char *) regs, prop_size); in read_obp_memory()
613 if ((n = prom_getproperty(node, "translations", in read_obp_translations()