/openbmc/linux/arch/powerpc/boot/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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()
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A 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
|
/openbmc/u-boot/doc/device-tree-bindings/ |
H A D | chosen.txt | 1 The chosen node 3 The chosen node does not represent a real device, but serves as a place 10 with a stdout-path property under /chosen. 15 chosen { 35 chosen { 57 chosen { 84 be configured with the spl-boot-order property under the /chosen node. 102 chosen { 127 chosen {
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | qcom,usb-snps-femto-v2.yaml | 68 provided input will be chosen as the override value for this param. 77 provided input will be chosen as the override value for this param. 85 provided input will be chosen as the override value for this param. 97 provided input will be chosen as the override value for this param. 109 provided input will be chosen as the override value for this param. 117 provided input will be chosen as the override value for this param. 126 provided input will be chosen as the override value for this param. 136 value closest to the provided input will be chosen as the override value 147 provided input will be chosen as the override value for this param.
|
/openbmc/linux/arch/mips/generic/ |
H A 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()
|
/openbmc/qemu/docs/system/arm/ |
H A D | xlnx-versal-virt.rst | 145 …fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 m… 146 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1" 147 fdt mknode /chosen dom0 148 fdt set /chosen/dom0 compatible "xen,multiboot-module" 149 fdt set /chosen/dom0 reg <0x00000000 0x40000000 0x0 0x03100000> 174 …fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 m… 175 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1" 176 fdt mknode /chosen dom0 177 fdt set /chosen/dom0 compatible "xen,multiboot-module" 178 fdt set /chosen/dom0 reg <0x00000000 0x40000000 0x0 0x03100000>
|
/openbmc/linux/arch/mips/include/asm/ |
H A 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
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_vof.c | 36 int chosen; in spapr_vof_client_dt_finalize() local 38 _FDT(chosen = fdt_path_offset(fdt, "/chosen")); in spapr_vof_client_dt_finalize() 43 _FDT(fdt_setprop_string(fdt, chosen, "bootargs", spapr->vof->bootargs)); in spapr_vof_client_dt_finalize() 52 _FDT(vof_client_open_store(fdt, spapr->vof, "/chosen", "stdout", in spapr_vof_client_dt_finalize() 131 if (strcmp(path, "/chosen") == 0) { in spapr_vof_setprop()
|
H A D | ppc440_bamboo.c | 84 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in bamboo_load_device_tree() 87 fprintf(stderr, "couldn't set /chosen/linux,initrd-start\n"); in bamboo_load_device_tree() 89 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in bamboo_load_device_tree() 92 fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n"); in bamboo_load_device_tree() 94 ret = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in bamboo_load_device_tree() 97 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in bamboo_load_device_tree()
|
H A D | virtex_ml507.c | 160 r = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in xilinx_load_device_tree() 163 error_report("couldn't set /chosen/linux,initrd-start"); in xilinx_load_device_tree() 166 r = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in xilinx_load_device_tree() 169 error_report("couldn't set /chosen/linux,initrd-end"); in xilinx_load_device_tree() 172 r = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in xilinx_load_device_tree() 175 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in xilinx_load_device_tree()
|
/openbmc/qemu/pc-bios/vof/ |
H A D | bootmem.c | 6 phandle chosen = ci_finddevice("/chosen"); in boot_from_memory() local 8 if (ci_getprop(chosen, "qemu,boot-kernel", kern, sizeof(kern)) != in boot_from_memory()
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A 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
|
/openbmc/linux/ |
H A D | opengrok1.0.log | 12 2024-12-28 20:07:11.893-0600 FINEST t590 AnalyzerGuru.lambda$findFactoryUsingMatcher$14: '/openbmc/linux/drivers/phy/tegra/Kconfig': chosen by imprecise magic: PlainAnalyzerFactory 14 2024-12-28 20:07:11.914-0600 FINEST t582 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/libcper/sections/cper-section-firmware.c': chosen by suffix: CAnalyzerFactory 16 2024-12-28 20:07:11.914-0600 FINEST t586 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/u-boot/drivers/net/lan91c96.h': chosen by suffix: CAnalyzerFactory 19 2024-12-28 20:07:11.913-0600 FINEST t583 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/linux/tools/virtio/virtio-trace/trace-agent-rw.c': chosen by suffix: CAnalyzerFactory 20 2024-12-28 20:07:11.915-0600 FINEST t593 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/linux/include/uapi/linux/netfilter/xt_hashlimit.h': chosen by suffix: CAnalyzerFactory 21 2024-12-28 20:07:11.914-0600 FINEST t584 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/linux/arch/mips/include/asm/sgi/seeq.h': chosen by suffix: CAnalyzerFactory 22 2024-12-28 20:07:11.914-0600 FINEST t589 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/linux/drivers/infiniband/sw/rxe/rxe_pool.h': chosen by suffix: CAnalyzerFactory 47 2024-12-28 20:07:11.921-0600 FINEST t584 AnalyzerGuru.lambda$findUsingMagicString$16: '/openbmc/linux/tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc': chosen by magic(substr) #!: ShAnalyzerFactory 55 2024-12-28 20:07:11.925-0600 FINEST t582 AnalyzerGuru.lambda$findFactoryUsingMatcher$14: '/openbmc/u-boot/configs/amarula_a64_relic_defconfig': chosen by imprecise magic: PlainAnalyzerFactory 58 2024-12-28 20:07:11.925-0600 FINEST t585 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/linux/drivers/firmware/efi/libstub/find.c': chosen b [all...] |
H A D | opengrok0.0.log | [all...] |
/openbmc/linux/arch/arm/boot/compressed/ |
H A 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()
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | rk3399-board-spl.c | 85 int chosen; in spl_perform_fixups() local 101 chosen = fdt_find_or_add_subnode(blob, 0, "chosen"); in spl_perform_fixups() 102 if (chosen < 0) { in spl_perform_fixups() 103 pr_err("%s: could not find/create '/chosen'\n", __func__); in spl_perform_fixups() 106 fdt_setprop_string(blob, chosen, in spl_perform_fixups()
|
/openbmc/u-boot/drivers/led/ |
H A D | Kconfig | 112 which LED is being acted on. As such, the chosen value must be unique 146 identify which LED is being acted on. As such, the chosen value must 181 identify which LED is being acted on. As such, the chosen value must 216 identify which LED is being acted on. As such, the chosen value must 251 identify which LED is being acted on. As such, the chosen value must 286 identify which LED is being acted on. As such, the chosen value must
|
/openbmc/qemu/hw/microblaze/ |
H A D | boot.c | 89 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in microblaze_load_dtb() 92 r = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in microblaze_load_dtb() 95 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in microblaze_load_dtb() 100 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in microblaze_load_dtb() 103 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in microblaze_load_dtb()
|
/openbmc/u-boot/board/emulation/qemu-riscv/ |
H A D | qemu-riscv.c | 29 chosen_node = ofnode_path("/chosen"); in board_late_init() 31 debug("No chosen node found, can't get kernel start address\n"); in board_late_init() 68 chosen_offset = fdt_path_offset(blob, "/chosen"); in ft_board_setup()
|
/openbmc/u-boot/board/freescale/qemu-ppce500/ |
H A D | qemu-ppce500.c | 202 int chosen; in last_stage_init() local 204 chosen = fdt_path_offset(fdt, "/chosen"); in last_stage_init() 205 if (chosen < 0) { in last_stage_init() 206 printf("Couldn't find /chosen node in fdt\n"); in last_stage_init() 211 prop = fdt_getprop(fdt, chosen, "qemu,boot-kernel", &len); in last_stage_init()
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | input-reset.txt | 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 24 chosen {
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | kconfig.rst | 33 | mlx5e is the mlx5 ulp driver which provides netdevice kernel interface, when chosen, mlx5e wil… 166 - CONFIG_MLXFW: When chosen, mlx5 firmware flashing support will be enabled (via devlink and ethtoo… 167 - CONFIG_PTP_1588_CLOCK: When chosen, mlx5 ptp support will be enabled 168 - CONFIG_VXLAN: When chosen, mlx5 vxlan support will be enabled.
|