/external/coreboot/tests/lib/ |
D | dimm_info_util-test.c | 43 smbios_memory_type memory_type[] = { in test_smbios_bus_width_to_spd_width() local 48 for (int i = 0; i < ARRAY_SIZE(memory_type); i++) { in test_smbios_bus_width_to_spd_width() 50 memory_type[i]); in test_smbios_bus_width_to_spd_width() 51 test_smbios_bus_width_to_spd_width_parametrized(memory_type[i]); in test_smbios_bus_width_to_spd_width() 90 static void test_smbios_form_factor_to_spd_mod_type_ddr(smbios_memory_type memory_type) in test_smbios_form_factor_to_spd_mod_type_ddr() argument 103 memory_type, undefined_factors[i])); in test_smbios_form_factor_to_spd_mod_type_ddr() 108 smbios_memory_type memory_type, const LargestIntegralType udimm_allowed[], in test_smbios_form_factor_to_spd_mod_type_ddrx_parametrized() argument 111 print_message("%s(%d)\n", __func__, memory_type); in test_smbios_form_factor_to_spd_mod_type_ddrx_parametrized() 113 assert_in_set(smbios_form_factor_to_spd_mod_type(memory_type, MEMORY_FORMFACTOR_DIMM), in test_smbios_form_factor_to_spd_mod_type_ddrx_parametrized() 116 assert_in_set(smbios_form_factor_to_spd_mod_type(memory_type, MEMORY_FORMFACTOR_RIMM), in test_smbios_form_factor_to_spd_mod_type_ddrx_parametrized() [all …]
|
/external/rust/android-crates-io/crates/uefi/src/ |
D | allocator.rs | 28 let memory_type = MEMORY_TYPE.load(Ordering::Acquire); in get_memory_type() localVariable 29 if memory_type == MemoryType::RESERVED.0 { in get_memory_type() 30 let memory_type = if let Ok(loaded_image) = in get_memory_type() localVariable 37 MEMORY_TYPE.store(memory_type.0, Ordering::Release); in get_memory_type() 38 memory_type in get_memory_type() 40 MemoryType(memory_type) in get_memory_type() 61 let memory_type = get_memory_type(); in alloc() localVariable 68 let full_alloc_ptr = if let Ok(ptr) = boot::allocate_pool(memory_type, size + align) { in alloc() 97 boot::allocate_pool(memory_type, size) in alloc()
|
/external/coreboot/src/device/dram/ |
D | spd.c | 181 void get_spd_info(smbios_memory_type memory_type, uint8_t module_type, struct spd_info *info) in get_spd_info() argument 183 switch (memory_type) { in get_spd_info() 212 static uint8_t convert_ddrx_form_factor_to_module_type(smbios_memory_type memory_type, in convert_ddrx_form_factor_to_module_type() argument 223 module_type = (memory_type == MEMORY_TYPE_DDR2) ? SPD_DDR2_DIMM_TYPE_SO_DIMM : in convert_ddrx_form_factor_to_module_type() 241 uint8_t convert_form_factor_to_module_type(smbios_memory_type memory_type, in convert_form_factor_to_module_type() argument 246 switch (memory_type) { in convert_form_factor_to_module_type() 251 module_type = convert_ddrx_form_factor_to_module_type(memory_type, form_factor); in convert_form_factor_to_module_type()
|
/external/coreboot/payloads/libpayload/libc/ |
D | malloc.c | 45 struct memory_type { struct 58 static struct memory_type default_type = argument 64 static struct memory_type *const heap = &default_type; 65 static struct memory_type *dma = &default_type; 85 static int free_aligned(void* addr, struct memory_type *type); 139 static hdrtype_t volatile *find_free_block(int len, struct memory_type *type) in find_free_block() 210 static void *alloc(int len, struct memory_type *type) in alloc() 221 static void _consolidate(struct memory_type *type) in _consolidate() 259 struct memory_type *type = heap; in free() 315 struct memory_type *type = heap; in realloc() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | memory_types_test.cc | 66 MemoryType memory_type; in TEST() local 68 TF_EXPECT_OK(MemoryTypeForOutput(DEVICE_CPU, g, sf, 0, &memory_type)); in TEST() 70 EXPECT_EQ(memory_type, DEVICE_MEMORY); in TEST() 73 TF_EXPECT_OK(MemoryTypeForOutput(DEVICE_GPU, g, si, 0, &memory_type)); in TEST() 75 EXPECT_EQ(memory_type, HOST_MEMORY); in TEST()
|
D | memory_types.h | 44 const Node* n, int index, MemoryType* memory_type);
|
D | memory_types.cc | 218 const Node* n, int index, MemoryType* memory_type) { in MemoryTypeForOutput() argument 228 *memory_type = out_mvec[index]; in MemoryTypeForOutput()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/ |
D | buffer_desc.cc | 37 desc.memory_type = memory_type; in GetGPUResources() 39 if (gpu_info.IsGlsl() && memory_type == tflite::gpu::MemoryType::CONSTANT) { in GetGPUResources() 72 if (memory_type == MemoryType::CONSTANT) { in PerformReadSelector() 143 conversion = absl::StrCat("(", MemoryTypeToCLType(memory_type), " ", in PerformGetPtrSelector()
|
D | buffer_desc.h | 32 MemoryType memory_type = MemoryType::GLOBAL; member
|
/external/rust/android-crates-io/crates/vulkano/src/memory/allocator/ |
D | mod.rs | 671 memory_type: ash::vk::MemoryType, field 679 memory_type: ash::vk::MemoryType { 779 for (i, memory_type) in memory_types.iter().enumerate() { in new_unchecked() 780 pools[i].memory_type = ash::vk::MemoryType { in new_unchecked() 781 property_flags: memory_type.property_flags.into(), in new_unchecked() 782 heap_index: memory_type.heap_index, in new_unchecked() 862 let memory_type = &self.pools[usize::try_from(memory_type_index).unwrap()].memory_type; in validate_allocate_from_type() localVariable 866 memory_type in validate_allocate_from_type() 876 memory_type in validate_allocate_from_type() 934 .map(|pool| pool.memory_type.property_flags) in find_memory_type_index() [all …]
|
/external/coreboot/src/include/device/dram/ |
D | spd.h | 16 void get_spd_info(smbios_memory_type memory_type, uint8_t module_type, struct spd_info *info); 17 uint8_t convert_form_factor_to_module_type(smbios_memory_type memory_type,
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | gpu_event_parser.cc | 579 auto memory_type = static_cast<uint32_t>(event.memory_type()); in UpdateVulkanMemoryAllocationCounters() local 582 vulkan_device_memory_counters_allocate_[memory_type] += in UpdateVulkanMemoryAllocationCounters() 586 vulkan_device_memory_counters_allocate_[memory_type] -= in UpdateVulkanMemoryAllocationCounters() 605 kBlueprint, tracks::Dimensions(upid, memory_type)); in UpdateVulkanMemoryAllocationCounters() 609 vulkan_device_memory_counters_allocate_[memory_type]), in UpdateVulkanMemoryAllocationCounters() 615 auto memory_type = static_cast<uint32_t>(event.memory_type()); in UpdateVulkanMemoryAllocationCounters() local 618 vulkan_device_memory_counters_bind_[memory_type] += in UpdateVulkanMemoryAllocationCounters() 622 vulkan_device_memory_counters_bind_[memory_type] -= in UpdateVulkanMemoryAllocationCounters() 641 kBlueprint, tracks::Dimensions(upid, memory_type)); in UpdateVulkanMemoryAllocationCounters() 644 static_cast<double>(vulkan_device_memory_counters_bind_[memory_type]), in UpdateVulkanMemoryAllocationCounters() [all …]
|
/external/coreboot/src/lib/ |
D | dimm_info_util.c | 76 uint8_t smbios_form_factor_to_spd_mod_type(smbios_memory_type memory_type, in smbios_form_factor_to_spd_mod_type() argument 79 return convert_form_factor_to_module_type(memory_type, form_factor); in smbios_form_factor_to_spd_mod_type()
|
/external/coreboot/src/mainboard/google/poppy/variants/baseboard/include/baseboard/ |
D | variants.h | 26 enum memory_type { enum 33 enum memory_type type;
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | cl_arguments_test.cc | 34 desc.memory_type = MemoryType::GLOBAL; in TEST() 58 desc.memory_type = MemoryType::GLOBAL; in TEST()
|
/external/rust/android-crates-io/crates/vulkano/src/memory/ |
D | device_memory.rs | 168 let memory_type = memory_properties in validate() localVariable 177 if memory_type in validate() 196 let heap_size = memory_properties.memory_heaps[memory_type.heap_index as usize].size; in validate() 205 if memory_type in validate() 633 let memory_type = &self in validate_commitment() localVariable 640 if !memory_type in validate_commitment() 1232 let memory_type = &device.physical_device().memory_properties().memory_types in new() localVariable 1236 if !memory_type in new() 1243 let coherent = memory_type in new() 1654 let (memory_type_index, memory_type) = device in oom_multi() [all …]
|
/external/mesa3d/src/gallium/frontends/va/ |
D | surface.c | 969 int memory_type, void *res_handle, in surface_from_external_win32_memory() argument 986 if (memory_type == VA_SURFACE_ATTRIB_MEM_TYPE_NTHANDLE) { in surface_from_external_win32_memory() 989 } else if (memory_type == VA_SURFACE_ATTRIB_MEM_TYPE_D3D12_RESOURCE) { in surface_from_external_win32_memory() 1116 int memory_type; in vlVaCreateSurfaces2() local 1142 memory_type = VA_SURFACE_ATTRIB_MEM_TYPE_VA; in vlVaCreateSurfaces2() 1179 memory_type = attrib_list[i].value.value.i; in vlVaCreateSurfaces2() 1189 if (memory_type == VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME_2 || in vlVaCreateSurfaces2() 1190 memory_type == VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME_3) in vlVaCreateSurfaces2() 1193 else if (memory_type == VA_SURFACE_ATTRIB_MEM_TYPE_NTHANDLE || in vlVaCreateSurfaces2() 1194 memory_type == VA_SURFACE_ATTRIB_MEM_TYPE_D3D12_RESOURCE) in vlVaCreateSurfaces2() [all …]
|
/external/coreboot/src/include/ |
D | dimm_info_util.h | 31 uint8_t smbios_form_factor_to_spd_mod_type(smbios_memory_type memory_type,
|
/external/coreboot/src/mainboard/google/poppy/ |
D | romstage.c | 59 static void mainboard_print_spd_info(const uint8_t *spd, enum memory_type type) in mainboard_print_spd_info() 102 static uintptr_t mainboard_get_spd_data(enum memory_type type, bool use_sec_spd) in mainboard_get_spd_data()
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | vulkano_gralloc.rs | 333 let (memory_type_index, memory_type) = { in get_image_memory_requirements() 402 if memory_type in get_image_memory_requirements() 406 if memory_type in get_image_memory_requirements() 411 } else if memory_type in get_image_memory_requirements()
|
/external/chromiumos-config/payload_utils/merge_plugins/ |
D | merge_hwid.py | 433 memory_type = values['timing'].split('-')[0] 434 if memory_type == 'LPDDR4': 436 elif memory_type == 'LPDDR3': 438 elif memory_type == 'DDR4': 440 elif memory_type == 'DDR3': 442 elif memory_type == 'DDR2': 444 elif memory_type == 'DDR':
|
/external/ComputeLibrary/arm_compute/dynamic_fusion/sketch/ |
D | MemoryDescriptor.h | 86 MemoryType memory_type{}; /**< Memory Type*/
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | conv_constants.h | 128 desc.memory_type = MemoryType::CONSTANT; in UploadWeightsForConvConstants() 130 desc.memory_type = MemoryType::GLOBAL; in UploadWeightsForConvConstants()
|
/external/rust/crates/v4l2r/lib/src/device/ |
D | queue.rs | 252 memory_type: P::SupportedMemoryType, in request_buffers_generic() 256 let num_buffers: usize = ioctl::reqbufs(&self.inner, type_, memory_type.into(), count)?; in request_buffers_generic() 284 memory_type, in request_buffers_generic() 340 memory_type: P::SupportedMemoryType, field 432 ioctl::reqbufs::<()>(&self.inner, type_, self.state.memory_type.into(), 0)?; in free_buffers()
|
/external/rust/crates/v4l2r/lib/src/ |
D | encoder.rs | 141 memory_type: OP::SupportedMemoryType, in allocate_output_buffers_generic() 150 .request_buffers_generic::<OP>(memory_type, num_output as u32)?, in allocate_output_buffers_generic() 181 memory_type: <P::HandleType as BufferHandles>::SupportedMemoryType, in allocate_capture_buffers_generic() 192 .request_buffers_generic::<P::HandleType>(memory_type, num_capture as u32)?, in allocate_capture_buffers_generic()
|