Searched refs:initial_boot_params (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/arch/mips/cavium-octeon/
H A Docteon-platform.c456 phy_handle = fdt_getprop(initial_boot_params, eth, "phy-handle", NULL); octeon_fdt_set_phy()
461 phy = fdt_node_offset_by_phandle(initial_boot_params, phandle); octeon_fdt_set_phy()
463 alt_phy_handle = fdt_getprop(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); octeon_fdt_set_phy()
466 alt_phy = fdt_node_offset_by_phandle(initial_boot_params, alt_phandle); octeon_fdt_set_phy()
473 fdt_nop_property(initial_boot_params, eth, "phy-handle"); octeon_fdt_set_phy()
475 fdt_nop_property(initial_boot_params, eth, "cavium,alt-phy-handle"); octeon_fdt_set_phy()
477 fdt_nop_node(initial_boot_params, phy); octeon_fdt_set_phy()
479 fdt_nop_node(initial_boot_params, alt_phy); octeon_fdt_set_phy()
489 phy_prop = fdt_get_property(initial_boot_params, eth, "phy-handle", NULL); octeon_fdt_set_phy()
491 fdt_nop_node(initial_boot_params, phy); octeon_fdt_set_phy()
492 fdt_nop_property(initial_boot_params, eth, "phy-handle"); octeon_fdt_set_phy()
493 alt_prop = fdt_get_property_w(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); octeon_fdt_set_phy()
501 fdt_nop_property(initial_boot_params, phy, "marvell,reg-init"); octeon_fdt_set_phy()
504 p = fdt_getprop(initial_boot_params, phy, "compatible", octeon_fdt_set_phy()
507 fdt_setprop_inplace(initial_boot_params, phy, octeon_fdt_set_phy()
511 reg = fdt_getprop(initial_boot_params, phy, "reg", NULL); octeon_fdt_set_phy()
515 fdt_setprop_inplace_cell(initial_boot_params, phy, "reg", phy_addr); octeon_fdt_set_phy()
519 p = fdt_get_name(initial_boot_params, phy, &current_len); octeon_fdt_set_phy()
521 fdt_set_name(initial_boot_params, phy, new_name); octeon_fdt_set_phy()
539 r = fdt_setprop_inplace(initial_boot_params, n, "local-mac-address", octeon_fdt_set_mac_addr()
553 phy_handle = fdt_getprop(initial_boot_params, node, "phy-handle", NULL); octeon_fdt_rm_ethernet()
556 int p = fdt_node_offset_by_phandle(initial_boot_params, ph); octeon_fdt_rm_ethernet()
558 fdt_nop_node(initial_boot_params, p); octeon_fdt_rm_ethernet()
560 fdt_nop_node(initial_boot_params, node); octeon_fdt_rm_ethernet()
571 eth = fdt_subnode_offset(initial_boot_params, iface, name_buffer); octeon_fdt_pip_port()
597 iface = fdt_subnode_offset(initial_boot_params, pip, name_buffer); octeon_fdt_pip_iface()
617 if (fdt_check_header(initial_boot_params)) octeon_prune_device_tree()
620 aliases = fdt_path_offset(initial_boot_params, "/aliases"); octeon_prune_device_tree()
649 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
652 mgmt = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
658 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree()
668 pip_path = fdt_getprop(initial_boot_params, aliases, "pip", NULL); octeon_prune_device_tree()
670 int pip = fdt_path_offset(initial_boot_params, pip_path); octeon_prune_device_tree()
689 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
693 i2c = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
698 fdt_nop_node(initial_boot_params, i2c); octeon_prune_device_tree()
699 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree()
719 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
723 i2c = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
728 fdt_nop_node(initial_boot_params, i2c); octeon_prune_device_tree()
729 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree()
746 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
750 uart = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
755 fdt_setprop_inplace(initial_boot_params, octeon_prune_device_tree()
761 fdt_nop_node(initial_boot_params, uart); octeon_prune_device_tree()
762 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree()
768 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
782 int cf = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
828 fdt_nop_property(initial_boot_params, cf, "cavium,true-ide"); octeon_prune_device_tree()
829 fdt_nop_property(initial_boot_params, cf, "cavium,dma-engine-handle"); octeon_prune_device_tree()
832 fdt_setprop_inplace(initial_boot_params, cf, octeon_prune_device_tree()
842 fdt_setprop_inplace(initial_boot_params, cf, octeon_prune_device_tree()
845 bootbus = fdt_parent_offset(initial_boot_params, cf); octeon_prune_device_tree()
848 ranges = fdt_getprop_w(initial_boot_params, bootbus, "ranges", &len); octeon_prune_device_tree()
863 fdt_nop_node(initial_boot_params, cf); octeon_prune_device_tree()
870 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
879 int led = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
903 fdt_setprop_inplace(initial_boot_params, led, octeon_prune_device_tree()
906 bootbus = fdt_parent_offset(initial_boot_params, led); octeon_prune_device_tree()
909 ranges = fdt_getprop_w(initial_boot_params, bootbus, "ranges", &len); octeon_prune_device_tree()
919 fdt_nop_node(initial_boot_params, led); octeon_prune_device_tree()
925 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
928 int uctl = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
933 fdt_nop_node(initial_boot_params, uctl); octeon_prune_device_tree()
934 fdt_nop_property(initial_boot_params, aliases, "uctl"); octeon_prune_device_tree()
938 fdt_nop_property(initial_boot_params, uctl, "refclk-type"); octeon_prune_device_tree()
943 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree()
946 int usbn = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree()
951 fdt_nop_node(initial_boot_params, usbn); octeon_prune_device_tree()
952 fdt_nop_property(initial_boot_params, aliases, "usbn"); octeon_prune_device_tree()
960 fdt_setprop_inplace(initial_boot_params, usbn, octeon_prune_device_tree()
965 fdt_nop_property(initial_boot_params, usbn, "refclk-type"); octeon_prune_device_tree()
974 int dsr1000n_leds = fdt_path_offset(initial_boot_params, octeon_prune_device_tree()
977 fdt_nop_node(initial_boot_params, dsr1000n_leds); octeon_prune_device_tree()
H A Dsetup.c1104 initial_boot_params = (void *)fdt; device_tree_init()
/linux-4.1.27/drivers/of/
H A Dfdt.c51 root_offset = fdt_path_offset(initial_boot_params, "/"); of_fdt_limit_memory()
55 addr_prop = fdt_getprop(initial_boot_params, root_offset, of_fdt_limit_memory()
60 size_prop = fdt_getprop(initial_boot_params, root_offset, of_fdt_limit_memory()
67 memory = fdt_path_offset(initial_boot_params, "/memory"); of_fdt_limit_memory()
69 val = fdt_getprop(initial_boot_params, memory, "reg", &len); of_fdt_limit_memory()
73 fdt_setprop(initial_boot_params, memory, "reg", val, of_fdt_limit_memory()
451 /* Everything below here references initial_boot_params directly. */
455 void *initial_boot_params; variable
580 if (!initial_boot_params) early_init_fdt_scan_reserved_mem()
584 early_init_dt_reserve_memory_arch(__pa(initial_boot_params), early_init_fdt_scan_reserved_mem()
585 fdt_totalsize(initial_boot_params), early_init_fdt_scan_reserved_mem()
590 fdt_get_mem_rsv(initial_boot_params, n, &base, &size); early_init_fdt_scan_reserved_mem()
614 const void *blob = initial_boot_params; of_scan_flat_dt()
643 return fdt_totalsize(initial_boot_params); of_get_flat_dt_size()
655 return fdt_getprop(initial_boot_params, node, name, size); of_get_flat_dt_prop()
665 return of_fdt_is_compatible(initial_boot_params, node, compat); of_flat_dt_is_compatible()
673 return of_fdt_match(initial_boot_params, node, compat); of_flat_dt_match()
790 const void *fdt = initial_boot_params; early_init_dt_scan_chosen_serial()
1039 initial_boot_params = params; early_init_dt_verify()
1040 of_fdt_crc32 = crc32_be(~0, initial_boot_params, early_init_dt_verify()
1041 fdt_totalsize(initial_boot_params)); early_init_dt_verify()
1080 __unflatten_device_tree(initial_boot_params, &of_root, unflatten_device_tree()
1103 if (!initial_boot_params) { unflatten_and_copy_device_tree()
1108 size = fdt_totalsize(initial_boot_params); unflatten_and_copy_device_tree()
1113 memcpy(dt, initial_boot_params, size); unflatten_and_copy_device_tree()
1114 initial_boot_params = dt; unflatten_and_copy_device_tree()
1124 memcpy(buf, initial_boot_params + off, count); of_fdt_raw_read()
1133 if (!initial_boot_params) of_fdt_raw_init()
1136 if (of_fdt_crc32 != crc32_be(~0, initial_boot_params, of_fdt_raw_init()
1137 fdt_totalsize(initial_boot_params))) { of_fdt_raw_init()
1141 of_fdt_raw_attr.size = fdt_totalsize(initial_boot_params); of_fdt_raw_init()
/linux-4.1.27/arch/mips/mti-sead3/
H A Dsead3-setup.c100 if (!initial_boot_params) device_tree_init()
/linux-4.1.27/arch/powerpc/kernel/
H A Dprom.c120 start = __pa(initial_boot_params); move_device_tree()
121 size = fdt_totalsize(initial_boot_params); move_device_tree()
127 memcpy(p, initial_boot_params, size); move_device_tree()
128 initial_boot_params = p; move_device_tree()
334 if (fdt_version(initial_boot_params) >= 2) { early_init_dt_scan_cpus()
336 fdt_boot_cpuid_phys(initial_boot_params)) { early_init_dt_scan_cpus()
609 reserve_map = (__be64 *)(((unsigned long)initial_boot_params) + early_reserve_mem()
610 fdt_off_mem_rsvmap(initial_boot_params)); early_reserve_mem()
749 * initial_boot_params.
754 initial_boot_params = params; early_get_first_memblock_info()
/linux-4.1.27/arch/x86/kernel/
H A Ddevicetree.c286 initial_boot_params = dt = early_memremap(initial_dtb, map_len); x86_flattree_get_config()
290 initial_boot_params = dt = early_memremap(initial_dtb, size); x86_flattree_get_config()
/linux-4.1.27/arch/mips/pistachio/
H A Dinit.c115 if (!initial_boot_params) device_tree_init()
/linux-4.1.27/arch/nios2/kernel/
H A Dprom.c100 *addr64 = fdt_translate_address((const void *)initial_boot_params, early_init_dt_scan_serial()
/linux-4.1.27/include/linux/
H A Dof_fdt.h46 extern void *initial_boot_params;

Completed in 300 milliseconds