Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/powerpc/boot/
H A Dcuboot-hotfoot.c78 setprop(devp, "reg", regs, sizeof(regs)); in hotfoot_fixups()
86 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
93 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
100 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
107 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
114 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
121 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
H A Dops.h40 int (*setprop)(const void *phandle, const char *name, member
109 static inline int setprop(void *devp, const char *name, in setprop() function
112 return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1; in setprop()
117 setprop((devp), (name), &x, sizeof(x)); \
122 if (dt_ops.setprop) in setprop_str()
123 return dt_ops.setprop(devp, name, buf, strlen(buf) + 1); in setprop_str()
H A Dcuboot-85xx-cpm2.c38 setprop(devp, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
45 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
52 setprop(devp, "clock-frequency", &bd.bi_brgfreq, in platform_fixups()
H A Dcuboot-8xx.c30 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
34 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
H A Dcuboot-824x.c30 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
37 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
H A Dmvme7100.c33 setprop(devp, "bus-frequency", &busfreq, sizeof(busfreq)); in mvme7100_fixups()
37 setprop(devp, "clock-frequency", &busfreq, sizeof(busfreq)); in mvme7100_fixups()
H A Dcuboot-83xx.c36 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
43 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
H A Dcuboot-85xx.c39 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
46 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
H A Dcuboot-52xx.c42 setprop(soc, "bus-frequency", &bd.bi_ipbfreq, in platform_fixups()
49 setprop(soc, "system-frequency", &sysfreq, sizeof(sysfreq)); in platform_fixups()
H A Dmpc8xx.c63 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks()
67 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks()
H A Dpq2.c83 setprop(node, "clock-frequency", &sysfreq, 4); in pq2_set_clocks()
87 setprop(node, "clock-frequency", &brgfreq, 4); in pq2_set_clocks()
H A Dredboot-83xx.c34 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
H A Dredboot-8xx.c33 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
H A Ddevtree.c58 setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32)); in dt_fixup_memory()
102 setprop(devp, "local-mac-address", addr, 6); in dt_fixup_mac_address_by_alias()
117 setprop(devp, "local-mac-address", addr, 6); in dt_fixup_mac_address()
H A Debony.c64 setprop(devp, "reg", reg, sizeof(reg)); in ebony_flashsel_fixup()
H A Dcuboot-pq2.c252 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4); in pq2_platform_fixups()
256 setprop(node, "clock-frequency", &bd.bi_brgfreq, 4); in pq2_platform_fixups()
H A Dtreeboot-currituck.c75 setprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)); in ibm_currituck_fixups()
H A Dof.c72 dt_ops.setprop = of_setprop; in of_platform_init()
H A Dtreeboot-akebono.c88 setprop(emac, "local-mac-address", in ibm_akebono_fixups()
H A Dwii.c128 setprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
H A Dlibfdt-wrapper.c163 dt_ops.setprop = fdt_wrapper_setprop; in fdt_init()
/openbmc/linux/arch/arm/boot/compressed/
H A Datags_to_fdt.c24 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() function
213 setprop(fdt, "/memory", "reg", mem_reg_property, in atags_to_fdt()
/openbmc/qemu/include/hw/ppc/
H A Dvof.h43 bool (*setprop)(MachineState *ms, const char *path, const char *propname, member
/openbmc/u-boot/tools/dtoc/
H A Dfdt.py205 while fdt_obj.setprop(node.Offset(), self.name, self.bytes,
208 fdt_obj.setprop(node.Offset(), self.name, self.bytes)
210 fdt_obj.setprop(node.Offset(), self.name, self.bytes)
/openbmc/qemu/hw/ppc/
H A Dvof.c330 if (!vmc->setprop || !vmc->setprop(ms, nodepath, propname, val, vallen)) { in vof_setprop()

12