Home
last modified time | relevance | path

Searched refs:sen (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/thermal/
Dsprd_thermal.c150 struct sprd_thermal_sensor *sen) in sprd_thm_sensor_calibration() argument
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 = devdata; in sprd_thm_read_temp() local
212 data = readl(sen->data->base + SPRD_THM_TEMP(sen->id)) & in sprd_thm_read_temp()
215 *temp = sprd_thm_rawdata_to_temp(sen, data); in sprd_thm_read_temp()
[all …]
/linux-5.19.10/sound/soc/sh/rcar/
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)
585 &src->sen, 1); in rsnd_src_pcm_new()
/linux-5.19.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5.dtsi148 reg_vdd_sen: regulator-vdd-sen {