Home
last modified time | relevance | path

Searched full:chosen (Results 1 – 25 of 2392) sorted by relevance

12345678910>>...96

/linux-6.12.1/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
190 * edit the command line passed to vmlinux (by setting /chosen/bootargs).
196 static void prep_cmdline(void *chosen) in prep_cmdline() argument
203 n = getprop(chosen, "linux,cmdline-timeout", &v, sizeof(v)); in prep_cmdline()
[all …]
Dps3.c27 * edit the command line passed to vmlinux (by setting /chosen/bootargs).
34 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.c106 * space in the chosen mmu node, and then do a map operation to
115 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()
132 printf("no chosen\n"); in check_of_version()
136 if (of_getprop(chosen, "mmu", &chosen_mmu, sizeof(chosen_mmu)) <= 0) { in check_of_version()
/linux-6.12.1/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.12.1/Documentation/devicetree/bindings/phy/
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-6.12.1/arch/mips/generic/
Dyamon-dt.c24 /* find or add chosen node */ in yamon_dt_append_cmdline()
25 chosen_off = fdt_path_offset(fdt, "/chosen"); in yamon_dt_append_cmdline()
27 chosen_off = fdt_add_subnode(fdt, 0, "chosen"); in yamon_dt_append_cmdline()
29 pr_err("Unable to find or add DT chosen node: %d\n", in yamon_dt_append_cmdline()
215 /* find or add chosen node */ in yamon_dt_serial_config()
216 chosen_off = fdt_path_offset(fdt, "/chosen"); in yamon_dt_serial_config()
218 chosen_off = fdt_add_subnode(fdt, 0, "chosen"); in yamon_dt_serial_config()
220 pr_err("Unable to find or add DT chosen node: %d\n", in yamon_dt_serial_config()
Dboard-realtek.c19 node = fdt_path_offset(fdt, "/chosen"); in realtek_add_initrd()
21 pr_err("/chosen node not found\n"); in realtek_add_initrd()
/linux-6.12.1/arch/mips/include/asm/
Dyamon-dt.h25 * yamon_dt_append_cmdline() - Append YAMON-provided command line to /chosen
29 * /chosen node in @fdt.
49 * yamon_dt_serial_config() - Append YAMON-provided serial config to /chosen
52 * Generate a stdout-path property in the /chosen node of @fdt, based upon
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
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-6.12.1/arch/arm/boot/compressed/
Datags_to_fdt.c81 fdt_bootargs = getprop(fdt, "/chosen", "bootargs", &len); in merge_fdt_bootargs()
101 setprop_string(fdt, "/chosen", "bootargs", cmdline); in merge_fdt_bootargs()
164 * tags will be chosen. in atags_to_fdt()
170 setprop_string(fdt, "/chosen", "bootargs", in atags_to_fdt()
200 setprop_cell(fdt, "/chosen", "linux,initrd-start", in atags_to_fdt()
202 setprop_cell(fdt, "/chosen", "linux,initrd-end", in atags_to_fdt()
/linux-6.12.1/arch/arm64/kernel/pi/
Dmap_kernel.c206 static char const chosen_str[] __initconst = "/chosen"; in early_map_kernel()
211 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()
Dpi.h26 void init_feature_override(u64 boot_status, const void *fdt, int chosen);
27 u64 kaslr_early_init(void *fdt, int chosen);
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()
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
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-6.12.1/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.12.1/drivers/firmware/efi/libstub/
Dfdt.c78 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt()
80 node = fdt_add_subnode(fdt, 0, "chosen"); in update_fdt()
95 /* Add FDT entries for EFI runtime services in chosen node. */ in update_fdt()
96 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt()
149 int node = fdt_path_offset(fdt, "/chosen"); in update_fdt_memmap()
/linux-6.12.1/drivers/net/phy/
Ddp83640.c144 struct dp83640_private *chosen; member
145 /* list of the other attached phyters, not chosen */
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()
635 struct phy_device *master = clock->chosen->phydev; in recalibrate()
1024 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy()
[all …]
/linux-6.12.1/mm/
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()
363 * 'points'. In case scan was aborted, oc->chosen is set to -1.
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()
[all …]
/linux-6.12.1/include/linux/irqchip/
Darm-gic-v3-prio.h9 * These values are chosen to be valid in either the absolute priority space or
11 * and ITS will be chosen at boot time such that these values appear in the
/linux-6.12.1/lib/
DKconfig.kcsan98 due to reducing cache-line contention. The chosen default is a
121 If false, the chosen delays are always the KCSAN_UDELAY_* values
139 KCSAN_SKIP_WATCH. If false, the chosen value is always
166 # The defaults are chosen to be conservative, and can miss certain bugs.
/linux-6.12.1/arch/arm64/boot/dts/broadcom/
Dbcm2712-rpi-5-b.dts15 chosen: chosen { label
/linux-6.12.1/include/uapi/linux/
Dkcov.h30 * In new KCOV version the mode is chosen by calling
33 * compatibility, we have chosen the value KCOV_TRACE_PC to be 0.
/linux-6.12.1/drivers/of/
Dkexec.c196 * @chosen_node: Offset to the chosen node in the device tree
230 * @chosen_node: Offset to the chosen node.
311 chosen_node = fdt_path_offset(fdt, "/chosen"); in of_kexec_alloc_and_setup_fdt()
314 "chosen"); in of_kexec_alloc_and_setup_fdt()
465 ret = setup_ima_buffer(image, fdt, fdt_path_offset(fdt, "/chosen")); in of_kexec_alloc_and_setup_fdt()
/linux-6.12.1/Documentation/security/
DIMA-templates.rst35 parameter. At boot time, IMA initializes the chosen template descriptor
42 descriptor chosen through the kernel configuration or through the newly
47 fields associated to the chosen template descriptor and store the result

12345678910>>...96