Searched refs:offs (Results 1 – 5 of 5) sorted by relevance
| /rk3399_ARM-atf/common/ |
| H A 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 …]
|
| /rk3399_ARM-atf/plat/qemu/qemu/ |
| H A D | qemu_helpers.c | 35 int offs, err = 0; in qemu_set_tee_fw_info() local 41 offs = fdtw_find_or_add_subnode(dtb, 0, "tpm-event-log"); in qemu_set_tee_fw_info() 42 if (offs < 0) { in qemu_set_tee_fw_info() 43 ERROR("Failed to add node tpm-event-log %d\n", offs); in qemu_set_tee_fw_info() 44 return offs; in qemu_set_tee_fw_info() 47 if (fdt_appendprop(dtb, offs, "compatible", compatible, in qemu_set_tee_fw_info() 52 err = fdt_setprop(dtb, offs, DTB_PROP_HW_SM_LOG_ADDR, &sec_base, 8); in qemu_set_tee_fw_info() 58 err = fdt_setprop(dtb, offs, DTB_PROP_HW_LOG_SIZE, &sz, 4); in qemu_set_tee_fw_info()
|
| /rk3399_ARM-atf/plat/rpi/rpi4/ |
| H A D | rpi4_setup.c | 59 int ret, offs; in rpi4_prepare_dtb() local 89 offs = fdt_node_offset_by_compatible(dtb, 0, "arm,gic-400"); in rpi4_prepare_dtb() 93 fdt_setprop(dtb, offs, "interrupts", gic_int_prop, 12); in rpi4_prepare_dtb() 95 offs = fdt_path_offset(dtb, "/chosen"); in rpi4_prepare_dtb() 96 fdt_setprop_string(dtb, offs, "stdout-path", "serial0"); in rpi4_prepare_dtb()
|
| /rk3399_ARM-atf/lib/zlib/ |
| H A D | inftrees.c | 54 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ in inflate_table() local 136 offs[1] = 0; in inflate_table() 138 offs[len + 1] = offs[len] + count[len]; in inflate_table() 142 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table()
|
| /rk3399_ARM-atf/docs/design/ |
| H A D | firmware-design.rst | 2417 ``USE_COHERENT_MEM``. Each platform needs to consider these trade-offs to decide
|