Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/boot/
Dcuboot-hotfoot.c81 setprop(devp, "reg", regs, sizeof(regs)); in hotfoot_fixups()
89 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
96 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
103 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
110 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
117 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
124 setprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
Dops.h41 int (*setprop)(const void *phandle, const char *name, member
111 static inline int setprop(void *devp, const char *name, in setprop() function
114 return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1; in setprop()
119 setprop((devp), (name), &x, sizeof(x)); \
124 if (dt_ops.setprop) in setprop_str()
125 return dt_ops.setprop(devp, name, buf, strlen(buf) + 1); in setprop_str()
Dcuboot-85xx-cpm2.c41 setprop(devp, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
48 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
55 setprop(devp, "clock-frequency", &bd.bi_brgfreq, in platform_fixups()
Dcuboot-8xx.c33 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
37 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
Dcuboot-824x.c33 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
40 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-83xx.c39 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
46 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-85xx.c42 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
49 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-52xx.c45 setprop(soc, "bus-frequency", &bd.bi_ipbfreq, in platform_fixups()
52 setprop(soc, "system-frequency", &sysfreq, sizeof(sysfreq)); in platform_fixups()
Dmpc8xx.c67 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks()
71 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks()
Dtreeboot-walnut.c59 setprop(devp, "reg", reg_flash, sizeof(reg_flash)); in walnut_flashsel_fixup()
60 setprop(sram, "reg", reg_sram, sizeof(reg_sram)); in walnut_flashsel_fixup()
Dpq2.c86 setprop(node, "clock-frequency", &sysfreq, 4); in pq2_set_clocks()
90 setprop(node, "clock-frequency", &brgfreq, 4); in pq2_set_clocks()
Dprpmc2800.c429 setprop(devp, "model", model, l); in prpmc2800_fixups()
436 setprop(devp, "clock-frequency", &v[0], sizeof(v[0])); in prpmc2800_fixups()
444 setprop(devp, "reg", v, sizeof(v)); in prpmc2800_fixups()
452 setprop(devp, "model", "mv64362", strlen("mv64362") + 1); in prpmc2800_fixups()
463 setprop(devp, "reg", v, sizeof(v)); in prpmc2800_fixups()
Dcuboot-mpc7448hpc2.c37 setprop(tsi, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
Ddevtree.c57 setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32)); in dt_fixup_memory()
101 setprop(devp, "local-mac-address", addr, 6); in dt_fixup_mac_address_by_alias()
116 setprop(devp, "local-mac-address", addr, 6); in dt_fixup_mac_address()
Dep405.c52 setprop(nvrtc, "reg", reg, 3); in platform_fixups()
Dredboot-8xx.c36 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
Dredboot-83xx.c37 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
Debony.c68 setprop(devp, "reg", reg, sizeof(reg)); in ebony_flashsel_fixup()
Dof.c73 dt_ops.setprop = of_setprop; in platform_init()
Dcuboot-pq2.c255 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4); in pq2_platform_fixups()
259 setprop(node, "clock-frequency", &bd.bi_brgfreq, 4); in pq2_platform_fixups()
Dwii.c133 setprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
Dplanetcore.c165 setprop(stdout, "current-speed", &baud32, 4); in planetcore_set_serial_speed()
Dlibfdt-wrapper.c177 dt_ops.setprop = fdt_wrapper_setprop; in fdt_init()
D4xx.c331 setprop(devp, "ranges", ranges, (p - ranges) * sizeof(u32)); in ibm4xx_fixup_ebc_ranges()