/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUtil.cpp | 78 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 …]
|
D | AudioUtil.h | 21 #define BIT(nr) (1UL << (nr)) macro
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/generic/families/ |
D | mac80211_hwsim.h | 19 #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/ |
D | qca-vendor_copy.h | 22 #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 …]
|
D | driver_cmd_nl80211.c | 1246 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/ |
D | qca-vendor_copy.h | 19 #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 …]
|
D | tdlsCommand.h | 67 #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)
|
D | ifaceeventhandler.cpp | 231 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 …]
|
D | common.h | 61 #ifndef BIT 62 #define BIT(x) (1 << (x)) macro
|
D | wifi_hal.cpp | 556 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 …]
|
D | wifilogger_diag.cpp | 2025 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 …]
|
D | wificonfig.cpp | 116 (info->flags[idx] & BIT(feature % 8)); in check_feature()
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | tdlsCommand.h | 67 #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)
|
D | qca-vendor_copy.h | 53 #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 …]
|
D | ifaceeventhandler.cpp | 233 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 …]
|
D | common.h | 96 #ifndef BIT 97 #define BIT(x) (1 << (x)) macro
|
D | wifi_hal.cpp | 584 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 …]
|
D | wifilogger_diag.cpp | 2036 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 …]
|
D | wificonfig.cpp | 130 (info->flags[idx] & BIT(feature % 8)); in check_feature()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 51 #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/ |
D | video_encoder_device_v4l2.h | 53 #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/ |
D | video_encoder_device_v4l2.h | 44 #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/ |
D | video_encoder_device_v4l2.h | 54 #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/ |
D | video_encoder_device_v4l2.h | 48 #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/ |
D | aidl_struct_util.cpp | 3513 #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()
|