Lines Matching +full:0 +full:x40f

64 	if (state->power == 0)  in s5c73m3_g_volatile_ctrl()
75 return 0; in s5c73m3_g_volatile_ctrl()
89 for (i = 0; i < ARRAY_SIZE(colorfx); i++) { in s5c73m3_set_colorfx()
90 if (colorfx[i][0] != val) in s5c73m3_set_colorfx()
108 int ret = 0; in s5c73m3_set_exposure()
152 for (i = 0; i < ARRAY_SIZE(wb); i++) { in s5c73m3_set_white_balance()
153 if (wb[i][0] != val) in s5c73m3_set_white_balance()
186 int ret = 0; in s5c73m3_3a_lock()
218 if (ret != 0) in s5c73m3_set_auto_focus()
227 ret = s5c73m3_af_run(state, 0); in s5c73m3_set_auto_focus()
229 ret = 0; in s5c73m3_set_auto_focus()
236 u16 reg = (val < 0) ? -val + 2 : val; in s5c73m3_set_contrast()
242 u16 reg = (val < 0) ? -val + 2 : val; in s5c73m3_set_saturation()
248 u16 reg = (val < 0) ? -val + 2 : val; in s5c73m3_set_sharpness()
259 iso = 0; in s5c73m3_set_iso()
339 int ret = 0; in s5c73m3_s_ctrl()
350 if (state->power == 0) in s5c73m3_s_ctrl()
431 /* COMM_ISO: 0x0001...0x0004 */
437 /* COMM_EV: 0x0000...0x0008 */
438 -2000, -1500, -1000, -500, 0, 500, 1000, 1500, 2000
454 9, ~0x15e, V4L2_WHITE_BALANCE_AUTO); in s5c73m3_init_controls()
458 V4L2_CID_EXPOSURE_AUTO, 0, ~0x01, V4L2_EXPOSURE_AUTO); in s5c73m3_init_controls()
468 2, ~0x7, V4L2_EXPOSURE_METERING_AVERAGE); in s5c73m3_init_controls()
472 V4L2_CID_FOCUS_AUTO, 0, 1, 1, 0); in s5c73m3_init_controls()
475 V4L2_CID_AUTO_FOCUS_START, 0, 1, 1, 0); in s5c73m3_init_controls()
478 V4L2_CID_AUTO_FOCUS_STOP, 0, 1, 1, 0); in s5c73m3_init_controls()
481 V4L2_CID_AUTO_FOCUS_STATUS, 0, in s5c73m3_init_controls()
485 0, V4L2_AUTO_FOCUS_STATUS_IDLE); in s5c73m3_init_controls()
495 V4L2_CID_ISO_SENSITIVITY_AUTO, 1, 0, in s5c73m3_init_controls()
503 V4L2_CID_CONTRAST, -2, 2, 1, 0); in s5c73m3_init_controls()
506 V4L2_CID_SATURATION, -2, 2, 1, 0); in s5c73m3_init_controls()
509 V4L2_CID_SHARPNESS, -2, 2, 1, 0); in s5c73m3_init_controls()
512 V4L2_CID_ZOOM_ABSOLUTE, 0, 30, 1, 0); in s5c73m3_init_controls()
515 V4L2_COLORFX_AQUA, ~0x40f, V4L2_COLORFX_NONE); in s5c73m3_init_controls()
518 V4L2_CID_WIDE_DYNAMIC_RANGE, 0, 1, 1, 0); in s5c73m3_init_controls()
521 V4L2_CID_IMAGE_STABILIZATION, 0, 1, 1, 0); in s5c73m3_init_controls()
524 V4L2_CID_POWER_LINE_FREQUENCY_AUTO, 0, in s5c73m3_init_controls()
531 V4L2_CID_SCENE_MODE, V4L2_SCENE_MODE_TEXT, ~0x3fff, in s5c73m3_init_controls()
535 V4L2_CID_3A_LOCK, 0, 0x7, 0, 0); in s5c73m3_init_controls()
543 v4l2_ctrl_auto_cluster(3, &ctrls->auto_exposure, 0, false); in s5c73m3_init_controls()
546 v4l2_ctrl_auto_cluster(2, &ctrls->auto_iso, 0, false); in s5c73m3_init_controls()
552 return 0; in s5c73m3_init_controls()