Home
last modified time | relevance | path

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

12345678910>>...81

/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
196 static void prep_cmdline(void *chosen) in prep_cmdline() argument
203 n = getprop(chosen, "linux,cmdline-timeout", &v, sizeof(v)); in prep_cmdline()
208 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
[all …]
H A Dps3.c41 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.c115 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()
136 if (of_getprop(chosen, "mmu", &chosen_mmu, sizeof(chosen_mmu)) <= 0) { in check_of_version()
/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/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/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()
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()
414 oc->chosen = oc->chosen_non_negative_adj; in select_bad_process()
1006 struct task_struct *victim = oc->chosen; in oom_kill_process()
[all …]
/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/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
H A Drk3562-linux.dtsi8 chosen: chosen { label
H A Drk3562-android.dtsi8 chosen: chosen { label
H A Drk3588-nvr-demo-v10-spi-nand.dts16 chosen: chosen { label
H A Drk3568-nvr-linux.dtsi8 chosen: chosen { label
H A Drk3568-iotest-ddr3-v10-linux.dts16 chosen: chosen { label
H A Drk3568-linux.dtsi15 chosen: chosen { label
/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()
212 prop = fdt_getprop(fdt, chosen, "qemu,boot-kernel", &len); in last_stage_init()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Dinit_64.c397 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()
/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dcore.c1009 struct pwm_lookup *p, *chosen = NULL; in pwm_get() local
1064 chosen = p; in pwm_get()
1075 if (!chosen) in pwm_get()
1078 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
1086 if (!chip && chosen->module) { in pwm_get()
1087 err = request_module(chosen->module); in pwm_get()
1089 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
1095 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get()
1105 pwm->args.period = chosen->period; in pwm_get()
1106 pwm->args.polarity = chosen->polarity; in pwm_get()
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Ddp83640.c136 struct dp83640_private *chosen; member
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()
1120 if (clock->chosen && !list_empty(&clock->phylist)) in dp83640_config_init()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dprom_init.c119 phandle chosen; member
777 if (!IS_ENABLED(CONFIG_CMDLINE_FORCE) && (long)prom.chosen > 0) in early_cmdline_parse()
778 l = prom_getprop(prom.chosen, "bootargs", p, COMMAND_LINE_SIZE-1); in early_cmdline_parse()
1313 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support()
1333 prom_getprop(prom.chosen, "ibm,arch-vec-5-platform-support", &vec, sizeof(vec)); in prom_check_platform_support()
1749 if (prom_getprop(prom.chosen, "stdin", &val, sizeof(val)) > 0) { in prom_close_stdin()
2186 prom.chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services()
2187 if (!PHANDLE_VALID(prom.chosen)) in prom_init_client_services()
2224 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu()
2241 if (prom_getprop(prom.chosen, "stdout", &val, sizeof(val)) <= 0) in prom_init_stdout()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dinput-reset.txt11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define
24 chosen {

12345678910>>...81