Home
last modified time | relevance | path

Searched refs:chosen (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/arch/powerpc/boot/
Dmain.c105 static struct addr_range prep_initrd(struct addr_range vmlinux, void *chosen, in prep_initrd() argument
147 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); in prep_initrd()
148 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd()
160 static void prep_cmdline(void *chosen) in prep_cmdline() argument
167 n = getprop(chosen, "linux,cmdline-timeout", &v, sizeof(v)); in prep_cmdline()
172 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
183 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
196 void *chosen; in start() local
214 chosen = finddevice("/chosen"); in start()
215 if (!chosen) in start()
[all …]
Dps3.c53 static void prep_cmdline(void *chosen) in prep_cmdline() argument
56 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
58 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
125 void *chosen; in platform_init() local
137 chosen = finddevice("/chosen"); in platform_init()
143 setprop_val(chosen, "linux,initrd-start", (u32)(_initrd_start)); in platform_init()
144 setprop_val(chosen, "linux,initrd-end", (u32)(_initrd_end)); in platform_init()
147 prep_cmdline(chosen); in platform_init()
Dplanetcore.c111 void *node, *chosen; in planetcore_set_stdout_path() local
126 chosen = finddevice("/chosen"); in planetcore_set_stdout_path()
127 if (!chosen) in planetcore_set_stdout_path()
128 chosen = create_node(NULL, "chosen"); in planetcore_set_stdout_path()
129 if (!chosen) in planetcore_set_stdout_path()
132 setprop_str(chosen, "linux,stdout-path", path); in planetcore_set_stdout_path()
Doflib.c119 phandle oprom, chosen; in check_of_version() local
132 chosen = of_finddevice("/chosen"); in check_of_version()
133 if (chosen == (phandle) -1) { in check_of_version()
134 chosen = of_finddevice("/chosen@0"); in check_of_version()
135 if (chosen == (phandle) -1) { in check_of_version()
140 if (of_getprop(chosen, "mmu", &chosen_mmu, sizeof(chosen_mmu)) <= 0) { in check_of_version()
/arch/powerpc/mm/
Dinit_64.c386 unsigned long root, chosen; in early_check_vec5() local
392 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in early_check_vec5()
393 if (chosen == -FDT_ERR_NOTFOUND) { in early_check_vec5()
397 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5()
/arch/mips/boot/dts/ralink/
Dvocore2.dts14 chosen {
Domega2p.dts14 chosen {
Dmt7620a_eval.dts15 chosen {
Drt3883_eval.dts15 chosen {
/arch/mips/boot/dts/brcm/
Dbcm93384wvg.dts10 chosen {
Dbcm3368-netgear-cvg834g.dts15 chosen {
Dbcm9ejtagprb.dts15 chosen {
Dbcm6362-neufbox6-sercomm.dts15 chosen {
Dbcm93384wvg_viper.dts10 chosen {
Dbcm96368mvwg.dts15 chosen {
/arch/arm/boot/dts/
Dqcom-apq8084-mtp.dts14 chosen {
Dskeleton64.dtsi11 chosen { };
Dowl-s500-guitar-bb-rev-b.dts19 chosen {
Dqcom-apq8084-ifc6540.dts14 chosen {
/arch/metag/boot/dts/
Dskeleton.dtsi12 chosen { };
/arch/mips/boot/dts/ingenic/
Dqi_lb60.dts9 chosen {
/arch/arm64/boot/dts/actions/
Ds900-bubblegum-96.dts19 chosen {
/arch/xtensa/boot/dts/
Dkc705_nommu.dts8 chosen {
/arch/arm64/boot/dts/mediatek/
Dmt2712-evb.dts24 chosen {
Dmt7622-rfb1.dts16 chosen {

12345678910>>...33