Home
last modified time | relevance | path

Searched refs:chip_tsadc_table (Results 1 - 1 of 1) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/thermal/
H A Drockchip_thermal.c85 * struct chip_tsadc_table - hold information about chip-specific differences
93 struct chip_tsadc_table { struct
137 int (*get_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int *temp);
138 int (*set_alarm_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int temp);
139 int (*set_tshut_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int temp);
145 struct chip_tsadc_table table;
401 static u32 rk_tsadcv2_temp_to_code(const struct chip_tsadc_table *table, int temp) in rk_tsadcv2_temp_to_code()
457 static int rk_tsadcv2_code_to_temp(const struct chip_tsadc_table *table, u32 code, int *temp) in rk_tsadcv2_code_to_temp()
730 static int rk_tsadcv2_get_temp(const struct chip_tsadc_table *table, int chn, void __iomem *regs, int *temp) in rk_tsadcv2_get_temp()
739 static int rk_tsadcv2_alarm_temp(const struct chip_tsadc_table *tabl
[all...]

Completed in 2 milliseconds