Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thermal/
H A Dsprd_thermal.c150 struct sprd_thermal_sensor *sen) in sprd_thm_sensor_calibration()
172 sen->cal_slope = (thm->var_data->ideal_k * ratio) / 1000; in sprd_thm_sensor_calibration()
173 sen->cal_offset = thm->var_data->ideal_b + (dt_offset - 128) * 250; in sprd_thm_sensor_calibration()
178 static int sprd_thm_rawdata_to_temp(struct sprd_thermal_sensor *sen, in sprd_thm_rawdata_to_temp() argument
188 return sen->cal_slope * rawdata - sen->cal_offset; in sprd_thm_rawdata_to_temp()
191 static int sprd_thm_temp_to_rawdata(int temp, struct sprd_thermal_sensor *sen) in sprd_thm_temp_to_rawdata() argument
202 val = (temp + sen->cal_offset) / sen->cal_slope; in sprd_thm_temp_to_rawdata()
209 struct sprd_thermal_sensor *sen in sprd_thm_read_temp() local
148 sprd_thm_sensor_calibration(struct device_node *np, struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_calibration() argument
282 sprd_thm_sensor_init(struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_init() argument
321 sprd_thm_toggle_sensor(struct sprd_thermal_sensor *sen, bool on) sprd_thm_toggle_sensor() argument
336 struct sprd_thermal_sensor *sen; sprd_thm_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Dsprd_thermal.c150 struct sprd_thermal_sensor *sen) in sprd_thm_sensor_calibration()
172 sen->cal_slope = (thm->var_data->ideal_k * ratio) / 1000; in sprd_thm_sensor_calibration()
173 sen->cal_offset = thm->var_data->ideal_b + (dt_offset - 128) * 250; in sprd_thm_sensor_calibration()
178 static int sprd_thm_rawdata_to_temp(struct sprd_thermal_sensor *sen, in sprd_thm_rawdata_to_temp() argument
188 return sen->cal_slope * rawdata - sen->cal_offset; in sprd_thm_rawdata_to_temp()
191 static int sprd_thm_temp_to_rawdata(int temp, struct sprd_thermal_sensor *sen) in sprd_thm_temp_to_rawdata() argument
202 val = (temp + sen->cal_offset) / sen->cal_slope; in sprd_thm_temp_to_rawdata()
209 struct sprd_thermal_sensor *sen in sprd_thm_read_temp() local
148 sprd_thm_sensor_calibration(struct device_node *np, struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_calibration() argument
282 sprd_thm_sensor_init(struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_init() argument
321 sprd_thm_toggle_sensor(struct sprd_thermal_sensor *sen, bool on) sprd_thm_toggle_sensor() argument
336 struct sprd_thermal_sensor *sen; sprd_thm_probe() local
[all...]
/kernel/linux/linux-5.10/sound/soc/sh/rcar/
H A Dsrc.c26 struct rsnd_kctrl_cfg_s sen; /* sync convert enable */ member
35 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val)
579 &src->sen, 1); in rsnd_src_pcm_new()
/kernel/linux/linux-6.6/sound/soc/sh/rcar/
H A Dsrc.c35 struct rsnd_kctrl_cfg_s sen; /* sync convert enable */ member
44 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val)
588 &src->sen, 1); in rsnd_src_pcm_new()

Completed in 4 milliseconds