Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/temperature/
Dhid-sensor-temperature.c61 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-v6.1/drivers/hwmon/
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),
Dadt7475.c1118 static SENSOR_DEVICE_ATTR_2_RW(temp1_smoothing, temp_st, 0, 0);
1128 static SENSOR_DEVICE_ATTR_2_RW(temp2_smoothing, temp_st, 0, 1);
1139 static SENSOR_DEVICE_ATTR_2_RW(temp3_smoothing, temp_st, 0, 2);
/Linux-v6.1/drivers/iio/adc/
Dat91-sama5d2_adc.c603 struct at91_adc_temp temp_st; member
1849 st->temp_st.saved_sample_rate = st->current_sample_rate; in at91_adc_temp_sensor_configure()
1850 st->temp_st.saved_oversampling = st->oversampling_ratio; in at91_adc_temp_sensor_configure()
1853 sample_rate = st->temp_st.saved_sample_rate; in at91_adc_temp_sensor_configure()
1854 oversampling_ratio = st->temp_st.saved_oversampling; in at91_adc_temp_sensor_configure()