Searched refs:BIT (Results 1 - 22 of 22) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUtil.cpp78 if (byte & BIT(6)) {
81 } else if (byte & BIT(5)) {
84 } else if (byte & BIT(4)) {
87 } else if (byte & BIT(3)) {
90 } else if (byte & BIT(2)) {
93 } else if (byte & BIT(1)) {
96 } else if (byte & BIT(0)) {
107 if (byte & BIT(2)) {
110 } else if (byte & BIT(1)) {
113 } else if (byte & BIT(
[all...]
H A DAudioUtil.h21 #define BIT(nr) (1UL << (nr)) macro
/hardware/qcom/msm8960/kernel-headers/media/
H A 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(
[all...]
H A 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(
[all...]
/hardware/qcom/msm8960/original-kernel-headers/media/
H A 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(
[all...]
H A 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(
[all...]
/hardware/qcom/msm8994/kernel-headers/media/
H A 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(
[all...]
/hardware/qcom/msm8994/original-kernel-headers/media/
H A 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(
[all...]
/hardware/qcom/msm8996/kernel-headers/media/
H A 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(
[all...]
H A Dmsm_camera.h36 #define BIT(nr) (1UL << (nr)) macro
419 #define CMD_AXI_CFG_PRIM BIT(8)
420 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
421 #define CMD_AXI_CFG_SEC BIT(10)
422 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
424 #define CMD_AXI_CFG_TERT1 BIT(12)
425 #define CMD_AXI_CFG_TERT2 BIT(13)
431 #define AXI_CMD_PREVIEW BIT(0)
432 #define AXI_CMD_CAPTURE BIT(1)
434 #define AXI_CMD_RECORD BIT(
[all...]
/hardware/qcom/msm8996/original-kernel-headers/media/
H A 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(
[all...]
H A Dmsm_camera.h30 #define BIT(nr) (1UL << (nr)) macro
539 #define CMD_AXI_CFG_PRIM BIT(8)
540 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
541 #define CMD_AXI_CFG_SEC BIT(10)
542 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
543 #define CMD_AXI_CFG_TERT1 BIT(12)
544 #define CMD_AXI_CFG_TERT2 BIT(13)
553 #define AXI_CMD_PREVIEW BIT(0)
554 #define AXI_CMD_CAPTURE BIT(1)
555 #define AXI_CMD_RECORD BIT(
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
H A Dx86.h115 #ifndef BIT
116 #define BIT(n) (1<<n) macro
147 if (reg_edx & BIT(23)) flags |= HAS_MMX;
149 if (reg_edx & BIT(25)) flags |= HAS_SSE; /* aka xmm */
151 if (reg_edx & BIT(26)) flags |= HAS_SSE2; /* aka wmt */
153 if (reg_ecx & BIT(0)) flags |= HAS_SSE3;
155 if (reg_ecx & BIT(9)) flags |= HAS_SSSE3;
157 if (reg_ecx & BIT(19)) flags |= HAS_SSE4_1;
159 if (reg_ecx & BIT(28)) flags |= HAS_AVX;
166 if (reg_ebx & BIT(
[all...]
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A DtdlsCommand.h69 #define IS_GLOBAL_TDLS_SUPPORTED BIT(0)
70 #define IS_PER_MAC_TDLS_SUPPORTED BIT(1)
71 #define IS_OFF_CHANNEL_TDLS_SUPPORTED BIT(2)
H A Dcommon.h59 #define BIT(x) (1 << (x)) macro
H A Dwifilogger_diag.cpp1611 if (ppdu_start->frame_control & BIT(DATA_PROTECTED))
1624 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_CTRL);
1660 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_STAT);
1667 info->pkt_stats->tx_stats_events = BIT(PKTLOG_TYPE_TX_MSDU_ID);
1685 if ((info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_CTRL)) &&
1686 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_STAT)) &&
1687 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_MSDU_ID))) {
1707 if (info->pkt_stats->tx_seqnum_bitmap_31_0 & BIT(i)) {
1708 if (info->pkt_stats->shifted_bitmap_31_0 & BIT(i)) {
1721 & BIT(
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_device_v4l2.h44 #define BIT(num) (1 << (num)) macro
240 RC_VBR_VFR = BIT(0),
241 RC_VBR_CFR = BIT(1),
242 RC_CBR_VFR = BIT(2),
243 RC_CBR_CFR = BIT(3),
/hardware/bsp/intel/peripheral/libupm/src/mma7455/
H A Dmma7455.cxx55 data = (BIT (MMA7455_GLVL0) | BIT (MMA7455_MODE0));
H A Dmma7455.h150 #define BIT(n) (1<<n) macro
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_device_v4l2.h48 #define BIT(num) (1 << (num)) macro
297 RC_VBR_VFR = BIT(0),
298 RC_VBR_CFR = BIT(1),
299 RC_CBR_VFR = BIT(2),
300 RC_CBR_CFR = BIT(3),
/hardware/qcom/msm8996/kernel-headers/video/
H A Dmsm_hdmi_modes.h24 #define MSM_HDMI_RGB_888_24BPP_FORMAT BIT(0)
25 #define MSM_HDMI_YUV_420_12BPP_FORMAT BIT(1)
/hardware/qcom/msm8996/original-kernel-headers/video/
H A Dmsm_hdmi_modes.h6 #define MSM_HDMI_RGB_888_24BPP_FORMAT BIT(0)
7 #define MSM_HDMI_YUV_420_12BPP_FORMAT BIT(1)

Completed in 3652 milliseconds