Home
last modified time | relevance | path

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

/arch/powerpc/boot/
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()
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()
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()
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()
Dserial.c95 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || in serial_get_stdout_devp()
96 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp()
101 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) in serial_get_stdout_devp()
Dops.h40 int (*getprop)(const void *phandle, const char *name, void *buf, member
106 static inline int getprop(void *devp, const char *name, void *buf, int buflen) in getprop() function
108 return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1; in getprop()
177 if (getprop(devp, alias, path, MAX_PATH_LEN) > 0) in find_node_by_alias()
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()
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()
Dtreeboot-iss4xx.c44 getprop(memory, "reg", reg, sizeof(reg)); in iss_4xx_fixups()
Dtreeboot-currituck.c67 if (getprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)) < 0) { in ibm_currituck_fixups()
Dof.c71 dt_ops.getprop = of_getprop; in of_platform_init()
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()
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()
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()
Dugecon.c114 if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v)) in ug_grab_exi_io_base()
Dps3.c44 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
Dwii.c112 len = getprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
Dcuboot-acadia.c123 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) in get_clocks()
Dlibfdt-wrapper.c162 dt_ops.getprop = fdt_wrapper_getprop; in fdt_init()
D4xx.c178 if (getprop(devp, "model", model, sizeof(model)) <= 0) in ibm4xx_denali_get_cs()
/arch/arm/boot/compressed/
Datags_to_fdt.c50 static const void *getprop(const void *fdt, const char *node_path, in getprop() function
65 const __be32 *size_len = getprop(fdt, "/", "#size-cells", &len); in get_cell_size()
80 fdt_bootargs = getprop(fdt, "/chosen", "bootargs", &len); in merge_fdt_bootargs()