Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/iio/adc/
Dad_sigma_delta.h129 #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/
Dti-adc081c.c76 #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/
Dad5624r_spi.c167 #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), \
Dad5764.c75 #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)), \
Dltc2632.c175 #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), \
Dad5761.c256 #define AD5761_CHAN(_bits) { \ argument
264 .realbits = (_bits), \
266 .shift = 16 - (_bits), \
Dad5380.c255 #define AD5380_CHANNEL(_bits) { \ argument
265 .realbits = (_bits), \
267 .shift = 14 - (_bits), \
Dad5755.c432 #define AD5755_CHANNEL(_bits) { \ argument
442 .realbits = (_bits), \
444 .shift = 16 - (_bits), \
/Linux-v4.19/include/linux/mlx5/
Ddevice.h49 #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/
Dbitops.h239 #define set_mask_bits(ptr, _mask, _bits) \ argument
241 const typeof(*ptr) mask = (_mask), bits = (_bits); \
/Linux-v4.19/drivers/iio/accel/
Dbma180.c577 #define BMA180_ACC_CHANNEL(_axis, _bits) { \ argument
587 .realbits = _bits, \
589 .shift = 16 - _bits, \
/Linux-v4.19/drivers/iio/imu/
Dadis16480.c573 #define ADIS16480_MOD_CHANNEL(_type, _mod, _address, _si, _info_sep, _bits) \ argument
587 .realbits = (_bits), \
588 .storagebits = (_bits), \