Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/iio/addac/
Dadt7316.c189 u8 dac_bits; /* 8, 10, 12 */ member
1407 offset = chip->dac_bits - 8; in adt7316_show_DAC()
1409 if (chip->dac_bits > 8) { in adt7316_show_DAC()
1421 if (chip->dac_bits == 12) in adt7316_show_DAC()
1423 else if (chip->dac_bits == 10) in adt7316_show_DAC()
1444 offset = chip->dac_bits - 8; in adt7316_store_DAC()
1447 if (ret || data >= (1 << chip->dac_bits)) in adt7316_store_DAC()
1450 if (chip->dac_bits > 8) { in adt7316_store_DAC()
1452 if (chip->dac_bits == 12) in adt7316_store_DAC()
2151 chip->dac_bits = 12; in adt7316_probe()
[all …]