Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/platform/s3c-camif/
Dcamif-core.c145 struct v4l2_rect *camif_crop = &vp->camif->camif_crop; in s3c_camif_get_scaler_config()
187 static int camif_register_sensor(struct camif_dev *camif) in camif_register_sensor() argument
189 struct s3c_camif_sensor_info *sensor = &camif->pdata.sensor; in camif_register_sensor()
190 struct v4l2_device *v4l2_dev = &camif->v4l2_dev; in camif_register_sensor()
196 camif->sensor.sd = NULL; in camif_register_sensor()
216 camif->sensor.sd = sd; in camif_register_sensor()
229 v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format); in camif_register_sensor()
237 static void camif_unregister_sensor(struct camif_dev *camif) in camif_unregister_sensor() argument
239 struct v4l2_subdev *sd = camif->sensor.sd; in camif_unregister_sensor()
248 camif->sensor.sd = NULL; in camif_unregister_sensor()
[all …]
Dcamif-regs.c16 void camif_hw_reset(struct camif_dev *camif) in camif_hw_reset() argument
20 cfg = camif_read(camif, S3C_CAMIF_REG_CISRCFMT); in camif_hw_reset()
22 camif_write(camif, S3C_CAMIF_REG_CISRCFMT, cfg); in camif_hw_reset()
25 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset()
27 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) in camif_hw_reset()
29 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_reset()
32 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset()
34 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_reset()
40 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_clear_pending_irq()
42 camif_write(vp->camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_clear_pending_irq()
[all …]
Dcamif-capture.c65 static int s3c_camif_hw_init(struct camif_dev *camif, struct camif_vp *vp) in s3c_camif_hw_init() argument
67 const struct s3c_camif_variant *variant = camif->variant; in s3c_camif_hw_init()
69 if (camif->sensor.sd == NULL || vp->out_fmt == NULL) in s3c_camif_hw_init()
74 camif_hw_set_camera_bus(camif); in s3c_camif_hw_init()
75 camif_hw_set_source_format(camif); in s3c_camif_hw_init()
76 camif_hw_set_camera_crop(camif); in s3c_camif_hw_init()
77 camif_hw_set_test_pattern(camif, camif->test_pattern); in s3c_camif_hw_init()
79 camif_hw_set_effect(camif, camif->colorfx, in s3c_camif_hw_init()
80 camif->colorfx_cr, camif->colorfx_cb); in s3c_camif_hw_init()
95 static int s3c_camif_hw_vp_init(struct camif_dev *camif, struct camif_vp *vp) in s3c_camif_hw_vp_init() argument
[all …]
DMakefile4 s3c-camif-objs := camif-core.o camif-capture.o camif-regs.o
6 obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif.o
Dcamif-regs.h240 void camif_hw_reset(struct camif_dev *camif);
248 void camif_hw_set_camera_bus(struct camif_dev *camif);
249 void camif_hw_set_source_format(struct camif_dev *camif);
250 void camif_hw_set_camera_crop(struct camif_dev *camif);
255 void camif_hw_set_test_pattern(struct camif_dev *camif, unsigned int pattern);
256 void camif_hw_set_effect(struct camif_dev *camif, unsigned int effect,
260 void camif_hw_dump_regs(struct camif_dev *camif, const char *label);
264 return readl(vp->camif->io_base + S3C_CAMIF_REG_CISTATUS(vp->id, in camif_hw_get_status()
Dcamif-core.h209 struct camif_dev *camif; member
327 int s3c_camif_register_video_node(struct camif_dev *camif, int idx);
328 void s3c_camif_unregister_video_node(struct camif_dev *camif, int idx);
330 int s3c_camif_create_subdev(struct camif_dev *camif);
331 void s3c_camif_unregister_subdev(struct camif_dev *camif);
332 int s3c_camif_set_defaults(struct camif_dev *camif);
/Linux-v5.10/drivers/media/platform/
DMakefile28 obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif/
DKconfig125 will be called s3c-camif.
/Linux-v5.10/Documentation/admin-guide/media/
Dplatform-cardlist.rst54 s3c-camif Samsung S3C24XX/S3C64XX SoC Camera Interface
/Linux-v5.10/drivers/devfreq/event/
Dexynos-ppmu.c66 PPMU_EVENT(camif),
/Linux-v5.10/
DMAINTAINERS15426 F: drivers/media/platform/s3c-camif/