Searched refs:chan_val (Results 1 – 2 of 2) sorted by relevance
208 __be32 chan_val; member315 u32 chan_val) in __ltc2983_chan_assign_common() argument319 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() argument371 *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 …]
113 int chan_val; member198 &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()