Searched refs:vram_info (Results 1 – 4 of 4) sorted by relevance
601 struct omapfb_vram_info vram_info; in omapfb_ioctl() member853 p.vram_info.total = SZ_1M * 64; in omapfb_ioctl()854 p.vram_info.free = SZ_1M * 64; in omapfb_ioctl()855 p.vram_info.largest_free_block = SZ_1M * 64; in omapfb_ioctl()857 if (copy_to_user((void __user *)arg, &p.vram_info, in omapfb_ioctl()858 sizeof(p.vram_info))) in omapfb_ioctl()
3804 union vram_info { union3816 union vram_info *vram_info; in radeon_atom_get_memory_info() local3822 vram_info = (union vram_info *) in radeon_atom_get_memory_info()3829 if (module_index < vram_info->v1_3.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()3831 (ATOM_VRAM_MODULE_V3 *)vram_info->v1_3.aVramInfo; in radeon_atom_get_memory_info()3846 if (module_index < vram_info->v1_4.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()3848 (ATOM_VRAM_MODULE_V4 *)vram_info->v1_4.aVramInfo; in radeon_atom_get_memory_info()3870 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()3872 (ATOM_VRAM_MODULE_V7 *)vram_info->v2_1.aVramInfo; in radeon_atom_get_memory_info()3906 union vram_info *vram_info; in radeon_atom_get_mclk_range_table() local[all …]
1620 union vram_info { union1642 union vram_info *vram_info; in amdgpu_atombios_init_mc_reg_table() local1648 vram_info = (union vram_info *) in amdgpu_atombios_init_mc_reg_table()1657 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in amdgpu_atombios_init_mc_reg_table()1660 ((u8 *)vram_info + le16_to_cpu(vram_info->v2_1.usMemClkPatchTblOffset)); in amdgpu_atombios_init_mc_reg_table()
137 ATOM_VRAM_INFO_HEADER_V2_1 *vram_info; in atomctrl_initialize_mc_reg_table() local143 vram_info = (ATOM_VRAM_INFO_HEADER_V2_1 *) in atomctrl_initialize_mc_reg_table()147 if (module_index >= vram_info->ucNumOfVRAMModule) { in atomctrl_initialize_mc_reg_table()150 } else if (vram_info->sHeader.ucTableFormatRevision < 2) { in atomctrl_initialize_mc_reg_table()157 ((uint8_t *)vram_info + le16_to_cpu(vram_info->usMemClkPatchTblOffset)); in atomctrl_initialize_mc_reg_table()