Home
last modified time | relevance | path

Searched defs:val2 (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c93 static void split_micro_fraction(unsigned int no, int exp, int *val1, int *val2) in split_micro_fraction()
110 int *val1, int *val2) in convert_from_vtf_format()
131 static u32 convert_to_vtf_format(int size, int exp, int val1, int val2) in convert_to_vtf_format()
175 int *val1, int *val2) in hid_sensor_read_samp_freq_value()
202 int val1, int val2) in hid_sensor_write_samp_freq_value()
237 int *val1, int *val2) in hid_sensor_read_raw_hyst_value()
260 int *val2) in hid_sensor_read_raw_hyst_rel_value()
283 int val1, int val2) in hid_sensor_write_raw_hyst_value()
314 int val1, int val2) in hid_sensor_write_raw_hyst_rel_value()
/drivers/iio/light/
Dveml6030.c215 int *val, int *val2) in veml6030_get_intgrn_tm()
255 int val, int val2) in veml6030_set_intgrn_tm()
316 int *val, int *val2) in veml6030_read_persistence()
341 int val, int val2) in veml6030_write_persistence()
376 int val, int val2) in veml6030_set_als_gain()
421 int *val, int *val2) in veml6030_get_als_gain()
458 int *val, int *val2, int dir) in veml6030_read_thresh()
478 int val, int val2, int dir) in veml6030_write_thresh()
507 int *val2, long mask) in veml6030_read_raw()
562 int val, int val2, long mask) in veml6030_write_raw()
[all …]
Dlv0104cs.c48 int val2; member
161 int *val, int *val2) in lv0104cs_get_lux()
228 int *val, int *val2, long mask) in lv0104cs_read_raw()
275 int val, int val2) in lv0104cs_set_calibscale()
322 int val, int val2) in lv0104cs_set_scale()
346 int val, int val2) in lv0104cs_set_int_time()
371 int val, int val2, long mask) in lv0104cs_write_raw()
Dopt3001.c97 int val2; member
148 int val2, u8 *exponent) in opt3001_find_scale()
171 u16 mantissa, int *val, int *val2) in opt3001_to_iio_ret()
224 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux()
347 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time()
387 struct iio_chan_spec const *chan, int *val, int *val2, in opt3001_read_raw()
418 struct iio_chan_spec const *chan, int val, int val2, in opt3001_write_raw()
446 int *val, int *val2) in opt3001_read_event_value()
474 int val, int val2) in opt3001_write_event_value()
Dltr501.c188 int len, int val, int val2) in ltr501_match_samp_freq()
203 int *val, int *val2) in ltr501_als_read_samp_freq()
221 int *val, int *val2) in ltr501_ps_read_samp_freq()
239 int val, int val2) in ltr501_als_write_samp_freq()
258 int val, int val2) in ltr501_ps_write_samp_freq()
384 int *val, int *val2) in ltr501_read_it_time()
433 int *val2) in ltr501_read_intr_prst()
470 int val, int val2) in ltr501_write_intr_prst()
652 int *val, int *val2, long mask) in ltr501_read_raw()
749 int val, int val2) in ltr501_get_gain_index()
[all …]
Dcm3232.c43 int val2; member
133 static int cm3232_read_als_it(struct cm3232_chip *chip, int *val, int *val2) in cm3232_read_als_it()
162 static int cm3232_write_als_it(struct cm3232_chip *chip, int val, int val2) in cm3232_write_als_it()
204 int val, val2; in cm3232_get_lux() local
237 int *val, int *val2, long mask) in cm3232_read_raw()
262 int val, int val2, long mask) in cm3232_write_raw()
Dcm3323.c36 int val2; member
116 static int cm3323_set_it_bits(struct cm3323_data *data, int val, int val2) in cm3323_set_it_bits()
157 int *val2, long mask) in cm3323_read_raw()
194 int val2, long mask) in cm3323_write_raw()
Dmax44009.c121 int val, int val2) in max44009_write_int_time()
151 int val2, long mask) in max44009_write_raw()
248 int *val2, long mask) in max44009_read_raw()
343 int val, int val2) in max44009_write_event_value()
402 int *val, int *val2) in max44009_read_event_value()
Dzopt2201.c256 int *val, int *val2, long mask) in zopt2201_read_raw()
320 int val, int val2) in zopt2201_write_resolution()
368 int val, int val2) in zopt2201_write_scale_als()
398 int val, int val2) in zopt2201_write_scale_uvb()
412 int val, int val2, long mask) in zopt2201_write_raw()
Dadux1020.c363 int *val, int *val2, long mask) in adux1020_read_raw()
440 int val2) in adux1020_find_index()
453 int val, int val2, long mask) in adux1020_write_raw()
593 enum iio_event_info info, int *val, int *val2) in adux1020_read_thresh()
624 enum iio_event_info info, int val, int val2) in adux1020_write_thresh()
/drivers/iio/adc/
Daxp20x_adc.c280 static int axp20x_adc_scale_voltage(int channel, int *val, int *val2) in axp20x_adc_scale_voltage()
316 static int axp22x_adc_scale_voltage(int channel, int *val, int *val2) in axp22x_adc_scale_voltage()
335 static int axp813_adc_scale_voltage(int channel, int *val, int *val2) in axp813_adc_scale_voltage()
359 static int axp20x_adc_scale_current(int channel, int *val, int *val2) in axp20x_adc_scale_current()
384 int *val2) in axp20x_adc_scale()
403 int *val2) in axp22x_adc_scale()
423 int *val2) in axp813_adc_scale()
488 int *val2, long mask) in axp20x_read_raw()
507 int *val2, long mask) in axp22x_read_raw()
528 int *val2, long mask) in axp813_read_raw()
[all …]
Dad9467.c197 unsigned int *val, unsigned int *val2) in __ad9467_get_scale()
272 static int ad9467_get_scale(struct adi_axi_adc_conv *conv, int *val, int *val2) in ad9467_get_scale()
299 static int ad9467_set_scale(struct adi_axi_adc_conv *conv, int val, int val2) in ad9467_set_scale()
329 int *val, int *val2, long m) in ad9467_read_raw()
347 int val, int val2, long mask) in ad9467_write_raw()
406 unsigned int i, val1, val2; in ad9467_scale_fill() local
/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_gyro.c229 int *val, int *val2) in inv_icm42600_gyro_read_scale()
241 int val, int val2) in inv_icm42600_gyro_write_scale()
302 int *val, int *val2) in inv_icm42600_gyro_read_odr()
323 int val, int val2) in inv_icm42600_gyro_write_odr()
376 int *val, int *val2) in inv_icm42600_gyro_read_offset()
452 int val, int val2) in inv_icm42600_gyro_write_offset()
554 int *val, int *val2, long mask) in inv_icm42600_gyro_read_raw()
621 int val, int val2, long mask) in inv_icm42600_gyro_write_raw()
Dinv_icm42600_accel.c217 int *val, int *val2) in inv_icm42600_accel_read_scale()
229 int val, int val2) in inv_icm42600_accel_write_scale()
290 int *val, int *val2) in inv_icm42600_accel_read_odr()
311 int val, int val2) in inv_icm42600_accel_write_odr()
364 int *val, int *val2) in inv_icm42600_accel_read_offset()
440 int val, int val2) in inv_icm42600_accel_write_offset()
543 int *val, int *val2, long mask) in inv_icm42600_accel_read_raw()
610 int val, int val2, long mask) in inv_icm42600_accel_write_raw()
/drivers/iio/imu/
Dkmx61.c165 int val2; member
181 int val2; member
291 static int kmx61_convert_freq_to_bit(int val, int val2) in kmx61_convert_freq_to_bit()
302 static int kmx61_convert_wake_up_odr_to_bit(int val, int val2) in kmx61_convert_wake_up_odr_to_bit()
401 static int kmx61_set_wake_up_odr(struct kmx61_data *data, int val, int val2) in kmx61_set_wake_up_odr()
416 static int kmx61_set_odr(struct kmx61_data *data, int val, int val2, u8 device) in kmx61_set_odr()
458 static int kmx61_get_odr(struct kmx61_data *data, int *val, int *val2, in kmx61_get_odr()
535 int ret, val, val2; in kmx61_chip_init() local
783 int *val2, long mask) in kmx61_read_raw()
853 int val2, long mask) in kmx61_write_raw()
[all …]
/drivers/iio/proximity/
Dvcnl3020.c216 int *val2) in vcnl3020_read_proxy_samp_freq()
235 int val2) in vcnl3020_write_proxy_samp_freq()
293 int *val, int *val2) in vcnl3020_read_event()
328 int val, int val2) in vcnl3020_write_event()
506 int *val2, long mask) in vcnl3020_read_raw()
529 int val, int val2, long mask) in vcnl3020_write_raw()
Disl29501.c658 int *val, int *val2) in isl29501_get_scale()
732 int *val, int *val2) in isl29501_get_inttime()
751 int *val, int *val2) in isl29501_get_freq()
776 int *val2, long mask) in isl29501_read_raw()
809 int val, int val2) in isl29501_set_inttime()
827 int val, int val2) in isl29501_set_scale()
865 int val, int val2) in isl29501_set_freq()
885 int val, int val2, long mask) in isl29501_write_raw()
Dsx9360.c185 int val2; member
299 int *val, int *val2) in sx9360_read_samp_freq()
322 int *val, int *val2, long mask) in sx9360_read_raw()
388 int val, int val2) in sx9360_set_samp_freq()
484 enum iio_event_info info, int *val, int *val2) in sx9360_read_event_val()
603 enum iio_event_info info, int val, int val2) in sx9360_write_event_val()
649 const struct iio_chan_spec *chan, int val, int val2, in sx9360_write_raw()
Dsx9310.c177 int val2; member
314 static int sx9310_read_samp_freq(struct sx_common_data *data, int *val, int *val2) in sx9310_read_samp_freq()
332 int *val2, long mask) in sx9310_read_raw()
496 enum iio_event_info info, int *val, int *val2) in sx9310_read_event_val()
628 enum iio_event_info info, int val, int val2) in sx9310_write_event_val()
654 static int sx9310_set_samp_freq(struct sx_common_data *data, int val, int val2) in sx9310_set_samp_freq()
710 const struct iio_chan_spec *chan, int val, int val2, in sx9310_write_raw()
/drivers/iio/dummy/
Diio_simple_dummy.c38 int val2; member
282 int *val2, in iio_dummy_read_raw()
425 int val2, in iio_dummy_write_raw()
/drivers/iio/dac/
Ddpot-dac.c54 int *val, int *val2, long mask) in dpot_dac_read_raw()
113 int val, int val2, long mask) in dpot_dac_write_raw()
138 int val2; in dpot_dac_channel_max_ohms() local
/drivers/iio/
Dinkern.c561 static int iio_channel_read(struct iio_channel *chan, int *val, int *val2, in iio_channel_read()
727 int iio_read_channel_attribute(struct iio_channel *chan, int *val, int *val2, in iio_read_channel_attribute()
747 int iio_read_channel_offset(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_offset()
793 int iio_read_channel_scale(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_scale()
849 int *val, int *val2, int *type, in iio_channel_read_max()
935 static int iio_channel_write(struct iio_channel *chan, int val, int val2, in iio_channel_write()
942 int iio_write_channel_attribute(struct iio_channel *chan, int val, int val2, in iio_write_channel_attribute()
/drivers/iio/common/scmi_sensors/
Dscmi_iio.c131 static int scmi_iio_set_odr_val(struct iio_dev *iio_dev, int val, int val2) in scmi_iio_set_odr_val()
199 int val2, long mask) in scmi_iio_write_raw()
246 static int scmi_iio_get_odr_val(struct iio_dev *iio_dev, int *val, int *val2) in scmi_iio_get_odr_val()
283 struct iio_chan_spec const *ch, int *val, int *val2) in scmi_iio_read_channel_data()
330 int *val2, long mask) in scmi_iio_read_raw()
/drivers/iio/pressure/
Dt5403.c65 static int t5403_comp_pressure(struct t5403_data *data, int *val, int *val2) in t5403_comp_pressure()
128 int *val, int *val2, long mask) in t5403_read_raw()
160 int val, int val2, long mask) in t5403_write_raw()
/drivers/iio/temperature/
Dtmp007.c103 int *val2, long mask) in tmp007_read_raw()
148 int val2, long mask) in tmp007_write_raw()
287 int *val, int *val2) in tmp007_read_thresh()
323 int val, int val2) in tmp007_write_thresh()

12345678910>>...19