/kernel/linux/linux-5.10/drivers/iio/temperature/ |
H A D | hid-sensor-temperature.c | 56 struct temperature_state *temp_st = iio_priv(indio_dev); in temperature_read_raw() local 63 &temp_st->common_attributes, true); in temperature_read_raw() 65 temp_st->common_attributes.hsdev, in temperature_read_raw() 68 temp_st->temperature_attr.report_id, in temperature_read_raw() 70 temp_st->temperature_attr.logical_minimum < 0); in temperature_read_raw() 72 &temp_st->common_attributes, in temperature_read_raw() 78 *val = temp_st->scale_pre_decml; in temperature_read_raw() 79 *val2 = temp_st->scale_post_decml; in temperature_read_raw() 80 return temp_st->scale_precision; in temperature_read_raw() 83 *val = temp_st in temperature_read_raw() 102 struct temperature_state *temp_st = iio_priv(indio_dev); temperature_write_raw() local 126 struct temperature_state *temp_st = iio_priv(indio_dev); temperature_proc_event() local 141 struct temperature_state *temp_st = iio_priv(indio_dev); temperature_capture_sample() local 197 struct temperature_state *temp_st; hid_temperature_probe() local 265 struct temperature_state *temp_st = iio_priv(indio_dev); hid_temperature_remove() local [all...] |
/kernel/linux/linux-6.6/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 in temperature_read_raw() 107 struct temperature_state *temp_st = iio_priv(indio_dev); temperature_write_raw() local 131 struct temperature_state *temp_st = iio_priv(indio_dev); temperature_proc_event() local 146 struct temperature_state *temp_st = iio_priv(indio_dev); temperature_capture_sample() local 194 struct temperature_state *temp_st; hid_temperature_probe() local 264 struct temperature_state *temp_st = iio_priv(indio_dev); hid_temperature_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | at91-sama5d2_adc.c | 603 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()
|
/kernel/linux/linux-5.10/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 | 1116 static SENSOR_DEVICE_ATTR_2_RW(temp1_smoothing, temp_st, 0, 0); 1126 static SENSOR_DEVICE_ATTR_2_RW(temp2_smoothing, temp_st, 0, 1); 1137 static SENSOR_DEVICE_ATTR_2_RW(temp3_smoothing, temp_st, 0, 2);
|
/kernel/linux/linux-6.6/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 | 1117 static SENSOR_DEVICE_ATTR_2_RW(temp1_smoothing, temp_st, 0, 0); 1127 static SENSOR_DEVICE_ATTR_2_RW(temp2_smoothing, temp_st, 0, 1); 1138 static SENSOR_DEVICE_ATTR_2_RW(temp3_smoothing, temp_st, 0, 2);
|