Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thermal/
H A Drockchip_thermal.c79 struct chip_tsadc_table { struct
132 int (*get_temp)(const struct chip_tsadc_table *table,
134 int (*set_alarm_temp)(const struct chip_tsadc_table *table,
136 int (*set_tshut_temp)(const struct chip_tsadc_table *table,
140 int (*get_trim_code)(const struct chip_tsadc_table *table,
145 struct chip_tsadc_table table;
780 static u32 rk_tsadcv2_temp_to_code(const struct chip_tsadc_table *table, in rk_tsadcv2_temp_to_code()
835 static int rk_tsadcv2_code_to_temp(const struct chip_tsadc_table *table, in rk_tsadcv2_code_to_temp()
1289 static int rk_tsadcv2_get_temp(const struct chip_tsadc_table *table, in rk_tsadcv2_get_temp()
1299 static int rk_tsadcv4_get_temp(const struct chip_tsadc_table *table, in rk_tsadcv4_get_temp()
[all …]
/OK3568_Linux_fs/u-boot/drivers/thermal/
H A Drockchip_thermal.c177 struct chip_tsadc_table { struct
214 struct chip_tsadc_table table;
616 static int tsadc_code_to_temp(struct chip_tsadc_table *table, u32 code, in tsadc_code_to_temp()
687 static u32 tsadc_temp_to_code_v2(struct chip_tsadc_table table, in tsadc_temp_to_code_v2()
1008 struct chip_tsadc_table table = priv->data->table; in tsadc_get_temp_v2()
1101 struct chip_tsadc_table table = priv->data->table; in tsadc_get_temp_v4()
1113 struct chip_tsadc_table table = priv->data->table; in tsadc_alarm_temp_v2()
1130 struct chip_tsadc_table table = priv->data->table; in tsadc_alarm_temp_v3()
1146 struct chip_tsadc_table table = priv->data->table; in tsadc_tshut_temp_v2()
1163 struct chip_tsadc_table table = priv->data->table; in tsadc_tshut_temp_v3()