Home
last modified time | relevance | path

Searched refs:BIT (Results 1 – 25 of 28) sorted by relevance

12

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUtil.cpp78 if (byte & BIT(6)) { in getSamplingFrequencyFromEDID()
81 } else if (byte & BIT(5)) { in getSamplingFrequencyFromEDID()
84 } else if (byte & BIT(4)) { in getSamplingFrequencyFromEDID()
87 } else if (byte & BIT(3)) { in getSamplingFrequencyFromEDID()
90 } else if (byte & BIT(2)) { in getSamplingFrequencyFromEDID()
93 } else if (byte & BIT(1)) { in getSamplingFrequencyFromEDID()
96 } else if (byte & BIT(0)) { in getSamplingFrequencyFromEDID()
107 if (byte & BIT(2)) { in getBitsPerSampleFromEDID()
110 } else if (byte & BIT(1)) { in getBitsPerSampleFromEDID()
113 } else if (byte & BIT(0)) { in getBitsPerSampleFromEDID()
[all …]
DAudioUtil.h21 #define BIT(nr) (1UL << (nr)) macro
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/generic/families/
Dmac80211_hwsim.h19 #define BIT(n) (1 << (n)) macro
22 HWSIM_TX_CTL_REQ_TX_STATUS = BIT(0),
23 HWSIM_TX_CTL_NO_ACK = BIT(1),
24 HWSIM_TX_STAT_ACK = BIT(2),
73 #undef BIT
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Dqca-vendor_copy.h22 #ifndef BIT
23 #define BIT(x) (1U << (x)) macro
1800 QCA_SETBAND_5G = BIT(0),
1801 QCA_SETBAND_2G = BIT(1),
1802 QCA_SETBAND_6G = BIT(2),
9352 QCA_WLAN_TWT_CAPA_REQUESTOR = BIT(0),
9353 QCA_WLAN_TWT_CAPA_RESPONDER = BIT(1),
9354 QCA_WLAN_TWT_CAPA_BROADCAST = BIT(2),
9355 QCA_WLAN_TWT_CAPA_FLEXIBLE = BIT(3),
9356 QCA_WLAN_TWT_CAPA_REQUIRED = BIT(4),
[all …]
Ddriver_cmd_nl80211.c1246 g_sta_info.supported_band |= BIT(0); in op_class_band_conversion()
1248 g_sta_info.supported_band |= BIT(1); in op_class_band_conversion()
1250 g_sta_info.supported_band |= BIT(2); in op_class_band_conversion()
1268 g_sta_info.supported_band |= BIT(0); in supp_channels_band_conversion()
1270 g_sta_info.supported_band |= BIT(1); in supp_channels_band_conversion()
4598 (info->flags[idx] & BIT(feature % 8)); in check_feature()
5431 if (!(ac_mask & (BIT(QCA_WLAN_VENDOR_TOS_BK) | BIT(QCA_WLAN_VENDOR_TOS_BE) | in wpa_driver_form_flush_queue_config_msg()
5432 BIT(QCA_WLAN_VENDOR_TOS_VI) | BIT(QCA_WLAN_VENDOR_TOS_VO)))) { in wpa_driver_form_flush_queue_config_msg()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dqca-vendor_copy.h19 #ifndef BIT
20 #define BIT(x) (1U << (x)) macro
1763 QCA_SETBAND_5G = BIT(0),
1764 QCA_SETBAND_2G = BIT(1),
1765 QCA_SETBAND_6G = BIT(2),
9233 QCA_WLAN_TWT_CAPA_REQUESTOR = BIT(0),
9234 QCA_WLAN_TWT_CAPA_RESPONDER = BIT(1),
9235 QCA_WLAN_TWT_CAPA_BROADCAST = BIT(2),
9236 QCA_WLAN_TWT_CAPA_FLEXIBLE = BIT(3),
9237 QCA_WLAN_TWT_CAPA_REQUIRED = BIT(4),
[all …]
DtdlsCommand.h67 #define IS_GLOBAL_TDLS_SUPPORTED BIT(0)
68 #define IS_PER_MAC_TDLS_SUPPORTED BIT(1)
69 #define IS_OFF_CHANNEL_TDLS_SUPPORTED BIT(2)
Difaceeventhandler.cpp231 if (in_mask & BIT(NL80211_IFTYPE_STATION)) { in get_wifi_iftype_masks()
232 op_mask |= BIT(WIFI_INTERFACE_STA); in get_wifi_iftype_masks()
233 op_mask |= BIT(WIFI_INTERFACE_TDLS); in get_wifi_iftype_masks()
235 if (in_mask & BIT(NL80211_IFTYPE_AP)) in get_wifi_iftype_masks()
236 op_mask |= BIT(WIFI_INTERFACE_SOFTAP); in get_wifi_iftype_masks()
237 if (in_mask & BIT(NL80211_IFTYPE_P2P_CLIENT)) in get_wifi_iftype_masks()
238 op_mask |= BIT(WIFI_INTERFACE_P2P_CLIENT); in get_wifi_iftype_masks()
239 if (in_mask & BIT(NL80211_IFTYPE_P2P_GO)) in get_wifi_iftype_masks()
240 op_mask |= BIT(WIFI_INTERFACE_P2P_GO); in get_wifi_iftype_masks()
241 if (in_mask & BIT(NL80211_IFTYPE_NAN)) in get_wifi_iftype_masks()
[all …]
Dcommon.h61 #ifndef BIT
62 #define BIT(x) (1 << (x)) macro
Dwifi_hal.cpp556 op_mask |= BIT(NL80211_IFTYPE_AP); in get_nl_ifmask_from_coex_restriction_mask()
558 op_mask |= BIT(NL80211_IFTYPE_P2P_GO); in get_nl_ifmask_from_coex_restriction_mask()
560 op_mask |= BIT(NL80211_IFTYPE_NAN); in get_nl_ifmask_from_coex_restriction_mask()
810 op_mask |= BIT(NL80211_BAND_2GHZ); in get_nl_band_mask()
812 op_mask |= BIT(NL80211_BAND_5GHZ); in get_nl_band_mask()
814 op_mask |= BIT(NL80211_BAND_6GHZ); in get_nl_band_mask()
816 op_mask |= BIT(NL80211_BAND_60GHZ); in get_nl_band_mask()
825 if (in_mask & BIT(WIFI_INTERFACE_STA) || in get_nl_iftype_mode_masks()
826 in_mask & BIT(WIFI_INTERFACE_TDLS)) in get_nl_iftype_mode_masks()
827 op_mask |= BIT(NL80211_IFTYPE_STATION); in get_nl_iftype_mode_masks()
[all …]
Dwifilogger_diag.cpp2025 if (ppdu_start->frame_control & BIT(DATA_PROTECTED)) in parse_tx_stats()
2038 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_CTRL); in parse_tx_stats()
2074 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_STAT); in parse_tx_stats()
2081 info->pkt_stats->tx_stats_events = BIT(PKTLOG_TYPE_TX_MSDU_ID); in parse_tx_stats()
2099 if ((info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_CTRL)) && in parse_tx_stats()
2100 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_STAT)) && in parse_tx_stats()
2101 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_MSDU_ID))) { in parse_tx_stats()
2121 if (info->pkt_stats->tx_seqnum_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
2122 if (info->pkt_stats->shifted_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
2135 & BIT(i - BITMAP_VAR_SIZE)) { in parse_tx_stats()
[all …]
Dwificonfig.cpp116 (info->flags[idx] & BIT(feature % 8)); in check_feature()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
DtdlsCommand.h67 #define IS_GLOBAL_TDLS_SUPPORTED BIT(0)
68 #define IS_PER_MAC_TDLS_SUPPORTED BIT(1)
69 #define IS_OFF_CHANNEL_TDLS_SUPPORTED BIT(2)
Dqca-vendor_copy.h53 #ifndef BIT
54 #define BIT(x) (1U << (x)) macro
1999 QCA_SETBAND_5G = BIT(0),
2000 QCA_SETBAND_2G = BIT(1),
2001 QCA_SETBAND_6G = BIT(2),
9911 QCA_WLAN_TWT_CAPA_REQUESTOR = BIT(0),
9912 QCA_WLAN_TWT_CAPA_RESPONDER = BIT(1),
9913 QCA_WLAN_TWT_CAPA_BROADCAST = BIT(2),
9914 QCA_WLAN_TWT_CAPA_FLEXIBLE = BIT(3),
9915 QCA_WLAN_TWT_CAPA_REQUIRED = BIT(4),
[all …]
Difaceeventhandler.cpp233 if (in_mask & BIT(NL80211_IFTYPE_STATION)) { in get_wifi_iftype_masks()
234 op_mask |= BIT(WIFI_INTERFACE_STA); in get_wifi_iftype_masks()
235 op_mask |= BIT(WIFI_INTERFACE_TDLS); in get_wifi_iftype_masks()
237 if (in_mask & BIT(NL80211_IFTYPE_AP)) in get_wifi_iftype_masks()
238 op_mask |= BIT(WIFI_INTERFACE_SOFTAP); in get_wifi_iftype_masks()
239 if (in_mask & BIT(NL80211_IFTYPE_P2P_CLIENT)) in get_wifi_iftype_masks()
240 op_mask |= BIT(WIFI_INTERFACE_P2P_CLIENT); in get_wifi_iftype_masks()
241 if (in_mask & BIT(NL80211_IFTYPE_P2P_GO)) in get_wifi_iftype_masks()
242 op_mask |= BIT(WIFI_INTERFACE_P2P_GO); in get_wifi_iftype_masks()
243 if (in_mask & BIT(NL80211_IFTYPE_NAN)) in get_wifi_iftype_masks()
[all …]
Dcommon.h96 #ifndef BIT
97 #define BIT(x) (1 << (x)) macro
Dwifi_hal.cpp584 op_mask |= BIT(NL80211_IFTYPE_AP); in get_nl_ifmask_from_coex_restriction_mask()
586 op_mask |= BIT(NL80211_IFTYPE_P2P_GO); in get_nl_ifmask_from_coex_restriction_mask()
588 op_mask |= BIT(NL80211_IFTYPE_NAN); in get_nl_ifmask_from_coex_restriction_mask()
868 op_mask |= BIT(NL80211_BAND_2GHZ); in get_nl_band_mask()
870 op_mask |= BIT(NL80211_BAND_5GHZ); in get_nl_band_mask()
872 op_mask |= BIT(NL80211_BAND_6GHZ); in get_nl_band_mask()
874 op_mask |= BIT(NL80211_BAND_60GHZ); in get_nl_band_mask()
883 if (in_mask & BIT(WIFI_INTERFACE_STA) || in get_nl_iftype_mode_masks()
884 in_mask & BIT(WIFI_INTERFACE_TDLS)) in get_nl_iftype_mode_masks()
885 op_mask |= BIT(NL80211_IFTYPE_STATION); in get_nl_iftype_mode_masks()
[all …]
Dwifilogger_diag.cpp2036 if (ppdu_start->frame_control & BIT(DATA_PROTECTED)) in parse_tx_stats()
2049 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_CTRL); in parse_tx_stats()
2085 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_STAT); in parse_tx_stats()
2092 info->pkt_stats->tx_stats_events = BIT(PKTLOG_TYPE_TX_MSDU_ID); in parse_tx_stats()
2110 if ((info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_CTRL)) && in parse_tx_stats()
2111 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_STAT)) && in parse_tx_stats()
2112 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_MSDU_ID))) { in parse_tx_stats()
2132 if (info->pkt_stats->tx_seqnum_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
2133 if (info->pkt_stats->shifted_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
2146 & BIT(i - BITMAP_VAR_SIZE)) { in parse_tx_stats()
[all …]
Dwificonfig.cpp130 (info->flags[idx] & BIT(feature % 8)); in check_feature()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h51 #define BIT(num) (1 << (num)) macro
275 RC_VBR_VFR = BIT(0),
276 RC_VBR_CFR = BIT(1),
277 RC_CBR_VFR = BIT(2),
278 RC_CBR_CFR = BIT(3),
279 RC_MBR_CFR = BIT(4),
280 RC_MBR_VFR = BIT(5),
281 RC_CQ = BIT(6),
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h53 #define BIT(num) (1 << (num)) macro
281 RC_VBR_VFR = BIT(0),
282 RC_VBR_CFR = BIT(1),
283 RC_CBR_VFR = BIT(2),
284 RC_CBR_CFR = BIT(3),
285 RC_MBR_CFR = BIT(4),
286 RC_MBR_VFR = BIT(5),
287 RC_CQ = BIT(6),
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h44 #define BIT(num) (1 << (num)) macro
250 RC_VBR_VFR = BIT(0),
251 RC_VBR_CFR = BIT(1),
252 RC_CBR_VFR = BIT(2),
253 RC_CBR_CFR = BIT(3),
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h54 #define BIT(num) (1 << (num)) macro
304 RC_VBR_VFR = BIT(0),
305 RC_VBR_CFR = BIT(1),
306 RC_CBR_VFR = BIT(2),
307 RC_CBR_CFR = BIT(3),
308 RC_MBR_CFR = BIT(4),
309 RC_MBR_VFR = BIT(5),
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h48 #define BIT(num) (1 << (num)) macro
318 RC_VBR_VFR = BIT(0),
319 RC_VBR_CFR = BIT(1),
320 RC_CBR_VFR = BIT(2),
321 RC_CBR_CFR = BIT(3),
/hardware/interfaces/wifi/aidl/default/
Daidl_struct_util.cpp3513 #ifndef BIT in convertLegacyIfaceMaskToIfaceConcurrencyType()
3514 #define BIT(x) (1 << (x)) in convertLegacyIfaceMaskToIfaceConcurrencyType() macro
3516 if (mask & BIT(WIFI_INTERFACE_TYPE_STA)) types->push_back(IfaceConcurrencyType::STA); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3517 if (mask & BIT(WIFI_INTERFACE_TYPE_AP)) types->push_back(IfaceConcurrencyType::AP); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3518 if (mask & BIT(WIFI_INTERFACE_TYPE_AP_BRIDGED)) in convertLegacyIfaceMaskToIfaceConcurrencyType()
3520 if (mask & BIT(WIFI_INTERFACE_TYPE_P2P)) types->push_back(IfaceConcurrencyType::P2P); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3521 if (mask & BIT(WIFI_INTERFACE_TYPE_NAN)) types->push_back(IfaceConcurrencyType::NAN_IFACE); in convertLegacyIfaceMaskToIfaceConcurrencyType()

12