Home
last modified time | relevance | path

Searched refs:camif (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/media/platform/s3c-camif/
Dcamif-core.c155 struct v4l2_rect *camif_crop = &vp->camif->camif_crop; in s3c_camif_get_scaler_config()
197 static int camif_register_sensor(struct camif_dev *camif) in camif_register_sensor() argument
199 struct s3c_camif_sensor_info *sensor = &camif->pdata.sensor; in camif_register_sensor()
200 struct v4l2_device *v4l2_dev = &camif->v4l2_dev; in camif_register_sensor()
206 camif->sensor.sd = NULL; in camif_register_sensor()
226 camif->sensor.sd = sd; in camif_register_sensor()
239 v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format); in camif_register_sensor()
247 static void camif_unregister_sensor(struct camif_dev *camif) in camif_unregister_sensor() argument
249 struct v4l2_subdev *sd = camif->sensor.sd; in camif_unregister_sensor()
258 camif->sensor.sd = NULL; in camif_unregister_sensor()
[all …]
Dcamif-regs.c19 void camif_hw_reset(struct camif_dev *camif) in camif_hw_reset() argument
23 cfg = camif_read(camif, S3C_CAMIF_REG_CISRCFMT); in camif_hw_reset()
25 camif_write(camif, S3C_CAMIF_REG_CISRCFMT, cfg); in camif_hw_reset()
28 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset()
30 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) in camif_hw_reset()
32 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_reset()
35 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset()
37 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_reset()
43 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_clear_pending_irq()
45 camif_write(vp->camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_clear_pending_irq()
[all …]
Dcamif-capture.c68 static int s3c_camif_hw_init(struct camif_dev *camif, struct camif_vp *vp) in s3c_camif_hw_init() argument
70 const struct s3c_camif_variant *variant = camif->variant; in s3c_camif_hw_init()
72 if (camif->sensor.sd == NULL || vp->out_fmt == NULL) in s3c_camif_hw_init()
77 camif_hw_set_camera_bus(camif); in s3c_camif_hw_init()
78 camif_hw_set_source_format(camif); in s3c_camif_hw_init()
79 camif_hw_set_camera_crop(camif); in s3c_camif_hw_init()
80 camif_hw_set_test_pattern(camif, camif->test_pattern); in s3c_camif_hw_init()
82 camif_hw_set_effect(camif, camif->colorfx, in s3c_camif_hw_init()
83 camif->colorfx_cr, camif->colorfx_cb); in s3c_camif_hw_init()
98 static int s3c_camif_hw_vp_init(struct camif_dev *camif, struct camif_vp *vp) in s3c_camif_hw_vp_init() argument
[all …]
DMakefile3 s3c-camif-objs := camif-core.o camif-capture.o camif-regs.o
5 obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif.o
Dcamif-regs.h241 void camif_hw_reset(struct camif_dev *camif);
249 void camif_hw_set_camera_bus(struct camif_dev *camif);
250 void camif_hw_set_source_format(struct camif_dev *camif);
251 void camif_hw_set_camera_crop(struct camif_dev *camif);
256 void camif_hw_set_test_pattern(struct camif_dev *camif, unsigned int pattern);
257 void camif_hw_set_effect(struct camif_dev *camif, unsigned int effect,
261 void camif_hw_dump_regs(struct camif_dev *camif, const char *label);
265 return readl(vp->camif->io_base + S3C_CAMIF_REG_CISTATUS(vp->id, in camif_hw_get_status()
Dcamif-core.h213 struct camif_dev *camif; member
331 int s3c_camif_register_video_node(struct camif_dev *camif, int idx);
332 void s3c_camif_unregister_video_node(struct camif_dev *camif, int idx);
334 int s3c_camif_create_subdev(struct camif_dev *camif);
335 void s3c_camif_unregister_subdev(struct camif_dev *camif);
336 int s3c_camif_set_defaults(struct camif_dev *camif);
/Linux-v4.19/drivers/media/platform/
DMakefile36 obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif/
DKconfig110 will be called s3c-camif.
/Linux-v4.19/arch/arm/mach-s3c24xx/
DMakefile100 obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
/Linux-v4.19/drivers/devfreq/event/
Dexynos-ppmu.c62 PPMU_EVENT(camif),
/Linux-v4.19/
DMAINTAINERS12789 F: drivers/media/platform/s3c-camif/