Lines Matching refs:prop

470 	const __be32 *prop;  in __reserved_mem_reserve_reg()  local
473 prop = of_get_flat_dt_prop(node, "reg", &len); in __reserved_mem_reserve_reg()
474 if (!prop) in __reserved_mem_reserve_reg()
486 base = dt_mem_next_cell(dt_root_addr_cells, &prop); in __reserved_mem_reserve_reg()
487 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_reserve_reg()
513 const __be32 *prop; in __reserved_mem_check_root() local
515 prop = of_get_flat_dt_prop(node, "#size-cells", NULL); in __reserved_mem_check_root()
516 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) in __reserved_mem_check_root()
519 prop = of_get_flat_dt_prop(node, "#address-cells", NULL); in __reserved_mem_check_root()
520 if (!prop || be32_to_cpup(prop) != dt_root_addr_cells) in __reserved_mem_check_root()
523 prop = of_get_flat_dt_prop(node, "ranges", NULL); in __reserved_mem_check_root()
524 if (!prop) in __reserved_mem_check_root()
723 const char *prop; in of_flat_dt_match_machine() local
728 prop = of_get_flat_dt_prop(dt_root, "compatible", &size); in of_flat_dt_match_machine()
729 if (prop) { in of_flat_dt_match_machine()
731 printk("'%s' ", prop); in of_flat_dt_match_machine()
732 size -= strlen(prop) + 1; in of_flat_dt_match_machine()
733 prop += strlen(prop) + 1; in of_flat_dt_match_machine()
754 const __be32 *prop; in early_init_dt_check_for_initrd() local
758 prop = of_get_flat_dt_prop(node, "linux,initrd-start", &len); in early_init_dt_check_for_initrd()
759 if (!prop) in early_init_dt_check_for_initrd()
761 start = of_read_number(prop, len/4); in early_init_dt_check_for_initrd()
763 prop = of_get_flat_dt_prop(node, "linux,initrd-end", &len); in early_init_dt_check_for_initrd()
764 if (!prop) in early_init_dt_check_for_initrd()
766 end = of_read_number(prop, len/4); in early_init_dt_check_for_initrd()
842 const __be32 *prop; in early_init_dt_scan_root() local
850 prop = of_get_flat_dt_prop(node, "#size-cells", NULL); in early_init_dt_scan_root()
851 if (prop) in early_init_dt_scan_root()
852 dt_root_size_cells = be32_to_cpup(prop); in early_init_dt_scan_root()
855 prop = of_get_flat_dt_prop(node, "#address-cells", NULL); in early_init_dt_scan_root()
856 if (prop) in early_init_dt_scan_root()
857 dt_root_addr_cells = be32_to_cpup(prop); in early_init_dt_scan_root()