Linux Kernel
3.7.1
|
#include <exynos_thermal.h>
Data Fields | |
u8 | threshold |
u8 | trigger_levels [4] |
bool | trigger_level0_en |
bool | trigger_level1_en |
bool | trigger_level2_en |
bool | trigger_level3_en |
u8 | gain |
u8 | reference_voltage |
u8 | noise_cancel_mode |
u32 | efuse_value |
enum calibration_type | cal_type |
enum soc_type | type |
struct freq_clip_table | freq_tab [4] |
unsigned int | freq_tab_count |
struct exynos_tmu_platform_data : basic temperature for generating interrupt 25 <= threshold <= 125 [unit: degree Celsius] : array for each interrupt levels [unit: degree Celsius] 0: temperature for trigger_level0 interrupt condition for trigger_level0 interrupt: current temperature > threshold + trigger_levels[0] 1: temperature for trigger_level1 interrupt condition for trigger_level1 interrupt: current temperature > threshold + trigger_levels[1] 2: temperature for trigger_level2 interrupt condition for trigger_level2 interrupt: current temperature > threshold + trigger_levels[2] 3: temperature for trigger_level3 interrupt condition for trigger_level3 interrupt: current temperature > threshold + trigger_levels[3] : 1 = enable trigger_level0 interrupt, 0 = disable trigger_level0 interrupt : 1 = enable trigger_level1 interrupt, 0 = disable trigger_level1 interrupt : 1 = enable trigger_level2 interrupt, 0 = disable trigger_level2 interrupt : 1 = enable trigger_level3 interrupt, 0 = disable trigger_level3 interrupt : gain of amplifier in the positive-TC generator block 0 <= gain <= 15 : reference voltage of amplifier in the positive-TC generator block 0 <= reference_voltage <= 31 : noise cancellation mode 000, 100, 101, 110 and 111 can be different modes : determines the type of SOC : platform defined fuse value : calibration type for temperature : Table representing frequency reduction percentage. : Count of the above table as frequency reduction may applicable to only some of the trigger levels.
This structure is required for configuration of exynos_tmu driver.
Definition at line 98 of file exynos_thermal.h.
enum calibration_type cal_type |
Definition at line 111 of file exynos_thermal.h.
u32 efuse_value |
Definition at line 109 of file exynos_thermal.h.
struct freq_clip_table freq_tab[4] |
Definition at line 113 of file exynos_thermal.h.
unsigned int freq_tab_count |
Definition at line 114 of file exynos_thermal.h.
u8 gain |
Definition at line 106 of file exynos_thermal.h.
u8 noise_cancel_mode |
Definition at line 108 of file exynos_thermal.h.
u8 reference_voltage |
Definition at line 107 of file exynos_thermal.h.
u8 threshold |
Definition at line 99 of file exynos_thermal.h.
bool trigger_level0_en |
Definition at line 101 of file exynos_thermal.h.
bool trigger_level1_en |
Definition at line 102 of file exynos_thermal.h.
bool trigger_level2_en |
Definition at line 103 of file exynos_thermal.h.
bool trigger_level3_en |
Definition at line 104 of file exynos_thermal.h.
u8 trigger_levels[4] |
Definition at line 100 of file exynos_thermal.h.
Definition at line 112 of file exynos_thermal.h.