Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 163) sorted by relevance

1234567

/device/google/contexthub/firmware/os/cpu/cortexm4/
DatomicBitset.c46 uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp; in atomicBitsetClearBit() local
57 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetClearBit()
58 :"2"(wordPtr), "3"(mask) in atomicBitsetClearBit()
66 uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp; in atomicBitsetSetBit() local
77 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetSetBit()
78 :"2"(wordPtr), "3"(mask) in atomicBitsetSetBit()
/device/google/comet/sensors/
Dsensors_dummy.c184 uint32_t mask = SUPPORTED_SENSORS & d->pendingSensors; in sensor_device_pick_pending_event_locked() local
186 if (mask) { in sensor_device_pick_pending_event_locked()
187 uint32_t i = 31 - __builtin_clz(mask); in sensor_device_pick_pending_event_locked()
253 uint32_t mask = (1U << handle); in sensor_device_activate() local
254 uint32_t sensors = enabled ? mask : 0; in sensor_device_activate()
259 uint32_t new_sensors = (active & ~mask) | (sensors & mask); in sensor_device_activate()
/device/google/akita/sensors/
Dsensors_dummy.c184 uint32_t mask = SUPPORTED_SENSORS & d->pendingSensors; in sensor_device_pick_pending_event_locked() local
186 if (mask) { in sensor_device_pick_pending_event_locked()
187 uint32_t i = 31 - __builtin_clz(mask); in sensor_device_pick_pending_event_locked()
253 uint32_t mask = (1U << handle); in sensor_device_activate() local
254 uint32_t sensors = enabled ? mask : 0; in sensor_device_activate()
259 uint32_t new_sensors = (active & ~mask) | (sensors & mask); in sensor_device_activate()
/device/google/cuttlefish/host/commands/log_tee/
Dlog_tee.cpp84 sigset_t mask; in main() local
85 sigemptyset(&mask); in main()
86 sigaddset(&mask, SIGINT); in main()
87 CHECK(sigprocmask(SIG_BLOCK, &mask, NULL) == 0) in main()
90 int sfd = signalfd(-1, &mask, 0); in main()
/device/google/cuttlefish/guest/services/suspend_blocker/
Dsuspend_blocker.cpp26 sigset_t mask; in main() local
27 sigemptyset(&mask); in main()
28 return sigsuspend(&mask); // Infinite sleep in main()
/device/google/cuttlefish/common/libs/utils/
Dinotify.cpp36 std::vector<std::string> GetFileListFromInotifyFd(int fd, uint32_t mask) { in GetFileListFromInotifyFd() argument
62 if (!(event->mask & mask)) { in GetFileListFromInotifyFd()
Dinotify.h24 std::vector<std::string> GetFileListFromInotifyFd(int fd, uint32_t mask);
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles2_core.entries20 void glClear(GLbitfield mask);
104 void glStencilFunc(GLenum func, GLint ref, GLuint mask);
105 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
106 void glStencilMask(GLuint mask);
107 void glStencilMaskSeparate(GLenum face, GLuint mask);
Dgles1_core.entries53 void glClear(GLbitfield mask);
135 void glStencilFunc(GLenum func, GLint ref, GLuint mask);
136 void glStencilMask(GLuint mask);
/device/generic/goldfish/audio/
Dio_thread.cpp26 bool IOThread::notify(const uint32_t mask) { in notify() argument
29 if (NO_ERROR == evf->wake(mask)) { in notify()
Dutil.cpp122 size_t countChannels(const AudioChannelMask &mask) { in countChannels() argument
123 return xsd::getChannelCount(mask); in countChannels()
Dio_thread.h32 virtual bool notify(uint32_t mask);
Dutil.h42 size_t countChannels(const AudioChannelMask &mask);
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp120 uint32_t mask = m_availableSensorsMask; in getSensorsList_2_1() local
121 for (int i = 0; mask; ++i, mask >>= 1) { in getSensorsList_2_1()
122 if (mask & 1) { in getSensorsList_2_1()
/device/google/contexthub/firmware/os/platform/stm32/
Ddma.c184 static inline void dmaClearIsr(uint8_t busId, uint8_t stream, uint8_t mask) in dmaClearIsr() argument
188 dev->regs->LIFCR = mask << STM_DMA_FEIFx_OFFSET[stream]; in dmaClearIsr()
190 dev->regs->HIFCR = mask << STM_DMA_FEIFx_OFFSET[stream - 4]; in dmaClearIsr()
Di2c.c291 uint32_t mask) in stmI2cIrqEnable() argument
293 pdev->cfg->regs->CR2 |= mask; in stmI2cIrqEnable()
297 uint32_t mask) in stmI2cIrqDisable() argument
299 pdev->cfg->regs->CR2 &= ~mask; in stmI2cIrqDisable()
/device/google/contexthub/firmware/os/cpu/x86/
DatomicBitset.c47 uint32_t idx = num / 32, mask = 1UL << (num & 31); in atomicBitsetClearBit() local
57 new = old &~ mask; in atomicBitsetClearBit()
/device/google/coral-kernel/sm8150/kernel-headers/linux/mfd/wcd9xxx/
Dwcd9320_registers.h1398 #define TAIKO_CODEC_PACK_ENTRY(reg,mask,val) ((val & 0xff) | ((mask & 0xff) << 8) | ((reg & 0xffff)… argument
1399 #define TAIKO_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xffff))); (… argument
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/mfd/wcd9xxx/
Dwcd9320_registers.h1389 #define TAIKO_CODEC_PACK_ENTRY(reg, mask, val) ((val & 0xff)|\ argument
1390 ((mask & 0xff) << 8)|((reg & 0xffff) << 16))
1392 #define TAIKO_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument
1395 ((mask) = ((packed >> 8) & (0xff))); \
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/mfd/wcd9xxx/
Dwcd9320_registers.h1398 #define TAIKO_CODEC_PACK_ENTRY(reg,mask,val) ((val & 0xff) | ((mask & 0xff) << 8) | ((reg & 0xffff)… argument
1399 #define TAIKO_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xffff))); (… argument
/device/google/redbull-kernel/sm7250/kernel-headers/linux/mfd/wcd9xxx/
Dwcd9320_registers.h1386 #define TAIKO_CODEC_PACK_ENTRY(reg,mask,val) ((val & 0xff) | ((mask & 0xff) << 8) | ((reg & 0xffff)… argument
1387 #define TAIKO_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xffff))); (… argument
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/mfd/wcd9xxx/
Dwcd9320_registers.h1389 #define TAIKO_CODEC_PACK_ENTRY(reg, mask, val) ((val & 0xff)|\ argument
1390 ((mask & 0xff) << 8)|((reg & 0xffff) << 16))
1392 #define TAIKO_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument
1395 ((mask) = ((packed >> 8) & (0xff))); \
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/mfd/wcd9xxx/
Dwcd9320_registers.h1389 #define TAIKO_CODEC_PACK_ENTRY(reg, mask, val) ((val & 0xff)|\ argument
1390 ((mask & 0xff) << 8)|((reg & 0xffff) << 16))
1392 #define TAIKO_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument
1395 ((mask) = ((packed >> 8) & (0xff))); \
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.in16 GL_ENTRY(void, glClear, GLbitfield mask)
100 GL_ENTRY(void, glStencilFunc, GLenum func, GLint ref, GLuint mask)
101 GL_ENTRY(void, glStencilFuncSeparate, GLenum face, GLenum func, GLint ref, GLuint mask)
102 GL_ENTRY(void, glStencilMask, GLuint mask)
103 GL_ENTRY(void, glStencilMaskSeparate, GLenum face, GLuint mask)
186 GL_ENTRY(void, glCoverageMaskNV, GLboolean mask)
381 …, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
549 GL_ENTRY(void, glSampleMaski, GLuint maskNumber, GLbitfield mask)
/device/google/zuma/radio/config/default/
DAndroid.bp59 // the mask should also be copied to another folder to be accessible to logmasklibrary

1234567