diff options
Diffstat (limited to 'include/linux/iio/iio.h')
-rw-r--r-- | include/linux/iio/iio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index 057d60382eac..30affa533a1f 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h | |||
@@ -35,6 +35,7 @@ enum iio_chan_info_enum { | |||
35 | IIO_CHAN_INFO_FREQUENCY, | 35 | IIO_CHAN_INFO_FREQUENCY, |
36 | IIO_CHAN_INFO_PHASE, | 36 | IIO_CHAN_INFO_PHASE, |
37 | IIO_CHAN_INFO_HARDWAREGAIN, | 37 | IIO_CHAN_INFO_HARDWAREGAIN, |
38 | IIO_CHAN_INFO_HYSTERESIS, | ||
38 | }; | 39 | }; |
39 | 40 | ||
40 | #define IIO_CHAN_INFO_SHARED_BIT(type) BIT(type*2) | 41 | #define IIO_CHAN_INFO_SHARED_BIT(type) BIT(type*2) |
@@ -100,6 +101,10 @@ enum iio_chan_info_enum { | |||
100 | IIO_CHAN_INFO_SEPARATE_BIT(IIO_CHAN_INFO_HARDWAREGAIN) | 101 | IIO_CHAN_INFO_SEPARATE_BIT(IIO_CHAN_INFO_HARDWAREGAIN) |
101 | #define IIO_CHAN_INFO_HARDWAREGAIN_SHARED_BIT \ | 102 | #define IIO_CHAN_INFO_HARDWAREGAIN_SHARED_BIT \ |
102 | IIO_CHAN_INFO_SHARED_BIT(IIO_CHAN_INFO_HARDWAREGAIN) | 103 | IIO_CHAN_INFO_SHARED_BIT(IIO_CHAN_INFO_HARDWAREGAIN) |
104 | #define IIO_CHAN_INFO_HYSTERESIS_SEPARATE_BIT \ | ||
105 | IIO_CHAN_INFO_SEPARATE_BIT(IIO_CHAN_INFO_HYSTERESIS) | ||
106 | #define IIO_CHAN_INFO_HYSTERESIS_SHARED_BIT \ | ||
107 | IIO_CHAN_INFO_SHARED_BIT(IIO_CHAN_INFO_HYSTERESIS) | ||
103 | 108 | ||
104 | enum iio_endian { | 109 | enum iio_endian { |
105 | IIO_CPU, | 110 | IIO_CPU, |