Lines Matching +full:fimc +full:- +full:isp
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
22 #include <media/videobuf2-v4l2.h>
23 #include <media/v4l2-ctrls.h>
25 #include "fimc-isp.h"
26 #include "fimc-is-command.h"
27 #include "fimc-is-sensor.h"
28 #include "fimc-is-param.h"
29 #include "fimc-is-regs.h"
31 #define FIMC_IS_DRV_NAME "exynos4-fimc-is"
43 #define FIMC_IS_CPU_BASE_MASK ((1 << 26) - 1)
60 #define FIMC_IS_FW_ADDR_MASK ((1 << 26) - 1)
224 struct isp_param isp; member
232 * struct fimc_is - fimc-is data structure
233 * @pdev: pointer to FIMC-IS platform device
236 * @fw: data structure describing the FIMC-IS firmware binary
237 * @memory: memory region assigned for the FIMC-IS (firmware)
238 * @isp: the ISP block data structure
239 * @sensor: fimc-is sensor subdevice array
244 * @clocks: FIMC-LITE gate clock
246 * @pmu_regs: PMU ISP mmapped registers region
247 * @irq: FIMC-IS interrupt
252 * @i2h_cmd: FIMC-IS to the host (CPU) mailbox command data structure
253 * @h2i_cmd: the host (CPU) to FIMC-IS mailbox command data structure
271 struct fimc_isp isp; member
305 static inline struct fimc_is *fimc_isp_to_is(struct fimc_isp *isp) in fimc_isp_to_is() argument
307 return container_of(isp, struct fimc_is, isp); in fimc_isp_to_is()
312 return &is->config[is->config_index]; in __get_curr_is_config()
322 struct chain_config *cfg = &is->config[is->config_index]; in fimc_is_set_param_bit()
324 set_bit(num, &cfg->p_region_index[0]); in fimc_is_set_param_bit()
329 is->is_p_region->parameter.isp.control.cmd = cmd; in fimc_is_set_param_ctrl_cmd()
334 writel(v, is->regs + offset); in mcuctl_write()
339 return readl(is->regs + offset); in mcuctl_read()
344 writel(v, is->pmu_regs + offset); in pmuisp_write()
349 return readl(is->pmu_regs + offset); in pmuisp_read()