Searched refs:amdgpu_reset_method (Results 1 – 11 of 11) sorted by relevance
195 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc24_asic_reset_method()196 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc24_asic_reset_method()197 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in soc24_asic_reset_method()198 return amdgpu_reset_method; in soc24_asic_reset_method()200 if (amdgpu_reset_method != -1) in soc24_asic_reset_method()203 amdgpu_reset_method); in soc24_asic_reset_method()
445 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in nv_asic_reset_method()446 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in nv_asic_reset_method()447 amdgpu_reset_method == AMD_RESET_METHOD_BACO || in nv_asic_reset_method()448 amdgpu_reset_method == AMD_RESET_METHOD_PCI) in nv_asic_reset_method()449 return amdgpu_reset_method; in nv_asic_reset_method()451 if (amdgpu_reset_method != -1) in nv_asic_reset_method()453 amdgpu_reset_method); in nv_asic_reset_method()
374 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc21_asic_reset_method()375 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc21_asic_reset_method()376 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in soc21_asic_reset_method()377 return amdgpu_reset_method; in soc21_asic_reset_method()379 if (amdgpu_reset_method != -1) in soc21_asic_reset_method()381 amdgpu_reset_method); in soc21_asic_reset_method()
537 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc15_asic_reset_method()538 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc15_asic_reset_method()539 amdgpu_reset_method == AMD_RESET_METHOD_BACO || in soc15_asic_reset_method()540 amdgpu_reset_method == AMD_RESET_METHOD_PCI) { in soc15_asic_reset_method()544 return amdgpu_reset_method; in soc15_asic_reset_method()547 if (amdgpu_reset_method != -1) in soc15_asic_reset_method()549 amdgpu_reset_method); in soc15_asic_reset_method()
1394 if (amdgpu_reset_method == AMD_RESET_METHOD_LEGACY || in cik_asic_reset_method()1395 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in cik_asic_reset_method()1396 return amdgpu_reset_method; in cik_asic_reset_method()1398 if (amdgpu_reset_method != -1) in cik_asic_reset_method()1400 amdgpu_reset_method); in cik_asic_reset_method()
913 if (amdgpu_reset_method == AMD_RESET_METHOD_LEGACY || in vi_asic_reset_method()914 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in vi_asic_reset_method()915 return amdgpu_reset_method; in vi_asic_reset_method()917 if (amdgpu_reset_method != -1) in vi_asic_reset_method()919 amdgpu_reset_method); in vi_asic_reset_method()
43 return amdgpu_reset_method == AMD_RESET_METHOD_MODE2; in sienna_cichlid_is_mode2_default()
1420 if (amdgpu_reset_method == AMD_RESET_METHOD_PCI) in si_asic_reset_method()1421 return amdgpu_reset_method; in si_asic_reset_method()1422 else if (amdgpu_reset_method != AMD_RESET_METHOD_LEGACY && in si_asic_reset_method()1423 amdgpu_reset_method != -1) in si_asic_reset_method()1425 amdgpu_reset_method); in si_asic_reset_method()
2065 if (amdgpu_reset_method < -1 || amdgpu_reset_method > 4) { in amdgpu_device_check_arguments()2067 amdgpu_reset_method = -1; in amdgpu_device_check_arguments()4428 tmp = amdgpu_reset_method; in amdgpu_device_init()4432 amdgpu_reset_method = AMD_RESET_METHOD_NONE; in amdgpu_device_init()4434 amdgpu_reset_method = tmp; in amdgpu_device_init()
222 int amdgpu_reset_method = -1; /* auto */ variable958 module_param_named_unsafe(reset_method, amdgpu_reset_method, int, 0644);
248 extern int amdgpu_reset_method;