Home
last modified time | relevance | path

Searched refs:soc_camera_device (Results 1 – 24 of 24) sorted by relevance

/linux-2.6.39/include/media/
Dsoc_camera.h27 struct soc_camera_device { struct
67 int (*add)(struct soc_camera_device *); argument
68 void (*remove)(struct soc_camera_device *);
69 int (*suspend)(struct soc_camera_device *, pm_message_t);
70 int (*resume)(struct soc_camera_device *);
77 int (*get_formats)(struct soc_camera_device *, unsigned int,
79 void (*put_formats)(struct soc_camera_device *);
80 int (*cropcap)(struct soc_camera_device *, struct v4l2_cropcap *);
81 int (*get_crop)(struct soc_camera_device *, struct v4l2_crop *);
82 int (*set_crop)(struct soc_camera_device *, struct v4l2_crop *);
[all …]
/linux-2.6.39/drivers/media/video/
Dsoc_camera.c48 static int soc_camera_power_set(struct soc_camera_device *icd, in soc_camera_power_set()
94 struct soc_camera_device *icd, unsigned int fourcc) in soc_camera_xlate_by_fourcc()
142 static int soc_camera_try_fmt(struct soc_camera_device *icd, in soc_camera_try_fmt()
182 struct soc_camera_device *icd = file->private_data; in soc_camera_try_fmt_vid_cap()
197 struct soc_camera_device *icd = file->private_data; in soc_camera_enum_input()
232 struct soc_camera_device *icd = file->private_data; in soc_camera_s_std()
241 struct soc_camera_device *icd = file->private_data; in soc_camera_enum_fsizes()
251 struct soc_camera_device *icd = file->private_data; in soc_camera_reqbufs()
278 struct soc_camera_device *icd = file->private_data; in soc_camera_querybuf()
292 struct soc_camera_device *icd = file->private_data; in soc_camera_qbuf()
[all …]
Dmx1_camera.c109 struct soc_camera_device *icd;
130 struct soc_camera_device *icd = vq->priv_data; in mx1_videobuf_setup()
152 struct soc_camera_device *icd = vq->priv_data; in free_buffer()
173 struct soc_camera_device *icd = vq->priv_data; in mx1_videobuf_prepare()
258 struct soc_camera_device *icd = vq->priv_data; in mx1_videobuf_queue()
289 struct soc_camera_device *icd = vq->priv_data; in mx1_videobuf_release()
379 struct soc_camera_device *icd) in mx1_camera_init_videobuf()
443 static int mx1_camera_add_device(struct soc_camera_device *icd) in mx1_camera_add_device()
465 static void mx1_camera_remove_device(struct soc_camera_device *icd) in mx1_camera_remove_device()
488 static int mx1_camera_set_crop(struct soc_camera_device *icd, in mx1_camera_set_crop()
[all …]
Dsoc_camera_platform.c33 static struct soc_camera_platform_info *get_info(struct soc_camera_device *icd) in get_info()
46 static int soc_camera_platform_set_bus_param(struct soc_camera_device *icd, in soc_camera_platform_set_bus_param()
53 soc_camera_platform_query_bus_param(struct soc_camera_device *icd) in soc_camera_platform_query_bus_param()
143 struct soc_camera_device *icd; in soc_camera_platform_probe()
191 struct soc_camera_device *icd = to_soc_camera_dev(p->dev); in soc_camera_platform_remove()
Dsh_mobile_ceu_camera.c97 struct soc_camera_device *icd;
181 struct soc_camera_device *icd = pcdev->icd; in sh_mobile_ceu_soft_reset()
219 struct soc_camera_device *icd = container_of(vq, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_setup()
261 struct soc_camera_device *icd = pcdev->icd; in sh_mobile_ceu_capture()
334 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_prepare()
377 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_queue()
403 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_release()
476 static int sh_mobile_ceu_add_device(struct soc_camera_device *icd) in sh_mobile_ceu_add_device()
499 static void sh_mobile_ceu_remove_device(struct soc_camera_device *icd) in sh_mobile_ceu_remove_device()
560 static void sh_mobile_ceu_set_rect(struct soc_camera_device *icd) in sh_mobile_ceu_set_rect()
[all …]
Dmx3_camera.c104 struct soc_camera_device *icd;
197 struct soc_camera_device *icd = soc_camera_from_vb2q(vq); in mx3_videobuf_setup()
226 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_prepare()
286 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_queue()
360 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_release()
414 struct soc_camera_device *icd) in mx3_camera_init_videobuf()
428 struct soc_camera_device *icd) in mx3_camera_activate()
478 static int mx3_camera_add_device(struct soc_camera_device *icd) in mx3_camera_add_device()
497 static void mx3_camera_remove_device(struct soc_camera_device *icd) in mx3_camera_remove_device()
578 static int mx3_camera_try_bus_param(struct soc_camera_device *icd, in mx3_camera_try_bus_param()
[all …]
Domap1_camera.c152 struct soc_camera_device *icd;
208 struct soc_camera_device *icd = vq->priv_data; in omap1_videobuf_setup()
243 struct soc_camera_device *icd = vq->priv_data; in free_buffer()
257 struct soc_camera_device *icd = vq->priv_data; in omap1_videobuf_prepare()
492 struct soc_camera_device *icd = vq->priv_data; in omap1_videobuf_queue()
545 struct soc_camera_device *icd = vq->priv_data; in omap1_videobuf_release()
910 static int omap1_cam_add_device(struct soc_camera_device *icd) in omap1_cam_add_device()
960 static void omap1_cam_remove_device(struct soc_camera_device *icd) in omap1_cam_remove_device()
1052 static int omap1_cam_get_formats(struct soc_camera_device *icd, in omap1_cam_get_formats()
1168 struct soc_camera_device *icd, struct v4l2_subdev *sd, in set_mbus_format()
[all …]
Dsh_mobile_csi2.c41 unsigned long (*query_bus_param)(struct soc_camera_device *);
42 int (*set_bus_param)(struct soc_camera_device *, unsigned long);
173 static int sh_csi2_set_bus_param(struct soc_camera_device *icd, in sh_csi2_set_bus_param()
179 static unsigned long sh_csi2_query_bus_param(struct soc_camera_device *icd) in sh_csi2_query_bus_param()
193 struct soc_camera_device *icd = to_soc_camera_dev(dev); in sh_csi2_notify()
Dpxa_camera.c203 struct soc_camera_device *icd;
243 struct soc_camera_device *icd = vq->priv_data; in pxa_videobuf_setup()
264 struct soc_camera_device *icd = vq->priv_data; in free_buffer()
431 struct soc_camera_device *icd = vq->priv_data; in pxa_videobuf_prepare()
638 struct soc_camera_device *icd = vq->priv_data; in pxa_videobuf_queue()
660 struct soc_camera_device *icd = vq->priv_data; in pxa_videobuf_release()
844 struct soc_camera_device *icd) in pxa_camera_init_videobuf()
973 static int pxa_camera_add_device(struct soc_camera_device *icd) in pxa_camera_add_device()
992 static void pxa_camera_remove_device(struct soc_camera_device *icd) in pxa_camera_remove_device()
1057 static void pxa_camera_setup_cicr(struct soc_camera_device *icd, in pxa_camera_setup_cicr()
[all …]
Dtw9910.c437 tw9910_select_norm(struct soc_camera_device *icd, u32 width, u32 height) in tw9910_select_norm()
510 static int tw9910_set_bus_param(struct soc_camera_device *icd, in tw9910_set_bus_param()
532 static unsigned long tw9910_query_bus_param(struct soc_camera_device *icd) in tw9910_query_bus_param()
555 static int tw9910_enum_input(struct soc_camera_device *icd, in tw9910_enum_input()
618 struct soc_camera_device *icd = client->dev.platform_data; in tw9910_s_crop()
817 struct soc_camera_device *icd = client->dev.platform_data; in tw9910_try_fmt()
843 static int tw9910_video_probe(struct soc_camera_device *icd, in tw9910_video_probe()
942 struct soc_camera_device *icd = client->dev.platform_data; in tw9910_probe()
989 struct soc_camera_device *icd = client->dev.platform_data; in tw9910_remove()
Dmx2_camera.c217 struct soc_camera_device *icd;
279 static int mx2_camera_add_device(struct soc_camera_device *icd) in mx2_camera_add_device()
312 static void mx2_camera_remove_device(struct soc_camera_device *icd) in mx2_camera_remove_device()
436 struct soc_camera_device *icd = vq->priv_data; in mx2_videobuf_setup()
457 struct soc_camera_device *icd = vq->priv_data; in free_buffer()
478 struct soc_camera_device *icd = vq->priv_data; in mx2_videobuf_prepare()
534 struct soc_camera_device *icd = vq->priv_data; in mx2_videobuf_queue()
613 struct soc_camera_device *icd = vq->priv_data; in mx2_videobuf_release()
679 struct soc_camera_device *icd) in mx2_camera_init_videobuf()
718 static void mx27_camera_emma_buf_init(struct soc_camera_device *icd, in mx27_camera_emma_buf_init()
[all …]
Dmt9m001.c168 static int mt9m001_set_bus_param(struct soc_camera_device *icd, in mt9m001_set_bus_param()
191 static unsigned long mt9m001_query_bus_param(struct soc_camera_device *icd) in mt9m001_query_bus_param()
212 struct soc_camera_device *icd = client->dev.platform_data; in mt9m001_s_crop()
499 struct soc_camera_device *icd = client->dev.platform_data; in mt9m001_s_ctrl()
597 static int mt9m001_video_probe(struct soc_camera_device *icd, in mt9m001_video_probe()
674 static void mt9m001_video_remove(struct soc_camera_device *icd) in mt9m001_video_remove()
742 struct soc_camera_device *icd = client->dev.platform_data; in mt9m001_probe()
797 struct soc_camera_device *icd = client->dev.platform_data; in mt9m001_remove()
Dimx074.c293 static unsigned long imx074_query_bus_param(struct soc_camera_device *icd) in imx074_query_bus_param()
298 static int imx074_set_bus_param(struct soc_camera_device *icd, in imx074_set_bus_param()
309 static int imx074_video_probe(struct soc_camera_device *icd, in imx074_video_probe()
420 struct soc_camera_device *icd = client->dev.platform_data; in imx074_probe()
464 struct soc_camera_device *icd = client->dev.platform_data; in imx074_remove()
Dmt9m111.c402 static unsigned long mt9m111_query_bus_param(struct soc_camera_device *icd) in mt9m111_query_bus_param()
412 static int mt9m111_set_bus_param(struct soc_camera_device *icd, unsigned long f) in mt9m111_set_bus_param()
719 static int mt9m111_resume(struct soc_camera_device *icd);
720 static int mt9m111_suspend(struct soc_camera_device *icd, pm_message_t state);
894 static int mt9m111_suspend(struct soc_camera_device *icd, pm_message_t state) in mt9m111_suspend()
919 static int mt9m111_resume(struct soc_camera_device *icd) in mt9m111_resume()
957 static int mt9m111_video_probe(struct soc_camera_device *icd, in mt9m111_video_probe()
1043 struct soc_camera_device *icd = client->dev.platform_data; in mt9m111_probe()
1092 struct soc_camera_device *icd = client->dev.platform_data; in mt9m111_remove()
Dmt9t031.c182 static int mt9t031_set_bus_param(struct soc_camera_device *icd, in mt9t031_set_bus_param()
199 static unsigned long mt9t031_query_bus_param(struct soc_camera_device *icd) in mt9t031_query_bus_param()
703 struct soc_camera_device *icd = container_of(vdev->parent, in mt9t031_runtime_resume()
704 struct soc_camera_device, dev); in mt9t031_runtime_resume()
836 struct soc_camera_device *icd = client->dev.platform_data; in mt9t031_probe()
895 struct soc_camera_device *icd = client->dev.platform_data; in mt9t031_remove()
Dmt9v022.c202 static int mt9v022_set_bus_param(struct soc_camera_device *icd, in mt9v022_set_bus_param()
257 static unsigned long mt9v022_query_bus_param(struct soc_camera_device *icd) in mt9v022_query_bus_param()
722 static int mt9v022_video_probe(struct soc_camera_device *icd, in mt9v022_video_probe()
808 static void mt9v022_video_remove(struct soc_camera_device *icd) in mt9v022_video_remove()
876 struct soc_camera_device *icd = client->dev.platform_data; in mt9v022_probe()
929 struct soc_camera_device *icd = client->dev.platform_data; in mt9v022_remove()
Dmt9t112.c105 struct soc_camera_device icd;
767 static int mt9t112_set_bus_param(struct soc_camera_device *icd, in mt9t112_set_bus_param()
773 static unsigned long mt9t112_query_bus_param(struct soc_camera_device *icd) in mt9t112_query_bus_param()
1053 static int mt9t112_camera_probe(struct soc_camera_device *icd, in mt9t112_camera_probe()
1096 struct soc_camera_device *icd = client->dev.platform_data; in mt9t112_probe()
1131 struct soc_camera_device *icd = client->dev.platform_data; in mt9t112_remove()
Dov9740.c615 static int ov9740_set_bus_param(struct soc_camera_device *icd, in ov9740_set_bus_param()
622 static unsigned long ov9740_query_bus_param(struct soc_camera_device *icd) in ov9740_query_bus_param()
838 static int ov9740_video_probe(struct soc_camera_device *icd, in ov9740_video_probe()
936 struct soc_camera_device *icd = client->dev.platform_data; in ov9740_probe()
Dov9640.c288 static int ov9640_set_bus_param(struct soc_camera_device *icd, in ov9640_set_bus_param()
295 static unsigned long ov9640_query_bus_param(struct soc_camera_device *icd) in ov9640_query_bus_param()
651 static int ov9640_video_probe(struct soc_camera_device *icd, in ov9640_video_probe()
754 struct soc_camera_device *icd = client->dev.platform_data; in ov9640_probe()
Dov2640.c704 static int ov2640_set_bus_param(struct soc_camera_device *icd, in ov2640_set_bus_param()
727 static unsigned long ov2640_query_bus_param(struct soc_camera_device *icd) in ov2640_query_bus_param()
1026 static int ov2640_video_probe(struct soc_camera_device *icd, in ov2640_video_probe()
1115 struct soc_camera_device *icd = client->dev.platform_data; in ov2640_probe()
1165 struct soc_camera_device *icd = client->dev.platform_data; in ov2640_remove()
Dov772x.c623 static int ov772x_set_bus_param(struct soc_camera_device *icd, in ov772x_set_bus_param()
629 static unsigned long ov772x_query_bus_param(struct soc_camera_device *icd) in ov772x_query_bus_param()
1028 static int ov772x_video_probe(struct soc_camera_device *icd, in ov772x_video_probe()
1125 struct soc_camera_device *icd = client->dev.platform_data; in ov772x_probe()
1168 struct soc_camera_device *icd = client->dev.platform_data; in ov772x_remove()
Dov6650.c423 static int ov6650_set_bus_param(struct soc_camera_device *icd, in ov6650_set_bus_param()
455 static unsigned long ov6650_query_bus_param(struct soc_camera_device *icd) in ov6650_query_bus_param()
781 struct soc_camera_device *icd = client->dev.platform_data; in ov6650_s_fmt()
1060 static int ov6650_video_probe(struct soc_camera_device *icd, in ov6650_video_probe()
1139 struct soc_camera_device *icd = client->dev.platform_data; in ov6650_probe()
Drj54n1cb0c.c502 static int rj54n1_set_bus_param(struct soc_camera_device *icd, in rj54n1_set_bus_param()
515 static unsigned long rj54n1_query_bus_param(struct soc_camera_device *icd) in rj54n1_query_bus_param()
1360 static int rj54n1_video_probe(struct soc_camera_device *icd, in rj54n1_video_probe()
1399 struct soc_camera_device *icd = client->dev.platform_data; in rj54n1_probe()
1457 struct soc_camera_device *icd = client->dev.platform_data; in rj54n1_remove()
/linux-2.6.39/Documentation/video4linux/
Dsoc-camera.txt90 function takes a pointer to struct soc_camera_device as the only parameter.
116 struct soc_camera_device also links to an array of struct soc_camera_data_format,
154 soc_camera_device and used by the soc-camera core and host drivers. The core