Home
last modified time | relevance | path

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

12345678910>>...56

/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/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/Documentation/devicetree/bindings/phy/
A Dqcom,usb-snps-femto-v2.yaml69 provided input will be chosen as the override value for this param.
78 provided input will be chosen as the override value for this param.
86 provided input will be chosen as the override value for this param.
98 provided input will be chosen as the override value for this param.
110 provided input will be chosen as the override value for this param.
118 provided input will be chosen as the override value for this param.
127 provided input will be chosen as the override value for this param.
137 value closest to the provided input will be chosen as the override value
148 provided input will be chosen as the override value for this param.
/linux/mm/
A Doom_kill.c347 if (oc->chosen) in oom_evaluate_task()
348 put_task_struct(oc->chosen); in oom_evaluate_task()
350 oc->chosen = task; in oom_evaluate_task()
355 if (oc->chosen) in oom_evaluate_task()
356 put_task_struct(oc->chosen); in oom_evaluate_task()
357 oc->chosen = (void *)-1UL; in oom_evaluate_task()
1014 struct task_struct *victim = oc->chosen; in oom_kill_process()
1154 oc->chosen = current; in out_of_memory()
1161 if (!oc->chosen) { in out_of_memory()
1172 if (oc->chosen && oc->chosen != (void *)-1UL) in out_of_memory()
[all …]
/linux/Documentation/devicetree/bindings/regulator/
A Dfixed-regulator.yaml69 the compatible is chosen to regulator-fixed-clock. The clock binding
70 is mandatory if compatible is chosen to regulator-fixed-clock.
77 available if the compatible is chosen to regulator-fixed-domain.
84 available if the compatible is chosen to regulator-fixed-domain. The
85 power-domain binding is mandatory if compatible is chosen to
/linux/arch/arm64/kernel/pi/
A Dkaslr_early.c42 u64 __init kaslr_early_init(void *fdt, int chosen) in kaslr_early_init() argument
49 seed = get_kaslr_seed(fdt, chosen); in kaslr_early_init()
A Dmap_kernel.c211 int chosen; in early_map_kernel() local
219 chosen = fdt_path_offset(fdt, chosen_str); in early_map_kernel()
220 init_feature_override(boot_status, fdt, chosen); in early_map_kernel()
240 u64 kaslr_seed = kaslr_early_init(fdt, chosen); in early_map_kernel()
A Dpi.h26 void init_feature_override(u64 boot_status, const void *fdt, int chosen);
27 u64 kaslr_early_init(void *fdt, int chosen);
A Didreg-override.c359 static __init void parse_cmdline(const void *fdt, int chosen) in parse_cmdline() argument
362 const u8 *prop = get_bootargs_cmdline(fdt, chosen); in parse_cmdline()
372 int chosen) in init_feature_override() argument
388 parse_cmdline(fdt, chosen); in init_feature_override()
/linux/Documentation/translations/zh_CN/devicetree/
A Dusage-model.rst149 这些数据大部分都包含在/chosen节点中,当启动Linux时,它看起来就像这样::
151 chosen {
203 chosen { };
261 类型的设备,甚至不能看出一个节点是否代表一个设备。/chosen、/aliases和
/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/arm64/boot/dts/broadcom/
A Dbcm2712-rpi-5-b.dts15 chosen: chosen { label
/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()
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 …]
/linux/arch/powerpc/mm/
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()
/linux/arch/powerpc/kernel/
A Dprom_init.c117 phandle chosen; member
1348 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support()
2225 prom.chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services()
2226 if (!PHANDLE_VALID(prom.chosen)) in prom_init_client_services()
2263 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu()
2289 prom_setprop(prom.chosen, "/chosen", "linux,stdout-path", in prom_init_stdout()
3236 prom_setprop(prom.chosen, "/chosen", "linux,initrd-start", in prom_check_initrd()
3239 prom_setprop(prom.chosen, "/chosen", "linux,initrd-end", in prom_check_initrd()
3433 prom_setprop(prom.chosen, "/chosen", "linux,memory-limit", in prom_init()
3438 prom_setprop(prom.chosen, "/chosen", "linux,iommu-off", in prom_init()
[all …]
/linux/arch/sparc/kernel/
A Dsetup_64.c651 phandle chosen = prom_finddevice("/chosen"); in setup_arch() local
654 cl = prom_getintdefault (chosen, "client-ip", 0); in setup_arch()
655 sv = prom_getintdefault (chosen, "server-ip", 0); in setup_arch()
656 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 {
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
A Dkconfig.rst33 | mlx5e is the mlx5 ulp driver which provides netdevice kernel interface, when chosen, mlx5e wil…
169 - CONFIG_MLXFW: When chosen, mlx5 firmware flashing support will be enabled (via devlink and ethtoo…
170 - CONFIG_PTP_1588_CLOCK: When chosen, mlx5 ptp support will be enabled
171 - CONFIG_VXLAN: When chosen, mlx5 vxlan support will be enabled.
/linux/drivers/pwm/
A Dcore.c1426 struct pwm_lookup *p, *chosen = NULL; in pwm_get() local
1480 chosen = p; in pwm_get()
1489 if (!chosen) in pwm_get()
1492 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
1500 if (!chip && chosen->module) { in pwm_get()
1501 err = request_module(chosen->module); in pwm_get()
1503 chip = pwmchip_find_by_name(chosen->provider); in pwm_get()
1509 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get()
1519 pwm->args.period = chosen->period; in pwm_get()
1520 pwm->args.polarity = chosen->polarity; in pwm_get()
/linux/arch/mips/boot/dts/mscc/
A Djaguar2_common.dtsi9 chosen {

Completed in 66 milliseconds

12345678910>>...56