Home
last modified time | relevance | path

Searched refs:BIT (Results 1 – 25 of 33) 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/qcom/msm8960/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
396 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
397 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
399 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
400 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
401 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
402 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
404 #define VFE_OUTPUTS_PREVIEW BIT(6)
405 #define VFE_OUTPUTS_VIDEO BIT(7)
406 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h35 #define BIT(nr) (1UL << (nr)) macro
424 #define CMD_AXI_CFG_PRIM BIT(8)
425 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
426 #define CMD_AXI_CFG_SEC BIT(10)
427 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
429 #define CMD_AXI_CFG_TERT1 BIT(12)
430 #define CMD_AXI_CFG_TERT2 BIT(13)
435 #define AXI_CMD_PREVIEW BIT(0)
436 #define AXI_CMD_CAPTURE BIT(1)
437 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsm_isp.h4 #define BIT(nr) (1UL << (nr)) macro
324 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
325 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
326 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
327 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
328 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
329 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
330 #define VFE_OUTPUTS_PREVIEW BIT(6)
331 #define VFE_OUTPUTS_VIDEO BIT(7)
332 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/hardware/qcom/msm8998/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
390 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
391 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
392 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
394 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
395 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
396 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
397 #define VFE_OUTPUTS_PREVIEW BIT(6)
399 #define VFE_OUTPUTS_VIDEO BIT(7)
400 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h26 #define BIT(nr) (1UL << (nr)) macro
409 #define CMD_AXI_CFG_PRIM BIT(8)
410 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
411 #define CMD_AXI_CFG_SEC BIT(10)
412 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
414 #define CMD_AXI_CFG_TERT1 BIT(12)
415 #define CMD_AXI_CFG_TERT2 BIT(13)
421 #define AXI_CMD_PREVIEW BIT(0)
422 #define AXI_CMD_CAPTURE BIT(1)
424 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsm_isp.h4 #define BIT(nr) (1UL << (nr)) macro
324 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
325 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
326 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
327 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
328 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
329 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
330 #define VFE_OUTPUTS_PREVIEW BIT(6)
331 #define VFE_OUTPUTS_VIDEO BIT(7)
332 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h22 #define BIT(nr) (1UL << (nr)) macro
531 #define CMD_AXI_CFG_PRIM BIT(8)
532 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
533 #define CMD_AXI_CFG_SEC BIT(10)
534 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
535 #define CMD_AXI_CFG_TERT1 BIT(12)
536 #define CMD_AXI_CFG_TERT2 BIT(13)
545 #define AXI_CMD_PREVIEW BIT(0)
546 #define AXI_CMD_CAPTURE BIT(1)
547 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8996/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
390 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
391 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
392 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
394 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
395 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
396 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
397 #define VFE_OUTPUTS_PREVIEW BIT(6)
399 #define VFE_OUTPUTS_VIDEO BIT(7)
400 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h26 #define BIT(nr) (1UL << (nr)) macro
409 #define CMD_AXI_CFG_PRIM BIT(8)
410 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
411 #define CMD_AXI_CFG_SEC BIT(10)
412 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
414 #define CMD_AXI_CFG_TERT1 BIT(12)
415 #define CMD_AXI_CFG_TERT2 BIT(13)
421 #define AXI_CMD_PREVIEW BIT(0)
422 #define AXI_CMD_CAPTURE BIT(1)
424 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsm_isp.h4 #define BIT(nr) (1UL << (nr)) macro
324 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
325 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
326 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
327 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
328 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
329 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
330 #define VFE_OUTPUTS_PREVIEW BIT(6)
331 #define VFE_OUTPUTS_VIDEO BIT(7)
332 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h22 #define BIT(nr) (1UL << (nr)) macro
531 #define CMD_AXI_CFG_PRIM BIT(8)
532 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
533 #define CMD_AXI_CFG_SEC BIT(10)
534 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
535 #define CMD_AXI_CFG_TERT1 BIT(12)
536 #define CMD_AXI_CFG_TERT2 BIT(13)
545 #define AXI_CMD_PREVIEW BIT(0)
546 #define AXI_CMD_CAPTURE BIT(1)
547 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8994/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
390 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
391 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
392 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
394 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
395 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
396 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
397 #define VFE_OUTPUTS_PREVIEW BIT(6)
399 #define VFE_OUTPUTS_VIDEO BIT(7)
400 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_isp.h16 #define BIT(nr) (1UL << (nr)) macro
349 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
350 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
351 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
352 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
353 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
354 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
355 #define VFE_OUTPUTS_PREVIEW BIT(6)
356 #define VFE_OUTPUTS_VIDEO BIT(7)
357 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h32 #define BIT(nr) (1UL << (nr)) macro
490 #define CMD_AXI_CFG_PRIM BIT(8)
491 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
492 #define CMD_AXI_CFG_SEC BIT(10)
493 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
494 #define CMD_AXI_CFG_TERT1 BIT(12)
495 #define CMD_AXI_CFG_TERT2 BIT(13)
501 #define AXI_CMD_PREVIEW BIT(0)
502 #define AXI_CMD_CAPTURE BIT(1)
503 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8998/kernel-headers/linux/
Dspcom.h22 #ifndef BIT
24 #define BIT(x) (1 << x) macro
46 SPCOM_POLL_LINK_STATE = BIT(1),
47 SPCOM_POLL_CH_CONNECT = BIT(2),
49 SPCOM_POLL_READY_FLAG = BIT(14),
50 SPCOM_POLL_WAIT_FLAG = BIT(15),
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dspcom.h17 #ifndef BIT
18 #define BIT(x) (1 << x) macro
62 SPCOM_POLL_LINK_STATE = BIT(1),
63 SPCOM_POLL_CH_CONNECT = BIT(2),
64 SPCOM_POLL_READY_FLAG = BIT(14), /* output */
65 SPCOM_POLL_WAIT_FLAG = BIT(15), /* if set , wait for the event */
/hardware/qcom/wlan/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)
Dwifilogger_diag.cpp1947 if (ppdu_start->frame_control & BIT(DATA_PROTECTED)) in parse_tx_stats()
1960 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_CTRL); in parse_tx_stats()
1996 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_STAT); in parse_tx_stats()
2003 info->pkt_stats->tx_stats_events = BIT(PKTLOG_TYPE_TX_MSDU_ID); in parse_tx_stats()
2021 if ((info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_CTRL)) && in parse_tx_stats()
2022 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_STAT)) && in parse_tx_stats()
2023 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_MSDU_ID))) { in parse_tx_stats()
2043 if (info->pkt_stats->tx_seqnum_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
2044 if (info->pkt_stats->shifted_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
2057 & BIT(i - BITMAP_VAR_SIZE)) { in parse_tx_stats()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h53 #define BIT(num) (1 << (num)) macro
282 RC_VBR_VFR = BIT(0),
283 RC_VBR_CFR = BIT(1),
284 RC_CBR_VFR = BIT(2),
285 RC_CBR_CFR = BIT(3),
286 RC_MBR_CFR = BIT(4),
287 RC_MBR_VFR = BIT(5),
288 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/qcom/msm8998/kernel-headers/video/
Dmsm_hdmi_modes.h24 #define MSM_HDMI_RGB_888_24BPP_FORMAT BIT(0)
25 #define MSM_HDMI_YUV_420_12BPP_FORMAT BIT(1)

12