/linux/drivers/hwmon/ |
H A D | coretemp.c | 74 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() [all...] |
/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-afe-control.c | 147 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/sound/soc/mediatek/mt8186/ |
H A D | mt8186-afe-control.c | 240 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/drivers/iio/humidity/ |
H A D | am2315.c | 44 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/drivers/power/supply/ |
H A D | max17042_battery.c | 592 u16 *temp_data; in max17042_init_model() local 594 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_init_model() 595 if (!temp_data) in max17042_init_model() 601 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_init_model() 607 temp_data, in max17042_init_model() 611 kfree(temp_data); in max17042_init_model() 620 u16 *temp_data; in max17042_verify_model_lock() local 623 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNE in max17042_verify_model_lock() [all...] |
/linux/drivers/thermal/st/ |
H A D | st_thermal.c | 36 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()
|
H A D | st_thermal.h | 88 struct regmap_field *temp_data; member
|
/linux/sound/soc/codecs/aw88395/ |
H A D | aw88395_device.c | 41 u16 temp_data; in aw_dev_dsp_write_32bit() local 50 temp_data = dsp_data & AW88395_DSP_16_DATA_MASK; in aw_dev_dsp_write_32bit() 51 ret = regmap_write(aw_dev->regmap, AW88395_DSPMDAT_REG, (u16)temp_data); in aw_dev_dsp_write_32bit() 57 temp_data = dsp_data >> 16; in aw_dev_dsp_write_32bit() 58 ret = regmap_write(aw_dev->regmap, AW88395_DSPMDAT_REG, (u16)temp_data); in aw_dev_dsp_write_32bit() 104 unsigned int temp_data; in aw_dev_dsp_read_16bit() local 113 ret = regmap_read(aw_dev->regmap, AW88395_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_16bit() 118 *dsp_data = temp_data; in aw_dev_dsp_read_16bit() 126 unsigned int temp_data; in aw_dev_dsp_read_32bit() local 135 ret = regmap_read(aw_dev->regmap, AW88395_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit() [all...] |
/linux/drivers/thermal/ |
H A D | imx_thermal.c | 99 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/drivers/mtd/nand/raw/ |
H A D | nuvoton-ma35d1-nand-controller.c | 287 u32 temp_data[24], temp_addr[24]; in ma35_nfi_correct() local 310 * got valid BCH_ECC_DATAx and parse them to temp_data[] in ma35_nfi_correct() 320 temp_data[i * 4 + 0] = err_data[i] & 0xff; in ma35_nfi_correct() 321 temp_data[i * 4 + 1] = (err_data[i] >> 8) & 0xff; in ma35_nfi_correct() 322 temp_data[i * 4 + 2] = (err_data[i] >> 16) & 0xff; in ma35_nfi_correct() 323 temp_data[i * 4 + 3] = (err_data[i] >> 24) & 0xff; in ma35_nfi_correct() 349 *(addr + corrected_index) ^= temp_data[i]; in ma35_nfi_correct() 356 value ^= temp_data[i] << (8 * corrected_index); in ma35_nfi_correct() 381 value ^= temp_data[i] << (8 * remain); in ma35_nfi_correct()
|
/linux/sound/soc/codecs/ |
H A D | aw88399.c | 52 unsigned int temp_data; in aw_dev_dsp_write_32bit() local 61 temp_data = dsp_data & AW88395_DSP_16_DATA_MASK; in aw_dev_dsp_write_32bit() 62 ret = regmap_write(aw_dev->regmap, AW88399_DSPMDAT_REG, temp_data); in aw_dev_dsp_write_32bit() 68 temp_data = dsp_data >> 16; in aw_dev_dsp_write_32bit() 69 ret = regmap_write(aw_dev->regmap, AW88399_DSPMDAT_REG, temp_data); in aw_dev_dsp_write_32bit() 113 unsigned int temp_data; in aw_dev_dsp_read_16bit() local 122 ret = regmap_read(aw_dev->regmap, AW88399_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_16bit() 127 *dsp_data = temp_data; in aw_dev_dsp_read_16bit() 135 unsigned int temp_data; in aw_dev_dsp_read_32bit() local 144 ret = regmap_read(aw_dev->regmap, AW88399_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit() [all …]
|
H A D | aw88166.c | 67 unsigned int temp_data; in aw_dev_dsp_read_16bit() local 76 ret = regmap_read(aw_dev->regmap, AW88166_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_16bit() 81 *dsp_data = temp_data; in aw_dev_dsp_read_16bit() 89 unsigned int temp_data; in aw_dev_dsp_read_32bit() local 98 ret = regmap_read(aw_dev->regmap, AW88166_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit() 103 *dsp_data = temp_data; in aw_dev_dsp_read_32bit() 105 ret = regmap_read(aw_dev->regmap, AW88166_DSPMDAT_REG, &temp_data); in aw_dev_dsp_read_32bit() 110 *dsp_data |= (temp_data << 16); in aw_dev_dsp_read_32bit()
|
/linux/drivers/iio/adc/ |
H A D | sun4i-gpadc-iio.c | 93 int temp_data; member 245 *val = info->temp_data; in sun4i_gpadc_read() 357 if (!regmap_read(info->regmap, SUN4I_GPADC_TEMP_DATA, &info->temp_data)) in sun4i_gpadc_temp_data_irq_handler() 577 "temp_data", &info->temp_data_irq, in sun4i_gpadc_probe_mfd()
|
/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_sdio.c | 713 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/sound/soc/mediatek/mt8365/ |
H A D | mt8365-afe-pcm.c | 194 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/drivers/acpi/ |
H A D | ec.c | 915 u8 temp_data; in ec_read() local 920 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read() 923 *val = temp_data; in ec_read()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 414 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/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | phy.c | 1099 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()
|