Lines Matching refs:fimc

556 int fimc_hw_set_camera_polarity(struct fimc_dev *fimc,  in fimc_hw_set_camera_polarity()  argument
559 u32 cfg = readl(fimc->regs + FIMC_REG_CIGCTRL); in fimc_hw_set_camera_polarity()
580 writel(cfg, fimc->regs + FIMC_REG_CIGCTRL); in fimc_hw_set_camera_polarity()
598 int fimc_hw_set_camera_source(struct fimc_dev *fimc, in fimc_hw_set_camera_source() argument
601 struct fimc_vid_cap *vc = &fimc->vid_cap; in fimc_hw_set_camera_source()
647 writel(cfg, fimc->regs + FIMC_REG_CISRCFMT); in fimc_hw_set_camera_source()
651 void fimc_hw_set_camera_offset(struct fimc_dev *fimc, struct fimc_frame *f) in fimc_hw_set_camera_offset() argument
655 u32 cfg = readl(fimc->regs + FIMC_REG_CIWDOFST); in fimc_hw_set_camera_offset()
661 writel(cfg, fimc->regs + FIMC_REG_CIWDOFST); in fimc_hw_set_camera_offset()
667 writel(cfg, fimc->regs + FIMC_REG_CIWDOFST2); in fimc_hw_set_camera_offset()
670 int fimc_hw_set_camera_type(struct fimc_dev *fimc, in fimc_hw_set_camera_type() argument
673 struct fimc_vid_cap *vid_cap = &fimc->vid_cap; in fimc_hw_set_camera_type()
677 cfg = readl(fimc->regs + FIMC_REG_CIGCTRL); in fimc_hw_set_camera_type()
710 writel(tmp, fimc->regs + FIMC_REG_CSIIMGFMT); in fimc_hw_set_camera_type()
722 if (fimc->variant->has_isp_wb) in fimc_hw_set_camera_type()
733 writel(cfg, fimc->regs + FIMC_REG_CIGCTRL); in fimc_hw_set_camera_type()
800 void fimc_deactivate_capture(struct fimc_dev *fimc) in fimc_deactivate_capture() argument
802 fimc_hw_en_lastirq(fimc, true); in fimc_deactivate_capture()
803 fimc_hw_disable_capture(fimc); in fimc_deactivate_capture()
804 fimc_hw_enable_scaler(fimc, false); in fimc_deactivate_capture()
805 fimc_hw_en_lastirq(fimc, false); in fimc_deactivate_capture()
808 int fimc_hw_camblk_cfg_writeback(struct fimc_dev *fimc) in fimc_hw_camblk_cfg_writeback() argument
810 struct regmap *map = fimc->sysreg; in fimc_hw_camblk_cfg_writeback()
821 if (!WARN(fimc->id >= 3, "not supported id: %d\n", fimc->id)) in fimc_hw_camblk_cfg_writeback()
822 val = 0x1 << (fimc->id + 20); in fimc_hw_camblk_cfg_writeback()