Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/mediatek/mt8192/
Dmt8192-afe-control.c149 void *temp_data; in mt8192_dai_set_priv() local
151 temp_data = devm_kzalloc(afe->dev, in mt8192_dai_set_priv()
154 if (!temp_data) in mt8192_dai_set_priv()
158 memcpy(temp_data, priv_data, priv_size); in mt8192_dai_set_priv()
160 afe_priv->dai_priv[id] = temp_data; in mt8192_dai_set_priv()
/Linux-v6.1/sound/soc/mediatek/mt8186/
Dmt8186-afe-control.c241 void *temp_data; in mt8186_dai_set_priv() local
243 temp_data = devm_kzalloc(afe->dev, in mt8186_dai_set_priv()
246 if (!temp_data) in mt8186_dai_set_priv()
250 memcpy(temp_data, priv_data, priv_size); in mt8186_dai_set_priv()
252 afe_priv->dai_priv[id] = temp_data; in mt8186_dai_set_priv()
/Linux-v6.1/drivers/hwmon/
Dcoretemp.c69 struct temp_data { struct
94 struct temp_data *core_data[MAX_CORE_DATA]; argument
108 struct temp_data *tdata = pdata->core_data[attr->index]; in show_label()
122 struct temp_data *tdata = pdata->core_data[attr->index]; in show_crit_alarm()
155 struct temp_data *tdata = pdata->core_data[attr->index]; in show_temp()
382 static int create_core_attrs(struct temp_data *tdata, struct device *dev, in create_core_attrs()
434 static struct temp_data *init_temp_data(unsigned int cpu, int pkg_flag) in init_temp_data()
436 struct temp_data *tdata; in init_temp_data()
438 tdata = kzalloc(sizeof(struct temp_data), GFP_KERNEL); in init_temp_data()
455 struct temp_data *tdata; in create_core_data()
[all …]
/Linux-v6.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()
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()
/Linux-v6.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-v6.1/drivers/power/supply/
Dmax17042_battery.c595 u16 *temp_data; in max17042_init_model() local
597 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_init_model()
598 if (!temp_data) in max17042_init_model()
604 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_init_model()
610 temp_data, in max17042_init_model()
614 kfree(temp_data); in max17042_init_model()
623 u16 *temp_data; in max17042_verify_model_lock() local
626 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_verify_model_lock()
627 if (!temp_data) in max17042_verify_model_lock()
630 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_verify_model_lock()
[all …]
/Linux-v6.1/drivers/thermal/st/
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()
123 ret = regmap_field_read(sensor->temp_data, &temp); in st_thermal_get_temp()
Dst_thermal.h88 struct regmap_field *temp_data; member
/Linux-v6.1/drivers/thermal/
Dimx_thermal.c100 u32 temp_data; member
129 .temp_data = IMX6_TEMPSENSE0,
150 .temp_data = IMX6_TEMPSENSE0,
179 .temp_data = IMX7_TEMPSENSE1,
264 regmap_read(map, soc_data->temp_data, &val); in imx_get_temp()
/Linux-v6.1/drivers/iio/adc/
Dsun4i-gpadc-iio.c94 int temp_data; member
249 *val = info->temp_data; in sun4i_gpadc_read()
361 if (!regmap_read(info->regmap, SUN4I_GPADC_TEMP_DATA, &info->temp_data)) in sun4i_gpadc_temp_data_irq_handler()
/Linux-v6.1/drivers/net/wireless/rsi/
Drsi_91x_sdio.c721 u32 temp_data = data & 0xFF; in rsi_sdio_master_reg_write() local
723 *data_aligned = ((temp_data << 24) | (temp_data << 16) | in rsi_sdio_master_reg_write()
724 (temp_data << 8) | temp_data); in rsi_sdio_master_reg_write()
/Linux-v6.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-v6.1/drivers/acpi/
Dec.c903 u8 temp_data; in ec_read() local
908 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
911 *val = temp_data; in ec_read()
/Linux-v6.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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.c523 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
536 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
537 temp_data |= tmp; in _phy_convert_txpower_dbm_to_relative_value()
539 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1105 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
1119 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
1120 temp_data |= temp_value; in _phy_convert_txpower_dbm_to_relative_value()
1122 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()