/Linux-v5.4/arch/powerpc/boot/ |
D | main.c | 101 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 …]
|
D | ps3.c | 34 * edit the command line passed to vmlinux (by setting /chosen/bootargs). 41 static void prep_cmdline(void *chosen) in prep_cmdline() argument 44 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline() 46 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline() 113 void *chosen; in platform_init() local 125 chosen = finddevice("/chosen"); in platform_init() 131 setprop_val(chosen, "linux,initrd-start", (u32)(_initrd_start)); in platform_init() 132 setprop_val(chosen, "linux,initrd-end", (u32)(_initrd_end)); in platform_init() 135 prep_cmdline(chosen); in platform_init()
|
D | planetcore.c | 108 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()
|
D | oflib.c | 106 * 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-v5.4/Documentation/devicetree/bindings/arm/ |
D | secure.txt | 56 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-v5.4/Documentation/devicetree/bindings/ |
D | chosen.txt | 1 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-v5.4/arch/mips/generic/ |
D | yamon-dt.c | 24 /* 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()
|
/Linux-v5.4/arch/mips/include/asm/ |
D | yamon-dt.h | 25 * 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-v5.4/arch/arm/boot/compressed/ |
D | atags_to_fdt.c | 78 fdt_bootargs = getprop(fdt, "/chosen", "bootargs", &len); in merge_fdt_bootargs() 98 setprop_string(fdt, "/chosen", "bootargs", cmdline); in merge_fdt_bootargs() 161 * tags will be chosen. in atags_to_fdt() 167 setprop_string(fdt, "/chosen", "bootargs", in atags_to_fdt() 197 setprop_cell(fdt, "/chosen", "linux,initrd-start", in atags_to_fdt() 199 setprop_cell(fdt, "/chosen", "linux,initrd-end", in atags_to_fdt()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | machine_kexec_file_64.c | 123 * setup_new_fdt - modify /chosen and memory reservation for the next kernel 148 chosen_node = fdt_path_offset(fdt, "/chosen"); in setup_new_fdt() 151 "chosen"); in setup_new_fdt() 153 pr_err("Error creating /chosen.\n"); in setup_new_fdt() 157 pr_err("Malformed device tree: error reading /chosen.\n"); in setup_new_fdt()
|
D | prom_init.c | 119 phandle chosen; member 767 if ((long)prom.chosen > 0) in early_cmdline_parse() 768 l = prom_getprop(prom.chosen, "bootargs", p, COMMAND_LINE_SIZE-1); in early_cmdline_parse() 1288 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support() 1308 prom_getprop(prom.chosen, "ibm,arch-vec-5-platform-support", in prom_check_platform_support() 1725 if (prom_getprop(prom.chosen, "stdin", &val, sizeof(val)) > 0) { in prom_close_stdin() 2159 prom.chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services() 2160 if (!PHANDLE_VALID(prom.chosen)) in prom_init_client_services() 2161 prom_panic("cannot find chosen"); /* msg won't be printed :( */ in prom_init_client_services() 2197 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu() [all …]
|
/Linux-v5.4/arch/powerpc/mm/ |
D | init_64.c | 357 * /chosen/ibm,architecture-vec-5 to see if the hypervisor is willing to do 362 unsigned long root, chosen; in early_check_vec5() local 368 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in early_check_vec5() 369 if (chosen == -FDT_ERR_NOTFOUND) { in early_check_vec5() 373 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5() 410 * Check /chosen/ibm,architecture-vec-5 if running as a guest. in mmu_early_init_devtree()
|
/Linux-v5.4/Documentation/devicetree/bindings/input/ |
D | input-reset.txt | 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 24 chosen {
|
/Linux-v5.4/include/uapi/linux/ |
D | kcov.h | 15 * In new KCOV version the mode is chosen by calling 18 * compatibility, we have chosen the value KCOV_TRACE_PC to be 0.
|
/Linux-v5.4/mm/ |
D | oom_kill.c | 347 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. 953 struct task_struct *victim = oc->chosen; in oom_kill_process() 1092 oc->chosen = current; in out_of_memory() 1099 if (!oc->chosen) { in out_of_memory() [all …]
|
/Linux-v5.4/drivers/firmware/efi/libstub/ |
D | fdt.c | 80 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt() 82 node = fdt_add_subnode(fdt, 0, "chosen"); in update_fdt() 112 /* Add FDT entries for EFI runtime services in chosen node. */ in update_fdt() 113 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt() 168 int node = fdt_path_offset(fdt, "/chosen"); in update_fdt_memmap()
|
/Linux-v5.4/Documentation/security/ |
D | IMA-templates.rst | 35 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
|
/Linux-v5.4/arch/x86/include/asm/ |
D | tsc.h | 10 #define NS_SCALE 10 /* 2^10, carefully chosen */ 11 #define US_SCALE 32 /* 2^32, arbitralrily chosen */
|
/Linux-v5.4/Documentation/devicetree/bindings/display/ |
D | simple-framebuffer.yaml | 20 sub-nodes of the chosen node (*). Simplefb nodes must be named 37 interaction, then the chosen node stdout-path property should point 159 chosen {
|
/Linux-v5.4/Documentation/devicetree/bindings/regulator/ |
D | fixed-regulator.yaml | 45 the compatible is chosen to regulator-fixed-clock. The clock binding 46 is mandatory if compatible is chosen to regulator-fixed-clock.
|
/Linux-v5.4/drivers/net/phy/ |
D | dp83640.c | 135 struct dp83640_private *chosen; member 136 /* list of the other attached phyters, not chosen */ 298 struct dp83640_private *dp83640 = clock->chosen; in periodic_output() 369 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfine() 402 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime() 424 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime() 449 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime() 466 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable() 626 struct phy_device *master = clock->chosen->phydev; in recalibrate() 1072 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy() [all …]
|
/Linux-v5.4/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 319 /* somewhat arbitrarily chosen address */ in test0_prpw_aligned_1byte() 353 /* somewhat arbitrarily chosen address */ in test1_prpw_aligned_4096bytes() 393 /* somewhat arbitrarily chosen address */ in test2_prpw_aligned_10327bytes() 433 /* somewhat arbitrarily chosen address */ in test3_prpw_unaligned_12541bytes() 521 /* somewhat arbitrarily chosen address */ in test5_rw_aligned_1byte() 566 /* somewhat arbitrarily chosen address */ in test6_rw_aligned_9434bytes() 618 /* somewhat arbitrarily chosen address */ in test7_rw_aligned_14963bytes()
|
/Linux-v5.4/drivers/pwm/ |
D | core.c | 877 struct pwm_lookup *p, *chosen = NULL; in pwm_get() local 932 chosen = p; in pwm_get() 943 if (!chosen) in pwm_get() 946 chip = pwmchip_find_by_name(chosen->provider); in pwm_get() 954 if (!chip && chosen->module) { in pwm_get() 955 err = request_module(chosen->module); in pwm_get() 957 chip = pwmchip_find_by_name(chosen->provider); in pwm_get() 963 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get() 973 pwm->args.period = chosen->period; in pwm_get() 974 pwm->args.polarity = chosen->polarity; in pwm_get()
|
/Linux-v5.4/Documentation/devicetree/ |
D | usage-model.txt | 185 Most of this data is contained in the /chosen node, and when booting 188 chosen { 197 match the usual semantic of struct resource. The chosen node may also 206 is used to parse the chosen node including kernel parameters, 262 chosen { }; 322 at all. The /chosen, /aliases, and /memory nodes are informational
|
/Linux-v5.4/Documentation/networking/device_drivers/mellanox/ |
D | mlx5.rst | 36 | mlx5e is the mlx5 ulp driver which provides netdevice kernel interface, when chosen, mlx5e wil… 103 - CONFIG_PTP_1588_CLOCK: When chosen, mlx5 ptp support will be enabled 104 - CONFIG_VXLAN: When chosen, mlx5 vxaln support will be enabled. 105 - CONFIG_MLXFW: When chosen, mlx5 firmware flashing support will be enabled (via devlink and ethtoo…
|