Home | History | Annotate | Download | only in mm-camera-interface

Lines Matching refs:ctrl_cmd

414     struct msm_ctrl_cmd ctrl_cmd;
415 memset(&ctrl_cmd, 0, sizeof(ctrl_cmd));
416 ctrl_cmd.type = type;
417 ctrl_cmd.length = (uint16_t)length;
418 ctrl_cmd.timeout_ms = 1000;
419 ctrl_cmd.value = value;
420 ctrl_cmd.status = CAM_CTRL_SUCCESS;
422 (int)&ctrl_cmd);
424 __func__, type, rc, ctrl_cmd.status);
426 if(rc != MM_CAMERA_OK || ((ctrl_cmd.status != CAM_CTRL_ACCEPTED) &&
427 (ctrl_cmd.status != CAM_CTRL_SUCCESS) &&
428 (ctrl_cmd.status != CAM_CTRL_INVALID_PARM)))
437 struct msm_ctrl_cmd ctrl_cmd;
438 memset(&ctrl_cmd, 0, sizeof(ctrl_cmd));
439 ctrl_cmd.type = type;
440 ctrl_cmd.length = (uint16_t)length;
441 ctrl_cmd.timeout_ms = timeout;
442 ctrl_cmd.value = value;
443 ctrl_cmd.status = CAM_CTRL_SUCCESS;
445 (int)&ctrl_cmd);
447 __func__, type, rc, ctrl_cmd.status);
448 if(rc != MM_CAMERA_OK || ((ctrl_cmd.status != CAM_CTRL_ACCEPTED) &&
449 (ctrl_cmd.status != CAM_CTRL_SUCCESS) &&
450 (ctrl_cmd.status != CAM_CTRL_INVALID_PARM)))