Home
last modified time | relevance | path

Searched refs:prop_buf (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/boot/
Dfsl-soc.c15 static u32 prop_buf[MAX_PROP_LEN / 4]; variable
27 size = getprop(soc, "#address-cells", prop_buf, MAX_PROP_LEN); in fsl_get_immr()
29 naddr = prop_buf[0]; in fsl_get_immr()
36 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN); in fsl_get_immr()
40 if (prop_buf[0] != 0) in fsl_get_immr()
42 if (naddr == 2 && prop_buf[1] != 0) in fsl_get_immr()
45 if (!dt_xlate_addr(soc, prop_buf + naddr, 8, &ret)) in fsl_get_immr()
Ddevtree.c235 static u32 prop_buf[MAX_PROP_LEN / 4]; variable
261 copy_val(last_addr, prop_buf + offset, naddr); in dt_xlate()
263 ret_size = be32_to_cpu(prop_buf[offset + naddr]); in dt_xlate()
266 ret_size |= be32_to_cpu(prop_buf[offset + naddr + 1]); in dt_xlate()
280 buflen = getprop(node, "ranges", prop_buf, in dt_xlate()
281 sizeof(prop_buf)); in dt_xlate()
284 if (buflen < 0 || buflen > sizeof(prop_buf)) in dt_xlate()
287 offset = find_range(last_addr, prop_buf, prev_naddr, in dt_xlate()
292 copy_val(this_addr, prop_buf + offset, prev_naddr); in dt_xlate()
297 copy_val(this_addr, prop_buf + offset + prev_naddr, naddr); in dt_xlate()
[all …]
Dplanetcore.c102 static char prop_buf[MAX_PROP_LEN]; variable
119 path = get_path(node, prop_buf, MAX_PROP_LEN); in planetcore_set_stdout_path()