Searched refs:sub_allocators (Results 1 – 3 of 3) sorted by relevance
76 struct ethosn_sub_allocator_t *sub_allocators, in fdt_node_populate_sub_allocators() argument98 if (strncmp(node_name, sub_allocators[i].name, in fdt_node_populate_sub_allocators()99 sub_allocators[i].name_len) != 0) { in fdt_node_populate_sub_allocators()104 &sub_allocators[i].stream_id); in fdt_node_populate_sub_allocators()146 struct ethosn_sub_allocator_t sub_allocators[] = { in fdt_node_populate_main_allocator() local151 err = fdt_node_populate_sub_allocators(fdt, alloc_node, sub_allocators, in fdt_node_populate_main_allocator()152 ARRAY_SIZE(sub_allocators)); in fdt_node_populate_main_allocator()157 allocator->firmware.stream_id = sub_allocators[0].stream_id; in fdt_node_populate_main_allocator()158 allocator->working_data.stream_id = sub_allocators[1].stream_id; in fdt_node_populate_main_allocator()168 struct ethosn_sub_allocator_t sub_allocators[] = { in fdt_node_populate_asset_allocator() local[all …]
116 if (best_entry->sub_allocators.size() < static_cast<size_t>(index + 1)) { in GetSubAllocator()117 best_entry->sub_allocators.resize(index + 1); in GetSubAllocator()119 if (!best_entry->sub_allocators[index].get()) { in GetSubAllocator()120 best_entry->sub_allocators[index].reset( in GetSubAllocator()123 return best_entry->sub_allocators[index].get(); in GetSubAllocator()
102 std::vector<std::unique_ptr<SubAllocator>> sub_allocators; member