/openbmc/linux/arch/powerpc/boot/ |
H A D | cuboot-hotfoot.c | 74 getprop(devp, "reg", regs, sizeof(regs)); in hotfoot_fixups() 84 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups() 91 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups() 98 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups() 105 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups() 112 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups() 119 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
|
H A D | devtree.c | 25 if (getprop(root, "#address-cells", &naddr, sizeof(naddr)) < 0) in dt_fixup_memory() 32 if (getprop(root, "#size-cells", &nsize, sizeof(nsize)) < 0) in dt_fixup_memory() 139 if (getprop(node, "#address-cells", naddr, 4) != 4) in dt_get_reg_format() 143 if (getprop(node, "#size-cells", nsize, 4) != 4) in dt_get_reg_format() 280 buflen = getprop(node, "ranges", prop_buf, in dt_xlate() 323 reglen = getprop(node, "reg", prop_buf, sizeof(prop_buf)) / 4; in dt_xlate_reg() 342 len = getprop(node, "compatible", buf, MAX_PROP_LEN); in dt_is_compatible() 361 n = getprop(node, "virtual-reg", addr, nres * 4); in dt_get_virtual_reg()
|
H A D | opal.c | 72 if (getprop(opal_node, "opal-base-address", &opal.base, sizeof(u64)) < 0) in opal_init() 75 if (getprop(opal_node, "opal-entry-address", &opal.entry, sizeof(u64)) < 0) in opal_init() 85 int n = getprop(devp, "reg", &opal_con_id, sizeof(u32)); in opal_console_init()
|
H A D | ops.h | 38 int (*getprop)(const void *phandle, const char *name, void *buf, member 104 static inline int getprop(void *devp, const char *name, void *buf, int buflen) in getprop() function 106 return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1; in getprop() 175 if (getprop(devp, alias, path, MAX_PATH_LEN) > 0) in find_node_by_alias()
|
H A D | serial.c | 93 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || in serial_get_stdout_devp() 94 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp() 99 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) in serial_get_stdout_devp()
|
H A D | fsl-soc.c | 27 size = getprop(soc, "#address-cells", prop_buf, MAX_PROP_LEN); in fsl_get_immr() 36 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN); in fsl_get_immr()
|
H A D | ebony.c | 45 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in ebony_flashsel_fixup() 56 if (getprop(devp, "reg", reg, sizeof(reg)) != sizeof(reg)) in ebony_flashsel_fixup()
|
H A D | ns16550.c | 67 n = getprop(devp, "reg-offset", ®_offset, sizeof(reg_offset)); in ns16550_console_init() 71 n = getprop(devp, "reg-shift", ®_shift, sizeof(reg_shift)); in ns16550_console_init()
|
H A D | treeboot-iss4xx.c | 44 getprop(memory, "reg", reg, sizeof(reg)); in iss_4xx_fixups()
|
H A D | cpm-serial.c | 230 if (getprop(devp, "fsl,cpm-command", &cpm_cmd, 4) < 4) in cpm_console_init() 262 if (getprop(muram, "reg", reg, 8) < 8) in cpm_console_init()
|
H A D | main.c | 203 n = getprop(chosen, "linux,cmdline-timeout", &v, sizeof(v)); in prep_cmdline() 208 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
|
H A D | cuboot-pq2.c | 77 len = getprop(bus_node, "ranges", cs_ranges_buf, sizeof(cs_ranges_buf)); in update_cs_ranges() 155 len = getprop(node, "ranges", pci_ranges_buf, in fixup_pci()
|
H A D | treeboot-currituck.c | 67 if (getprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)) < 0) { in ibm_currituck_fixups()
|
H A D | of.c | 71 dt_ops.getprop = of_getprop; in of_platform_init()
|
H A D | ugecon.c | 114 if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v)) in ug_grab_exi_io_base()
|
H A D | ps3.c | 37 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
|
H A D | wii.c | 112 len = getprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
|
H A D | cuboot-acadia.c | 123 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) in get_clocks()
|
H A D | libfdt-wrapper.c | 162 dt_ops.getprop = fdt_wrapper_getprop; in fdt_init()
|
H A D | 4xx.c | 178 if (getprop(devp, "model", model, sizeof(model)) <= 0) in ibm4xx_denali_get_cs()
|
/openbmc/linux/arch/arm/boot/compressed/ |
H A D | atags_to_fdt.c | 51 static const void *getprop(const void *fdt, const char *node_path, in getprop() function 66 const __be32 *size_len = getprop(fdt, "/", "#size-cells", &len); in get_cell_size() 81 fdt_bootargs = getprop(fdt, "/chosen", "bootargs", &len); in merge_fdt_bootargs()
|
/openbmc/u-boot/tools/dtoc/ |
H A D | test_fdt.py | 236 p = self.fdt.getprop(self.node.Offset(), prop_name) 372 data = self.fdt.getprop(self.node.Offset(), 'one') 377 data = self.fdt.getprop(self.node.Offset(), 'one') 383 data = self.fdt.getprop(self.node.Offset(), 'string') 396 data = self.fdt.getprop(self.node.Offset(), 'string') 404 data = self.fdt.getprop(self.node.Offset(), 'empty')
|
H A D | test_fdt | 236 p = self.fdt.getprop(self.node.Offset(), prop_name) 372 data = self.fdt.getprop(self.node.Offset(), 'one') 377 data = self.fdt.getprop(self.node.Offset(), 'one') 383 data = self.fdt.getprop(self.node.Offset(), 'string') 396 data = self.fdt.getprop(self.node.Offset(), 'string') 404 data = self.fdt.getprop(self.node.Offset(), 'empty')
|
/openbmc/qemu/hw/ppc/ |
H A D | vof.c | 176 static const void *getprop(const void *fdt, int nodeoff, const char *propname, in getprop() function 235 prop = getprop(fdt, nodeoff, propname, &proplen, &write0); in vof_getprop() 281 prop = getprop(fdt, nodeoff, propname, &proplen, NULL); in vof_getproplen()
|
/openbmc/u-boot/scripts/dtc/pylibfdt/ |
H A D | libfdt.i_shipped | 400 def getprop(self, nodeoffset, prop_name, quiet=()):
|