Home
last modified time | relevance | path

Searched refs:chan_val (Results 1 – 2 of 2) sorted by relevance

/drivers/iio/temperature/
Dltc2983.c208 __be32 chan_val; member
315 u32 chan_val) in __ltc2983_chan_assign_common() argument
319 chan_val |= LTC2983_CHAN_TYPE(sensor->type); in __ltc2983_chan_assign_common()
321 chan_val); in __ltc2983_chan_assign_common()
322 st->chan_val = cpu_to_be32(chan_val); in __ltc2983_chan_assign_common()
323 return regmap_bulk_write(st->regmap, reg, &st->chan_val, in __ltc2983_chan_assign_common()
324 sizeof(st->chan_val)); in __ltc2983_chan_assign_common()
329 u32 *chan_val) in __ltc2983_chan_custom_sensor_assign() argument
371 *chan_val |= LTC2983_CUSTOM_LEN(len); in __ltc2983_chan_custom_sensor_assign()
372 *chan_val |= LTC2983_CUSTOM_ADDR(custom->offset); in __ltc2983_chan_custom_sensor_assign()
[all …]
/drivers/iio/adc/
Dbcm_iproc_adc.c113 int chan_val; member
198 &adc_priv->chan_val); in iproc_adc_interrupt_handler()
241 adc_priv->chan_val = -1; in iproc_adc_do_read()
319 *p_adc_data = adc_priv->chan_val & 0xFFFF; in iproc_adc_do_read()
367 adc_priv->chan_val = -1; in iproc_adc_enable()