| /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()
|
| /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
|
| /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()
|
| H A D | board-realtek.c | 19 node = fdt_path_offset(fdt, "/chosen"); in realtek_add_initrd() 21 pr_err("/chosen node not found\n"); in realtek_add_initrd()
|
| /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
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | fixed-regulator.yaml | 69 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/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()
|
| /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 {
|
| /linux/include/linux/irqchip/ |
| H A D | arm-gic-v3-prio.h | 9 * 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/drivers/net/phy/ |
| H A D | dp83640.c | 144 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() 625 struct phy_device *master = clock->chosen->phydev; in recalibrate() 993 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | kcov.h | 30 * In new KCOV version the mode is chosen by calling 33 * compatibility, we have chosen the value KCOV_TRACE_PC to be 0.
|
| /linux/Documentation/security/ |
| H A 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/tools/testing/selftests/sparc64/drivers/ |
| H A D | adi-test.c | 315 /* somewhat arbitrarily chosen address */ in test0_prpw_aligned_1byte() 349 /* somewhat arbitrarily chosen address */ in test1_prpw_aligned_4096bytes() 389 /* somewhat arbitrarily chosen address */ in test2_prpw_aligned_10327bytes() 429 /* somewhat arbitrarily chosen address */ in test3_prpw_unaligned_12541bytes() 517 /* somewhat arbitrarily chosen address */ in test5_rw_aligned_1byte() 562 /* somewhat arbitrarily chosen address */ in test6_rw_aligned_9434bytes() 614 /* somewhat arbitrarily chosen address */ in test7_rw_aligned_14963bytes()
|
| /linux/Documentation/translations/zh_CN/devicetree/ |
| H A D | usage-model.rst | 151 chosen { 203 chosen { }; 261 类型的设备,甚至不能看出一个节点是否代表一个设备。/chosen、/aliases和
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | idreg-override.c | 383 static __init void parse_cmdline(const void *fdt, int chosen) in parse_cmdline() argument 386 const u8 *prop = get_bootargs_cmdline(fdt, chosen); in parse_cmdline() 396 int chosen) in init_feature_override() argument 412 parse_cmdline(fdt, chosen); in init_feature_override()
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | randomalloc.c | 111 * that covers our chosen slot. Use the residual value of target_slot in efi_random_alloc() 112 * to calculate the randomly chosen address, and allocate it directly in efi_random_alloc()
|
| /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| H A D | uncore-power.json | 182 …is is an occupancy event that tracks the number of cores that are in the chosen C-State. It can b… 192 …is is an occupancy event that tracks the number of cores that are in the chosen C-State. It can b… 201 …is is an occupancy event that tracks the number of cores that are in the chosen C-State. It can b…
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | uncore-power.json | 182 …is is an occupancy event that tracks the number of cores that are in the chosen C-State. It can b… 192 …is is an occupancy event that tracks the number of cores that are in the chosen C-State. It can b… 201 …is is an occupancy event that tracks the number of cores that are in the chosen C-State. It can b…
|
| /linux/arch/mips/boot/dts/ralink/ |
| H A D | vocore2.dts | 14 chosen {
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap4-xyboard-mz617.dts | 10 chosen {
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra264-p3971-0089+p3834.dtsi | 11 chosen {
|
| /linux/arch/mips/boot/dts/brcm/ |
| H A D | bcm93384wvg.dts | 10 chosen {
|