Searched refs:_bits (Results 1 – 8 of 8) sorted by relevance
/drivers/iio/dac/ |
D | ad5624r_spi.c | 168 #define AD5624R_CHANNEL(_chan, _bits) { \ argument 178 .realbits = (_bits), \ 180 .shift = 16 - (_bits), \ 185 #define DECLARE_AD5624R_CHANNELS(_name, _bits) \ argument 187 AD5624R_CHANNEL(0, _bits), \ 188 AD5624R_CHANNEL(1, _bits), \ 189 AD5624R_CHANNEL(2, _bits), \ 190 AD5624R_CHANNEL(3, _bits), \
|
D | ad5764.c | 75 #define AD5764_CHANNEL(_chan, _bits) { \ argument 88 .realbits = (_bits), \ 90 .shift = 16 - (_bits), \ 94 #define DECLARE_AD5764_CHANNELS(_name, _bits) \ argument 96 AD5764_CHANNEL(0, (_bits)), \ 97 AD5764_CHANNEL(1, (_bits)), \ 98 AD5764_CHANNEL(2, (_bits)), \ 99 AD5764_CHANNEL(3, (_bits)), \
|
D | ad5761.c | 257 #define AD5761_CHAN(_bits) { \ argument 265 .realbits = (_bits), \ 267 .shift = 16 - (_bits), \
|
D | ad5380.c | 256 #define AD5380_CHANNEL(_bits) { \ argument 266 .realbits = (_bits), \ 268 .shift = 14 - (_bits), \
|
D | ad5755.c | 433 #define AD5755_CHANNEL(_bits) { \ argument 443 .realbits = (_bits), \ 445 .shift = 16 - (_bits), \
|
/drivers/iio/adc/ |
D | ti-adc081c.c | 76 #define ADCxx1C_CHAN(_bits) { \ argument 82 .realbits = (_bits), \ 84 .shift = 12 - (_bits), \ 89 #define DEFINE_ADCxx1C_CHANNELS(_name, _bits) \ argument 91 ADCxx1C_CHAN((_bits)), \ 102 #define ADCxx1C_MODEL(_name, _bits) \ argument 105 .bits = (_bits), \
|
/drivers/iio/accel/ |
D | bma180.c | 577 #define BMA180_ACC_CHANNEL(_axis, _bits) { \ argument 587 .realbits = _bits, \ 589 .shift = 16 - _bits, \
|
/drivers/iio/imu/ |
D | adis16480.c | 569 #define ADIS16480_MOD_CHANNEL(_type, _mod, _address, _si, _info_sep, _bits) \ argument 583 .realbits = (_bits), \ 584 .storagebits = (_bits), \
|