Lines Matching refs:mem_start
96 static unsigned long copy_device_tree(unsigned long mem_start,
99 unsigned long mem_start, unsigned long mem_end,
441 copy_device_tree(unsigned long mem_start, unsigned long mem_end) in copy_device_tree() argument
453 mem_start = ALIGN(mem_start); in copy_device_tree()
454 new_start = inspect_node(root, 0, mem_start, mem_end, &allnextp); in copy_device_tree()
461 unsigned long mem_start, unsigned long mem_end, in inspect_node() argument
471 np = (struct device_node *) mem_start; in inspect_node()
472 mem_start += sizeof(struct device_node); in inspect_node()
491 pp = (struct property *) mem_start; in inspect_node()
497 mem_start = ALIGN((unsigned long)namep + strlen(namep) + 1); in inspect_node()
499 valp = (unsigned char *) mem_start; in inspect_node()
503 valp, mem_end - mem_start); in inspect_node()
510 mem_start = ALIGN(mem_start + pp->length); in inspect_node()
516 pp = (struct property *) mem_start; in inspect_node()
522 mem_start = ALIGN((unsigned long)namep + strlen(namep) + 1); in inspect_node()
530 (char *) mem_start, mem_end - mem_start); in inspect_node()
532 np->full_name = PTRUNRELOC((char *) mem_start); in inspect_node()
533 *(char *)(mem_start + l) = 0; in inspect_node()
534 mem_start = ALIGN(mem_start + l + 1); in inspect_node()
540 mem_start = inspect_node(child, np, mem_start, mem_end, in inspect_node()
545 return mem_start; in inspect_node()