Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/boot/
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()
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()
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()
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()
Dcuboot-824x.c30 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
37 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dmvme7100.c33 setprop(devp, "bus-frequency", &busfreq, sizeof(busfreq)); in mvme7100_fixups()
37 setprop(devp, "clock-frequency", &busfreq, sizeof(busfreq)); in mvme7100_fixups()
Dcuboot-83xx.c36 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
43 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-85xx.c39 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
46 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-52xx.c42 setprop(soc, "bus-frequency", &bd.bi_ipbfreq, in platform_fixups()
49 setprop(soc, "system-frequency", &sysfreq, sizeof(sysfreq)); in platform_fixups()
Dmpc8xx.c63 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks()
67 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks()
Dpq2.c83 setprop(node, "clock-frequency", &sysfreq, 4); in pq2_set_clocks()
87 setprop(node, "clock-frequency", &brgfreq, 4); in pq2_set_clocks()
Dcuboot-mpc7448hpc2.c32 setprop(tsi, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
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()
Dredboot-83xx.c34 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
Dredboot-8xx.c33 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
Debony.c64 setprop(devp, "reg", reg, sizeof(reg)); in ebony_flashsel_fixup()
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()
Dtreeboot-currituck.c75 setprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)); in ibm_currituck_fixups()
Dof.c72 dt_ops.setprop = of_setprop; in of_platform_init()
Dtreeboot-akebono.c88 setprop(emac, "local-mac-address", in ibm_akebono_fixups()
Dwii.c128 setprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
Dlibfdt-wrapper.c163 dt_ops.setprop = fdt_wrapper_setprop; in fdt_init()
D4xx.c327 setprop(devp, "ranges", ranges, (p - ranges) * sizeof(u32)); in ibm4xx_fixup_ebc_ranges()
/linux-6.1.9/arch/arm/boot/compressed/
Datags_to_fdt.c23 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() function
212 setprop(fdt, "/memory", "reg", mem_reg_property, in atags_to_fdt()