Lines Matching +full:vp +full:- +full:p

1 /* SPDX-License-Identifier: GPL-2.0-only */
14 #include "camif-core.h"
15 #include <media/drv-intf/s3c_camif.h>
19 * id = 0 - codec (FIMC C), 1 - preview (FIMC P).
65 #define CIGCTRL_IRQ_CLR(id) BIT(19 - (id))
77 /* CICOTRGFMT, CIPRTRGFMT - Target format */
100 /* xBURSTn - 5-bits width */
110 /* CICOSCPRERATIO, CIPRSCPRERATIO. Pre-scaler control 1. */
113 /* CICOSCPREDST, CIPRSCPREDST. Pre-scaler control 2. */
121 /* 0 - 16-bit RGB, 1 - 24-bit RGB */
169 #define CIIMGCPT_IMGCPTEN_SC(id) BIT(30 - (id))
170 /* Frame control: 1 - one-shot, 0 - free run */
171 #define CIIMGCPT_CPT_FREN_ENABLE(id) BIT(25 - (id))
182 /* Image effect: 1 - after scaler, 0 - before scaler */
205 /* MSPRYOFF, MSPRYOFF. Y/Cb/Cr offset. n: 0 - codec, 1 - preview. */
210 /* Real input DMA data size. n = 0 - codec, 1 - preview. */
217 /* Input DMA control. n = 0 - codec, 1 - preview */
223 /* 0 - camera, 1 - DMA */
238 /* ------------------------------------------------------------------ */
241 void camif_hw_clear_pending_irq(struct camif_vp *vp);
242 void camif_hw_clear_fifo_overflow(struct camif_vp *vp);
243 void camif_hw_set_lastirq(struct camif_vp *vp, int enable);
244 void camif_hw_set_input_path(struct camif_vp *vp);
245 void camif_hw_enable_scaler(struct camif_vp *vp, bool on);
246 void camif_hw_enable_capture(struct camif_vp *vp);
247 void camif_hw_disable_capture(struct camif_vp *vp);
251 void camif_hw_set_scaler(struct camif_vp *vp);
252 void camif_hw_set_flip(struct camif_vp *vp);
253 void camif_hw_set_output_dma(struct camif_vp *vp);
254 void camif_hw_set_target_format(struct camif_vp *vp);
258 void camif_hw_set_output_addr(struct camif_vp *vp, struct camif_addr *paddr,
262 static inline u32 camif_hw_get_status(struct camif_vp *vp) in camif_hw_get_status() argument
264 return readl(vp->camif->io_base + S3C_CAMIF_REG_CISTATUS(vp->id, in camif_hw_get_status()
265 vp->offset)); in camif_hw_get_status()