Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/boot/
H A Dcuboot-hotfoot.c74 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 Ddevtree.c25 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 Dopal.c72 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 Dops.h38 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 Dserial.c93 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 Dfsl-soc.c27 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 Debony.c45 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 Dns16550.c67 n = getprop(devp, "reg-offset", &reg_offset, sizeof(reg_offset)); in ns16550_console_init()
71 n = getprop(devp, "reg-shift", &reg_shift, sizeof(reg_shift)); in ns16550_console_init()
H A Dtreeboot-iss4xx.c44 getprop(memory, "reg", reg, sizeof(reg)); in iss_4xx_fixups()
H A Dcpm-serial.c230 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 Dmain.c203 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 Dcuboot-pq2.c77 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 Dtreeboot-currituck.c67 if (getprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)) < 0) { in ibm_currituck_fixups()
H A Dof.c71 dt_ops.getprop = of_getprop; in of_platform_init()
H A Dugecon.c114 if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v)) in ug_grab_exi_io_base()
H A Dps3.c37 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
H A Dwii.c112 len = getprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
H A Dcuboot-acadia.c123 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) in get_clocks()
H A Dlibfdt-wrapper.c162 dt_ops.getprop = fdt_wrapper_getprop; in fdt_init()
H A D4xx.c178 if (getprop(devp, "model", model, sizeof(model)) <= 0) in ibm4xx_denali_get_cs()
/openbmc/linux/arch/arm/boot/compressed/
H A Datags_to_fdt.c51 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 Dtest_fdt.py236 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 Dtest_fdt236 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 Dvof.c176 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 Dlibfdt.i_shipped400 def getprop(self, nodeoffset, prop_name, quiet=()):