Searched refs:prop_buf (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/boot/ |
D | fsl-soc.c | 15 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()
|
D | devtree.c | 235 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 …]
|
D | planetcore.c | 102 static char prop_buf[MAX_PROP_LEN]; variable 119 path = get_path(node, prop_buf, MAX_PROP_LEN); in planetcore_set_stdout_path()
|