Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/
H A Damdgpu_fiji_smumgr.c502 struct pp_advance_fan_control_parameters *fan_table = in fiji_populate_bapm_parameters_in_dpm_table() local
540 scale_fan_gain_settings(fan_table->usFanGainEdge)); in fiji_populate_bapm_parameters_in_dpm_table()
542 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in fiji_populate_bapm_parameters_in_dpm_table()
544 scale_fan_gain_settings(fan_table->usFanGainLiquid)); in fiji_populate_bapm_parameters_in_dpm_table()
546 scale_fan_gain_settings(fan_table->usFanGainVrVddc)); in fiji_populate_bapm_parameters_in_dpm_table()
548 scale_fan_gain_settings(fan_table->usFanGainVrMvdd)); in fiji_populate_bapm_parameters_in_dpm_table()
550 scale_fan_gain_settings(fan_table->usFanGainPlx)); in fiji_populate_bapm_parameters_in_dpm_table()
552 scale_fan_gain_settings(fan_table->usFanGainHbm)); in fiji_populate_bapm_parameters_in_dpm_table()
2139 SMU73_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in fiji_thermal_setup_fan_table() local
2186 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in fiji_thermal_setup_fan_table()
[all …]
H A Damdgpu_polaris10_smumgr.c438 struct pp_advance_fan_control_parameters *fan_table = in polaris10_populate_bapm_parameters_in_dpm_table() local
456 scale_fan_gain_settings(fan_table->usFanGainEdge)); in polaris10_populate_bapm_parameters_in_dpm_table()
458 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in polaris10_populate_bapm_parameters_in_dpm_table()
2073 SMU74_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in polaris10_thermal_setup_fan_table() local
2124 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2126 fan_table.TempMed = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2128 fan_table.TempMax = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2131 fan_table.Slope1 = cpu_to_be16(slope1); in polaris10_thermal_setup_fan_table()
2132 fan_table.Slope2 = cpu_to_be16(slope2); in polaris10_thermal_setup_fan_table()
2134 fan_table.FdoMin = cpu_to_be16(fdo_min); in polaris10_thermal_setup_fan_table()
[all …]
H A Damdgpu_iceland_smumgr.c2093 SMU71_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in iceland_thermal_setup_fan_table() local
2135fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in iceland_thermal_setup_fan_table()
2136fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in iceland_thermal_setup_fan_table()
2137fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in iceland_thermal_setup_fan_table()
2139 fan_table.Slope1 = cpu_to_be16(slope1); in iceland_thermal_setup_fan_table()
2140 fan_table.Slope2 = cpu_to_be16(slope2); in iceland_thermal_setup_fan_table()
2142 fan_table.FdoMin = cpu_to_be16(fdo_min); in iceland_thermal_setup_fan_table()
2144 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in iceland_thermal_setup_fan_table()
2146 fan_table.HystUp = cpu_to_be16(1); in iceland_thermal_setup_fan_table()
2148 fan_table.HystSlope = cpu_to_be16(1); in iceland_thermal_setup_fan_table()
[all …]
H A Damdgpu_tonga_smumgr.c2469 SMU72_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in tonga_thermal_setup_fan_table() local
2520fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in tonga_thermal_setup_fan_table()
2521fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in tonga_thermal_setup_fan_table()
2522fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in tonga_thermal_setup_fan_table()
2524 fan_table.Slope1 = cpu_to_be16(slope1); in tonga_thermal_setup_fan_table()
2525 fan_table.Slope2 = cpu_to_be16(slope2); in tonga_thermal_setup_fan_table()
2527 fan_table.FdoMin = cpu_to_be16(fdo_min); in tonga_thermal_setup_fan_table()
2529 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in tonga_thermal_setup_fan_table()
2531 fan_table.HystUp = cpu_to_be16(1); in tonga_thermal_setup_fan_table()
2533 fan_table.HystSlope = cpu_to_be16(1); in tonga_thermal_setup_fan_table()
[all …]
H A Damdgpu_ci_smumgr.c2131 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
2173fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in ci_thermal_setup_fan_table()
2174fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in ci_thermal_setup_fan_table()
2175fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in ci_thermal_setup_fan_table()
2177 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
2178 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
2180 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
2182 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in ci_thermal_setup_fan_table()
2184 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
2186 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
[all …]
H A Damdgpu_vegam_smumgr.c1449 struct pp_advance_fan_control_parameters *fan_table = in vegam_populate_bapm_parameters_in_dpm_table() local
1467 scale_fan_gain_settings(fan_table->usFanGainEdge)); in vegam_populate_bapm_parameters_in_dpm_table()
1469 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in vegam_populate_bapm_parameters_in_dpm_table()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Damdgpu_process_pptables_v1_0.c893 const PPTable_Generic_SubTable_Header *fan_table; in init_thermal_controller() local
929 fan_table = (const PPTable_Generic_SubTable_Header *) in init_thermal_controller()
935 PP_ASSERT_WITH_CODE((0 < fan_table->ucRevId), in init_thermal_controller()
943 if (fan_table->ucRevId < 8) { in init_thermal_controller()
945 (const ATOM_Tonga_Fan_Table *)fan_table; in init_thermal_controller()
982 (const ATOM_Fiji_Fan_Table *)fan_table; in init_thermal_controller()
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_si_dpm.c6036 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6069 fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
6070 fan_table.temp_med = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()
6071 fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
6073 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6074 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6076 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6078 fan_table.hys_down = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()
6080 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6082 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
[all …]
H A Dradeon_ci_dpm.c964 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
997 fan_table.TempMin = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in ci_thermal_setup_fan_table()
998 fan_table.TempMed = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in ci_thermal_setup_fan_table()
999 fan_table.TempMax = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in ci_thermal_setup_fan_table()
1001 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
1002 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
1004 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
1006 fan_table.HystDown = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in ci_thermal_setup_fan_table()
1008 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
1010 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_si_dpm.c6473 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6506 fan_table.temp_min = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
6507 fan_table.temp_med = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()
6508 fan_table.temp_max = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
6509 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6510 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6511 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6512 fan_table.hys_down = cpu_to_be16(adev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()
6513 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6514 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
[all …]