Home
last modified time | relevance | path

Searched refs:_index (Results 1 – 7 of 7) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_util.h150 #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/qca-wifi-host-cmn/dp/cmn_dp_api/
Ddp_ratetable.h65 #define RT_GET_INFO(_rt, _index) RT_GET_RT(_rt)->info[(_index)] argument
66 #define RT_GET_RAW_KBPS(_rt, _index) \ argument
67 (RT_GET_INFO(_rt, (_index)).ratekbps)
68 #define RT_GET_SGI_KBPS(_rt, _index) \ argument
69 (RT_GET_INFO(_rt, (_index)).ratekbpssgi)
/wlan-driver/fw-api/fw/
Dwlan_defs.h1355 #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)); \
Dwmi_unified.h158 #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
188 (var) |= (WMI_GET_BITS(_arrayp[(_index+i) / 32], ((_index+i) % 32), 1) << i); \
192 #define WMI_SET_BITS_ARRAY_LEN32_BYTES(_arrayp, _index, _num_bits, val) \ argument
196 WMI_SET_BITS(_arrayp[(_index+i) / 32], ((_index+i) % 32), 1, (val >> i)); \
Dhtt_stats.h12090 #define HTT_GET_BITS(_val, _index, _num_bits) \ argument
12091 (((_val) >> (_index)) & ((1 << (_num_bits)) - 1))
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be.h211 #define DP_CC_SPT_PAGE_UPDATE_VA(_page_base_va, _index, _desc_va) \ argument
212 { *((uintptr_t *)((_page_base_va) + (_index) * DP_CC_HW_READ_BYTES)) \
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_runtime_pm.c119 #define HIF_RTPM_STATS(_type, _index, _s, _rtpm_ctx, _name) \ argument
120 hif_rtpm_print(_type, _index, _s, "%30s: %u\n", #_name, \