linux/drivers/media/platform/samsung/exynos4-is/fimc-is-command.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Samsung Exynos4x12 FIMC-IS (Imaging Subsystem) driver
 *
 * FIMC-IS command set definitions
 *
 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
 *
 * Authors: Younghwan Joo <[email protected]>
 *          Sylwester Nawrocki <[email protected]>
 */

#ifndef FIMC_IS_CMD_H_
#define FIMC_IS_CMD_H_

#define FIMC_IS_COMMAND_VER

/* Enumeration of commands between the FIMC-IS and the host processor. */

/* HOST to FIMC-IS */
#define HIC_PREVIEW_STILL
#define HIC_PREVIEW_VIDEO
#define HIC_CAPTURE_STILL
#define HIC_CAPTURE_VIDEO
#define HIC_STREAM_ON
#define HIC_STREAM_OFF
#define HIC_SET_PARAMETER
#define HIC_GET_PARAMETER
#define HIC_SET_TUNE
#define HIC_GET_STATUS
/* Sensor part */
#define HIC_OPEN_SENSOR
#define HIC_CLOSE_SENSOR
#define HIC_SIMMIAN_INIT
#define HIC_SIMMIAN_WRITE
#define HIC_SIMMIAN_READ
#define HIC_POWER_DOWN
#define HIC_GET_SET_FILE_ADDR
#define HIC_LOAD_SET_FILE
#define HIC_MSG_CONFIG
#define HIC_MSG_TEST
/* FIMC-IS to HOST */
#define IHC_GET_SENSOR_NUM
#define IHC_SET_SHOT_MARK
/* parameter1: frame number */
/* parameter2: confidence level (smile 0~100) */
/* parameter3: confidence level (blink 0~100) */
#define IHC_SET_FACE_MARK
/* parameter1: coordinate count */
/* parameter2: coordinate buffer address */
#define IHC_FRAME_DONE
/* parameter1: frame start number */
/* parameter2: frame count */
#define IHC_AA_DONE
#define IHC_NOT_READY

#define IH_REPLY_DONE
#define IH_REPLY_NOT_DONE

enum fimc_is_scenario {};

enum fimc_is_sub_scenario {};

struct is_common_regs {} __packed;

struct is_mcuctl_reg {} __packed;

#endif /* FIMC_IS_CMD_H_ */