Home
last modified time | relevance | path

Searched refs:temp_st (Results 1 – 4 of 4) sorted by relevance

/drivers/iio/temperature/
A Dhid-sensor-temperature.c70 temp_st->common_attributes.hsdev, 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()
135 sizeof(temp_st->scan), in temperature_proc_event()
195 struct temperature_state *temp_st; in hid_temperature_probe() local
204 temp_st = iio_priv(indio_dev); in hid_temperature_probe()
210 &temp_st->common_attributes, in hid_temperature_probe()
[all …]
/drivers/hwmon/
A Dasc7621.c891 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),
A Dadt7475.c1133 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);
/drivers/iio/adc/
A Dat91-sama5d2_adc.c607 struct at91_adc_temp temp_st; member
1844 st->temp_st.saved_sample_rate = st->current_sample_rate; in at91_adc_temp_sensor_configure()
1845 st->temp_st.saved_oversampling = st->oversampling_ratio; in at91_adc_temp_sensor_configure()
1848 sample_rate = st->temp_st.saved_sample_rate; in at91_adc_temp_sensor_configure()
1849 oversampling_ratio = st->temp_st.saved_oversampling; in at91_adc_temp_sensor_configure()

Completed in 19 milliseconds