Searched refs:temp_st (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/iio/temperature/ |
| H A D | hid-sensor-temperature.c | 60 struct temperature_state *temp_st = iio_priv(indio_dev); in temperature_read_raw() local 67 &temp_st->common_attributes, true); in temperature_read_raw() 69 temp_st->common_attributes.hsdev, in temperature_read_raw() 72 temp_st->temperature_attr.report_id, in temperature_read_raw() 74 temp_st->temperature_attr.logical_minimum < 0); in temperature_read_raw() 76 &temp_st->common_attributes, in temperature_read_raw() 82 *val = temp_st->scale_pre_decml; in temperature_read_raw() 83 *val2 = temp_st->scale_post_decml; in temperature_read_raw() 84 return temp_st->scale_precision; in temperature_read_raw() 87 *val = temp_st->value_offset; in temperature_read_raw() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | at91-sama5d2_adc.c | 606 struct at91_adc_temp temp_st; member 1835 st->temp_st.saved_sample_rate = st->current_sample_rate; in at91_adc_temp_sensor_configure() 1836 st->temp_st.saved_oversampling = st->oversampling_ratio; in at91_adc_temp_sensor_configure() 1839 sample_rate = st->temp_st.saved_sample_rate; in at91_adc_temp_sensor_configure() 1840 oversampling_ratio = st->temp_st.saved_oversampling; in at91_adc_temp_sensor_configure()
|
| /linux/drivers/hwmon/ |
| H A D | adt7475.c | 1134 static SENSOR_DEVICE_ATTR_2_RW(temp1_smoothing, temp_st, 0, 0); 1144 static SENSOR_DEVICE_ATTR_2_RW(temp2_smoothing, temp_st, 0, 1); 1155 static SENSOR_DEVICE_ATTR_2_RW(temp3_smoothing, temp_st, 0, 2);
|