Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 19 of 19) sorted by relevance

/arm-trusted-firmware-2.8.0/common/
A Dfdt_wrappers.c29 const fdt32_t *prop; in fdt_read_uint32_array() local
39 if (prop == NULL) { in fdt_read_uint32_array()
103 assert(prop != NULL); in fdtw_read_bytes()
108 ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), in fdtw_read_bytes()
139 assert(prop != NULL); in fdtw_read_string()
143 ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), NULL); in fdtw_read_string()
170 assert(prop != NULL); in fdtw_read_uuid()
281 const fdt32_t *prop; in fdt_get_reg_props_by_index() local
297 if (prop == NULL) { in fdt_get_reg_props_by_index()
356 if (prop == NULL) { in fdt_get_stdout_node_offset()
[all …]
A Dfdt_fixup.c115 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/fvp/include/
A Dfconf_hw_config_getter.h13 #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 Dfconf_nt_config_getter.h13 #define nt_config__event_log_config_getter(prop) event_log.prop argument
/arm-trusted-firmware-2.8.0/drivers/allwinner/axp/
A Dcommon.c59 const fdt32_t *prop; in fdt_get_regulator_millivolt() local
62 prop = fdt_getprop(fdt, node, "regulator-min-microvolt", NULL); in fdt_get_regulator_millivolt()
63 if (prop == NULL) in fdt_get_regulator_millivolt()
65 min_volt = fdt32_to_cpu(*prop); in fdt_get_regulator_millivolt()
67 prop = fdt_getprop(fdt, node, "regulator-max-microvolt", NULL); in fdt_get_regulator_millivolt()
68 if (prop == NULL) in fdt_get_regulator_millivolt()
71 if (fdt32_to_cpu(*prop) != min_volt) in fdt_get_regulator_millivolt()
127 const char *prop; in board_uses_usb0_host_mode() local
135 prop = fdt_getprop(fdt, node, "dr_mode", &length); in board_uses_usb0_host_mode()
136 if (!prop) { in board_uses_usb0_host_mode()
[all …]
/arm-trusted-firmware-2.8.0/lib/libfdt/
A Dfdt_addresses.c61 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 Dfdt_rw.c191 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 Dfdt_wip.c61 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 Dfdt_ro.c375 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 Dfdt_sw.c295 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 Dfdt_overlay.c550 const void *prop; in overlay_apply_node() local
554 prop = fdt_getprop_by_offset(fdto, property, &name, in overlay_apply_node()
561 ret = fdt_setprop(fdt, target, name, prop, prop_len); in overlay_apply_node()
682 int root_sym, ov_sym, prop, path_len, fragment, target; in overlay_symbol_update() local
710 fdt_for_each_property_offset(prop, fdto, ov_sym) { in overlay_symbol_update()
711 path = fdt_getprop_by_offset(fdto, prop, &name, &path_len); in overlay_symbol_update()
/arm-trusted-firmware-2.8.0/include/common/
A Dfdt_wrappers.h25 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,
/arm-trusted-firmware-2.8.0/include/plat/arm/common/
A Dfconf_arm_sp_getter.h15 #define arm__sp_getter(prop) arm_sp.prop argument
A Dfconf_ethosn_getter.h15 #define hw_config__ethosn_config_getter(prop) ethosn_config.prop argument
/arm-trusted-firmware-2.8.0/plat/arm/common/fconf/
A Dfconf_sec_intr_config.c23 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()
/arm-trusted-firmware-2.8.0/include/lib/fconf/
A Dfconf.h60 #define fconf__dtb_getter(prop) fconf_dtb_info.prop argument
/arm-trusted-firmware-2.8.0/lib/fconf/
A Dfconf_cot_getter.c189 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()
/arm-trusted-firmware-2.8.0/docs/components/
A Dffa-manifest-binding.rst31 - value type: <prop-encoded-array>
160 - value type: <prop-encoded-array>
252 - value type: <prop-encoded-array>
258 - value type: <prop-encoded-array>
/arm-trusted-firmware-2.8.0/docs/components/fconf/
A Dindex.rst81 #define hw_config__topology_getter(prop) soc_topology.prop

Completed in 22 milliseconds