Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-core.c154 struct v4l2_rect *camif_crop = &vp->camif->camif_crop; in s3c_camif_get_scaler_config()
196 static int camif_register_sensor(struct camif_dev *camif) in camif_register_sensor() argument
198 struct s3c_camif_sensor_info *sensor = &camif->pdata.sensor; in camif_register_sensor()
199 struct v4l2_device *v4l2_dev = &camif->v4l2_dev; in camif_register_sensor()
205 camif->sensor.sd = NULL; in camif_register_sensor()
225 camif->sensor.sd = sd; in camif_register_sensor()
238 v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format); in camif_register_sensor()
246 static void camif_unregister_sensor(struct camif_dev *camif) in camif_unregister_sensor() argument
248 struct v4l2_subdev *sd = camif->sensor.sd; in camif_unregister_sensor()
257 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_cb, camif->colorfx_cr); 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
333 int s3c_camif_register_video_node(struct camif_dev *camif, int idx);
334 void s3c_camif_unregister_video_node(struct camif_dev *camif, int idx);
336 int s3c_camif_create_subdev(struct camif_dev *camif);
337 void s3c_camif_unregister_subdev(struct camif_dev *camif);
338 int s3c_camif_set_defaults(struct camif_dev *camif);
/linux-4.1.27/arch/arm/plat-samsung/
DMakefile27 obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
/linux-4.1.27/drivers/media/platform/
DMakefile28 obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif/
DKconfig115 will be called s3c-camif.
/linux-4.1.27/drivers/devfreq/event/
Dexynos-ppmu.c63 PPMU_EVENT(camif),
/linux-4.1.27/
DMAINTAINERS8562 F: drivers/media/platform/s3c-camif/