/Linux-v6.1/sound/soc/mediatek/mt8192/ |
D | mt8192-afe-control.c | 149 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/ |
D | mt8186-afe-control.c | 241 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/ |
D | coretemp.c | 69 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/ |
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() 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/ |
D | sun4i-ts.c | 112 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/ |
D | max17042_battery.c | 595 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/ |
D | st_thermal.c | 35 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()
|
D | st_thermal.h | 88 struct regmap_field *temp_data; member
|
/Linux-v6.1/drivers/thermal/ |
D | imx_thermal.c | 100 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/ |
D | sun4i-gpadc-iio.c | 94 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/ |
D | rsi_91x_sdio.c | 721 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/ |
D | rvu_npc_hash.c | 65 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/ |
D | ec.c | 903 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/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | phy.c | 523 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/ |
D | phy.c | 1105 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()
|