Lines Matching refs:attr
26 static int manifest_parse_attribute(spmc_manifest_attribute_t *attr, in manifest_parse_attribute() argument
33 assert((attr != NULL) && (fdt != NULL)); in manifest_parse_attribute()
35 rc = fdt_read_uint32(fdt, node, "maj_ver", &attr->major_version); in manifest_parse_attribute()
42 rc = fdt_read_uint32(fdt, node, "min_ver", &attr->minor_version); in manifest_parse_attribute()
55 attr->spmc_id = val32 & 0xffff; in manifest_parse_attribute()
57 rc = fdt_read_uint32(fdt, node, "exec_state", &attr->exec_state); in manifest_parse_attribute()
63 rc = fdt_read_uint32(fdt, node, "binary_size", &attr->binary_size); in manifest_parse_attribute()
69 rc = fdt_read_uint64(fdt, node, "load_address", &attr->load_address); in manifest_parse_attribute()
75 rc = fdt_read_uint64(fdt, node, "entrypoint", &attr->entrypoint); in manifest_parse_attribute()
82 VERBOSE(" version: %u.%u\n", attr->major_version, attr->minor_version); in manifest_parse_attribute()
83 VERBOSE(" spmc_id: 0x%x\n", attr->spmc_id); in manifest_parse_attribute()
84 VERBOSE(" binary_size: 0x%x\n", attr->binary_size); in manifest_parse_attribute()
85 VERBOSE(" load_address: 0x%" PRIx64 "\n", attr->load_address); in manifest_parse_attribute()
86 VERBOSE(" entrypoint: 0x%" PRIx64 "\n", attr->entrypoint); in manifest_parse_attribute()