/wlan-driver/fw-api/fw/ |
D | wdi_ipa.h | 120 #define WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR_GET(_var) \ argument 121 (((_var) & WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR_M) >> \ 123 #define WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR_SET(_var, _val) \ argument 126 ((_var) &= (WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR_M)); \ 127 ((_var) |= ((_val) << WDI_IPA_TX_FRAG_DESC_FRAG_BUF_PTR_S)); \ } while(0) 129 #define WDI_IPA_TX_FRAG_DESC_FRAG_LEN_GET(_var) \ argument 130 (((_var) & WDI_IPA_TX_FRAG_DESC_FRAG_LEN_M) >> \ 132 #define WDI_IPA_TX_FRAG_DESC_FRAG_LEN_SET(_var, _val) \ argument 135 ((_var) &= (WDI_IPA_TX_FRAG_DESC_FRAG_LEN_M)); \ 136 ((_var) |= ((_val) << WDI_IPA_TX_FRAG_DESC_FRAG_LEN_S)); \ } while(0) [all …]
|
D | htt_ppdu_stats.h | 104 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_TX_RATE_GET(_var) \ argument 105 (((_var) & HTT_PPDU_STATS_ARRAY_ITEM_TLV_TX_RATE_M) >> \ 108 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_TX_RATE_SET(_var, _val) \ argument 111 ((_var) |= ((_val) << HTT_PPDU_STATS_ARRAY_ITEM_TLV_TX_RATE_S)); \ 117 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_IS_AMPDU_GET(_var) \ argument 118 (((_var) & HTT_PPDU_STATS_ARRAY_ITEM_TLV_IS_AMPDU_M) >> \ 121 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_IS_AMPDU_SET(_var, _val) \ argument 124 ((_var) |= ((_val) << HTT_PPDU_STATS_ARRAY_ITEM_TLV_IS_AMPDU_S)); \ 130 #define HTT_PPDU_STATS_ARRAY_ITEM_TLV_BA_ACK_FAILED_GET(_var) \ argument 131 (((_var) & HTT_PPDU_STATS_ARRAY_ITEM_TLV_BA_ACK_FAILED_M) >> \ [all …]
|
D | htt.h | 846 #define HTT_STATS_TLV_TAG_GET(_var) \ argument 847 (((_var) & HTT_STATS_TLV_TAG_M) >> \ 850 #define HTT_STATS_TLV_TAG_SET(_var, _val) \ argument 853 ((_var) |= ((_val) << HTT_STATS_TLV_TAG_S)); \ 856 #define HTT_STATS_TLV_LENGTH_GET(_var) \ argument 857 (((_var) & HTT_STATS_TLV_LENGTH_M) >> \ 859 #define HTT_STATS_TLV_LENGTH_SET(_var, _val) \ argument 862 ((_var) |= ((_val) << HTT_STATS_TLV_LENGTH_S)); \ 1424 #define HTT_TX_DESC_PKT_SUBTYPE_GET(_var) \ argument 1425 (((_var) & HTT_TX_DESC_PKT_SUBTYPE_M) >> HTT_TX_DESC_PKT_SUBTYPE_S) [all …]
|
D | wal_rx_desc.h | 130 #define FW_RX_DESC_DISCARD_GET(_var) \ argument 131 (((_var) & FW_RX_DESC_DISCARD_M) >> FW_RX_DESC_DISCARD_S) 132 #define FW_RX_DESC_DISCARD_SET(_var, _val) \ argument 133 ((_var) |= ((_val) << FW_RX_DESC_DISCARD_S)) 135 #define FW_RX_DESC_FORWARD_GET(_var) \ argument 136 (((_var) & FW_RX_DESC_FORWARD_M) >> FW_RX_DESC_FORWARD_S) 137 #define FW_RX_DESC_FORWARD_SET(_var, _val) \ argument 138 ((_var) |= ((_val) << FW_RX_DESC_FORWARD_S)) 140 #define FW_RX_DESC_INSPECT_GET(_var) \ argument 141 (((_var) & FW_RX_DESC_INSPECT_M) >> FW_RX_DESC_INSPECT_S) [all …]
|
D | txmon_tlvs.h | 53 #define TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ1_GET(_var) \ argument 54 (((_var) & TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ1_M) >> \ 57 #define TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ1_SET(_var, _val) \ argument 60 ((_var) |= ((_val) << TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ1_S)); \ 63 #define TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ2_GET(_var) \ argument 64 (((_var) & TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ2_M) >> \ 67 #define TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ2_SET(_var, _val) \ argument 70 ((_var) |= ((_val) << TXMON_FW2SW_MON_FES_SETUP_BAND_CENTER_FREQ2_S)); \ 73 #define TXMON_FW2SW_MON_FES_SETUP_PHY_MODE_GET(_var) \ argument 74 (((_var) & TXMON_FW2SW_MON_FES_SETUP_PHY_MODE_M) >> \ [all …]
|
D | htt_stats.h | 691 #define HTT_DBG_EXT_PEER_STATS_RESET_GET(_var) \ argument 692 (((_var) & HTT_DBG_EXT_PEER_STATS_RESET_M) >> \ 695 #define HTT_DBG_EXT_PEER_STATS_RESET_SET(_var, _val) \ argument 698 ((_var) |= ((_val) << HTT_DBG_EXT_PEER_STATS_RESET_S)); \ 885 #define HTT_TX_PDEV_STATS_CMN_MAC_ID_GET(_var) \ argument 886 (((_var) & HTT_TX_PDEV_STATS_CMN_MAC_ID_M) >> \ 889 #define HTT_TX_PDEV_STATS_CMN_MAC_ID_SET(_var, _val) \ argument 892 ((_var) |= ((_val) << HTT_TX_PDEV_STATS_CMN_MAC_ID_S)); \ 1351 #define HTT_HW_STATS_PDEV_ERRS_MAC_ID_GET(_var) \ argument 1352 (((_var) & HTT_HW_STATS_PDEV_ERRS_MAC_ID_M) >> \ [all …]
|
D | wmi_unified.h | 152 #define WMI_F_RMW(_var, _v, _f) \ argument 154 (_var) &= ~(_f); \ 155 (_var) |= (((_v) << (_f##_S)) & (_f)); \ 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)); \ 6898 #define WMI_MLO_BROADCAST_TID_TO_LINK_MAP_INFO_VDEV_ID_GET(_var) WMI_GET_BITS(_var, 0, 8) argument 6899 #define WMI_MLO_BROADCAST_TID_TO_LINK_MAP_INFO_VDEV_ID_SET(_var, _val) WMI_SET_BITS(_var, 0, 8, _va… argument 6901 #define WMI_MLO_BROADCAST_TID_TO_LINK_MAP_INFO_EXP_DUR_GET(_var) WMI_GET_BITS(_var, 8, 24) argument 6902 #define WMI_MLO_BROADCAST_TID_TO_LINK_MAP_INFO_EXP_DUR_SET(_var, _val) WMI_SET_BITS(_var, 8, 24, _v… argument [all …]
|
D | wlan_defs.h | 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)); \
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
D | qdf_util.h | 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 160 (_var) = (((_var) & 0xffffffff00000000) >> 32); \ 161 (_var) &= ~(((1 << (_num_bits)) - 1) << ((_index) - 32)); \ 162 (_var) |= (((_val) & ((1 << (_num_bits)) - 1)) << ((_index) - 32)); \ 163 (_var) = (((_var) & 0x00000000ffffffff) << 32); \ 164 (_var) |= ((_tmp) & 0x00000000ffffffff); \
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/ |
D | dp_be_tx.h | 41 #define DP_TX_HLOS_TID_GET(_var) \ argument 42 (((_var) & 0x0e) >> 1) 43 #define DP_TX_FLOW_OVERRIDE_GET(_var) \ argument 44 ((_var >> 3) & 0x1) 45 #define DP_TX_WHO_CLFY_INF_SEL_GET(_var) \ argument 46 (((_var) & 0x30) >> 4)
|
D | dp_be_tx.c | 68 #define DP_TX_WBM_COMPLETION_V3_VDEV_ID_GET(_var) \ argument 69 HTT_TX_WBM_COMPLETION_V2_VDEV_ID_GET(_var) 70 #define DP_TX_WBM_COMPLETION_V3_VALID_GET(_var) \ argument 71 HTT_TX_WBM_COMPLETION_V2_VALID_GET(_var) 72 #define DP_TX_WBM_COMPLETION_V3_SW_PEER_ID_GET(_var) \ argument 73 HTT_TX_WBM_COMPLETION_V2_SW_PEER_ID_GET(_var) 74 #define DP_TX_WBM_COMPLETION_V3_TID_NUM_GET(_var) \ argument 75 HTT_TX_WBM_COMPLETION_V2_TID_NUM_GET(_var) 76 #define DP_TX_WBM_COMPLETION_V3_SCH_CMD_ID_GET(_var) \ argument 77 HTT_TX_WBM_COMPLETION_V2_SCH_CMD_ID_GET(_var) [all …]
|
D | dp_be_rx.h | 182 #define HTT_RX_PEER_META_DATA_FIELD_GET(_var, _field_s, _field_m) \ argument 183 (((_var) & (_field_m)) >> (_field_s))
|
/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 140 ((_peer)->tidq_stats[_tid].stats[_var]) 144 #define PFLOW_CTRL_PDEV_VIDEO_STATS_SET(_pdev, _var, _val) \ argument 145 (((_pdev)->vow.vistats[_var]).value) = _val 146 #define PFLOW_CTRL_PDEV_VIDEO_STATS_GET(_pdev, _var) \ argument 147 ((_pdev)->vow.vistats[_var].value) 148 #define PFLOW_CTRL_PDEV_VIDEO_STATS_ADD(_pdev, _var, _val) \ argument 149 (((_pdev)->vow.vistats[_var]).value) += _val [all …]
|
/wlan-driver/qcacld-3.0/core/dp/ol/inc/ |
D | ol_htt_tx_api.h | 52 #define HTT_TX_DESC_EXTENSION_GET(_var) \ argument 53 (((_var) & HTT_TX_DESC_EXTENSION_M) >> HTT_TX_DESC_EXTENSION_S) 54 #define HTT_TX_DESC_EXTENSION_SET(_var, _val) \ argument 57 ((_var) |= ((_val) << HTT_TX_DESC_EXTENSION_S)); \
|
/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_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/inc/ |
D | wmi_unified_param.h | 161 #define WMI_HOST_F_RMW(_var, _v, _f) \ argument 163 (_var) &= ~(_f); \ 164 (_var) |= (((_v) << (_f##_S)) & (_f)); \
|