Searched refs:offs (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-a-3.4.0/common/ |
D | fdt_fixup.c | 32 static int append_psci_compatible(void *fdt, int offs, const char *str) in append_psci_compatible() argument 34 return fdt_appendprop(fdt, offs, "compatible", str, strlen(str) + 1); in append_psci_compatible() 66 int offs; in dt_add_psci_node() local 73 offs = fdt_path_offset(fdt, "/"); in dt_add_psci_node() 74 if (offs < 0) in dt_add_psci_node() 76 offs = fdt_add_subnode(fdt, offs, "psci"); in dt_add_psci_node() 77 if (offs < 0) in dt_add_psci_node() 79 if (append_psci_compatible(fdt, offs, "arm,psci-1.0")) in dt_add_psci_node() 81 if (append_psci_compatible(fdt, offs, "arm,psci-0.2")) in dt_add_psci_node() 83 if (append_psci_compatible(fdt, offs, "arm,psci")) in dt_add_psci_node() [all …]
|
/trusted-firmware-a-3.4.0/plat/qemu/qemu/ |
D | qemu_helpers.c | 33 int offs, err = 0; in qemu_set_tee_fw_info() local 39 offs = fdtw_find_or_add_subnode(dtb, 0, "tpm-event-log"); in qemu_set_tee_fw_info() 40 if (offs < 0) { in qemu_set_tee_fw_info() 41 ERROR("Failed to add node tpm-event-log %d\n", offs); in qemu_set_tee_fw_info() 42 return offs; in qemu_set_tee_fw_info() 45 if (fdt_appendprop(dtb, offs, "compatible", compatible, in qemu_set_tee_fw_info() 50 err = fdt_setprop(dtb, offs, DTB_PROP_HW_SM_LOG_ADDR, &sec_base, 8); in qemu_set_tee_fw_info() 56 err = fdt_setprop(dtb, offs, DTB_PROP_HW_LOG_SIZE, &sz, 4); in qemu_set_tee_fw_info()
|
/trusted-firmware-a-3.4.0/plat/rpi/rpi4/ |
D | rpi4_bl31_setup.c | 248 int ret, offs; in rpi4_prepare_dtb() local 278 offs = fdt_node_offset_by_compatible(dtb, 0, "arm,gic-400"); in rpi4_prepare_dtb() 282 fdt_setprop(dtb, offs, "interrupts", gic_int_prop, 12); in rpi4_prepare_dtb() 284 offs = fdt_path_offset(dtb, "/chosen"); in rpi4_prepare_dtb() 285 fdt_setprop_string(dtb, offs, "stdout-path", "serial0"); in rpi4_prepare_dtb()
|
/trusted-firmware-a-3.4.0/lib/zlib/ |
D | inftrees.c | 59 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local 141 offs[1] = 0; 143 offs[len + 1] = offs[len] + count[len]; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
|
/trusted-firmware-a-3.4.0/docs/design/ |
D | firmware-design.rst | 2259 ``USE_COHERENT_MEM``. Each platform needs to consider these trade-offs to decide
|