Home
last modified time | relevance | path

Searched full:chosen (Results 1 – 25 of 3047) sorted by relevance

12345678910>>...122

/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dmain.c101 static struct addr_range prep_initrd(struct addr_range vmlinux, void *chosen, in prep_initrd() argument
143 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); in prep_initrd()
144 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd()
150 static void prep_esm_blob(struct addr_range vmlinux, void *chosen) in prep_esm_blob() argument
182 setprop_val(chosen, "linux,esm-blob-start", (u32)(esm_blob_addr)); in prep_esm_blob()
183 setprop_val(chosen, "linux,esm-blob-end", (u32)(esm_blob_addr + esm_blob_size)); in prep_esm_blob()
186 static inline void prep_esm_blob(struct addr_range vmlinux, void *chosen) { } in prep_esm_blob() argument
190 * edit the command line passed to vmlinux (by setting /chosen/bootargs).
196 static void prep_cmdline(void *chosen) in prep_cmdline() argument
203 n = getprop(chosen, "linux,cmdline-timeout", &v, sizeof(v)); in prep_cmdline()
[all …]
H A Dps3.c34 * edit the command line passed to vmlinux (by setting /chosen/bootargs).
41 static void prep_cmdline(void *chosen) in prep_cmdline() argument
44 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
46 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
113 void *chosen; in platform_init() local
125 chosen = finddevice("/chosen"); in platform_init()
131 setprop_val(chosen, "linux,initrd-start", (u32)(_initrd_start)); in platform_init()
132 setprop_val(chosen, "linux,initrd-end", (u32)(_initrd_end)); in platform_init()
135 prep_cmdline(chosen); in platform_init()
H A Dplanetcore.c108 void *node, *chosen; in planetcore_set_stdout_path() local
123 chosen = finddevice("/chosen"); in planetcore_set_stdout_path()
124 if (!chosen) in planetcore_set_stdout_path()
125 chosen = create_node(NULL, "chosen"); in planetcore_set_stdout_path()
126 if (!chosen) in planetcore_set_stdout_path()
129 setprop_str(chosen, "linux,stdout-path", path); in planetcore_set_stdout_path()
H A Doflib.c106 * space in the chosen mmu node, and then do a map operation to
115 phandle oprom, chosen; in check_of_version() local
128 chosen = of_finddevice("/chosen"); in check_of_version()
129 if (chosen == (phandle) -1) { in check_of_version()
130 chosen = of_finddevice("/chosen@0"); in check_of_version()
131 if (chosen == (phandle) -1) { in check_of_version()
132 printf("no chosen\n"); in check_of_version()
136 if (of_getprop(chosen, "mmu", &chosen_mmu, sizeof(chosen_mmu)) <= 0) { in check_of_version()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dsecure.txt56 The secure-chosen node
59 Similar to the /chosen node which serves as a place for passing data
60 between firmware and the operating system, the /secure-chosen node may
62 below may appear in the /secure-chosen node.
65 its console output. The syntax is the same as for /chosen/stdout-path.
66 If the /secure-chosen node exists but the stdout-path property is not
68 /secure-chosen does not exist, the Secure OS should use the value of
69 /chosen/stdout-path instead (that is, use the same device as the
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A Dchosen.txt1 The chosen node
4 The chosen node does not represent a real device, but serves as a place
6 arguments. Data in the chosen node does not represent the hardware.
21 chosen {
35 with a stdout-path property under /chosen, as described in the Devicetree
39 chosen {
93 chosen {
115 chosen {
133 chosen {
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/
H A Dchosen.txt1 The chosen node
3 The chosen node does not represent a real device, but serves as a place
10 with a stdout-path property under /chosen.
15 chosen {
35 chosen {
54 be configured with the spl-boot-order property under the /chosen node.
72 chosen {
/OK3568_Linux_fs/kernel/arch/mips/generic/
H A Dyamon-dt.c24 /* find or add chosen node */ in yamon_dt_append_cmdline()
25 chosen_off = fdt_path_offset(fdt, "/chosen"); in yamon_dt_append_cmdline()
27 chosen_off = fdt_add_subnode(fdt, 0, "chosen"); in yamon_dt_append_cmdline()
29 pr_err("Unable to find or add DT chosen node: %d\n", in yamon_dt_append_cmdline()
215 /* find or add chosen node */ in yamon_dt_serial_config()
216 chosen_off = fdt_path_offset(fdt, "/chosen"); in yamon_dt_serial_config()
218 chosen_off = fdt_add_subnode(fdt, 0, "chosen"); in yamon_dt_serial_config()
220 pr_err("Unable to find or add DT chosen node: %d\n", in yamon_dt_serial_config()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dyamon-dt.h25 * yamon_dt_append_cmdline() - Append YAMON-provided command line to /chosen
29 * /chosen node in @fdt.
49 * yamon_dt_serial_config() - Append YAMON-provided serial config to /chosen
52 * Generate a stdout-path property in the /chosen node of @fdt, based upon
/OK3568_Linux_fs/kernel/arch/arm/boot/compressed/
H A Datags_to_fdt.c80 fdt_bootargs = getprop(fdt, "/chosen", "bootargs", &len); in merge_fdt_bootargs()
100 setprop_string(fdt, "/chosen", "bootargs", cmdline); in merge_fdt_bootargs()
163 * tags will be chosen. in atags_to_fdt()
169 setprop_string(fdt, "/chosen", "bootargs", in atags_to_fdt()
199 setprop_cell(fdt, "/chosen", "linux,initrd-start", in atags_to_fdt()
201 setprop_cell(fdt, "/chosen", "linux,initrd-end", in atags_to_fdt()
/OK3568_Linux_fs/u-boot/drivers/led/
H A DKconfig112 which LED is being acted on. As such, the chosen value must be unique
146 identify which LED is being acted on. As such, the chosen value must
181 identify which LED is being acted on. As such, the chosen value must
216 identify which LED is being acted on. As such, the chosen value must
251 identify which LED is being acted on. As such, the chosen value must
286 identify which LED is being acted on. As such, the chosen value must
/OK3568_Linux_fs/kernel/mm/
H A Doom_kill.c367 if (oc->chosen) in oom_evaluate_task()
368 put_task_struct(oc->chosen); in oom_evaluate_task()
370 oc->chosen = task; in oom_evaluate_task()
377 if (oc->chosen) in oom_evaluate_task()
378 put_task_struct(oc->chosen); in oom_evaluate_task()
380 oc->chosen = (void *)-1UL; in oom_evaluate_task()
386 * 'points'. In case scan was aborted, oc->chosen is set to -1.
408 * If oc->chosen has a negative ADJ, and we found a task with in select_bad_process()
412 if (oc->chosen && oc->chosen->signal->oom_score_adj < 0) { in select_bad_process()
413 put_task_struct(oc->chosen); in select_bad_process()
[all …]
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/src/
H A Dpattern.h42 // chosen between 0-sum(weights), and the
43 // appropriate pattern is chosen. Thus a weight of
45 // chosen as a weight of 5.
81 // pattern will be chosen.
/OK3568_Linux_fs/u-boot/board/freescale/qemu-ppce500/
H A Dqemu-ppce500.c203 int chosen; in last_stage_init() local
205 chosen = fdt_path_offset(fdt, "/chosen"); in last_stage_init()
206 if (chosen < 0) { in last_stage_init()
207 printf("Couldn't find /chosen node in fdt\n"); in last_stage_init()
212 prop = fdt_getprop(fdt, chosen, "qemu,boot-kernel", &len); in last_stage_init()
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/tegra186/
H A Dnvtboot_board.c28 * Attempt to use /chosen/nvidia,ether-mac in the nvtboot DTB to U-Boot's
41 node = fdt_path_offset(nvtboot_blob, "/chosen"); in set_ethaddr_from_nvtboot()
43 printf("Can't find /chosen node in nvtboot DTB\n"); in set_ethaddr_from_nvtboot()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Dinit_64.c392 * /chosen/ibm,architecture-vec-5 to see if the hypervisor is willing to do
397 unsigned long root, chosen; in early_check_vec5() local
403 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in early_check_vec5()
404 if (chosen == -FDT_ERR_NOTFOUND) { in early_check_vec5()
408 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5()
447 * Check /chosen/ibm,architecture-vec-5 if running as a guest. in mmu_early_init_devtree()
/OK3568_Linux_fs/kernel/arch/powerpc/kexec/
H A Dfile_load.c145 * setup_new_fdt - modify /chosen and memory reservation for the next kernel
170 chosen_node = fdt_path_offset(fdt, "/chosen"); in setup_new_fdt()
173 "chosen"); in setup_new_fdt()
175 pr_err("Error creating /chosen.\n"); in setup_new_fdt()
179 pr_err("Malformed device tree: error reading /chosen.\n"); in setup_new_fdt()
/OK3568_Linux_fs/u-boot/dts/
H A DMakefile38 -n /chosen -n /config -O dtb | \
44 -n /chosen -n /config -O dtb | \
51 -n /chosen -n config -O dtb | \
58 -n /chosen -n config -O dtb | \
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Ddp83640.c136 struct dp83640_private *chosen; member
137 /* list of the other attached phyters, not chosen */
299 struct dp83640_private *dp83640 = clock->chosen; in periodic_output()
370 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfine()
403 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime()
425 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime()
450 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime()
467 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable()
627 struct phy_device *master = clock->chosen->phydev; in recalibrate()
1036 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy()
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Dfdt.c79 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt()
81 node = fdt_add_subnode(fdt, 0, "chosen"); in update_fdt()
111 /* Add FDT entries for EFI runtime services in chosen node. */ in update_fdt()
112 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt()
165 int node = fdt_path_offset(fdt, "/chosen"); in update_fdt_memmap()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A DOK3568-C-linux.dts4 chosen: chosen { label
H A DOK-x-U40-linux.dts4 chosen: chosen { label
H A Drk3528-demo4-ddr4-v10-linux.dts11 chosen: chosen { label
H A Drk3528-evb1-ddr4-v10-linux.dts11 chosen: chosen { label
H A Drk3528-evb1-ddr4-v10-spi-nand-linux.dts11 chosen: chosen { label

12345678910>>...122