| /drivers/hwmon/ |
| A D | coretemp.c | 74 struct temp_data { struct 97 struct temp_data *pkg_data; argument 98 struct temp_data **core_data; 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() 370 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TJMAX]); in show_tjmax() 399 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TEMP]); in show_temp() 479 static struct temp_data * 482 struct temp_data *tdata; in init_temp_data() 557 struct temp_data *tdata; in create_core_data() [all …]
|
| /drivers/iio/humidity/ |
| 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()
|
| /drivers/power/supply/ |
| 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_KERNEL); in max17042_verify_model_lock() 624 if (!temp_data) in max17042_verify_model_lock() 630 if (temp_data[i]) in max17042_verify_model_lock() [all …]
|
| /drivers/input/touchscreen/ |
| A 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()
|
| /drivers/thermal/st/ |
| 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()
|
| A D | st_thermal.h | 88 struct regmap_field *temp_data; member
|
| /drivers/thermal/ |
| 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()
|
| /drivers/mtd/nand/raw/ |
| A D | nuvoton-ma35d1-nand-controller.c | 287 u32 temp_data[24], temp_addr[24]; in ma35_nfi_correct() local 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()
|
| /drivers/iio/adc/ |
| 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()
|
| /drivers/net/wireless/rsi/ |
| 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()
|
| /drivers/net/ethernet/marvell/octeontx2/af/ |
| A 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()
|
| /drivers/acpi/ |
| 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()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| 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()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| A D | phy.c | 515 u32 temp_data = 0; in _phy_convert_txpower_dbm_to_relative_value() local 528 temp_data <<= 8; in _phy_convert_txpower_dbm_to_relative_value() 529 temp_data |= tmp; in _phy_convert_txpower_dbm_to_relative_value() 531 *data = temp_data; in _phy_convert_txpower_dbm_to_relative_value()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| 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()
|