Home
last modified time | relevance | path

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

12345678910>>...64

/linux-6.1.9/arch/powerpc/boot/
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 …]
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()
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()
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-6.1.9/Documentation/devicetree/bindings/arm/
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-6.1.9/Documentation/devicetree/bindings/phy/
Dqcom,usb-snps-femto-v2.yaml62 provided input will be chosen as the override value for this param.
71 provided input will be chosen as the override value for this param.
79 provided input will be chosen as the override value for this param.
91 provided input will be chosen as the override value for this param.
103 provided input will be chosen as the override value for this param.
111 provided input will be chosen as the override value for this param.
120 provided input will be chosen as the override value for this param.
130 value closest to the provided input will be chosen as the override value
141 provided input will be chosen as the override value for this param.
/linux-6.1.9/mm/
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()
1015 struct task_struct *victim = oc->chosen; in oom_kill_process()
1155 oc->chosen = current; in out_of_memory()
1162 if (!oc->chosen) { in out_of_memory()
1173 if (oc->chosen && oc->chosen != (void *)-1UL) in out_of_memory()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/regulator/
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-6.1.9/drivers/pwm/
Dcore.c908 struct pwm_lookup *p, *chosen = NULL; in pwm_get() local
963 chosen = p; in pwm_get()
974 if (!chosen) in pwm_get()
977 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
985 if (!chip && chosen->module) { in pwm_get()
986 err = request_module(chosen->module); in pwm_get()
988 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
994 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get()
1004 pwm->args.period = chosen->period; in pwm_get()
1005 pwm->args.polarity = chosen->polarity; in pwm_get()
/linux-6.1.9/arch/powerpc/mm/
Dinit_64.c404 unsigned long root, chosen; in early_check_vec5() local
410 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in early_check_vec5()
411 if (chosen == -FDT_ERR_NOTFOUND) { in early_check_vec5()
415 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5()
/linux-6.1.9/Documentation/translations/zh_CN/devicetree/
Dusage-model.rst149 这些数据大部分都包含在/chosen节点中,当启动Linux时,它看起来就像这样::
151 chosen {
203 chosen { };
261 类型的设备,甚至不能看出一个节点是否代表一个设备。/chosen、/aliases和
/linux-6.1.9/Documentation/devicetree/bindings/input/
Dinput-reset.txt11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define
24 chosen {
/linux-6.1.9/drivers/net/phy/
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()
475 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable()
636 struct phy_device *master = clock->chosen->phydev; in recalibrate()
1031 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy()
1115 if (clock->chosen && !list_empty(&clock->phylist)) in dp83640_config_init()
[all …]
/linux-6.1.9/arch/powerpc/kernel/
Dprom_init.c117 phandle chosen; member
793 if (!IS_ENABLED(CONFIG_CMDLINE_FORCE) && (long)prom.chosen > 0) in early_cmdline_parse()
794 l = prom_getprop(prom.chosen, "bootargs", p, COMMAND_LINE_SIZE-1); in early_cmdline_parse()
1340 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support()
1362 prom_getprop(prom.chosen, "ibm,arch-vec-5-platform-support", &vec, sizeof(vec)); in prom_check_platform_support()
1778 if (prom_getprop(prom.chosen, "stdin", &val, sizeof(val)) > 0) { in prom_close_stdin()
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()
2272 if (prom_getprop(prom.chosen, "stdout", &val, sizeof(val)) <= 0) in prom_init_stdout()
[all …]
/linux-6.1.9/arch/sparc/kernel/
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-6.1.9/arch/mips/boot/dts/ralink/
Dvocore2.dts14 chosen {
Domega2p.dts14 chosen {
Dmt7620a_eval.dts15 chosen {
Drt3883_eval.dts15 chosen {
/linux-6.1.9/arch/mips/boot/dts/mscc/
Djaguar2_common.dtsi9 chosen {
/linux-6.1.9/arch/mips/boot/dts/brcm/
Dbcm3368-netgear-cvg834g.dts15 chosen {
Dbcm93384wvg.dts10 chosen {
Dbcm9ejtagprb.dts15 chosen {
Dbcm6362-neufbox6-sercomm.dts15 chosen {
Dbcm93384wvg_viper.dts10 chosen {

12345678910>>...64