Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/power/
Dmax17042_battery.c325 u32 *temp_data; in max17042_init_model() local
327 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_init_model()
328 if (!temp_data) in max17042_init_model()
334 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_init_model()
340 (u16 *)temp_data, in max17042_init_model()
344 kfree(temp_data); in max17042_init_model()
353 u32 *temp_data; in max17042_verify_model_lock() local
356 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_verify_model_lock()
357 if (!temp_data) in max17042_verify_model_lock()
360 max17042_read_model_data(chip, MAX17042_MODELChrTbl, temp_data, in max17042_verify_model_lock()
[all …]
/linux-4.1.27/drivers/hwmon/
Dcoretemp.c84 struct temp_data { struct
106 struct temp_data *core_data[MAX_CORE_DATA]; argument
124 struct temp_data *tdata = pdata->core_data[attr->index]; in show_label()
138 struct temp_data *tdata = pdata->core_data[attr->index]; in show_crit_alarm()
169 struct temp_data *tdata = pdata->core_data[attr->index]; in show_temp()
392 static int create_core_attrs(struct temp_data *tdata, struct device *dev, in create_core_attrs()
452 static struct temp_data *init_temp_data(unsigned int cpu, int pkg_flag) in init_temp_data()
454 struct temp_data *tdata; in init_temp_data()
456 tdata = kzalloc(sizeof(struct temp_data), GFP_KERNEL); in init_temp_data()
473 struct temp_data *tdata; in create_core_data()
[all …]
/linux-4.1.27/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()
/linux-4.1.27/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()
129 ret = regmap_field_read(sensor->temp_data, &temp); in st_thermal_get_temp()
Dst_thermal.h92 struct regmap_field *temp_data; member
/linux-4.1.27/drivers/acpi/
Dec.c644 u8 temp_data; in ec_read() local
649 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
652 *val = temp_data; in ec_read()
/linux-4.1.27/drivers/net/wireless/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()
/linux-4.1.27/drivers/net/wireless/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()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dphy.c964 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local
978 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value()
979 temp_data |= temp_value; in _phy_convert_txpower_dbm_to_relative_value()
981 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()