Searched refs:temp_st (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/iio/temperature/ |
H A D | hid-sensor-temperature.c | 61 struct temperature_state *temp_st = iio_priv(indio_dev); in temperature_read_raw() local 68 &temp_st->common_attributes, true); in temperature_read_raw() 70 temp_st->common_attributes.hsdev, in temperature_read_raw() 73 temp_st->temperature_attr.report_id, in temperature_read_raw() 75 temp_st->temperature_attr.logical_minimum < 0); in temperature_read_raw() 77 &temp_st->common_attributes, in temperature_read_raw() 83 *val = temp_st->scale_pre_decml; in temperature_read_raw() 84 *val2 = temp_st->scale_post_decml; in temperature_read_raw() 85 return temp_st->scale_precision; in temperature_read_raw() 88 *val = temp_st->value_offset; in temperature_read_raw() [all …]
|
/linux/drivers/hwmon/ |
H A D | asc7621.c | 891 PWRITE(temp1_smoothing_time, 0, PRI_LOW, 0x62, 0, 0x07, 0, temp_st), 892 PWRITE(temp2_smoothing_time, 1, PRI_LOW, 0x63, 0, 0x07, 4, temp_st), 893 PWRITE(temp3_smoothing_time, 2, PRI_LOW, 0x63, 0, 0x07, 0, temp_st), 894 PWRITE(temp4_smoothing_time, 3, PRI_LOW, 0x3c, 0, 0x07, 0, temp_st),
|
H A D | adt7475.c | 1133 static SENSOR_DEVICE_ATTR_2_RW(temp1_smoothing, temp_st, 0, 0); 1143 static SENSOR_DEVICE_ATTR_2_RW(temp2_smoothing, temp_st, 0, 1); 1154 static SENSOR_DEVICE_ATTR_2_RW(temp3_smoothing, temp_st, 0, 2);
|