Searched defs:camif (Results 1 - 5 of 5) sorted by relevance
/drivers/media/platform/s3c-camif/ |
H A D | Makefile | 3 s3c-camif-objs := camif-core.o camif-capture.o camif-regs.o 5 obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif.o
|
H A D | camif-core.c | 38 #include "camif-core.h" 42 [CLK_GATE] = "camif", 105 * s3c_camif_find_format() - lookup camif color format by fourcc or an index 154 struct v4l2_rect *camif_crop = &vp->camif->camif_crop; 196 static int camif_register_sensor(struct camif_dev *camif) argument 198 struct s3c_camif_sensor_info *sensor = &camif->pdata.sensor; 199 struct v4l2_device *v4l2_dev = &camif->v4l2_dev; 205 camif->sensor.sd = NULL; 225 camif->sensor.sd = sd; 229 /* Get initial pixel format and set it at the camif sin 246 camif_unregister_sensor(struct camif_dev *camif) argument 263 camif_create_media_links(struct camif_dev *camif) argument 284 camif_register_video_nodes(struct camif_dev *camif) argument 293 camif_unregister_video_nodes(struct camif_dev *camif) argument 299 camif_unregister_media_entities(struct camif_dev *camif) argument 309 camif_media_dev_register(struct camif_dev *camif) argument 339 camif_clk_put(struct camif_dev *camif) argument 352 camif_clk_get(struct camif_dev *camif) argument 385 camif_request_irqs(struct platform_device *pdev, struct camif_dev *camif) argument 417 struct camif_dev *camif; local 539 struct camif_dev *camif = platform_get_drvdata(pdev); local 555 struct camif_dev *camif = dev_get_drvdata(dev); local 565 struct camif_dev *camif = dev_get_drvdata(dev); local [all...] |
H A D | camif-regs.c | 14 #include "camif-regs.h" 19 void camif_hw_reset(struct camif_dev *camif) argument 23 cfg = camif_read(camif, S3C_CAMIF_REG_CISRCFMT); 25 camif_write(camif, S3C_CAMIF_REG_CISRCFMT, cfg); 28 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); 30 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) 32 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); 35 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); 37 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); 43 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTR 52 camif_hw_set_test_pattern(struct camif_dev *camif, unsigned int pattern) argument 60 camif_hw_set_effect(struct camif_dev *camif, unsigned int effect, unsigned int cr, unsigned int cb) argument 106 camif_hw_set_source_format(struct camif_dev *camif) argument 131 camif_hw_set_camera_crop(struct camif_dev *camif) argument 156 struct camif_dev *camif = vp->camif; local 170 camif_hw_set_camera_bus(struct camif_dev *camif) argument 206 struct camif_dev *camif = vp->camif; local 260 struct camif_dev *camif = vp->camif; local 301 struct camif_dev *camif = vp->camif; local 366 struct camif_dev *camif = vp->camif; local 384 struct camif_dev *camif = vp->camif; local 431 struct camif_dev *camif = vp->camif; local 516 struct camif_dev *camif = vp->camif; local 539 struct camif_dev *camif = vp->camif; local 557 camif_hw_dump_regs(struct camif_dev *camif, const char *label) argument [all...] |
H A D | camif-capture.c | 40 #include "camif-core.h" 41 #include "camif-regs.h" 46 /* Locking: called with vp->camif->slock spinlock held */ 67 /* Locking: called with camif->slock spinlock held */ 68 static int s3c_camif_hw_init(struct camif_dev *camif, struct camif_vp *vp) argument 70 const struct s3c_camif_variant *variant = camif->variant; 72 if (camif->sensor.sd == NULL || vp->out_fmt == NULL) 77 camif_hw_set_camera_bus(camif); 78 camif_hw_set_source_format(camif); 79 camif_hw_set_camera_crop(camif); 98 s3c_camif_hw_vp_init(struct camif_dev *camif, struct camif_vp *vp) argument 113 sensor_set_power(struct camif_dev *camif, int on) argument 129 sensor_set_streaming(struct camif_dev *camif, int on) argument 152 struct camif_dev *camif = vp->camif; local 185 struct camif_dev *camif = vp->camif; local 196 camif_is_streaming(struct camif_dev *camif) argument 210 struct camif_dev *camif = vp->camif; local 292 struct camif_dev *camif = vp->camif; local 384 struct camif_dev *camif = vp->camif; local 450 struct camif_dev *camif = vp->camif; local 498 struct camif_dev *camif = vp->camif; local 564 struct camif_dev *camif = vp->camif; local 596 struct camif_dev *camif = vp->camif; local 623 struct camif_dev *camif = vp->camif; local 746 struct camif_dev *camif = vp->camif; local 841 camif_pipeline_validate(struct camif_dev *camif) argument 870 struct camif_dev *camif = vp->camif; local 902 struct camif_dev *camif = vp->camif; local 1036 __camif_try_compose(struct camif_dev *camif, struct camif_vp *vp, struct v4l2_rect *r) argument 1052 struct camif_dev *camif = vp->camif; local 1105 struct camif_dev *camif = vp->camif; local 1133 s3c_camif_register_video_node(struct camif_dev *camif, int idx) argument 1209 s3c_camif_unregister_video_node(struct camif_dev *camif, int idx) argument 1247 struct camif_dev *camif = v4l2_get_subdevdata(sd); local 1278 __camif_subdev_try_format(struct camif_dev *camif, struct v4l2_mbus_framefmt *mf, int pad) argument 1314 struct camif_dev *camif = v4l2_get_subdevdata(sd); local 1381 struct camif_dev *camif = v4l2_get_subdevdata(sd); local 1415 __camif_try_crop(struct camif_dev *camif, struct v4l2_rect *r) argument 1468 struct camif_dev *camif = v4l2_get_subdevdata(sd); local 1521 struct camif_dev *camif = container_of(ctrl->handler, struct camif_dev, local 1571 s3c_camif_create_subdev(struct camif_dev *camif) argument 1623 s3c_camif_unregister_subdev(struct camif_dev *camif) argument 1637 s3c_camif_set_defaults(struct camif_dev *camif) argument [all...] |
H A D | camif-core.h | 31 #define S3C_CAMIF_DRIVER_NAME "s3c-camif" 188 * @camif: pointer to the camif structure 213 struct camif_dev *camif; member in struct:camif_vp 250 * @pads: the camif subdev's media pads 318 * struct camif_buffer - the camif video buffer structure 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); [all...] |
Completed in 1099 milliseconds