ltc2632.c (8b26ab33470f52aa63190eee71c7079ed8e58af1) | ltc2632.c (aefa5bc87c808dd08db2fc79ebdbf19ed4af7be2) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * LTC2632 Digital to analog convertors spi driver 4 * 5 * Copyright 2017 Maxime Roussin-Bélanger 6 * expanded by Silvan Murer <silvan.murer@gmail.com> 7 */ 8 --- 12 unchanged lines hidden (view full) --- 21#define LTC2632_CMD_POWERDOWN_DAC_N 0x4 22#define LTC2632_CMD_POWERDOWN_CHIP 0x5 23#define LTC2632_CMD_INTERNAL_REFER 0x6 24#define LTC2632_CMD_EXTERNAL_REFER 0x7 25 26/** 27 * struct ltc2632_chip_info - chip specific information 28 * @channels: channel spec for the DAC | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * LTC2632 Digital to analog convertors spi driver 4 * 5 * Copyright 2017 Maxime Roussin-Bélanger 6 * expanded by Silvan Murer <silvan.murer@gmail.com> 7 */ 8 --- 12 unchanged lines hidden (view full) --- 21#define LTC2632_CMD_POWERDOWN_DAC_N 0x4 22#define LTC2632_CMD_POWERDOWN_CHIP 0x5 23#define LTC2632_CMD_INTERNAL_REFER 0x6 24#define LTC2632_CMD_EXTERNAL_REFER 0x7 25 26/** 27 * struct ltc2632_chip_info - chip specific information 28 * @channels: channel spec for the DAC |
29 * @num_channels: DAC channel count of the chip |
|
29 * @vref_mv: internal reference voltage 30 */ 31struct ltc2632_chip_info { 32 const struct iio_chan_spec *channels; 33 const size_t num_channels; 34 const int vref_mv; 35}; 36 --- 388 unchanged lines hidden --- | 30 * @vref_mv: internal reference voltage 31 */ 32struct ltc2632_chip_info { 33 const struct iio_chan_spec *channels; 34 const size_t num_channels; 35 const int vref_mv; 36}; 37 --- 388 unchanged lines hidden --- |