Home
last modified time | relevance | path

Searched refs:fimc (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/media/video/s5p-fimc/
Dfimc-capture.c35 static struct v4l2_subdev *fimc_subdev_register(struct fimc_dev *fimc, in fimc_subdev_register() argument
39 struct fimc_vid_cap *vid_cap = &fimc->vid_cap; in fimc_subdev_register()
59 static void fimc_subdev_unregister(struct fimc_dev *fimc) in fimc_subdev_unregister() argument
61 struct fimc_vid_cap *vid_cap = &fimc->vid_cap; in fimc_subdev_unregister()
86 static int fimc_subdev_attach(struct fimc_dev *fimc, int index) in fimc_subdev_attach() argument
88 struct fimc_vid_cap *vid_cap = &fimc->vid_cap; in fimc_subdev_attach()
89 struct s5p_platform_fimc *pdata = fimc->pdata; in fimc_subdev_attach()
100 sd = fimc_subdev_register(fimc, isp_info); in fimc_subdev_attach()
112 fimc->id); in fimc_subdev_attach()
116 static int fimc_isp_subdev_init(struct fimc_dev *fimc, unsigned int index) in fimc_isp_subdev_init() argument
[all …]
Dfimc-core.c313 struct fimc_dev *fimc = ctx->fimc_dev; in fimc_m2m_job_finish() local
324 v4l2_m2m_job_finish(fimc->m2m.m2m_dev, ctx->m2m_ctx); in fimc_m2m_job_finish()
331 struct fimc_dev *fimc = ctx->fimc_dev; in fimc_m2m_shutdown() local
334 if (!fimc_m2m_pending(fimc)) in fimc_m2m_shutdown()
339 ret = wait_event_timeout(fimc->irq_queue, in fimc_m2m_shutdown()
360 static void fimc_capture_irq_handler(struct fimc_dev *fimc) in fimc_capture_irq_handler() argument
362 struct fimc_vid_cap *cap = &fimc->vid_cap; in fimc_capture_irq_handler()
368 test_bit(ST_CAPT_RUN, &fimc->state)) { in fimc_capture_irq_handler()
381 if (test_and_clear_bit(ST_CAPT_SHUT, &fimc->state)) { in fimc_capture_irq_handler()
382 wake_up(&fimc->irq_queue); in fimc_capture_irq_handler()
[all …]
DMakefile2 obj-$(CONFIG_VIDEO_SAMSUNG_S5P_FIMC) := s5p-fimc.o
3 s5p-fimc-y := fimc-core.o fimc-reg.o fimc-capture.o
Dfimc-core.h469 static inline bool fimc_capture_active(struct fimc_dev *fimc) in fimc_capture_active() argument
474 spin_lock_irqsave(&fimc->slock, flags); in fimc_capture_active()
475 ret = !!(fimc->state & (1 << ST_CAPT_RUN) || in fimc_capture_active()
476 fimc->state & (1 << ST_CAPT_PEND)); in fimc_capture_active()
477 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_capture_active()
592 void fimc_hw_reset(struct fimc_dev *fimc);
596 void fimc_hw_en_lastirq(struct fimc_dev *fimc, int enable);
597 void fimc_hw_en_irq(struct fimc_dev *fimc, int enable);
605 void fimc_hw_set_input_addr(struct fimc_dev *fimc, struct fimc_addr *paddr);
606 void fimc_hw_set_output_addr(struct fimc_dev *fimc, struct fimc_addr *paddr,
[all …]
Dfimc-reg.c544 int fimc_hw_set_camera_polarity(struct fimc_dev *fimc, in fimc_hw_set_camera_polarity() argument
547 u32 cfg = readl(fimc->regs + S5P_CIGCTRL); in fimc_hw_set_camera_polarity()
564 writel(cfg, fimc->regs + S5P_CIGCTRL); in fimc_hw_set_camera_polarity()
569 int fimc_hw_set_camera_source(struct fimc_dev *fimc, in fimc_hw_set_camera_source() argument
572 struct fimc_frame *f = &fimc->vid_cap.ctx->s_frame; in fimc_hw_set_camera_source()
591 if (fimc->vid_cap.fmt.code == pix_desc[i].pixelcode) { in fimc_hw_set_camera_source()
599 v4l2_err(&fimc->vid_cap.v4l2_dev, in fimc_hw_set_camera_source()
601 fimc->vid_cap.fmt.code); in fimc_hw_set_camera_source()
614 writel(cfg, fimc->regs + S5P_CISRCFMT); in fimc_hw_set_camera_source()
619 int fimc_hw_set_camera_offset(struct fimc_dev *fimc, struct fimc_frame *f) in fimc_hw_set_camera_offset() argument
[all …]
/linux-2.6.39/arch/arm/mach-s5pv210/
DMakefile34 obj-$(CONFIG_S5PV210_SETUP_FIMC) += setup-fimc.o
/linux-2.6.39/arch/arm/mach-exynos4/
DMakefile46 obj-$(CONFIG_EXYNOS4_SETUP_FIMC) += setup-fimc.o
/linux-2.6.39/drivers/media/video/
DMakefile167 obj-$(CONFIG_VIDEO_SAMSUNG_S5P_FIMC) += s5p-fimc/
/linux-2.6.39/
DMAINTAINERS1058 F: arch/arm/plat-s5p/dev-fimc*
1059 F: arch/arm/plat-samsung/include/plat/*fimc*
1060 F: drivers/media/video/s5p-fimc/