• Home
  • Raw
  • Download

Lines Matching defs:adev

139 void amdgpu_ras_set_error_query_ready(struct amdgpu_device *adev, bool ready)  in amdgpu_ras_set_error_query_ready()
145 static bool amdgpu_ras_get_error_query_ready(struct amdgpu_device *adev) in amdgpu_ras_get_error_query_ready()
153 static int amdgpu_reserve_page_direct(struct amdgpu_device *adev, uint64_t address) in amdgpu_reserve_page_direct()
336 static void amdgpu_ras_instance_mask_check(struct amdgpu_device *adev, in amdgpu_ras_instance_mask_check()
460 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(f)->i_private; in amdgpu_ras_debugfs_ctrl_write() local
548 struct amdgpu_device *adev = in amdgpu_ras_debugfs_eeprom_write() local
638 static struct ras_manager *amdgpu_ras_create_obj(struct amdgpu_device *adev, in amdgpu_ras_create_obj()
671 struct ras_manager *amdgpu_ras_find_obj(struct amdgpu_device *adev, in amdgpu_ras_find_obj()
708 static int amdgpu_ras_is_feature_allowed(struct amdgpu_device *adev, in amdgpu_ras_is_feature_allowed()
714 static int amdgpu_ras_is_feature_enabled(struct amdgpu_device *adev, in amdgpu_ras_is_feature_enabled()
726 static int __amdgpu_ras_feature_enable(struct amdgpu_device *adev, in __amdgpu_ras_feature_enable()
762 int amdgpu_ras_feature_enable(struct amdgpu_device *adev, in amdgpu_ras_feature_enable()
818 int amdgpu_ras_feature_enable_on_boot(struct amdgpu_device *adev, in amdgpu_ras_feature_enable_on_boot()
869 static int amdgpu_ras_disable_all_features(struct amdgpu_device *adev, in amdgpu_ras_disable_all_features()
891 static int amdgpu_ras_enable_all_features(struct amdgpu_device *adev, in amdgpu_ras_enable_all_features()
957 static struct amdgpu_ras_block_object *amdgpu_ras_get_ras_block(struct amdgpu_device *adev, in amdgpu_ras_get_ras_block()
985 static void amdgpu_ras_get_ecc_info(struct amdgpu_device *adev, struct ras_err_data *err_data) in amdgpu_ras_get_ecc_info()
1018 int amdgpu_ras_query_error_status(struct amdgpu_device *adev, in amdgpu_ras_query_error_status()
1102 int amdgpu_ras_reset_error_status(struct amdgpu_device *adev, in amdgpu_ras_reset_error_status()
1129 int amdgpu_ras_error_inject(struct amdgpu_device *adev, in amdgpu_ras_error_inject()
1194 static int amdgpu_ras_query_error_count_helper(struct amdgpu_device *adev, in amdgpu_ras_query_error_count_helper()
1238 int amdgpu_ras_query_error_count(struct amdgpu_device *adev, in amdgpu_ras_query_error_count()
1340 struct amdgpu_device *adev = con->adev; in amdgpu_ras_sysfs_badpages_read() local
1375 static void amdgpu_ras_sysfs_remove_bad_page_node(struct amdgpu_device *adev) in amdgpu_ras_sysfs_remove_bad_page_node()
1385 static int amdgpu_ras_sysfs_remove_feature_node(struct amdgpu_device *adev) in amdgpu_ras_sysfs_remove_feature_node()
1403 int amdgpu_ras_sysfs_create(struct amdgpu_device *adev, in amdgpu_ras_sysfs_create()
1437 int amdgpu_ras_sysfs_remove(struct amdgpu_device *adev, in amdgpu_ras_sysfs_remove()
1455 static int amdgpu_ras_sysfs_remove_all(struct amdgpu_device *adev) in amdgpu_ras_sysfs_remove_all()
1492 static struct dentry *amdgpu_ras_debugfs_create_ctrl_node(struct amdgpu_device *adev) in amdgpu_ras_debugfs_create_ctrl_node()
1535 static void amdgpu_ras_debugfs_create(struct amdgpu_device *adev, in amdgpu_ras_debugfs_create()
1554 void amdgpu_ras_debugfs_create_all(struct amdgpu_device *adev) in amdgpu_ras_debugfs_create_all()
1588 static int amdgpu_ras_fs_init(struct amdgpu_device *adev) in amdgpu_ras_fs_init()
1625 static int amdgpu_ras_fs_fini(struct amdgpu_device *adev) in amdgpu_ras_fs_fini()
1650 void amdgpu_ras_interrupt_fatal_error_handler(struct amdgpu_device *adev) in amdgpu_ras_interrupt_fatal_error_handler()
1669 struct amdgpu_device *adev = obj->adev; in amdgpu_ras_interrupt_poison_consumption_handler() local
1780 int amdgpu_ras_interrupt_dispatch(struct amdgpu_device *adev, in amdgpu_ras_interrupt_dispatch()
1808 int amdgpu_ras_interrupt_remove_handler(struct amdgpu_device *adev, in amdgpu_ras_interrupt_remove_handler()
1830 int amdgpu_ras_interrupt_add_handler(struct amdgpu_device *adev, in amdgpu_ras_interrupt_add_handler()
1874 static int amdgpu_ras_interrupt_remove_all(struct amdgpu_device *adev) in amdgpu_ras_interrupt_remove_all()
1888 static void amdgpu_ras_log_on_err_counter(struct amdgpu_device *adev) in amdgpu_ras_log_on_err_counter()
1932 static void amdgpu_ras_error_status_query(struct amdgpu_device *adev, in amdgpu_ras_error_status_query()
1959 static void amdgpu_ras_query_err_status(struct amdgpu_device *adev) in amdgpu_ras_query_err_status()
1981 static int amdgpu_ras_badpages_read(struct amdgpu_device *adev, in amdgpu_ras_badpages_read()
2031 struct amdgpu_device *adev = ras->adev; in amdgpu_ras_do_recovery() local
2090 static int amdgpu_ras_realloc_eh_data_space(struct amdgpu_device *adev, in amdgpu_ras_realloc_eh_data_space()
2114 int amdgpu_ras_add_bad_pages(struct amdgpu_device *adev, in amdgpu_ras_add_bad_pages()
2160 int amdgpu_ras_save_bad_pages(struct amdgpu_device *adev, in amdgpu_ras_save_bad_pages()
2203 static int amdgpu_ras_load_bad_pages(struct amdgpu_device *adev) in amdgpu_ras_load_bad_pages()
2247 static bool amdgpu_ras_check_bad_page(struct amdgpu_device *adev, in amdgpu_ras_check_bad_page()
2262 static void amdgpu_ras_validate_threshold(struct amdgpu_device *adev, in amdgpu_ras_validate_threshold()
2299 int amdgpu_ras_recovery_init(struct amdgpu_device *adev) in amdgpu_ras_recovery_init()
2388 static int amdgpu_ras_recovery_fini(struct amdgpu_device *adev) in amdgpu_ras_recovery_fini()
2409 static bool amdgpu_ras_asic_supported(struct amdgpu_device *adev) in amdgpu_ras_asic_supported()
2444 static void amdgpu_ras_get_quirks(struct amdgpu_device *adev) in amdgpu_ras_get_quirks()
2467 static void amdgpu_ras_check_supported(struct amdgpu_device *adev) in amdgpu_ras_check_supported()
2544 struct amdgpu_device *adev = con->adev; in amdgpu_ras_counte_dw() local
2565 static void amdgpu_ras_query_poison_mode(struct amdgpu_device *adev) in amdgpu_ras_query_poison_mode()
2597 int amdgpu_ras_init(struct amdgpu_device *adev) in amdgpu_ras_init()
2711 int amdgpu_persistent_edc_harvesting_supported(struct amdgpu_device *adev) in amdgpu_persistent_edc_harvesting_supported()
2719 static int amdgpu_persistent_edc_harvesting(struct amdgpu_device *adev, in amdgpu_persistent_edc_harvesting()
2738 bool amdgpu_ras_is_poison_mode_supported(struct amdgpu_device *adev) in amdgpu_ras_is_poison_mode_supported()
2749 int amdgpu_ras_block_late_init(struct amdgpu_device *adev, in amdgpu_ras_block_late_init()
2822 static int amdgpu_ras_block_late_init_default(struct amdgpu_device *adev, in amdgpu_ras_block_late_init_default()
2829 void amdgpu_ras_block_late_fini(struct amdgpu_device *adev, in amdgpu_ras_block_late_fini()
2843 static void amdgpu_ras_block_late_fini_default(struct amdgpu_device *adev, in amdgpu_ras_block_late_fini_default()
2852 void amdgpu_ras_resume(struct amdgpu_device *adev) in amdgpu_ras_resume()
2886 void amdgpu_ras_suspend(struct amdgpu_device *adev) in amdgpu_ras_suspend()
2899 int amdgpu_ras_late_init(struct amdgpu_device *adev) in amdgpu_ras_late_init()
2931 int amdgpu_ras_pre_fini(struct amdgpu_device *adev) in amdgpu_ras_pre_fini()
2946 int amdgpu_ras_fini(struct amdgpu_device *adev) in amdgpu_ras_fini()
2986 void amdgpu_ras_global_ras_isr(struct amdgpu_device *adev) in amdgpu_ras_global_ras_isr()
2999 bool amdgpu_ras_need_emergency_restart(struct amdgpu_device *adev) in amdgpu_ras_need_emergency_restart()
3010 void amdgpu_release_ras_context(struct amdgpu_device *adev) in amdgpu_release_ras_context()
3028 struct amdgpu_device *adev = NULL; in find_adev() local
3051 struct amdgpu_device *adev = NULL; in amdgpu_bad_page_notifier() local
3103 static void amdgpu_register_bad_pages_mca_notifier(struct amdgpu_device *adev) in amdgpu_register_bad_pages_mca_notifier()
3126 struct amdgpu_ras *amdgpu_ras_get_context(struct amdgpu_device *adev) in amdgpu_ras_get_context()
3134 int amdgpu_ras_set_context(struct amdgpu_device *adev, struct amdgpu_ras *ras_con) in amdgpu_ras_set_context()
3144 int amdgpu_ras_is_supported(struct amdgpu_device *adev, in amdgpu_ras_is_supported()
3173 int amdgpu_ras_reset_gpu(struct amdgpu_device *adev) in amdgpu_ras_reset_gpu()
3184 int amdgpu_ras_register_ras_block(struct amdgpu_device *adev, in amdgpu_ras_register_ras_block()
3220 bool amdgpu_ras_inst_get_memory_id_field(struct amdgpu_device *adev, in amdgpu_ras_inst_get_memory_id_field()
3244 bool amdgpu_ras_inst_get_err_cnt_field(struct amdgpu_device *adev, in amdgpu_ras_inst_get_err_cnt_field()
3270 void amdgpu_ras_inst_query_ras_error_count(struct amdgpu_device *adev, in amdgpu_ras_inst_query_ras_error_count()
3322 void amdgpu_ras_inst_reset_ras_error_count(struct amdgpu_device *adev, in amdgpu_ras_inst_reset_ras_error_count()