Home
last modified time | relevance | path

Searched refs:db_dir (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c333 struct psp_runtime_data_directory db_dir = {0}; in psp_get_runtime_db_entry() local
354 amdgpu_device_vram_access(adev, db_dir_pos, (uint32_t *)&db_dir, in psp_get_runtime_db_entry()
357 if (db_dir.entry_count >= PSP_RUNTIME_DB_DIAG_ENTRY_MAX_COUNT) { in psp_get_runtime_db_entry()
364 for (i = 0; i < db_dir.entry_count && !ret; i++) { in psp_get_runtime_db_entry()
365 if (db_dir.entry_list[i].entry_type == entry_type) { in psp_get_runtime_db_entry()
368 if (db_dir.entry_list[i].size < sizeof(struct psp_runtime_boot_cfg_entry)) { in psp_get_runtime_db_entry()
374 amdgpu_device_vram_access(adev, db_header_pos + db_dir.entry_list[i].offset, in psp_get_runtime_db_entry()
379 if (db_dir.entry_list[i].size < sizeof(struct psp_runtime_scpm_entry)) { in psp_get_runtime_db_entry()
385 amdgpu_device_vram_access(adev, db_header_pos + db_dir.entry_list[i].offset, in psp_get_runtime_db_entry()