Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 14 of 14) sorted by relevance

/device/moto/shamu/qrngd/
Dqrngd.c277 struct __user_cap_data_struct cap; in qrng_update_cap() local
280 memset(&cap, 0, sizeof(cap)); in qrng_update_cap()
292 cap.effective = (1 << CAP_SYS_ADMIN) | (1 << CAP_NET_RAW); in qrng_update_cap()
293 cap.permitted = cap.effective; in qrng_update_cap()
294 cap.inheritable = 0; in qrng_update_cap()
295 retvalue = capset(&header, &cap); in qrng_update_cap()
/device/htc/flounder/
Dinit.flounder_svelte.rc17 write /d/clock/cap.gbus/state 1
18 write /d/clock/cap.gbus/max 648000000
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp341 GLboolean GLEncoder::s_glIsEnabled(void *self, GLenum cap) in s_glIsEnabled() argument
345 int loc = ctx->m_state->getLocation(cap); in s_glIsEnabled()
351 return ctx->m_glIsEnabled_enc(self,cap); in s_glIsEnabled()
667 void GLEncoder::s_glDisable(void* self, GLenum cap) in s_glDisable() argument
672 if (cap == GL_TEXTURE_2D || cap == GL_TEXTURE_EXTERNAL_OES) { in s_glDisable()
674 state->disableTextureTarget(cap); in s_glDisable()
690 ctx->m_glDisable_enc(ctx, cap); in s_glDisable()
694 void GLEncoder::s_glEnable(void* self, GLenum cap) in s_glEnable() argument
699 if (cap == GL_TEXTURE_2D || cap == GL_TEXTURE_EXTERNAL_OES) { in s_glEnable()
701 state->enableTextureTarget(cap); in s_glEnable()
[all …]
DGLEncoder.h121 static GLboolean s_glIsEnabled(void *self, GLenum cap);
137 static void s_glDisable(void* self, GLenum cap);
138 static void s_glEnable(void* self, GLenum cap);
Dgl_entry.cpp73 void glDisable(GLenum cap);
77 void glEnable(GLenum cap);
103 GLboolean glIsEnabled(GLenum cap);
695 void glDisable(GLenum cap) in glDisable() argument
698 ctx->glDisable(ctx, cap); in glDisable()
719 void glEnable(GLenum cap) in glEnable() argument
722 ctx->glEnable(ctx, cap); in glEnable()
877 GLboolean glIsEnabled(GLenum cap) in glIsEnabled() argument
880 return ctx->glIsEnabled(ctx, cap); in glIsEnabled()
Dgl_enc.cpp1128 void glDisable_enc(void *self , GLenum cap) in glDisable_enc() argument
1140 memcpy(ptr, &cap, 4); ptr += 4; in glDisable_enc()
1175 void glEnable_enc(void *self , GLenum cap) in glEnable_enc() argument
1187 memcpy(ptr, &cap, 4); ptr += 4; in glEnable_enc()
1596 GLboolean glIsEnabled_enc(void *self , GLenum cap) in glIsEnabled_enc() argument
1608 memcpy(ptr, &cap, 4); ptr += 4; in glIsEnabled_enc()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c1622 cam_capability_t cap; in enableAFR() local
1629 rc = mm_camera_lib_get_caps(lib_handle, &cap); in enableAFR()
1635 for( i = 0, j = 0 ; i < cap.fps_ranges_tbl_cnt ; i++ ) { in enableAFR()
1636 if ( max_range < (cap.fps_ranges_tbl[i].max_fps - cap.fps_ranges_tbl[i].min_fps) ) { in enableAFR()
1643 &cap.fps_ranges_tbl[j], in enableAFR()
1648 cap.fps_ranges_tbl[j].min_fps, in enableAFR()
1649 cap.fps_ranges_tbl[j].max_fps, in enableAFR()
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c501 struct v4l2_capability cap; in mm_camera_query_capability() local
504 memset(&cap, 0, sizeof(cap)); in mm_camera_query_capability()
505 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap); in mm_camera_query_capability()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c502 struct v4l2_capability cap; in mm_camera_query_capability() local
505 memset(&cap, 0, sizeof(cap)); in mm_camera_query_capability()
506 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap); in mm_camera_query_capability()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c509 struct v4l2_capability cap; in mm_camera_query_capability() local
512 memset(&cap, 0, sizeof(cap)); in mm_camera_query_capability()
513 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap); in mm_camera_query_capability()
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_entry.cpp47 void glDisable(GLenum cap);
51 void glEnable(GLenum cap);
91 GLboolean glIsEnabled(GLenum cap);
458 void glDisable(GLenum cap) in glDisable() argument
461 ctx->glDisable(ctx, cap); in glDisable()
482 void glEnable(GLenum cap) in glEnable() argument
485 ctx->glEnable(ctx, cap); in glEnable()
726 GLboolean glIsEnabled(GLenum cap) in glIsEnabled() argument
729 return ctx->glIsEnabled(ctx, cap); in glIsEnabled()
Dgl2_enc.cpp686 void glDisable_enc(void *self , GLenum cap) in glDisable_enc() argument
698 memcpy(ptr, &cap, 4); ptr += 4; in glDisable_enc()
733 void glEnable_enc(void *self , GLenum cap) in glEnable_enc() argument
745 memcpy(ptr, &cap, 4); ptr += 4; in glEnable_enc()
1459 GLboolean glIsEnabled_enc(void *self , GLenum cap) in glIsEnabled_enc() argument
1471 memcpy(ptr, &cap, 4); ptr += 4; in glIsEnabled_enc()
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp381 void glDisable(GLenum cap) in glDisable() argument
383 getDispatch()->glDisable(cap); in glDisable()
401 void glEnable(GLenum cap) in glEnable() argument
403 getDispatch()->glEnable(cap); in glEnable()
531 GLboolean glIsEnabled(GLenum cap) in glIsEnabled() argument
533 return getDispatch()->glIsEnabled(cap); in glIsEnabled()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp1292 struct v4l2_capability cap; in initUsbCamera() local
1300 if (-1 == ioctlLoop(camHal->fd, VIDIOC_QUERYCAP, &cap)) { in initUsbCamera()
1310 if (!(cap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { in initUsbCamera()
1315 if (!(cap.capabilities & V4L2_CAP_STREAMING)) { in initUsbCamera()