Home
last modified time | relevance | path

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

/include/linux/iio/adc/
Dad_sigma_delta.h132 #define __AD_SD_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument
149 .realbits = (_bits), \
156 #define AD_SD_DIFF_CHANNEL(_si, _channel1, _channel2, _address, _bits, \ argument
158 __AD_SD_CHANNEL(_si, _channel1, _channel2, _address, _bits, \
162 #define AD_SD_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument
164 __AD_SD_CHANNEL(_si, _channel, _channel, _address, _bits, \
168 #define AD_SD_CHANNEL(_si, _channel, _address, _bits, \ argument
170 __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \
174 #define AD_SD_CHANNEL_NO_SAMP_FREQ(_si, _channel, _address, _bits, \ argument
176 __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \
[all …]
/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)