Home
last modified time | relevance | path

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

/drivers/hwmon/
Dcoretemp.c85 struct temp_data { struct
107 struct temp_data *core_data[MAX_CORE_DATA]; argument
125 struct temp_data *tdata = pdata->core_data[attr->index]; in show_label()
139 struct temp_data *tdata = pdata->core_data[attr->index]; in show_crit_alarm()
170 struct temp_data *tdata = pdata->core_data[attr->index]; in show_temp()
393 static int create_core_attrs(struct temp_data *tdata, struct device *dev, in create_core_attrs()
453 static struct temp_data *init_temp_data(unsigned int cpu, int pkg_flag) in init_temp_data()
455 struct temp_data *tdata; in init_temp_data()
457 tdata = kzalloc(sizeof(struct temp_data), GFP_KERNEL); in init_temp_data()
474 struct temp_data *tdata; in create_core_data()
[all …]
/drivers/power/
Dmax17042_battery.c495 u16 *temp_data; in max17042_init_model() local
497 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_init_model()
498 if (!temp_data) in max17042_init_model()
504 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_init_model()
510 temp_data, in max17042_init_model()
514 kfree(temp_data); in max17042_init_model()
523 u16 *temp_data; in max17042_verify_model_lock() local
526 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_verify_model_lock()
527 if (!temp_data) in max17042_verify_model_lock()
530 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_verify_model_lock()
[all …]
/drivers/input/touchscreen/
Dsun4i-ts.c122 int temp_data; member
165 ts->temp_data = readl(ts->base + TEMP_DATA); in sun4i_ts_irq()
197 if (ts->temp_data == -1) in sun4i_get_temp()
200 *temp = ts->temp_data * ts->temp_step - ts->temp_offset; in sun4i_get_temp()
262 ts->temp_data = -1; in sun4i_ts_probe()
/drivers/thermal/st/
Dst_thermal.c40 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
45 IS_ERR(sensor->temp_data)) { in st_thermal_alloc_regfields()
128 ret = regmap_field_read(sensor->temp_data, &temp); in st_thermal_get_temp()
Dst_thermal.h92 struct regmap_field *temp_data; member
/drivers/acpi/
Dec.c782 u8 temp_data; in ec_read() local
787 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
790 *val = temp_data; in ec_read()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c384 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
399 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
400 temp_data |= temp_value; in _phy_convert_txpower_dbm_to_relative_value()
402 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.c552 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
565 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
566 temp_data |= tmp; in _phy_convert_txpower_dbm_to_relative_value()
568 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1054 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
1068 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
1069 temp_data |= temp_value; in _phy_convert_txpower_dbm_to_relative_value()
1071 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()