Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/iio/addac/
Dadt7316.c189 u8 dac_bits; /* 8, 10, 12 */ member
1398 offset = chip->dac_bits - 8; in adt7316_show_DAC()
1400 if (chip->dac_bits > 8) { in adt7316_show_DAC()
1412 if (chip->dac_bits == 12) in adt7316_show_DAC()
1414 else if (chip->dac_bits == 10) in adt7316_show_DAC()
1435 offset = chip->dac_bits - 8; in adt7316_store_DAC()
1438 if (ret || data >= (1 << chip->dac_bits)) in adt7316_store_DAC()
1441 if (chip->dac_bits > 8) { in adt7316_store_DAC()
1443 if (chip->dac_bits == 12) in adt7316_store_DAC()
2142 chip->dac_bits = 12; in adt7316_probe()
[all …]