Searched refs:to_amdgpu_device (Results 1 – 4 of 4) sorted by relevance
152 #define to_amdgpu_device(x) ((container_of(x, struct amdgpu_ras, eeprom_control))->adev) macro265 struct amdgpu_device *adev = to_amdgpu_device(control); in __write_table_header()321 struct amdgpu_device *adev = to_amdgpu_device(control); in __write_table_ras_info()416 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_set_eeprom_table_version()442 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_reset_table()602 struct amdgpu_device *adev = to_amdgpu_device(control); in __amdgpu_ras_eeprom_write()635 struct amdgpu_ras *con = amdgpu_ras_get_context(to_amdgpu_device(control)); in amdgpu_ras_eeprom_append_table()636 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_append_table()756 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_update_header()865 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_append()[all …]
50 to_amdgpu_device(struct amdgpu_vram_mgr *mgr) in to_amdgpu_device() function298 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_do_reserve()454 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_new()642 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_del()
57 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_device, pm.smu_i2c)) macro
73 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_device, pm.smu_i2c)) macro