| /kernel/linux/linux-6.6/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 | 27 * 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()
|
| 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()
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/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 {
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/ |
| D | qcom,usb-snps-femto-v2.yaml | 70 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. 87 provided input will be chosen as the override value for this param. 99 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. 119 provided input will be chosen as the override value for this param. 128 provided input will be chosen as the override value for this param. 138 value closest to the provided input will be chosen as the override value 149 provided input will be chosen as the override value for this param.
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | fixed-regulator.yaml | 62 the compatible is chosen to regulator-fixed-clock. The clock binding 63 is mandatory if compatible is chosen to regulator-fixed-clock. 70 available if the compatible is chosen to regulator-fixed-domain. 77 available if the compatible is chosen to regulator-fixed-domain. The 78 power-domain binding is mandatory if compatible is chosen to
|
| /kernel/liteos_a/drivers/block/disk/include/ |
| D | disk.h | 432 * @brief Read data from chosen partition. 435 * Read data from chosen partition. 445 * @param sector [IN] Type #UINT64 start sector number of chosen partition. 461 * @brief Write data to chosen partition. 464 * Write data to chosen partition. 474 * @param sector [IN] Type #UINT64 start sector number of chosen partition. 513 * @brief Get information of chosen partition. 516 * By passed command to get information of chosen partition. 541 * @brief Decide the chosen partition is exist or not. 544 * Decide the chosen partition is exist or not. [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/compressed/ |
| D | atags_to_fdt.c | 81 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()
|
| /kernel/linux/linux-5.10/arch/arm/boot/compressed/ |
| D | atags_to_fdt.c | 80 fdt_bootargs = getprop(fdt, "/chosen", "bootargs", &len); in merge_fdt_bootargs() 100 setprop_string(fdt, "/chosen", "bootargs", cmdline); in merge_fdt_bootargs() 163 * tags will be chosen. in atags_to_fdt() 169 setprop_string(fdt, "/chosen", "bootargs", in atags_to_fdt() 199 setprop_cell(fdt, "/chosen", "linux,initrd-start", in atags_to_fdt() 201 setprop_cell(fdt, "/chosen", "linux,initrd-end", in atags_to_fdt()
|
| D | kaslr.c | 333 int chosen, len; in kaslr_early_init() local 339 chosen = fdt_path_offset(fdt, "/chosen"); in kaslr_early_init() 340 if (chosen < 0) in kaslr_early_init() 343 command_line = fdt_getprop(fdt, chosen, "bootargs", &len); in kaslr_early_init() 368 * hopefully there's a /chosen/kaslr-seed in there. in kaslr_early_init() 386 /* ... or in /chosen */ in kaslr_early_init() 391 prop = fdt_getprop(fdt, chosen, "linux,initrd-start", &len); in kaslr_early_init() 398 prop = fdt_getprop(fdt, chosen, "linux,initrd-end", &len); in kaslr_early_init()
|
| /kernel/linux/linux-5.10/arch/powerpc/kexec/ |
| D | file_load.c | 145 * setup_new_fdt - modify /chosen and memory reservation for the next kernel 170 chosen_node = fdt_path_offset(fdt, "/chosen"); in setup_new_fdt() 173 "chosen"); in setup_new_fdt() 175 pr_err("Error creating /chosen.\n"); in setup_new_fdt() 179 pr_err("Malformed device tree: error reading /chosen.\n"); in setup_new_fdt()
|
| /kernel/linux/linux-5.10/arch/powerpc/mm/ |
| D | init_64.c | 391 * /chosen/ibm,architecture-vec-5 to see if the hypervisor is willing to do 396 unsigned long root, chosen; in early_check_vec5() local 402 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in early_check_vec5() 403 if (chosen == -FDT_ERR_NOTFOUND) { in early_check_vec5() 407 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5() 446 * Check /chosen/ibm,architecture-vec-5 if running as a guest. in mmu_early_init_devtree()
|
| /kernel/linux/linux-5.10/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 {
|
| /kernel/linux/linux-6.6/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 {
|