Lines Matching refs:v4l2_dev
64 struct v4l2_device v4l2_dev; member
257 dev_dbg(vou_dev->v4l2_dev.dev, "%s(): count=%d, size=%d\n", __func__, in sh_vou_buf_setup()
274 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_buf_prepare()
304 dev_dbg(vou_dev->v4l2_dev.dev, in sh_vou_buf_prepare()
320 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_buf_queue()
331 dev_dbg(vou_dev->v4l2_dev.dev, "%s: first buffer status 0x%x\n", in sh_vou_buf_queue()
342 dev_dbg(vou_dev->v4l2_dev.dev, "%s: second buffer status 0x%x\n", in sh_vou_buf_queue()
361 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_buf_release()
396 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_querycap()
413 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_enum_fmt_vid_out()
428 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_g_fmt_vid_out()
490 dev_dbg(vou_dev->v4l2_dev.dev, in sh_vou_configure_geometry()
511 dev_dbg(vou_dev->v4l2_dev.dev, "%s: scaling 0x%x\n", fmt->desc, vouvcr); in sh_vou_configure_geometry()
690 dev_dbg(vou_dev->v4l2_dev.dev, "%s(): %ux%u -> %ux%u\n", __func__, in sh_vou_s_fmt_vid_out()
725 ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, video, in sh_vou_s_fmt_vid_out()
731 dev_dbg(vou_dev->v4l2_dev.dev, "%s(): %ux%u -> %ux%u\n", __func__, in sh_vou_s_fmt_vid_out()
753 dev_dbg(vou_dev->v4l2_dev.dev, "%s(): %ux%u\n", __func__, in sh_vou_s_fmt_vid_out()
773 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_try_fmt_vid_out()
796 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_reqbufs()
810 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_querybuf()
820 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_qbuf()
830 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_dqbuf()
842 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_streamon()
844 ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, in sh_vou_streamon()
859 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_streamoff()
866 v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, video, s_stream, 0); in sh_vou_streamoff()
891 dev_dbg(vou_dev->v4l2_dev.dev, "%s(): 0x%llx\n", __func__, std_id); in sh_vou_s_std()
896 ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, video, in sh_vou_s_std()
917 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_g_std()
928 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_g_crop()
954 dev_dbg(vou_dev->v4l2_dev.dev, "%s(): %ux%u@%u:%u\n", __func__, in sh_vou_s_crop()
985 v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, video, in sh_vou_s_crop()
989 ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, video, in sh_vou_s_crop()
1033 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_cropcap()
1062 dev_warn(vou_dev->v4l2_dev.dev, "IRQ status 0x%x!\n", in sh_vou_isr()
1070 dev_warn(vou_dev->v4l2_dev.dev, in sh_vou_isr()
1079 dev_dbg(vou_dev->v4l2_dev.dev, in sh_vou_isr()
1099 dev_dbg(vou_dev->v4l2_dev.dev, "%s: queue empty after %d\n", in sh_vou_isr()
1141 dev_dbg(vou_dev->v4l2_dev.dev, "Reset took %dus\n", 100 - i); in sh_vou_hw_init()
1169 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_open()
1179 pm_runtime_get_sync(vou_dev->v4l2_dev.dev); in sh_vou_open()
1183 pm_runtime_put(vou_dev->v4l2_dev.dev); in sh_vou_open()
1192 vou_dev->v4l2_dev.dev, &vou_dev->lock, in sh_vou_open()
1209 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_release()
1216 pm_runtime_put(vou_dev->v4l2_dev.dev); in sh_vou_release()
1232 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_mmap()
1247 dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); in sh_vou_poll()
1358 ret = v4l2_device_register(&pdev->dev, &vou_dev->v4l2_dev); in sh_vou_probe()
1368 vdev->v4l2_dev = &vou_dev->v4l2_dev; in sh_vou_probe()
1387 subdev = v4l2_i2c_new_subdev_board(&vou_dev->v4l2_dev, i2c_adap, in sh_vou_probe()
1406 v4l2_device_unregister(&vou_dev->v4l2_dev); in sh_vou_probe()
1421 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); in sh_vou_remove() local
1422 struct sh_vou_device *vou_dev = container_of(v4l2_dev, in sh_vou_remove()
1423 struct sh_vou_device, v4l2_dev); in sh_vou_remove()
1424 struct v4l2_subdev *sd = list_entry(v4l2_dev->subdevs.next, in sh_vou_remove()
1434 v4l2_device_unregister(&vou_dev->v4l2_dev); in sh_vou_remove()