Lines Matching +full:fimc +full:- +full:isp
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
21 #include <media/videobuf2-v4l2.h>
22 #include <media/v4l2-ctrls.h>
24 #include "fimc-isp.h"
25 #include "fimc-is-command.h"
26 #include "fimc-is-sensor.h"
27 #include "fimc-is-param.h"
28 #include "fimc-is-regs.h"
30 #define FIMC_IS_DRV_NAME "exynos4-fimc-is"
42 #define FIMC_IS_CPU_BASE_MASK ((1 << 26) - 1)
59 #define FIMC_IS_FW_ADDR_MASK ((1 << 26) - 1)
223 struct isp_param isp; member
231 * struct fimc_is - fimc-is data structure
232 * @pdev: pointer to FIMC-IS platform device
234 * @fw: data structure describing the FIMC-IS firmware binary
235 * @memory: memory region assigned for the FIMC-IS (firmware)
236 * @isp: the ISP block data structure
237 * @sensor: fimc-is sensor subdevice array
242 * @clocks: FIMC-LITE gate clock
244 * @pmu_regs: PMU ISP mmapped registers region
245 * @irq: FIMC-IS interrupt
250 * @i2h_cmd: FIMC-IS to the host (CPU) mailbox command data structure
251 * @h2i_cmd: the host (CPU) to FIMC-IS mailbox command data structure
268 struct fimc_isp isp; member
302 static inline struct fimc_is *fimc_isp_to_is(struct fimc_isp *isp) in fimc_isp_to_is() argument
304 return container_of(isp, struct fimc_is, isp); in fimc_isp_to_is()
309 return &is->config[is->config_index]; in __get_curr_is_config()
319 struct chain_config *cfg = &is->config[is->config_index]; in fimc_is_set_param_bit()
321 set_bit(num, &cfg->p_region_index[0]); in fimc_is_set_param_bit()
326 is->is_p_region->parameter.isp.control.cmd = cmd; in fimc_is_set_param_ctrl_cmd()
331 writel(v, is->regs + offset); in mcuctl_write()
336 return readl(is->regs + offset); in mcuctl_read()
341 writel(v, is->pmu_regs + offset); in pmuisp_write()
346 return readl(is->pmu_regs + offset); in pmuisp_read()