Searched refs:_num_bits (Results 1 – 4 of 4) sorted by relevance
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
D | qdf_util.h | 150 #define QDF_GET_BITS(_val, _index, _num_bits) \ argument 151 (((_val) >> (_index)) & ((1 << (_num_bits)) - 1)) 154 #define QDF_SET_BITS(_var, _index, _num_bits, _val) do { \ argument 155 (_var) &= ~(((1 << (_num_bits)) - 1) << (_index)); \ 156 (_var) |= (((_val) & ((1 << (_num_bits)) - 1)) << (_index)); \ 159 #define QDF_SET_BITS64(_var, _tmp, _index, _num_bits, _val) do { \ argument 161 (_var) &= ~(((1 << (_num_bits)) - 1) << ((_index) - 32)); \ 162 (_var) |= (((_val) & ((1 << (_num_bits)) - 1)) << ((_index) - 32)); \ 168 #define QDF_GET_BITS64(_val, _index, _num_bits) \ argument 169 (((_val) >> (_index)) & ((1LLU << (_num_bits)) - 1))
|
/wlan-driver/fw-api/fw/ |
D | wlan_defs.h | 1355 #define MLO_SHMEM_GET_BITS(_val,_index,_num_bits) \ argument 1356 (((_val) >> (_index)) & ((1 << (_num_bits)) - 1)) 1358 #define MLO_SHMEM_SET_BITS(_var,_index,_num_bits,_val) \ argument 1360 (_var) &= ~(((1 << (_num_bits)) - 1) << (_index)); \ 1361 (_var) |= (((_val) & ((1 << (_num_bits)) - 1)) << (_index)); \
|
D | wmi_unified.h | 158 #define WMI_GET_BITS(_val,_index,_num_bits) \ argument 159 (((_val) >> (_index)) & (((A_UINT32) 1 << (_num_bits)) - 1)) 161 #define WMI_SET_BITS(_var,_index,_num_bits,_val) do { \ argument 162 (_var) &= ~((((A_UINT32) 1 << (_num_bits)) - 1) << (_index)); \ 163 (_var) |= (((_val) & (((A_UINT32) 1 << (_num_bits)) - 1)) << (_index)); \ 184 #define WMI_GET_BITS_ARRAY_LEN32_BYTES(var, _arrayp, _index, _num_bits) \ argument 187 for (i = 0; i < _num_bits; i++) { \ 192 #define WMI_SET_BITS_ARRAY_LEN32_BYTES(_arrayp, _index, _num_bits, val) \ argument 195 for (i = 0; i < _num_bits; i++) { \
|
D | htt_stats.h | 12090 #define HTT_GET_BITS(_val, _index, _num_bits) \ argument 12091 (((_val) >> (_index)) & ((1 << (_num_bits)) - 1))
|