Home
last modified time | relevance | path

Searched refs:temp_data (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/hwmon/
Dcoretemp.c74 struct temp_data { struct
97 struct temp_data *pkg_data; argument
98 struct temp_data **core_data;
150 static bool is_pkg_temp_data(struct temp_data *tdata) in is_pkg_temp_data()
273 static int get_tjmax(struct temp_data *tdata, struct device *dev) in get_tjmax()
312 static int get_ttarget(struct temp_data *tdata, struct device *dev) in get_ttarget()
345 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_LABEL]); in show_label()
357 struct temp_data *tdata = container_of(devattr, struct temp_data, in show_crit_alarm()
370 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TJMAX]); in show_tjmax()
383 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TTARGET]); in show_ttarget()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8192/
Dmt8192-afe-control.c147 void *temp_data; in mt8192_dai_set_priv() local
149 temp_data = devm_kzalloc(afe->dev, in mt8192_dai_set_priv()
152 if (!temp_data) in mt8192_dai_set_priv()
156 memcpy(temp_data, priv_data, priv_size); in mt8192_dai_set_priv()
158 afe_priv->dai_priv[id] = temp_data; in mt8192_dai_set_priv()
/linux-6.12.1/sound/soc/mediatek/mt8186/
Dmt8186-afe-control.c240 void *temp_data; in mt8186_dai_set_priv() local
242 temp_data = devm_kzalloc(afe->dev, in mt8186_dai_set_priv()
245 if (!temp_data) in mt8186_dai_set_priv()
249 memcpy(temp_data, priv_data, priv_size); in mt8186_dai_set_priv()
251 afe_priv->dai_priv[id] = temp_data; in mt8186_dai_set_priv()
/linux-6.12.1/drivers/iio/humidity/
Dam2315.c44 s16 temp_data; member
147 sensor_data->temp_data = (rx_buf[AM2315_TEMP_OFFSET] << 8) | in am2315_read_data()
174 data->scan.chans[1] = sensor_data.temp_data; in am2315_trigger_handler()
178 data->scan.chans[i] = (bit ? sensor_data.temp_data : in am2315_trigger_handler()
206 sensor_data.hum_data : sensor_data.temp_data; in am2315_read_raw()
/linux-6.12.1/drivers/input/touchscreen/
Dsun4i-ts.c112 int temp_data; member
155 ts->temp_data = readl(ts->base + TEMP_DATA); in sun4i_ts_irq()
187 if (ts->temp_data == -1) in sun4i_get_temp()
190 *temp = ts->temp_data * ts->temp_step - ts->temp_offset; in sun4i_get_temp()
253 ts->temp_data = -1; in sun4i_ts_probe()
/linux-6.12.1/drivers/power/supply/
Dmax17042_battery.c590 u16 *temp_data; in max17042_init_model() local
592 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_init_model()
593 if (!temp_data) in max17042_init_model()
599 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_init_model()
605 temp_data, in max17042_init_model()
609 kfree(temp_data); in max17042_init_model()
618 u16 *temp_data; in max17042_verify_model_lock() local
621 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_verify_model_lock()
622 if (!temp_data) in max17042_verify_model_lock()
625 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_verify_model_lock()
[all …]
/linux-6.12.1/drivers/thermal/st/
Dst_thermal.c36 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
41 IS_ERR(sensor->temp_data)) { in st_thermal_alloc_regfields()
123 ret = regmap_field_read(sensor->temp_data, &temp); in st_thermal_get_temp()
Dst_thermal.h88 struct regmap_field *temp_data; member
/linux-6.12.1/sound/soc/codecs/aw88395/
Daw88395_device.c40 u16 temp_data; in aw_dev_dsp_write_32bit() local
49 temp_data = dsp_data & AW88395_DSP_16_DATA_MASK; in aw_dev_dsp_write_32bit()
50 ret = regmap_write(aw_dev->regmap, AW88395_DSPMDAT_REG, (u16)temp_data); in aw_dev_dsp_write_32bit()
56 temp_data = dsp_data >> 16; in aw_dev_dsp_write_32bit()
57 ret = regmap_write(aw_dev->regmap, AW88395_DSPMDAT_REG, (u16)temp_data); in aw_dev_dsp_write_32bit()
103 unsigned int temp_data; in aw_dev_dsp_read_16bit() local
112 ret = regmap_read(aw_dev->regmap, AW88395_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_16bit()
117 *dsp_data = temp_data; in aw_dev_dsp_read_16bit()
125 unsigned int temp_data; in aw_dev_dsp_read_32bit() local
134 ret = regmap_read(aw_dev->regmap, AW88395_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit()
[all …]
/linux-6.12.1/drivers/thermal/
Dimx_thermal.c99 u32 temp_data; member
134 .temp_data = IMX6_TEMPSENSE0,
155 .temp_data = IMX6_TEMPSENSE0,
184 .temp_data = IMX7_TEMPSENSE1,
267 regmap_read(map, soc_data->temp_data, &val); in imx_get_temp()
/linux-6.12.1/drivers/iio/adc/
Dsun4i-gpadc-iio.c93 int temp_data; member
248 *val = info->temp_data; in sun4i_gpadc_read()
360 if (!regmap_read(info->regmap, SUN4I_GPADC_TEMP_DATA, &info->temp_data)) in sun4i_gpadc_temp_data_irq_handler()
/linux-6.12.1/sound/soc/codecs/
Daw88399.c50 unsigned int temp_data; in aw_dev_dsp_read_16bit() local
59 ret = regmap_read(aw_dev->regmap, AW88399_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_16bit()
64 *dsp_data = temp_data; in aw_dev_dsp_read_16bit()
72 unsigned int temp_data; in aw_dev_dsp_read_32bit() local
81 ret = regmap_read(aw_dev->regmap, AW88399_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit()
86 *dsp_data = temp_data; in aw_dev_dsp_read_32bit()
88 ret = regmap_read(aw_dev->regmap, AW88399_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit()
93 *dsp_data |= (temp_data << 16); in aw_dev_dsp_read_32bit()
/linux-6.12.1/drivers/net/wireless/rsi/
Drsi_91x_sdio.c713 u32 temp_data = data & 0xFF; in rsi_sdio_master_reg_write() local
715 *data_aligned = ((temp_data << 24) | (temp_data << 16) | in rsi_sdio_master_reg_write()
716 (temp_data << 8) | temp_data); in rsi_sdio_master_reg_write()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c65 u64 temp_data = 0; in rvu_npc_toeplitz_hash() local
69 temp_data = (data[i / 64]); in rvu_npc_toeplitz_hash()
70 temp_data = temp_data >> (i % 64); in rvu_npc_toeplitz_hash()
71 temp_data &= 0x1; in rvu_npc_toeplitz_hash()
72 if (temp_data) in rvu_npc_toeplitz_hash()
/linux-6.12.1/sound/soc/mediatek/mt8365/
Dmt8365-afe-pcm.c194 void *temp_data; in mt8365_dai_set_priv() local
196 temp_data = devm_kzalloc(afe->dev, priv_size, GFP_KERNEL); in mt8365_dai_set_priv()
197 if (!temp_data) in mt8365_dai_set_priv()
201 memcpy(temp_data, priv_data, priv_size); in mt8365_dai_set_priv()
203 afe_priv->dai_priv[id] = temp_data; in mt8365_dai_set_priv()
/linux-6.12.1/drivers/acpi/
Dec.c913 u8 temp_data; in ec_read() local
918 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
921 *val = temp_data; in ec_read()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c414 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
429 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
430 temp_data |= temp_value; in _phy_convert_txpower_dbm_to_relative_value()
432 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.c515 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
528 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
529 temp_data |= tmp; in _phy_convert_txpower_dbm_to_relative_value()
531 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1099 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
1113 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
1114 temp_data |= temp_value; in _phy_convert_txpower_dbm_to_relative_value()
1116 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()