Home
last modified time | relevance | path

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

12345678910>>...53

/linux/arch/powerpc/boot/
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 …]
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()
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()
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()
/linux/Documentation/devicetree/bindings/
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 {
/linux/Documentation/devicetree/bindings/arm/
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
/linux/mm/
A Doom_kill.c349 if (oc->chosen) in oom_evaluate_task()
350 put_task_struct(oc->chosen); in oom_evaluate_task()
352 oc->chosen = task; in oom_evaluate_task()
357 if (oc->chosen) in oom_evaluate_task()
358 put_task_struct(oc->chosen); in oom_evaluate_task()
359 oc->chosen = (void *)-1UL; in oom_evaluate_task()
961 struct task_struct *victim = oc->chosen; in oom_kill_process()
1100 oc->chosen = current; in out_of_memory()
1107 if (!oc->chosen) { in out_of_memory()
1118 if (oc->chosen && oc->chosen != (void *)-1UL) in out_of_memory()
[all …]
/linux/Documentation/devicetree/bindings/regulator/
A Dfixed-regulator.yaml55 the compatible is chosen to regulator-fixed-clock. The clock binding
56 is mandatory if compatible is chosen to regulator-fixed-clock.
63 available if the compatible is chosen to regulator-fixed-domain.
70 available if the compatible is chosen to regulator-fixed-domain. The
71 power-domain binding is mandatory if compatible is chosen to
/linux/arch/powerpc/mm/
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()
/linux/drivers/pwm/
A Dcore.c944 struct pwm_lookup *p, *chosen = NULL; in pwm_get() local
999 chosen = p; in pwm_get()
1010 if (!chosen) in pwm_get()
1013 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
1021 if (!chip && chosen->module) { in pwm_get()
1022 err = request_module(chosen->module); in pwm_get()
1024 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
1030 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get()
1040 pwm->args.period = chosen->period; in pwm_get()
1041 pwm->args.polarity = chosen->polarity; in pwm_get()
/linux/drivers/net/phy/
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()
1042 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy()
1483 clock->chosen = dp83640; in dp83640_probe()
1497 clock->chosen = NULL; in dp83640_probe()
1524 if (dp83640 == clock->chosen) { in dp83640_remove()
[all …]
/linux/Documentation/devicetree/bindings/input/
A Dinput-reset.txt11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define
24 chosen {
/linux/arch/powerpc/kernel/
A Dprom_init.c121 phandle chosen; member
1344 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support()
2221 prom.chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services()
2222 if (!PHANDLE_VALID(prom.chosen)) in prom_init_client_services()
2259 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu()
2285 prom_setprop(prom.chosen, "/chosen", "linux,stdout-path", in prom_init_stdout()
3232 prom_setprop(prom.chosen, "/chosen", "linux,initrd-start", in prom_check_initrd()
3235 prom_setprop(prom.chosen, "/chosen", "linux,initrd-end", in prom_check_initrd()
3429 prom_setprop(prom.chosen, "/chosen", "linux,memory-limit", in prom_init()
3434 prom_setprop(prom.chosen, "/chosen", "linux,iommu-off", in prom_init()
[all …]
/linux/arch/sparc/kernel/
A Dsetup_64.c664 phandle chosen = prom_finddevice("/chosen"); in setup_arch() local
667 cl = prom_getintdefault (chosen, "client-ip", 0); in setup_arch()
668 sv = prom_getintdefault (chosen, "server-ip", 0); in setup_arch()
669 gw = prom_getintdefault (chosen, "gateway-ip", 0); in setup_arch()
/linux/arch/mips/boot/dts/ralink/
A Dvocore2.dts14 chosen {
A Domega2p.dts14 chosen {
A Dmt7620a_eval.dts15 chosen {
A Drt3883_eval.dts15 chosen {
/linux/Documentation/devicetree/bindings/display/
A Dsimple-framebuffer.yaml20 sub-nodes of the chosen node (*). Simplefb nodes must be named
37 interaction, then the chosen node stdout-path property should point
166 chosen {
/linux/arch/powerpc/sysdev/xive/
A Dspapr.c746 unsigned long root, chosen; in get_vec5_feature() local
751 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in get_vec5_feature()
752 if (chosen == -FDT_ERR_NOTFOUND) in get_vec5_feature()
755 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in get_vec5_feature()
/linux/arch/mips/boot/dts/mscc/
A Djaguar2_common.dtsi9 chosen {
/linux/arch/mips/boot/dts/brcm/
A Dbcm3368-netgear-cvg834g.dts15 chosen {
A Dbcm93384wvg.dts10 chosen {
A Dbcm9ejtagprb.dts15 chosen {
A Dbcm6362-neufbox6-sercomm.dts15 chosen {

Completed in 38 milliseconds

12345678910>>...53