Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dad7280a.c127 #define AD7280A_CELLS_PER_DEV 6 macro
132 #define AD7280A_CALC_VOLTAGE_CHAN_NUM(d, c) (((d) * AD7280A_CELLS_PER_DEV) + \
134 #define AD7280A_CALC_TEMP_CHAN_NUM(d, c) (((d) * AD7280A_CELLS_PER_DEV) + \
135 (c) - AD7280A_CELLS_PER_DEV)
635 chan->channel2 = dev * AD7280A_CELLS_PER_DEV; in ad7280_total_voltage_channel_init()