Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/dac/
Dad5766.c443 #define AD576x_CHANNEL(_chan, _bits) { \ argument
455 .realbits = (_bits), \
457 .shift = 16 - (_bits), \
462 #define DECLARE_AD576x_CHANNELS(_name, _bits) \ argument
464 AD576x_CHANNEL(0, (_bits)), \
465 AD576x_CHANNEL(1, (_bits)), \
466 AD576x_CHANNEL(2, (_bits)), \
467 AD576x_CHANNEL(3, (_bits)), \
468 AD576x_CHANNEL(4, (_bits)), \
469 AD576x_CHANNEL(5, (_bits)), \
[all …]
Dltc2632.c184 #define LTC2632_CHANNEL(_chan, _bits) { \ argument
193 .realbits = (_bits), \
194 .shift = 16 - (_bits), \
199 #define DECLARE_LTC2632_CHANNELS(_name, _bits) \ argument
201 LTC2632_CHANNEL(0, _bits), \
202 LTC2632_CHANNEL(1, _bits), \
203 LTC2632_CHANNEL(2, _bits), \
204 LTC2632_CHANNEL(3, _bits), \
205 LTC2632_CHANNEL(4, _bits), \
206 LTC2632_CHANNEL(5, _bits), \
[all …]
Dad5624r_spi.c166 #define AD5624R_CHANNEL(_chan, _bits) { \ argument
176 .realbits = (_bits), \
178 .shift = 16 - (_bits), \
183 #define DECLARE_AD5624R_CHANNELS(_name, _bits) \ argument
185 AD5624R_CHANNEL(0, _bits), \
186 AD5624R_CHANNEL(1, _bits), \
187 AD5624R_CHANNEL(2, _bits), \
188 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)), \
Dad5761.c257 #define AD5761_CHAN(_bits) { \ argument
265 .realbits = (_bits), \
267 .shift = 16 - (_bits), \
Dad5380.c256 #define AD5380_CHANNEL(_bits) { \ argument
266 .realbits = (_bits), \
268 .shift = 14 - (_bits), \
Dad5755.c528 #define AD5755_CHANNEL(_bits) { \ argument
538 .realbits = (_bits), \
540 .shift = 16 - (_bits), \
/linux-5.19.10/drivers/iio/adc/
Dti-adc081c.c79 #define ADCxx1C_CHAN(_bits) { \ argument
85 .realbits = (_bits), \
87 .shift = 12 - (_bits), \
92 #define DEFINE_ADCxx1C_CHANNELS(_name, _bits) \ argument
94 ADCxx1C_CHAN((_bits)), \
105 #define ADCxx1C_MODEL(_name, _bits) \ argument
108 .bits = (_bits), \
Dad7791.c67 #define __AD7991_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument
84 .realbits = (_bits), \
91 #define AD7991_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument
93 __AD7991_CHANNEL(_si, _channel, _channel, _address, _bits, \
97 #define AD7991_CHANNEL(_si, _channel, _address, _bits, \ argument
99 __AD7991_CHANNEL(_si, _channel, -1, _address, _bits, \
103 #define AD7991_DIFF_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument
105 __AD7991_CHANNEL(_si, _channel1, _channel2, _address, _bits, \
109 #define AD7991_SUPPLY_CHANNEL(_si, _channel, _address, _bits, _storagebits, \ argument
111 __AD7991_CHANNEL(_si, _channel, -1, _address, _bits, \
Dad7780.c209 #define _AD7780_CHANNEL(_bits, _wordsize, _mask_all) \ argument
221 .realbits = (_bits), \
223 .shift = (_wordsize) - (_bits), \
228 #define AD7780_CHANNEL(_bits, _wordsize) \ argument
229 _AD7780_CHANNEL(_bits, _wordsize, BIT(IIO_CHAN_INFO_SAMP_FREQ))
230 #define AD7170_CHANNEL(_bits, _wordsize) \ argument
231 _AD7780_CHANNEL(_bits, _wordsize, 0)
Dad7793.c550 #define __AD7793_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument
568 .realbits = (_bits), \
575 #define AD7793_DIFF_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument
577 __AD7793_CHANNEL(_si, _channel1, _channel2, _address, _bits, \
582 #define AD7793_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument
584 __AD7793_CHANNEL(_si, _channel, _channel, _address, _bits, \
589 #define AD7793_TEMP_CHANNEL(_si, _address, _bits, _storagebits, _shift) \ argument
590 __AD7793_CHANNEL(_si, 0, -1, _address, _bits, \
595 #define AD7793_SUPPLY_CHANNEL(_si, _channel, _address, _bits, _storagebits, \ argument
597 __AD7793_CHANNEL(_si, _channel, -1, _address, _bits, \
[all …]
Dxilinx-xadc-core.c1048 #define XADC_CHAN_TEMP(_chan, _scan_index, _addr, _bits) { \ argument
1062 .realbits = (_bits), \
1064 .shift = 16 - (_bits), \
1069 #define XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, _bits, _ext, _alarm) { \ argument
1082 .realbits = (_bits), \
1084 .shift = 16 - (_bits), \
Dad9467.c208 #define AD9467_CHAN(_chan, _si, _bits, _sign) \ argument
218 .realbits = _bits, \
/linux-5.19.10/arch/arm64/tools/
Dgen-sysreg.awk48 function parse_bitdef(reg, field, bitdef, _bits)
53 } else if (split(bitdef, _bits, ":") == 2) {
54 msb = _bits[1]
55 lsb = _bits[2]
/linux-5.19.10/drivers/iio/imu/
Dadis16460.c244 #define ADIS16460_MOD_CHANNEL(_type, _mod, _address, _si, _bits) \ argument
256 .realbits = (_bits), \
257 .storagebits = (_bits), \
Dadis16480.c732 #define ADIS16480_MOD_CHANNEL(_type, _mod, _address, _si, _info_sep, _bits) \ argument
746 .realbits = (_bits), \
747 .storagebits = (_bits), \
/linux-5.19.10/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-5.19.10/drivers/iio/accel/
Dbma180.c666 #define BMA023_ACC_CHANNEL(_axis, _bits) { \ argument
676 .realbits = _bits, \
678 .shift = 16 - _bits, \
695 #define BMA180_ACC_CHANNEL(_axis, _bits) { \ argument
705 .realbits = _bits, \
707 .shift = 16 - _bits, \
/linux-5.19.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c1145 #define INV_MPU9X50_MAGN_CHAN(_chan2, _bits, _index) \ argument
1155 .realbits = _bits, \
/linux-5.19.10/tools/objtool/
Delf.c32 #define __elf_bits(name) (elf->name##_bits)