Searched refs:vram_module (Results 1 – 4 of 4) sorted by relevance
168 union vram_module { union238 union vram_module *vram_module; in amdgpu_atomfirmware_get_vram_info() local307 vram_module = (union vram_module *)vram_info->v30.vram_module; in amdgpu_atomfirmware_get_vram_info()308 mem_vendor = (vram_module->v30.dram_vendor_id) & 0xF; in amdgpu_atomfirmware_get_vram_info()328 vram_module = (union vram_module *)vram_info->v23.vram_module; in amdgpu_atomfirmware_get_vram_info()330 vram_module = (union vram_module *) in amdgpu_atomfirmware_get_vram_info()331 ((u8 *)vram_module + vram_module->v9.vram_module_size); in amdgpu_atomfirmware_get_vram_info()334 mem_type = vram_module->v9.memory_type; in amdgpu_atomfirmware_get_vram_info()337 mem_channel_number = vram_module->v9.channel_num; in amdgpu_atomfirmware_get_vram_info()338 mem_channel_width = vram_module->v9.channel_width; in amdgpu_atomfirmware_get_vram_info()[all …]
3835 ATOM_VRAM_MODULE_V3 *vram_module = in radeon_atom_get_memory_info() local3839 if (le16_to_cpu(vram_module->usSize) == 0) in radeon_atom_get_memory_info()3841 vram_module = (ATOM_VRAM_MODULE_V3 *) in radeon_atom_get_memory_info()3842 ((u8 *)vram_module + le16_to_cpu(vram_module->usSize)); in radeon_atom_get_memory_info()3844 mem_info->mem_vendor = vram_module->asMemory.ucMemoryVenderID & 0xf; in radeon_atom_get_memory_info()3845 mem_info->mem_type = vram_module->asMemory.ucMemoryType & 0xf0; in radeon_atom_get_memory_info()3852 ATOM_VRAM_MODULE_V4 *vram_module = in radeon_atom_get_memory_info() local3856 if (le16_to_cpu(vram_module->usModuleSize) == 0) in radeon_atom_get_memory_info()3858 vram_module = (ATOM_VRAM_MODULE_V4 *) in radeon_atom_get_memory_info()3859 ((u8 *)vram_module + le16_to_cpu(vram_module->usModuleSize)); in radeon_atom_get_memory_info()[all …]
2350 info->num_chans = info_v23->vram_module[0].channel_num; in get_vram_info_v23()2351 info->dram_channel_width_bytes = (1 << info_v23->vram_module[0].channel_width) / 8; in get_vram_info_v23()2369 info->num_chans = info_v24->vram_module[0].channel_num; in get_vram_info_v24()2370 info->dram_channel_width_bytes = (1 << info_v24->vram_module[0].channel_width) / 8; in get_vram_info_v24()2388 info->num_chans = info_v25->vram_module[0].channel_num; in get_vram_info_v25()2389 info->dram_channel_width_bytes = (1 << info_v25->vram_module[0].channel_width) / 8; in get_vram_info_v25()
3114 …struct atom_vram_module_v9 vram_module[16]; // just for allocation, real number of bloc… member3159 struct atom_vram_module_v3_0 vram_module[8]; member3241 …struct atom_vram_module_v10 vram_module[16]; // just for allocation, real number of bloc… member3365 …struct atom_vram_module_v11 vram_module[16]; // just for allocation, real number of bloc… member3382 struct atom_vram_module_v9 vram_module[16]; member