/arch/powerpc/boot/ |
D | cuboot-hotfoot.c | 74 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()
|
D | opal.c | 72 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()
|
D | fsl-soc.c | 27 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()
|
D | devtree.c | 25 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()
|
D | serial.c | 95 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()
|
D | ops.h | 40 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()
|
D | ebony.c | 45 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()
|
D | ns16550.c | 67 n = getprop(devp, "reg-offset", ®_offset, sizeof(reg_offset)); in ns16550_console_init() 71 n = getprop(devp, "reg-shift", ®_shift, sizeof(reg_shift)); in ns16550_console_init()
|
D | treeboot-iss4xx.c | 44 getprop(memory, "reg", reg, sizeof(reg)); in iss_4xx_fixups()
|
D | treeboot-currituck.c | 67 if (getprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)) < 0) { in ibm_currituck_fixups()
|
D | of.c | 71 dt_ops.getprop = of_getprop; in of_platform_init()
|
D | main.c | 203 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()
|
D | cpm-serial.c | 230 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()
|
D | cuboot-pq2.c | 77 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()
|
D | ugecon.c | 114 if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v)) in ug_grab_exi_io_base()
|
D | ps3.c | 44 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
|
D | wii.c | 112 len = getprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
|
D | cuboot-acadia.c | 123 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) in get_clocks()
|
D | libfdt-wrapper.c | 162 dt_ops.getprop = fdt_wrapper_getprop; in fdt_init()
|
D | 4xx.c | 178 if (getprop(devp, "model", model, sizeof(model)) <= 0) in ibm4xx_denali_get_cs()
|
/arch/arm/boot/compressed/ |
D | atags_to_fdt.c | 50 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()
|