/wlan-driver/fw-api/fw/ |
D | htt_ppdu_stats.h | 108 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_TX_RATE_SET(_var, _val) \ argument 110 HTT_CHECK_SET_VAL(HTT_PPDU_STATS_ARRAY_ITEM_TLV_TX_RATE, _val); \ 111 ((_var) |= ((_val) << HTT_PPDU_STATS_ARRAY_ITEM_TLV_TX_RATE_S)); \ 121 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_IS_AMPDU_SET(_var, _val) \ argument 123 HTT_CHECK_SET_VAL(HTT_PPDU_STATS_ARRAY_ITEM_TLV_IS_AMPDU, _val); \ 124 ((_var) |= ((_val) << HTT_PPDU_STATS_ARRAY_ITEM_TLV_IS_AMPDU_S)); \ 134 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_BA_ACK_FAILED_SET(_var, _val) \ argument 136 HTT_CHECK_SET_VAL(HTT_PPDU_STATS_ARRAY_ITEM_TLV_BA_ACK_FAILED, _val); \ 137 ((_var) |= ((_val) << HTT_PPDU_STATS_ARRAY_ITEM_TLV_BA_ACK_FAILED_S)); \ 147 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_BW_SET(_var, _val) \ argument [all …]
|
D | wdi_ipa.h | 123 #define WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR_SET(_var, _val) \ argument 125 WDI_IPA_CHECK_SET_VAL(WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR, _val); \ 127 ((_var) |= ((_val) << WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR_S)); \ } while(0) 132 #define WDI_IPA_TX_FRAG_DESC_FRAG_LEN_SET(_var, _val) \ argument 134 WDI_IPA_CHECK_SET_VAL(WDI_IPA_TX_FRAG_DESC_FRAG_LEN, _val); \ 136 ((_var) |= ((_val) << WDI_IPA_TX_FRAG_DESC_FRAG_LEN_S)); \ } while(0) 186 #define WDI_IPA_TX_IPA_DESC_VDEV_ID_SET(_var, _val) \ argument 188 WDI_IPA_CHECK_SET_VAL(WDI_IPA_TX_IPA_DESC_VDEV_ID, _val); \ 190 ((_var) |= ((_val) << WDI_IPA_TX_IPA_DESC_VDEV_ID_S)); \ 269 #define WDI_IPA_TX_CE_DESC_SRC_PTR_SET(_var, _val) \ argument [all …]
|
D | htt.h | 280 #define HTT_SIGN_BIT(_val, field) \ argument 281 (_val & HTT_SIGN_BIT_MASK(field)) 282 #define HTT_SIGN_BIT_UNSHIFTED(_val, field) \ argument 283 (HTT_SIGN_BIT(_val, field) >> field ## _S) 284 #define HTT_SIGN_BIT_UNSHIFTED_MINUS_ONE(_val, field) \ argument 285 (HTT_SIGN_BIT_UNSHIFTED(_val, field) - 1) 286 #define HTT_SIGN_BIT_EXTENSION(_val, field) \ argument 287 (~(HTT_SIGN_BIT_UNSHIFTED(_val, field) | \ 288 HTT_SIGN_BIT_UNSHIFTED_MINUS_ONE(_val, field))) 289 #define HTT_SIGN_BIT_EXTENSION_MASK(_val, field) \ argument [all …]
|
D | txmon_tlvs.h | 57 #define TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ1_SET(_var, _val) \ argument 59 HTT_CHECK_SET_VAL(TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ1, _val); \ 60 ((_var) |= ((_val) << TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ1_S)); \ 67 #define TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ2_SET(_var, _val) \ argument 69 HTT_CHECK_SET_VAL(TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ2, _val); \ 70 ((_var) |= ((_val) << TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ2_S)); \ 77 #define TXMON_FW2SW_MON_FES_SETUP_PHY_MODE_SET(_var, _val) \ argument 79 HTT_CHECK_SET_VAL(TXMON_FW2SW_MON_FES_SETUP_PHY_MODE, _val); \ 80 ((_var) |= ((_val) << TXMON_FW2SW_MON_FES_SETUP_PHY_MODE_S)); \ 87 #define TXMON_FW2SW_MON_FES_SETUP_MHZ_SET(_var, _val) \ argument [all …]
|
D | wal_rx_desc.h | 132 #define FW_RX_DESC_DISCARD_SET(_var, _val) \ argument 133 ((_var) |= ((_val) << FW_RX_DESC_DISCARD_S)) 137 #define FW_RX_DESC_FORWARD_SET(_var, _val) \ argument 138 ((_var) |= ((_val) << FW_RX_DESC_FORWARD_S)) 142 #define FW_RX_DESC_INSPECT_SET(_var, _val) \ argument 143 ((_var) |= ((_val) << FW_RX_DESC_INSPECT_S)) 147 #define FW_RX_DESC_EXT_SET(_var, _val) \ argument 148 ((_var) |= ((_val) << FW_RX_DESC_EXT_S)) 201 #define FW_RX_MSDU_INFO_TCP_UDP_CHKSUM_FAIL_SET(_var, _val) \ argument 202 ((_var) |= ((_val) << FW_RX_MSDU_INFO_TCP_UDP_CHKSUM_FAIL_S)) [all …]
|
D | htt_stats.h | 695 #define HTT_DBG_EXT_PEER_STATS_RESET_SET(_var, _val) \ argument 697 HTT_CHECK_SET_VAL(HTT_DBG_EXT_PEER_STATS_RESET, _val); \ 698 ((_var) |= ((_val) << HTT_DBG_EXT_PEER_STATS_RESET_S)); \ 889 #define HTT_TX_PDEV_STATS_CMN_MAC_ID_SET(_var, _val) \ argument 891 HTT_CHECK_SET_VAL(HTT_TX_PDEV_STATS_CMN_MAC_ID, _val); \ 892 ((_var) |= ((_val) << HTT_TX_PDEV_STATS_CMN_MAC_ID_S)); \ 1355 #define HTT_HW_STATS_PDEV_ERRS_MAC_ID_SET(_var, _val) \ argument 1357 HTT_CHECK_SET_VAL(HTT_HW_STATS_PDEV_ERRS_MAC_ID, _val); \ 1358 ((_var) |= ((_val) << HTT_HW_STATS_PDEV_ERRS_MAC_ID_S)); \ 1528 #define HTT_MSDU_FLOW_STATS_TX_FLOW_NUM_SET(_var, _val) \ argument [all …]
|
D | wmi.h | 78 #define SET_FIELD(_addr, _f, _val) \ argument 80 (*((A_UINT32 *)(_addr) + WO(_f)) & ~_f##_MASK) | SM(_val, _f)) 85 #define WMI_SET_FIELD(_msg_buf, _msg_type, _f, _val) \ argument 86 SET_FIELD(_msg_buf, _msg_type ## _ ## _f, _val)
|
D | htc.h | 47 #define SET_FIELD(_addr, _f, _val) \ argument 49 (*((A_UINT32 *)(_addr) + WO(_f)) & ~_f##_MASK) | SM(_val, _f)) 54 #define HTC_SET_FIELD(_msg_buf, _msg_type, _f, _val) \ argument 55 SET_FIELD(_msg_buf, _msg_type ## _ ## _f, _val) 57 #define HTC_WRITE32(_addr, _val) \ argument 58 (*(A_UINT32 *)(_addr) = (_val))
|
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 163 (_var) |= (((_val) & (((A_UINT32) 1 << (_num_bits)) - 1)) << (_index)); \ 6899 …efine WMI_MLO_BROADCAST_TID_TO_LINK_MAP_INFO_VDEV_ID_SET(_var, _val) WMI_SET_BITS(_var, 0, 8, _val) argument 6902 …fine WMI_MLO_BROADCAST_TID_TO_LINK_MAP_INFO_EXP_DUR_SET(_var, _val) WMI_SET_BITS(_var, 8, 24, _val) argument 19539 #define WMI_BEACON_TMPLT_SET_PROFILE_PERIOD(_ema_param, _val) \ argument 19540 WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS, 8, _val) 19546 #define WMI_BEACON_TMPLT_SET_TEMPLATE_INDEX(_ema_param, _val) \ argument 19547 WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS, 8, _val) [all …]
|
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 1361 (_var) |= (((_val) & ((1 << (_num_bits)) - 1)) << (_index)); \
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/ |
D | hal_hw_headers.h | 142 #define HAL_SM(_reg, _fld, _val) \ argument 143 (((_val) << (_reg ## _ ## _fld ## _SHFT)) & \ 146 #define HAL_MS(_reg, _fld, _val) \ argument 147 (((_val) & (_reg ## _ ## _fld ## _BMSK)) >> \ 320 #define SRNG_SM(_reg_fld, _val) \ argument 321 (((_val) << _SRNG_FS(_reg_fld)) & _SRNG_FM(_reg_fld)) 323 #define SRNG_MS(_reg_fld, _val) \ argument 324 (((_val) & _SRNG_FM(_reg_fld)) >> _SRNG_FS(_reg_fld))
|
D | hal_rx.h | 47 #define HAL_RX_FLD_SET(_ptr, _wrd, _field, _val) \ argument 50 (((_val) << _wrd ## _ ## _field ## _LSB) & \ 425 #define HAL_RX_UNIFORM_HDR_SET(_rx_msdu_link, _field, _val) \ argument 427 _field, _val)
|
/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 156 (_var) |= (((_val) & ((1 << (_num_bits)) - 1)) << (_index)); \ 159 #define QDF_SET_BITS64(_var, _tmp, _index, _num_bits, _val) do { \ argument 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/hal/wifi3.0/be/ |
D | hal_be_rx.h | 204 #define HAL_RX_MSDU_DESC_INFO_SET(_msdu_info_ptr, _field, _val) \ argument 206 _field, _val) 208 #define HAL_RX_MPDU_DESC_INFO_SET(_mpdu_info_ptr, _field, _val) \ argument 210 _field, _val) 212 #define HAL_RX_MSDU_REO_DST_IND_SET(_msdu_ext_desc_info_ptr, _field, _val) \ argument 214 _field, _val)
|
/wlan-driver/qca-wifi-host-cmn/dp/inc/ |
D | cdp_txrx_stats_struct.h | 137 #define PFLOW_TXRX_TIDQ_STATS_ADD(_peer, _tid, _var, _val) \ argument 138 (((_peer)->tidq_stats[_tid]).stats[_var]) += _val 139 #define PFLOW_TXRX_TIDQ_STATS_GET(_peer, _tid, _var, _val) \ argument 144 #define PFLOW_CTRL_PDEV_VIDEO_STATS_SET(_pdev, _var, _val) \ argument 145 (((_pdev)->vow.vistats[_var]).value) = _val 148 #define PFLOW_CTRL_PDEV_VIDEO_STATS_ADD(_pdev, _var, _val) \ argument 149 (((_pdev)->vow.vistats[_var]).value) += _val 153 #define PFLOW_CTRL_PDEV_DELAY_VIDEO_STATS_SET(_pdev, _var, _val) \ argument 154 (((_pdev)->vow.delaystats[_var]).value) = _val 157 #define PFLOW_CTRL_PDEV_DELAY_VIDEO_STATS_ADD(_pdev, _var, _val) \ argument [all …]
|
/wlan-driver/qcacld-3.0/core/dp/ol/inc/ |
D | ol_htt_tx_api.h | 54 #define HTT_TX_DESC_EXTENSION_SET(_var, _val) \ argument 56 HTT_CHECK_SET_VAL(HTT_TX_DESC_EXTENSION, _val); \ 57 ((_var) |= ((_val) << HTT_TX_DESC_EXTENSION_S)); \
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/li/ |
D | hal_li_rx.h | 176 #define HAL_RX_MSDU_DESC_INFO_SET(_msdu_info_ptr, _field, _val) \ argument 178 _field, _val) 180 #define HAL_RX_MPDU_DESC_INFO_SET(_mpdu_info_ptr, _field, _val) \ argument 182 _field, _val)
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_tx.c | 74 #define DP_TX_TCL_METADATA_PDEV_ID_SET(_var, _val)\ argument 75 HTT_TX_TCL_METADATA_V2_PDEV_ID_SET(_var, _val) 76 #define DP_TX_TCL_METADATA_VALID_HTT_SET(_var, _val) \ argument 77 HTT_TX_TCL_METADATA_V2_VALID_HTT_SET(_var, _val) 78 #define DP_TX_TCL_METADATA_TYPE_SET(_var, _val) \ argument 79 HTT_TX_TCL_METADATA_TYPE_V2_SET(_var, _val) 80 #define DP_TX_TCL_METADATA_HOST_INSPECTED_SET(_var, _val) \ argument 81 HTT_TX_TCL_METADATA_V2_HOST_INSPECTED_SET(_var, _val) 82 #define DP_TX_TCL_METADATA_PEER_ID_SET(_var, _val) \ argument 83 HTT_TX_TCL_METADATA_V2_PEER_ID_SET(_var, _val) [all …]
|
D | dp_htt.h | 100 #define HTT_GET_FRAME_CTRL_TYPE(_val) \ argument 101 (((_val) & HTT_FRAMECTRL_TYPE_MASK) >> 2)
|
D | dp_main.c | 137 #define DP_TX_TCL_METADATA_PDEV_ID_SET(_var, _val) \ argument 138 HTT_TX_TCL_METADATA_V2_PDEV_ID_SET(_var, _val) 140 #define DP_TX_TCL_METADATA_PDEV_ID_SET(_var, _val) \ argument 141 HTT_TX_TCL_METADATA_PDEV_ID_SET(_var, _val)
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
D | wmi_unified.c | 65 #define SET_FIELD(_addr, _f, _val) \ argument 67 (*((uint32_t *)(_addr) + WO(_f)) & ~_f##_MASK) | SM(_val, _f)) 72 #define WMI_SET_FIELD(_msg_buf, _msg_type, _f, _val) \ argument 73 SET_FIELD(_msg_buf, _msg_type ## _ ## _f, _val)
|