Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/platform/samsung/s3c-camif/
Dcamif-core.c146 struct v4l2_rect *camif_crop = &vp->camif->camif_crop; in s3c_camif_get_scaler_config()
188 static int camif_register_sensor(struct camif_dev *camif) in camif_register_sensor() argument
190 struct s3c_camif_sensor_info *sensor = &camif->pdata.sensor; in camif_register_sensor()
191 struct v4l2_device *v4l2_dev = &camif->v4l2_dev; in camif_register_sensor()
199 camif->sensor.sd = NULL; in camif_register_sensor()
219 camif->sensor.sd = sd; in camif_register_sensor()
231 v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format); in camif_register_sensor()
239 static void camif_unregister_sensor(struct camif_dev *camif) in camif_unregister_sensor() argument
241 struct v4l2_subdev *sd = camif->sensor.sd; in camif_unregister_sensor()
250 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.h213 struct camif_dev *camif; member
337 int s3c_camif_register_video_node(struct camif_dev *camif, int idx);
338 void s3c_camif_unregister_video_node(struct camif_dev *camif, int idx);
340 int s3c_camif_create_subdev(struct camif_dev *camif);
341 void s3c_camif_unregister_subdev(struct camif_dev *camif);
342 int s3c_camif_set_defaults(struct camif_dev *camif);
DKconfig15 will be called s3c-camif.
/linux-6.12.1/drivers/media/platform/samsung/
DMakefile4 obj-y += s3c-camif/
DKconfig7 source "drivers/media/platform/samsung/s3c-camif/Kconfig"
/linux-6.12.1/Documentation/admin-guide/media/
Dplatform-cardlist.rst53 s3c-camif Samsung S3C24XX/S3C64XX SoC Camera Interface
/linux-6.12.1/drivers/devfreq/event/
Dexynos-ppmu.c66 PPMU_EVENT(camif),
/linux-6.12.1/
DMAINTAINERS20437 F: drivers/media/platform/samsung/s3c-camif/