Home
last modified time | relevance | path

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

12

/linux-2.6.39/arch/powerpc/boot/
Dvirtex.c38 n = getprop(devp, "reg-offset", &reg_offset, sizeof(reg_offset)); in virtex_ns16550_console_init()
42 n = getprop(devp, "reg-shift", &reg_shift, sizeof(reg_shift)); in virtex_ns16550_console_init()
46 n = getprop(devp, "current-speed", (void *)&spd, sizeof(spd)); in virtex_ns16550_console_init()
51 n = getprop(devp, "clock-frequency", (void *)&clk, sizeof(clk)); in virtex_ns16550_console_init()
89 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0) { in platform_specific_init()
94 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) in platform_specific_init()
Dcuboot-hotfoot.c77 getprop(devp, "reg", regs, sizeof(regs)); in hotfoot_fixups()
87 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
94 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
101 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
108 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
115 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
122 getprop(devp, "reg", regs, 2*sizeof(u32)); in hotfoot_fixups()
Ddevtree.c28 if (getprop(root, "#address-cells", &naddr, sizeof(naddr)) < 0) in dt_fixup_memory()
33 if (getprop(root, "#size-cells", &nsize, sizeof(nsize)) < 0) in dt_fixup_memory()
138 if (getprop(node, "#address-cells", naddr, 4) != 4) in dt_get_reg_format()
140 if (getprop(node, "#size-cells", nsize, 4) != 4) in dt_get_reg_format()
276 buflen = getprop(node, "ranges", prop_buf, in dt_xlate()
321 reglen = getprop(node, "reg", prop_buf, sizeof(prop_buf)) / 4; in dt_xlate_reg()
340 len = getprop(node, "compatible", buf, MAX_PROP_LEN); in dt_is_compatible()
359 n = getprop(node, "virtual-reg", addr, nres * 4); in dt_get_virtual_reg()
Dtreeboot-walnut.c35 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in walnut_flashsel_fixup()
44 if (getprop(devp, "reg", reg_flash, sizeof(reg_flash)) != sizeof(reg_flash)) in walnut_flashsel_fixup()
51 if (getprop(sram, "reg", reg_sram, sizeof(reg_sram)) != sizeof(reg_sram)) in walnut_flashsel_fixup()
Dmpsc.c109 n = getprop(devp, prop, &v, sizeof(v)); in mpsc_get_virtreg_of_phandle()
117 n = getprop(devp, "virtual-reg", &v, sizeof(v)); in mpsc_get_virtreg_of_phandle()
131 n = getprop(devp, "virtual-reg", &v, sizeof(v)); in mpsc_console_init()
144 n = getprop(devp, "cell-index", &v, sizeof(v)); in mpsc_console_init()
Dops.h39 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()
Dfsl-soc.c30 size = getprop(soc, "#address-cells", prop_buf, MAX_PROP_LEN); in fsl_get_immr()
39 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN); in fsl_get_immr()
Debony.c49 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in ebony_flashsel_fixup()
60 if (getprop(devp, "reg", reg, sizeof(reg)) != sizeof(reg)) in ebony_flashsel_fixup()
Dns16550.c63 n = getprop(devp, "reg-offset", &reg_offset, sizeof(reg_offset)); in ns16550_console_init()
67 n = getprop(devp, "reg-shift", &reg_shift, sizeof(reg_shift)); in ns16550_console_init()
Dserial.c95 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp()
100 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) in serial_get_stdout_devp()
Dep405.c50 getprop(nvrtc, "reg", reg, 3); in platform_fixups()
Dcpm-serial.c229 if (getprop(devp, "fsl,cpm-command", &cpm_cmd, 4) < 4) in cpm_console_init()
261 if (getprop(muram, "reg", reg, 8) < 8) in cpm_console_init()
Duartlite.c65 n = getprop(devp, "virtual-reg", &reg_base, sizeof(reg_base)); in uartlite_console_init()
Dof.c72 dt_ops.getprop = of_getprop; in platform_init()
Dcuboot-pq2.c80 len = getprop(bus_node, "ranges", cs_ranges_buf, sizeof(cs_ranges_buf)); in update_cs_ranges()
158 len = getprop(node, "ranges", pci_ranges_buf, in fixup_pci()
Dugecon.c119 if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v)) in ug_grab_exi_io_base()
Dmv64x60.c541 if (getprop(devp, "reg", v, sizeof(v)) != sizeof(v)) in mv64x60_get_bridge_pbase()
559 if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v)) in mv64x60_get_bridge_base()
577 if (getprop(devp, "coherency-off", &v, sizeof(v)) < 0) in mv64x60_is_coherent()
Dwii.c117 len = getprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
Dps3.c56 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
Dplanetcore.c146 len = getprop(chosen, "linux,stdout-path", prop_buf, MAX_PROP_LEN); in planetcore_set_serial_speed()
Dcuboot-acadia.c126 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) in get_clocks()
Dmv64x60_i2c.c191 if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v)) in mv64x60_i2c_open()
Dcuboot-c2k.c80 rc = getprop(devp, "ranges", v, sizeof(v)); in c2k_bridge_setup()
Dmain.c148 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
Dlibfdt-wrapper.c176 dt_ops.getprop = fdt_wrapper_getprop; in fdt_init()

12