54 lines
2.5 KiB
C
Executable File
54 lines
2.5 KiB
C
Executable File
/*
|
|
* Samsung Exynos SoC series FIMC-IS2 driver
|
|
*
|
|
* exynos fimc-is2 device interface functions
|
|
*
|
|
* Copyright (c) 2015 Samsung Electronics Co., Ltd
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef FIMC_IS_DEVICE_ITF_H
|
|
#define FIMC_IS_DEVICE_ITF_H
|
|
|
|
#include "fimc-is-core.h"
|
|
#include "fimc-is-groupmgr.h"
|
|
#include "fimc-is-device-ischain.h"
|
|
|
|
int fimc_is_itf_s_param_wrap(struct fimc_is_device_ischain *device,
|
|
u32 lindex, u32 hindex, u32 indexes);
|
|
int fimc_is_itf_a_param_wrap(struct fimc_is_device_ischain *device, u32 group);
|
|
int fimc_is_itf_f_param_wrap(struct fimc_is_device_ischain *device, u32 group);
|
|
int fimc_is_itf_enum_wrap(struct fimc_is_device_ischain *device);
|
|
void fimc_is_itf_storefirm_wrap(struct fimc_is_device_ischain *device);
|
|
void fimc_is_itf_restorefirm_wrap(struct fimc_is_device_ischain *device);
|
|
int fimc_is_itf_set_fwboot_wrap(struct fimc_is_device_ischain *device, u32 val);
|
|
int fimc_is_itf_open_wrap(struct fimc_is_device_ischain *device, u32 module_id,
|
|
u32 flag, u32 offset_path);
|
|
int fimc_is_itf_close_wrap(struct fimc_is_device_ischain *device);
|
|
int fimc_is_itf_setaddr_wrap(struct fimc_is_interface *itf,
|
|
struct fimc_is_device_ischain *device, ulong *setfile_addr);
|
|
int fimc_is_itf_setfile_wrap(struct fimc_is_interface *itf, ulong setfile_addr,
|
|
struct fimc_is_device_ischain *device);
|
|
int fimc_is_itf_map_wrap(struct fimc_is_device_ischain *device,
|
|
u32 group, u32 shot_addr, u32 shot_size);
|
|
int fimc_is_itf_unmap_wrap(struct fimc_is_device_ischain *device, u32 group);
|
|
int fimc_is_itf_stream_on_wrap(struct fimc_is_device_ischain *device);
|
|
int fimc_is_itf_stream_off_wrap(struct fimc_is_device_ischain *device);
|
|
int fimc_is_itf_process_on_wrap(struct fimc_is_device_ischain *device, u32 group);
|
|
int fimc_is_itf_process_off_wrap(struct fimc_is_device_ischain *device, u32 group,
|
|
u32 fstop);
|
|
void fimc_is_itf_sudden_stop_wrap(struct fimc_is_device_ischain *device, u32 instance);
|
|
int fimc_is_itf_power_down_wrap(struct fimc_is_interface *interface, u32 instance);
|
|
int fimc_is_itf_sys_ctl_wrap(struct fimc_is_device_ischain *device,
|
|
int cmd, int val);
|
|
int fimc_is_itf_sensor_mode_wrap(struct fimc_is_device_ischain *device,
|
|
struct fimc_is_sensor_cfg *cfg);
|
|
int fimc_is_itf_shot_wrap(struct fimc_is_device_ischain *device,
|
|
struct fimc_is_group *group, struct fimc_is_frame *frame);
|
|
void fimc_is_itf_sfr_dump_wrap(struct fimc_is_device_ischain *device, u32 group, bool flag_print_log);
|
|
|
|
#endif
|