Home
last modified time | relevance | path

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

12345678910>>...62

/openbmc/linux/arch/powerpc/boot/
H A Dmain.c143 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); in prep_initrd()
196 static void prep_cmdline(void *chosen) in prep_cmdline() argument
203 n = getprop(chosen, "linux,cmdline-timeout", &v, sizeof(v)); in prep_cmdline()
219 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
232 void *chosen; in start() local
250 chosen = finddevice("/chosen"); in start()
251 if (!chosen) in start()
252 chosen = create_node(NULL, "chosen"); in start()
255 initrd = prep_initrd(vmlinux, chosen, in start()
257 prep_esm_blob(vmlinux, chosen); in start()
[all …]
H A Dps3.c34 static void prep_cmdline(void *chosen) in prep_cmdline() argument
37 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline()
39 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
106 void *chosen; in platform_init() local
118 chosen = finddevice("/chosen"); in platform_init()
124 setprop_val(chosen, "linux,initrd-start", (u32)(_initrd_start)); in platform_init()
125 setprop_val(chosen, "linux,initrd-end", (u32)(_initrd_end)); in platform_init()
128 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()
/openbmc/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 {
57 chosen {
84 be configured with the spl-boot-order property under the /chosen node.
102 chosen {
127 chosen {
/openbmc/linux/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
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dqcom,usb-snps-femto-v2.yaml68 provided input will be chosen as the override value for this param.
77 provided input will be chosen as the override value for this param.
85 provided input will be chosen as the override value for this param.
97 provided input will be chosen as the override value for this param.
109 provided input will be chosen as the override value for this param.
117 provided input will be chosen as the override value for this param.
126 provided input will be chosen as the override value for this param.
136 value closest to the provided input will be chosen as the override value
147 provided input will be chosen as the override value for this param.
/openbmc/qemu/pc-bios/vof/
H A Dbootmem.c6 phandle chosen = ci_finddevice("/chosen"); in boot_from_memory() local
8 if (ci_getprop(chosen, "qemu,boot-kernel", kern, sizeof(kern)) != in boot_from_memory()
/openbmc/u-boot/arch/arm/mach-rockchip/
H A Drk3399-board-spl.c85 int chosen; in spl_perform_fixups() local
101 chosen = fdt_find_or_add_subnode(blob, 0, "chosen"); in spl_perform_fixups()
102 if (chosen < 0) { in spl_perform_fixups()
106 fdt_setprop_string(blob, chosen, in spl_perform_fixups()
/openbmc/linux/mm/
H A Doom_kill.c346 if (oc->chosen) in oom_evaluate_task()
347 put_task_struct(oc->chosen); in oom_evaluate_task()
349 oc->chosen = task; in oom_evaluate_task()
354 if (oc->chosen) in oom_evaluate_task()
355 put_task_struct(oc->chosen); in oom_evaluate_task()
356 oc->chosen = (void *)-1UL; in oom_evaluate_task()
1012 struct task_struct *victim = oc->chosen; in oom_kill_process()
1150 oc->chosen = current; in out_of_memory()
1157 if (!oc->chosen) { in out_of_memory()
1168 if (oc->chosen && oc->chosen != (void *)-1UL) in out_of_memory()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dfixed-regulator.yaml62 the compatible is chosen to regulator-fixed-clock. The clock binding
63 is mandatory if compatible is chosen to regulator-fixed-clock.
70 available if the compatible is chosen to regulator-fixed-domain.
77 available if the compatible is chosen to regulator-fixed-domain. The
78 power-domain binding is mandatory if compatible is chosen to
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/fvp-base/
H A D0001-fdts-fvp-base-Add-stdout-path-and-virtio-net-and-rng.patch20 chosen { bootargs = "console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda ip=on";};
22 - chosen {};
23 + chosen {
/openbmc/qemu/hw/ppc/
H A Dspapr_vof.c36 int chosen; in spapr_vof_client_dt_finalize() local
38 _FDT(chosen = fdt_path_offset(fdt, "/chosen")); in spapr_vof_client_dt_finalize()
43 _FDT(fdt_setprop_string(fdt, chosen, "bootargs", spapr->vof->bootargs)); in spapr_vof_client_dt_finalize()
/openbmc/qemu/docs/system/arm/
H A Dxlnx-versal-virt.rst145 …fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 m…
146 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1"
147 fdt mknode /chosen dom0
148 fdt set /chosen/dom0 compatible "xen,multiboot-module"
149 fdt set /chosen/dom0 reg <0x00000000 0x40000000 0x0 0x03100000>
174 …fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 m…
175 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1"
176 fdt mknode /chosen dom0
177 fdt set /chosen/dom0 compatible "xen,multiboot-module"
178 fdt set /chosen/dom0 reg <0x00000000 0x40000000 0x0 0x03100000>
/openbmc/u-boot/board/freescale/qemu-ppce500/
H A Dqemu-ppce500.c202 int chosen; in last_stage_init() local
204 chosen = fdt_path_offset(fdt, "/chosen"); in last_stage_init()
205 if (chosen < 0) { in last_stage_init()
211 prop = fdt_getprop(fdt, chosen, "qemu,boot-kernel", &len); in last_stage_init()
/openbmc/linux/drivers/pwm/
H A Dcore.c857 struct pwm_lookup *p, *chosen = NULL; in pwm_get() local
912 chosen = p; in pwm_get()
923 if (!chosen) in pwm_get()
926 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
934 if (!chip && chosen->module) { in pwm_get()
935 err = request_module(chosen->module); in pwm_get()
937 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
943 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get()
953 pwm->args.period = chosen->period; in pwm_get()
954 pwm->args.polarity = chosen->polarity; in pwm_get()
/openbmc/linux/Documentation/translations/zh_CN/devicetree/
H A Dusage-model.rst149 这些数据大部分都包含在/chosen节点中,当启动Linux时,它看起来就像这样::
151 chosen {
203 chosen { };
261 类型的设备,甚至不能看出一个节点是否代表一个设备。/chosen、/aliases和
/openbmc/linux/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 {
/openbmc/linux/drivers/net/phy/
H A Ddp83640.c144 struct dp83640_private *chosen; member
307 struct dp83640_private *dp83640 = clock->chosen; in periodic_output()
378 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfine()
411 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime()
433 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime()
458 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime()
1024 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy()
1462 clock->chosen = dp83640; in dp83640_probe()
1476 clock->chosen = NULL; in dp83640_probe()
1503 if (dp83640 == clock->chosen) { in dp83640_remove()
[all …]
/openbmc/linux/arch/powerpc/mm/
H A Dinit_64.c427 unsigned long root, chosen; in early_check_vec5() local
433 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in early_check_vec5()
434 if (chosen == -FDT_ERR_NOTFOUND) { in early_check_vec5()
438 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5()
/openbmc/u-boot/arch/microblaze/dts/
H A Dmicroblaze-generic.dts7 chosen {
/openbmc/linux/arch/powerpc/kernel/
H A Dprom_init.c117 phandle chosen; member
1340 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support()
2217 prom.chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services()
2218 if (!PHANDLE_VALID(prom.chosen)) in prom_init_client_services()
2255 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu()
2281 prom_setprop(prom.chosen, "/chosen", "linux,stdout-path", in prom_init_stdout()
3253 prom_setprop(prom.chosen, "/chosen", "linux,initrd-start", in prom_check_initrd()
3256 prom_setprop(prom.chosen, "/chosen", "linux,initrd-end", in prom_check_initrd()
3450 prom_setprop(prom.chosen, "/chosen", "linux,memory-limit", in prom_init()
3455 prom_setprop(prom.chosen, "/chosen", "linux,iommu-off", in prom_init()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dfsl-ls1012a-qds.dts10 chosen {
H A Dam3517-evm-u-boot.dtsi8 chosen {
H A Domap3-evm-u-boot.dtsi11 chosen {

12345678910>>...62