Lines Matching +full:0 +full:- +full:127

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
5 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd.
35 #define FIMC_IS_MAGIC_NUMBER 0x01020304
106 #define FIMC_IS_INT_GENERAL 0
111 #define CONTROL_COMMAND_STOP 0
114 #define CONTROL_BYPASS_DISABLE 0
117 #define CONTROL_ERROR_NONE 0
119 /* OTF (On-The-Fly) input interface commands */
120 #define OTF_INPUT_COMMAND_DISABLE 0
125 OTF_INPUT_FORMAT_BAYER = 0, /* 1 channel */
133 #define OTF_INPUT_ORDER_BAYER_GR_BG 0
136 #define OTF_INPUT_ERROR_NONE 0 /* Input setting is done */
139 #define DMA_INPUT_COMMAND_DISABLE 0
144 DMA_INPUT_FORMAT_BAYER = 0,
152 DMA_INPUT_ORDER_NO = 0,
173 #define DMA_INPUT_ERROR_NONE 0 /* DMA input setting
178 #define OTF_OUTPUT_CROP_DISABLE 0
181 #define OTF_OUTPUT_COMMAND_DISABLE 0
191 #define OTF_OUTPUT_ORDER_BAYER_GR_BG 0
193 #define OTF_OUTPUT_ERROR_NONE 0 /* Output Setting is done */
195 #define DMA_OUTPUT_COMMAND_DISABLE 0
199 DMA_OUTPUT_FORMAT_BAYER = 0,
207 DMA_OUTPUT_ORDER_NO = 0,
242 #define DMA_OUTPUT_NOTIFY_DMA_DONE_DISABLE 0
246 #define DMA_OUTPUT_ERROR_NONE 0 /* DMA output setting
249 /* ---------------------- Global ----------------------------------- */
250 #define GLOBAL_SHOTMODE_ERROR_NONE 0 /* shot-mode setting
253 #define ISP_AA_COMMAND_START 0
262 ISP_AF_MODE_MANUAL = 0,
273 #define ISP_AF_FACE_DISABLE 0
277 #define ISP_AF_RANGE_NORMAL 0
281 #define ISP_AF_SLEEP_OFF 0
285 #define ISP_AF_CONTINUOUS_DISABLE 0
289 #define ISP_AF_ERROR_NONE 0 /* AF mode change is done */
293 #define ISP_FLASH_COMMAND_DISABLE 0
298 /* Flash red-eye commands */
299 #define ISP_FLASH_REDEYE_DISABLE 0
303 #define ISP_FLASH_ERROR_NONE 0 /* Flash setting is done */
305 /* -------------------------- AWB ------------------------------------ */
307 ISP_AWB_COMMAND_AUTO = 0,
313 ISP_AWB_ILLUMINATION_DAYLIGHT = 0,
320 #define ISP_AWB_ERROR_NONE 0 /* AWB setting is done */
322 /* -------------------------- Effect ----------------------------------- */
324 ISP_IMAGE_EFFECT_DISABLE = 0,
332 #define ISP_IMAGE_EFFECT_ERROR_NONE 0 /* Image effect setting
335 #define ISP_ISO_COMMAND_AUTO 0
339 #define ISP_ISO_ERROR_NONE 0 /* ISO setting is done */
342 #define ISP_ADJUST_COMMAND_AUTO (0 << 0)
343 #define ISP_ADJUST_COMMAND_MANUAL_CONTRAST (1 << 0)
349 #define ISP_ADJUST_COMMAND_MANUAL_ALL 0x7f
352 #define ISP_ADJUST_ERROR_NONE 0 /* Adjust setting is done */
358 ISP_METERING_COMMAND_AVERAGE = 0,
365 #define ISP_METERING_ERROR_NONE 0 /* Metering setting is done */
371 ISP_AFC_COMMAND_DISABLE = 0,
379 /* ------------------------ SCENE MODE--------------------------------- */
381 ISP_SCENE_NONE = 0,
399 #define ISP_AFC_ERROR_NONE 0 /* AFC setting is done */
401 /* ---------------------------- FD ------------------------------------- */
403 FD_CONFIG_COMMAND_MAXIMUM_NUMBER = 0x1,
404 FD_CONFIG_COMMAND_ROLL_ANGLE = 0x2,
405 FD_CONFIG_COMMAND_YAW_ANGLE = 0x4,
406 FD_CONFIG_COMMAND_SMILE_MODE = 0x8,
407 FD_CONFIG_COMMAND_BLINK_MODE = 0x10,
408 FD_CONFIG_COMMAND_EYES_DETECT = 0x20,
409 FD_CONFIG_COMMAND_MOUTH_DETECT = 0x40,
410 FD_CONFIG_COMMAND_ORIENTATION = 0x80,
411 FD_CONFIG_COMMAND_ORIENTATION_VALUE = 0x100
415 FD_CONFIG_ROLL_ANGLE_BASIC = 0,
424 FD_CONFIG_YAW_ANGLE_0 = 0,
431 #define FD_CONFIG_SMILE_MODE_DISABLE 0
435 #define FD_CONFIG_BLINK_MODE_DISABLE 0
439 #define FD_CONFIG_EYES_DETECT_DISABLE 0
443 #define FD_CONFIG_MOUTH_DETECT_DISABLE 0
446 #define FD_CONFIG_ORIENTATION_DISABLE 0
455 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 6];
472 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 13];
486 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 10];
497 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 7];
513 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 12];
520 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 3];
526 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 2];
540 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 10];
547 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 3];
554 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 3];
560 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 2];
567 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 3];
579 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 8];
589 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 6];
596 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 3];
604 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 4];
618 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 10];
629 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 7];
635 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 2];
641 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 2];
647 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 2];
662 u32 reserved[FIMC_IS_PARAM_MAX_ENTRIES - 11];
787 /* Brightness level: range 0...100, default 7. */
789 /* Contrast level: range -127...127, default 0. */
791 /* Saturation level: range -127...127, default 0. */
795 /* Hue: range -127...127, default 0. */
797 /* Sharpness blur: range -127...127, default 0. */
799 /* Despeckle : range -127~127, default : 0 */
801 /* Edge color supression: range -127...127, default 0. */
803 /* Noise reduction: range -127...127, default 0. */
823 #define FLASH_FIRED_SHIFT 0
824 #define FLASH_NOT_FIRED 0
828 #define FLASH_STROBE_NO_DETECTION 0
834 #define FLASH_MODE_UNKNOWN 0
840 #define FLASH_FUNCTION_PRESENT 0
844 #define FLASH_RED_EYE_DISABLED 0
848 F1_0 = 0,
945 /* 0 : SIRC_ISP_CAMERA_AUTOFOCUSMESSAGE_NOMESSAGE */
969 u32 write_point; /* 0~ 500KB boundary */
970 u32 assert_flag; /* 0: Not invoked, 1: Invoked */
971 u32 pabort_flag; /* 0: Not invoked, 1: Invoked */
972 u32 dabort_flag; /* 0: Not invoked, 1: Invoked */
980 /* Skip setfile loading when fast_open_sensor is not 0 */