/tf-a-ffa_el3_spmc/common/ |
A D | fdt_wrappers.c | 27 const fdt32_t *prop; in fdt_read_uint32_array() local 37 if (prop == NULL) { in fdt_read_uint32_array() 101 assert(prop != NULL); in fdtw_read_bytes() 106 ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), in fdtw_read_bytes() 137 assert(prop != NULL); in fdtw_read_string() 141 ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), NULL); in fdtw_read_string() 168 assert(prop != NULL); in fdtw_read_uuid() 279 const fdt32_t *prop; in fdt_get_reg_props_by_index() local 295 if (prop == NULL) { in fdt_get_reg_props_by_index() 354 if (prop == NULL) { in fdt_get_stdout_node_offset() [all …]
|
A D | fdt_fixup.c | 115 const char *prop; in dt_update_one_cpu_node() local 119 prop = fdt_getprop(fdt, offs, "device_type", &len); in dt_update_one_cpu_node() 120 if (prop == NULL) in dt_update_one_cpu_node() 122 if ((strcmp(prop, "cpu") != 0) || (len != 4)) in dt_update_one_cpu_node() 126 prop = fdt_getprop(fdt, offs, "enable-method", &len); in dt_update_one_cpu_node() 127 if ((prop != NULL) && in dt_update_one_cpu_node() 128 (strcmp(prop, "psci") == 0) && (len == 5)) in dt_update_one_cpu_node()
|
/tf-a-ffa_el3_spmc/plat/arm/board/fvp/include/ |
A D | fconf_hw_config_getter.h | 13 #define hw_config__gicv3_config_getter(prop) gicv3_config.prop argument 14 #define hw_config__topology_getter(prop) soc_topology.prop argument 15 #define hw_config__uart_serial_config_getter(prop) uart_serial_config.prop argument 16 #define hw_config__cpu_timer_getter(prop) cpu_timer.prop argument
|
A D | fconf_nt_config_getter.h | 13 #define nt_config__event_log_config_getter(prop) event_log.prop argument
|
/tf-a-ffa_el3_spmc/drivers/allwinner/axp/ |
A D | common.c | 58 const fdt32_t *prop; in fdt_get_regulator_millivolt() local 61 prop = fdt_getprop(fdt, node, "regulator-min-microvolt", NULL); in fdt_get_regulator_millivolt() 62 if (prop == NULL) in fdt_get_regulator_millivolt() 64 min_volt = fdt32_to_cpu(*prop); in fdt_get_regulator_millivolt() 66 prop = fdt_getprop(fdt, node, "regulator-max-microvolt", NULL); in fdt_get_regulator_millivolt() 67 if (prop == NULL) in fdt_get_regulator_millivolt() 70 if (fdt32_to_cpu(*prop) != min_volt) in fdt_get_regulator_millivolt() 126 const char *prop; in board_uses_usb0_host_mode() local 134 prop = fdt_getprop(fdt, node, "dr_mode", &length); in board_uses_usb0_host_mode() 135 if (!prop) { in board_uses_usb0_host_mode() [all …]
|
/tf-a-ffa_el3_spmc/lib/libfdt/ |
A D | fdt_addresses.c | 61 uint8_t data[sizeof(fdt64_t) * 2], *prop; in fdt_appendprop_addrrange() local 74 prop = data; in fdt_appendprop_addrrange() 79 fdt32_st(prop, (uint32_t)addr); in fdt_appendprop_addrrange() 81 fdt64_st(prop, addr); in fdt_appendprop_addrrange() 87 prop += addr_cells * sizeof(fdt32_t); in fdt_appendprop_addrrange() 92 fdt32_st(prop, (uint32_t)size); in fdt_appendprop_addrrange() 94 fdt64_st(prop, size); in fdt_appendprop_addrrange()
|
A D | fdt_rw.c | 191 if (!*prop) in fdt_resize_property_() 198 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_() 231 (*prop)->len = cpu_to_fdt32(len); in fdt_add_property_() 261 struct fdt_property *prop; in fdt_setprop_placeholder() local 272 *prop_data = prop->data; in fdt_setprop_placeholder() 294 struct fdt_property *prop; in fdt_appendprop() local 300 if (prop) { in fdt_appendprop() 307 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop() 313 memcpy(prop->data, val, len); in fdt_appendprop() 320 struct fdt_property *prop; in fdt_delprop() local [all …]
|
A D | fdt_wip.c | 61 struct fdt_property *prop; in fdt_nop_property() local 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 65 if (!prop) in fdt_nop_property() 68 fdt_nop_region_(prop, len + sizeof(*prop)); in fdt_nop_property()
|
A D | fdt_ro.c | 375 return prop; in fdt_get_property_by_offset_() 415 return prop; in fdt_get_property_namelen_() 459 if (!prop) in fdt_getprop_namelen() 464 (poffset + sizeof(*prop)) % 8 && fdt32_ld(&prop->len) >= 8) in fdt_getprop_namelen() 465 return prop->data + 4; in fdt_getprop_namelen() 466 return prop->data; in fdt_getprop_namelen() 475 if (!prop) in fdt_getprop_by_offset() 497 (offset + sizeof(*prop)) % 8 && fdt32_ld(&prop->len) >= 8) in fdt_getprop_by_offset() 499 return prop->data; in fdt_getprop_by_offset() 826 const void *prop; in fdt_node_check_compatible() local [all …]
|
A D | fdt_sw.c | 295 struct fdt_property *prop; in fdt_property_placeholder() local 311 prop = fdt_grab_space_(fdt, sizeof(*prop) + FDT_TAGALIGN(len)); in fdt_property_placeholder() 312 if (! prop) { in fdt_property_placeholder() 318 prop->tag = cpu_to_fdt32(FDT_PROP); in fdt_property_placeholder() 319 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder() 320 prop->len = cpu_to_fdt32(len); in fdt_property_placeholder() 321 *valp = prop->data; in fdt_property_placeholder() 363 struct fdt_property *prop = in fdt_finish() local 367 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish() 369 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
|
A D | fdt_overlay.c | 565 const void *prop; in overlay_apply_node() local 569 prop = fdt_getprop_by_offset(fdto, property, &name, in overlay_apply_node() 576 ret = fdt_setprop(fdt, target, name, prop, prop_len); in overlay_apply_node() 697 int root_sym, ov_sym, prop, path_len, fragment, target; in overlay_symbol_update() local 725 fdt_for_each_property_offset(prop, fdto, ov_sym) { in overlay_symbol_update() 726 path = fdt_getprop_by_offset(fdto, prop, &name, &path_len); in overlay_symbol_update()
|
/tf-a-ffa_el3_spmc/include/common/ |
A D | fdt_wrappers.h | 25 int fdtw_read_string(const void *dtb, int node, const char *prop, 27 int fdtw_read_uuid(const void *dtb, int node, const char *prop, 29 int fdtw_write_inplace_cells(void *dtb, int node, const char *prop, 31 int fdtw_read_bytes(const void *dtb, int node, const char *prop, 33 int fdtw_write_inplace_bytes(void *dtb, int node, const char *prop,
|
/tf-a-ffa_el3_spmc/include/plat/arm/common/ |
A D | fconf_arm_sp_getter.h | 14 #define arm__sp_getter(prop) arm_sp.prop argument
|
A D | fconf_ethosn_getter.h | 14 #define hw_config__ethosn_config_getter(prop) ethosn_config.prop argument
|
/tf-a-ffa_el3_spmc/plat/arm/common/fconf/ |
A D | fconf_sec_intr_config.c | 23 static void print_intr_prop(interrupt_prop_t prop) in print_intr_prop() argument 26 prop.intr_num, prop.intr_pri, prop.intr_cfg); in print_intr_prop()
|
/tf-a-ffa_el3_spmc/include/lib/fconf/ |
A D | fconf.h | 59 #define fconf__dtb_getter(prop) fconf_dtb_info.prop argument
|
/tf-a-ffa_el3_spmc/docs/components/ |
A D | ffa-manifest-binding.rst | 34 - value type: <prop-encoded-array> 147 - value type: <prop-encoded-array> 199 - value type: <prop-encoded-array> 223 - value type: <prop-encoded-array> 229 - value type: <prop-encoded-array>
|
/tf-a-ffa_el3_spmc/lib/fconf/ |
A D | fconf_cot_getter.c | 189 static int get_oid(const void *dtb, int node, const char *prop, char **oid) in get_oid() argument 194 rc = fdt_read_uint32(dtb, node, prop, &phandle); in get_oid()
|
/tf-a-ffa_el3_spmc/docs/components/fconf/ |
A D | index.rst | 81 #define hw_config__topology_getter(prop) soc_topology.prop
|