Searched refs:temp_st (Results 1 – 2 of 2) sorted by relevance
61 struct temperature_state *temp_st = iio_priv(indio_dev); in temperature_read_raw() local68 &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 …]
607 struct at91_adc_temp temp_st; member1836 st->temp_st.saved_sample_rate = st->current_sample_rate; in at91_adc_temp_sensor_configure()1837 st->temp_st.saved_oversampling = st->oversampling_ratio; in at91_adc_temp_sensor_configure()1840 sample_rate = st->temp_st.saved_sample_rate; in at91_adc_temp_sensor_configure()1841 oversampling_ratio = st->temp_st.saved_oversampling; in at91_adc_temp_sensor_configure()