Searched refs:to_amdgpu_device (Results 1 – 2 of 2) sorted by relevance
152 #define to_amdgpu_device(x) ((container_of(x, struct amdgpu_ras, eeprom_control))->adev) macro263 struct amdgpu_device *adev = to_amdgpu_device(control); in __write_table_header()318 struct amdgpu_device *adev = to_amdgpu_device(control); in __write_table_ras_info()411 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_set_eeprom_table_version()434 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_reset_table()590 struct amdgpu_device *adev = to_amdgpu_device(control); in __amdgpu_ras_eeprom_write()623 struct amdgpu_ras *con = amdgpu_ras_get_context(to_amdgpu_device(control)); in amdgpu_ras_eeprom_append_table()734 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_update_header()843 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_append()883 struct amdgpu_device *adev = to_amdgpu_device(control); in __amdgpu_ras_eeprom_read()[all …]
50 to_amdgpu_device(struct amdgpu_vram_mgr *mgr) in to_amdgpu_device() function302 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_do_reserve()458 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_new()646 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_del()