Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/mediatek/mt8192/
H A 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()
/openbmc/linux/sound/soc/mediatek/mt8186/
H A 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()
/openbmc/linux/drivers/hwmon/
H A Dcoretemp.c71 struct temp_data { struct
94 struct temp_data *core_data[MAX_CORE_DATA]; argument
337 struct temp_data *tdata = pdata->core_data[attr->index]; in show_label()
351 struct temp_data *tdata = pdata->core_data[attr->index]; in show_crit_alarm()
365 struct temp_data *tdata = pdata->core_data[attr->index]; in show_tjmax()
380 struct temp_data *tdata = pdata->core_data[attr->index]; in show_ttarget()
482 struct temp_data *tdata; in init_temp_data()
484 tdata = kzalloc(sizeof(struct temp_data), GFP_KERNEL); in init_temp_data()
501 struct temp_data *tdata; in create_core_data()
575 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core()
[all …]
/openbmc/linux/drivers/iio/humidity/
H A 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()
179 data->scan.chans[i] = (bit ? sensor_data.temp_data : in am2315_trigger_handler()
207 sensor_data.hum_data : sensor_data.temp_data; in am2315_read_raw()
/openbmc/linux/drivers/input/touchscreen/
H A 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()
/openbmc/linux/drivers/power/supply/
H A 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()
628 if (temp_data[i]) in max17042_verify_model_lock()
[all …]
/openbmc/linux/drivers/thermal/st/
H A Dst_thermal.c35 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
40 IS_ERR(sensor->temp_data)) { in st_thermal_alloc_regfields()
122 ret = regmap_field_read(sensor->temp_data, &temp); in st_thermal_get_temp()
H A Dst_thermal.h88 struct regmap_field *temp_data; member
/openbmc/linux/sound/soc/codecs/aw88395/
H A 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()
56 temp_data = dsp_data >> 16; 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()
139 *dsp_data = temp_data; in aw_dev_dsp_read_32bit()
141 ret = regmap_read(aw_dev->regmap, AW88395_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit()
[all …]
/openbmc/linux/drivers/thermal/
H A Dimx_thermal.c99 u32 temp_data; member
133 .temp_data = IMX6_TEMPSENSE0,
154 .temp_data = IMX6_TEMPSENSE0,
183 .temp_data = IMX7_TEMPSENSE1,
266 regmap_read(map, soc_data->temp_data, &val); in imx_get_temp()
/openbmc/linux/drivers/iio/adc/
H A 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()
/openbmc/u-boot/drivers/video/tegra124/
H A Ddp.c98 u32 temp_data; in tegra_dc_dpaux_write_chunk() local
116 memcpy(&temp_data, data, 4); in tegra_dc_dpaux_write_chunk()
117 tegra_dpaux_writel(dp, DPAUX_DP_AUXDATA_WRITE_W(i), temp_data); in tegra_dc_dpaux_write_chunk()
275 u32 temp_data[4]; in tegra_dc_dpaux_read_chunk() local
278 temp_data[i] = tegra_dpaux_readl(dp, in tegra_dc_dpaux_read_chunk()
282 memcpy(data, temp_data, *size); in tegra_dc_dpaux_read_chunk()
/openbmc/linux/drivers/net/wireless/rsi/
H A 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()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A 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()
/openbmc/linux/drivers/acpi/
H A Dec.c889 u8 temp_data; in ec_read() local
894 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
897 *val = temp_data; in ec_read()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dphy.c1106 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
1120 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
1121 temp_data |= temp_value; in _phy_convert_txpower_dbm_to_relative_value()
1123 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()