/Linux-v4.19/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 129 #define __AD_SD_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument 146 .realbits = (_bits), \ 153 #define AD_SD_DIFF_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument 155 __AD_SD_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ 159 #define AD_SD_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument 161 __AD_SD_CHANNEL(_si, _channel, _channel, _address, _bits, \ 165 #define AD_SD_CHANNEL(_si, _channel, _address, _bits, \ argument 167 __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \ 171 #define AD_SD_CHANNEL_NO_SAMP_FREQ(_si, _channel, _address, _bits, \ argument 173 __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \ [all …]
|
/Linux-v4.19/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), \
|
/Linux-v4.19/drivers/iio/dac/ |
D | ad5624r_spi.c | 167 #define AD5624R_CHANNEL(_chan, _bits) { \ argument 177 .realbits = (_bits), \ 179 .shift = 16 - (_bits), \ 184 #define DECLARE_AD5624R_CHANNELS(_name, _bits) \ argument 186 AD5624R_CHANNEL(0, _bits), \ 187 AD5624R_CHANNEL(1, _bits), \ 188 AD5624R_CHANNEL(2, _bits), \ 189 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 | ltc2632.c | 175 #define LTC2632_CHANNEL(_chan, _bits) { \ argument 184 .realbits = (_bits), \ 185 .shift = 16 - (_bits), \ 190 #define DECLARE_LTC2632_CHANNELS(_name, _bits) \ argument 192 LTC2632_CHANNEL(0, _bits), \ 193 LTC2632_CHANNEL(1, _bits), \
|
D | ad5761.c | 256 #define AD5761_CHAN(_bits) { \ argument 264 .realbits = (_bits), \ 266 .shift = 16 - (_bits), \
|
D | ad5380.c | 255 #define AD5380_CHANNEL(_bits) { \ argument 265 .realbits = (_bits), \ 267 .shift = 14 - (_bits), \
|
D | ad5755.c | 432 #define AD5755_CHANNEL(_bits) { \ argument 442 .realbits = (_bits), \ 444 .shift = 16 - (_bits), \
|
/Linux-v4.19/include/linux/mlx5/ |
D | device.h | 49 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) 51 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) 61 #define __mlx5_st_sz_bits(typ) sizeof(struct mlx5_ifc_##typ##_bits) 64 #define MLX5_ST_SZ_BYTES(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 8) 65 #define MLX5_ST_SZ_DW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 32) 66 #define MLX5_ST_SZ_QW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 64) 67 #define MLX5_UN_SZ_BYTES(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 8) 68 #define MLX5_UN_SZ_DW(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 32)
|
/Linux-v4.19/include/linux/ |
D | bitops.h | 239 #define set_mask_bits(ptr, _mask, _bits) \ argument 241 const typeof(*ptr) mask = (_mask), bits = (_bits); \
|
/Linux-v4.19/drivers/iio/accel/ |
D | bma180.c | 577 #define BMA180_ACC_CHANNEL(_axis, _bits) { \ argument 587 .realbits = _bits, \ 589 .shift = 16 - _bits, \
|
/Linux-v4.19/drivers/iio/imu/ |
D | adis16480.c | 573 #define ADIS16480_MOD_CHANNEL(_type, _mod, _address, _si, _info_sep, _bits) \ argument 587 .realbits = (_bits), \ 588 .storagebits = (_bits), \
|