/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 14 #include <linux/usb/video.h> 27 uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_header() argument 31 data[1] = UVC_STREAM_EOH | video->fid; in uvc_video_encode_header() 33 if (buf->bytesused - video->queue.buf_used <= len - 2) in uvc_video_encode_header() 40 uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_data() argument 43 struct uvc_video_queue *queue = &video->queue; in uvc_video_encode_data() 47 /* Copy video data to the USB buffer. */ in uvc_video_encode_data() 58 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk() argument 62 int len = video->req_size; in uvc_video_encode_bulk() 66 if (video in uvc_video_encode_bulk() 98 uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video, struct uvc_buffer *buf) uvc_video_encode_isoc() argument 128 uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req) uvcg_video_ep_queue() argument 148 struct uvc_video *video = req->context; uvc_video_complete() local 176 uvc_video_free_requests(struct uvc_video *video) uvc_video_free_requests() argument 198 uvc_video_alloc_requests(struct uvc_video *video) uvc_video_alloc_requests() argument 248 struct uvc_video *video = container_of(work, struct uvc_video, pump); uvcg_video_pump() local 300 uvcg_video_enable(struct uvc_video *video, int enable) uvcg_video_enable() argument 344 uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc) uvcg_video_init() argument [all...] |
H A D | uvc_v4l2.c | 82 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local 84 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format() 85 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format() 86 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format() 88 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format() 89 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format() 101 struct uvc_video *video = &uvc->video; in uvc_v4l2_set_format() local 142 struct uvc_video *video = &uvc->video; uvc_v4l2_reqbufs() local 155 struct uvc_video *video = &uvc->video; uvc_v4l2_querybuf() local 165 struct uvc_video *video = &uvc->video; uvc_v4l2_qbuf() local 182 struct uvc_video *video = &uvc->video; uvc_v4l2_dqbuf() local 192 struct uvc_video *video = &uvc->video; uvc_v4l2_streamon() local 218 struct uvc_video *video = &uvc->video; uvc_v4l2_streamoff() local 343 struct uvc_video *video = handle->device; uvc_v4l2_release() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 14 #include <linux/usb/video.h> 28 uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_header() argument 31 struct uvc_device *uvc = container_of(video, struct uvc_device, video); in uvc_video_encode_header() 36 data[1] = UVC_STREAM_EOH | video->fid; in uvc_video_encode_header() 38 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header() 62 if (buf->bytesused - video->queue.buf_used <= len - pos) in uvc_video_encode_header() 69 uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_data() argument 72 struct uvc_video_queue *queue = &video->queue; in uvc_video_encode_data() 76 /* Copy video dat in uvc_video_encode_data() 87 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, struct uvc_buffer *buf) uvc_video_encode_bulk() argument 130 uvc_video_encode_isoc_sg(struct usb_request *req, struct uvc_video *video, struct uvc_buffer *buf) uvc_video_encode_isoc_sg() argument 197 uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video, struct uvc_buffer *buf) uvc_video_encode_isoc() argument 230 uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req) uvcg_video_ep_queue() argument 254 struct uvc_video *video = ureq->video; uvc_video_complete() local 294 uvc_video_free_requests(struct uvc_video *video) uvc_video_free_requests() argument 323 uvc_video_alloc_requests(struct uvc_video *video) uvc_video_alloc_requests() argument 383 struct uvc_video *video = container_of(work, struct uvc_video, pump); uvcg_video_pump() local 489 uvcg_video_enable(struct uvc_video *video, int enable) uvcg_video_enable() argument 536 uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc) uvcg_video_init() argument [all...] |
H A D | uvc_v4l2.c | 137 struct uvc_video *video = &uvc->video; in find_closest_frame_by_size() local 172 uvcg_dbg(&video->uvc->func, "Unsupported size %ux%u\n", rw, rh); in find_closest_frame_by_size() 221 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local 223 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format() 224 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format() 225 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format() 227 fmt->fmt.pix.bytesperline = video->bpp * video in uvc_v4l2_get_format() 240 struct uvc_video *video = &uvc->video; uvc_v4l2_try_format() local 280 struct uvc_video *video = &uvc->video; uvc_v4l2_set_format() local 388 struct uvc_video *video = &uvc->video; uvc_v4l2_reqbufs() local 401 struct uvc_video *video = &uvc->video; uvc_v4l2_querybuf() local 411 struct uvc_video *video = &uvc->video; uvc_v4l2_qbuf() local 429 struct uvc_video *video = &uvc->video; uvc_v4l2_dqbuf() local 439 struct uvc_video *video = &uvc->video; uvc_v4l2_streamon() local 465 struct uvc_video *video = &uvc->video; uvc_v4l2_streamoff() local 594 struct uvc_video *video = handle->device; uvc_v4l2_release() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispvideo.c | 5 * TI OMAP3 ISP - Generic video node 129 * @video: ISP video instance 135 * per line value in the pix format and information from the video instance. 139 static unsigned int isp_video_mbus_to_pix(const struct isp_video *video, in isp_video_mbus_to_pix() argument 165 if (video->bpl_max) in isp_video_mbus_to_pix() 166 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix() 170 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix() 171 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix() 205 isp_video_remote_subdev(struct isp_video *video, u3 argument 221 isp_video_get_graph_data(struct isp_video *video, struct isp_pipeline *pipe) isp_video_get_graph_data() argument 277 __isp_video_get_format(struct isp_video *video, struct v4l2_format *format) __isp_video_get_format() argument 303 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) isp_video_check_format() argument 333 struct isp_video *video = vfh->video; isp_video_queue_setup() local 351 struct isp_video *video = vfh->video; isp_video_buffer_prepare() local 391 struct isp_video *video = vfh->video; isp_video_buffer_queue() local 444 omap3isp_video_return_buffers(struct isp_video *video, enum vb2_buffer_state state) omap3isp_video_return_buffers() argument 461 struct isp_video *video = vfh->video; isp_video_start_streaming() local 513 omap3isp_video_buffer_next(struct isp_video *video) omap3isp_video_buffer_next() argument 603 omap3isp_video_cancel_stream(struct isp_video *video) omap3isp_video_cancel_stream() argument 623 omap3isp_video_resume(struct isp_video *video, int continuous) omap3isp_video_resume() argument 651 struct isp_video *video = video_drvdata(file); isp_video_querycap() local 668 struct isp_video *video = video_drvdata(file); isp_video_get_format() local 684 struct isp_video *video = video_drvdata(file); isp_video_set_format() local 741 struct isp_video *video = video_drvdata(file); isp_video_try_format() local 769 struct isp_video *video = video_drvdata(file); isp_video_get_selection() local 826 struct isp_video *video = video_drvdata(file); isp_video_set_selection() local 867 struct isp_video *video = video_drvdata(file); isp_video_get_param() local 885 struct isp_video *video = video_drvdata(file); isp_video_set_param() local 903 struct isp_video *video = video_drvdata(file); isp_video_reqbufs() local 917 struct isp_video *video = video_drvdata(file); isp_video_querybuf() local 931 struct isp_video *video = video_drvdata(file); isp_video_qbuf() local 945 struct isp_video *video = video_drvdata(file); isp_video_dqbuf() local 955 isp_video_check_external_subdevs(struct isp_video *video, struct isp_pipeline *pipe) isp_video_check_external_subdevs() argument 1082 struct isp_video *video = video_drvdata(file); isp_video_streamon() local 1189 struct isp_video *video = video_drvdata(file); isp_video_streamoff() local 1295 struct isp_video *video = video_drvdata(file); isp_video_open() local 1354 struct isp_video *video = video_drvdata(file); isp_video_release() local 1381 struct isp_video *video = video_drvdata(file); isp_video_poll() local 1414 omap3isp_video_init(struct isp_video *video, const char *name) omap3isp_video_init() argument 1472 omap3isp_video_cleanup(struct isp_video *video) omap3isp_video_cleanup() argument 1480 omap3isp_video_register(struct isp_video *video, struct v4l2_device *vdev) omap3isp_video_register() argument 1495 omap3isp_video_unregister(struct isp_video *video) omap3isp_video_unregister() argument [all...] |
H A D | ispvideo.h | 5 * TI OMAP3 ISP - Generic video node 60 /* The stream has been started on the input video node. */ 62 /* The stream has been started on the output video node. */ 64 /* At least one buffer is queued on the input video node. */ 66 /* At least one buffer is queued on the output video node. */ 116 * struct isp_buffer - ISP video buffer 136 #define isp_video_dmaqueue_flags_clr(video) \ 137 ({ (video)->dmaqueue_flags = 0; }) 140 * struct isp_video_operations - ISP video operations 145 int(*queue)(struct isp_video *video, struc 149 struct video_device video; global() member 184 struct isp_video *video; global() member [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | aspeed-video.c | 34 #define DEVICE_NAME "aspeed-video" 427 static void aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear, in aspeed_video_update() argument 430 u32 t = readl(video->base + reg); in aspeed_video_update() 435 writel(t, video->base + reg); in aspeed_video_update() 436 dev_dbg(video->dev, "update %03x[%08x -> %08x]\n", reg, before, in aspeed_video_update() 437 readl(video->base + reg)); in aspeed_video_update() 440 static u32 aspeed_video_read(struct aspeed_video *video, u32 reg) in aspeed_video_read() argument 442 u32 t = readl(video->base + reg); in aspeed_video_read() 444 dev_dbg(video->dev, "read %03x[%08x]\n", reg, t); in aspeed_video_read() 448 static void aspeed_video_write(struct aspeed_video *video, u3 argument 455 aspeed_video_start_frame(struct aspeed_video *video) aspeed_video_start_frame() argument 499 aspeed_video_enable_mode_detect(struct aspeed_video *video) aspeed_video_enable_mode_detect() argument 513 aspeed_video_off(struct aspeed_video *video) aspeed_video_off() argument 529 aspeed_video_on(struct aspeed_video *video) aspeed_video_on() argument 541 aspeed_video_bufs_done(struct aspeed_video *video, enum vb2_buffer_state state) aspeed_video_bufs_done() argument 554 aspeed_video_irq_res_change(struct aspeed_video *video, ulong delay) aspeed_video_irq_res_change() argument 571 struct aspeed_video *video = arg; aspeed_video_irq() local 653 aspeed_video_check_and_set_polarity(struct aspeed_video *video) aspeed_video_check_and_set_polarity() argument 698 aspeed_video_alloc_buf(struct aspeed_video *video, struct aspeed_video_addr *addr, unsigned int size) aspeed_video_alloc_buf() argument 711 aspeed_video_free_buf(struct aspeed_video *video, struct aspeed_video_addr *addr) aspeed_video_free_buf() argument 726 aspeed_video_calc_compressed_size(struct aspeed_video *video, unsigned int frame_size) aspeed_video_calc_compressed_size() argument 761 aspeed_video_get_resolution(struct aspeed_video *video) aspeed_video_get_resolution() argument 862 aspeed_video_set_resolution(struct aspeed_video *video) aspeed_video_set_resolution() argument 932 aspeed_video_init_regs(struct aspeed_video *video) aspeed_video_init_regs() argument 975 aspeed_video_start(struct aspeed_video *video) aspeed_video_start() argument 993 aspeed_video_stop(struct aspeed_video *video) aspeed_video_stop() argument 1035 struct aspeed_video *video = video_drvdata(file); aspeed_video_get_format() local 1045 struct aspeed_video *video = video_drvdata(file); aspeed_video_enum_input() local 1076 struct aspeed_video *video = video_drvdata(file); aspeed_video_get_parm() local 1093 struct aspeed_video *video = video_drvdata(file); aspeed_video_set_parm() local 1120 struct aspeed_video *video = video_drvdata(file); aspeed_video_enum_framesizes() local 1138 struct aspeed_video *video = video_drvdata(file); aspeed_video_enum_frameintervals() local 1164 struct aspeed_video *video = video_drvdata(file); aspeed_video_set_dv_timings() local 1189 struct aspeed_video *video = video_drvdata(file); aspeed_video_get_dv_timings() local 1201 struct aspeed_video *video = video_drvdata(file); aspeed_video_query_dv_timings() local 1288 aspeed_video_update_jpeg_quality(struct aspeed_video *video) aspeed_video_update_jpeg_quality() argument 1298 aspeed_video_update_subsampling(struct aspeed_video *video) aspeed_video_update_subsampling() argument 1311 struct aspeed_video *video = container_of(ctrl->handler, aspeed_video_set_ctrl() local 1343 struct aspeed_video *video = container_of(dwork, struct aspeed_video, aspeed_video_resolution_work() local 1377 struct aspeed_video *video = video_drvdata(file); aspeed_video_open() local 1398 struct aspeed_video *video = video_drvdata(file); aspeed_video_release() local 1428 struct aspeed_video *video = vb2_get_drv_priv(q); aspeed_video_queue_setup() local 1445 struct aspeed_video *video = vb2_get_drv_priv(vb->vb2_queue); aspeed_video_buf_prepare() local 1457 struct aspeed_video *video = vb2_get_drv_priv(q); aspeed_video_start_streaming() local 1474 struct aspeed_video *video = vb2_get_drv_priv(q); aspeed_video_stop_streaming() local 1502 struct aspeed_video *video = vb2_get_drv_priv(vb->vb2_queue); aspeed_video_buf_queue() local 1527 aspeed_video_setup_video(struct aspeed_video *video) aspeed_video_setup_video() argument 1613 aspeed_video_init(struct aspeed_video *video) aspeed_video_init() argument 1693 struct aspeed_video *video; aspeed_video_probe() local 1739 struct aspeed_video *video = to_aspeed_video(v4l2_dev); aspeed_video_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispvideo.c | 5 * TI OMAP3 ISP - Generic video node 129 * @video: ISP video instance 135 * per line value in the pix format and information from the video instance. 139 static unsigned int isp_video_mbus_to_pix(const struct isp_video *video, in isp_video_mbus_to_pix() argument 165 if (video->bpl_max) in isp_video_mbus_to_pix() 166 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix() 170 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix() 171 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix() 205 isp_video_remote_subdev(struct isp_video *video, u3 argument 221 isp_video_get_graph_data(struct isp_video *video, struct isp_pipeline *pipe) isp_video_get_graph_data() argument 269 __isp_video_get_format(struct isp_video *video, struct v4l2_format *format) __isp_video_get_format() argument 296 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) isp_video_check_format() argument 326 struct isp_video *video = vfh->video; isp_video_queue_setup() local 344 struct isp_video *video = vfh->video; isp_video_buffer_prepare() local 384 struct isp_video *video = vfh->video; isp_video_buffer_queue() local 437 omap3isp_video_return_buffers(struct isp_video *video, enum vb2_buffer_state state) omap3isp_video_return_buffers() argument 454 struct isp_video *video = vfh->video; isp_video_start_streaming() local 506 omap3isp_video_buffer_next(struct isp_video *video) omap3isp_video_buffer_next() argument 596 omap3isp_video_cancel_stream(struct isp_video *video) omap3isp_video_cancel_stream() argument 616 omap3isp_video_resume(struct isp_video *video, int continuous) omap3isp_video_resume() argument 644 struct isp_video *video = video_drvdata(file); isp_video_querycap() local 661 struct isp_video *video = video_drvdata(file); isp_video_get_format() local 677 struct isp_video *video = video_drvdata(file); isp_video_set_format() local 734 struct isp_video *video = video_drvdata(file); isp_video_try_format() local 763 struct isp_video *video = video_drvdata(file); isp_video_get_selection() local 821 struct isp_video *video = video_drvdata(file); isp_video_set_selection() local 862 struct isp_video *video = video_drvdata(file); isp_video_get_param() local 880 struct isp_video *video = video_drvdata(file); isp_video_set_param() local 898 struct isp_video *video = video_drvdata(file); isp_video_reqbufs() local 912 struct isp_video *video = video_drvdata(file); isp_video_querybuf() local 926 struct isp_video *video = video_drvdata(file); isp_video_qbuf() local 940 struct isp_video *video = video_drvdata(file); isp_video_dqbuf() local 950 isp_video_check_external_subdevs(struct isp_video *video, struct isp_pipeline *pipe) isp_video_check_external_subdevs() argument 1078 struct isp_video *video = video_drvdata(file); isp_video_streamon() local 1184 struct isp_video *video = video_drvdata(file); isp_video_streamoff() local 1290 struct isp_video *video = video_drvdata(file); isp_video_open() local 1349 struct isp_video *video = video_drvdata(file); isp_video_release() local 1376 struct isp_video *video = video_drvdata(file); isp_video_poll() local 1409 omap3isp_video_init(struct isp_video *video, const char *name) omap3isp_video_init() argument 1467 omap3isp_video_cleanup(struct isp_video *video) omap3isp_video_cleanup() argument 1475 omap3isp_video_register(struct isp_video *video, struct v4l2_device *vdev) omap3isp_video_register() argument 1490 omap3isp_video_unregister(struct isp_video *video) omap3isp_video_unregister() argument [all...] |
H A D | ispvideo.h | 5 * TI OMAP3 ISP - Generic video node 60 /* The stream has been started on the input video node. */ 62 /* The stream has been started on the output video node. */ 64 /* At least one buffer is queued on the input video node. */ 66 /* At least one buffer is queued on the output video node. */ 123 * struct isp_buffer - ISP video buffer 143 #define isp_video_dmaqueue_flags_clr(video) \ 144 ({ (video)->dmaqueue_flags = 0; }) 147 * struct isp_video_operations - ISP video operations 152 int(*queue)(struct isp_video *video, struc 156 struct video_device video; global() member 191 struct isp_video *video; global() member [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/aspeed/ |
H A D | aspeed-video.c | 35 #include <uapi/linux/aspeed-video.h> 39 #define DEVICE_NAME "aspeed-video" 267 * flags: holds the state of video 274 * format: holds the video format 279 * frame_bottom: end position of video data in vertical direction 280 * frame_left: start position of video data in horizontal direction 281 * frame_right: end position of video data in horizontal direction 282 * frame_top: start position of video data in vertical direction 491 static bool aspeed_video_alloc_buf(struct aspeed_video *video, 495 static void aspeed_video_free_buf(struct aspeed_video *video, 536 aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear, u32 bits) aspeed_video_update() argument 549 aspeed_video_read(struct aspeed_video *video, u32 reg) aspeed_video_read() argument 557 aspeed_video_write(struct aspeed_video *video, u32 reg, u32 val) aspeed_video_write() argument 579 aspeed_video_start_frame(struct aspeed_video *video) aspeed_video_start_frame() argument 640 aspeed_video_enable_mode_detect(struct aspeed_video *video) aspeed_video_enable_mode_detect() argument 654 aspeed_video_off(struct aspeed_video *video) aspeed_video_off() argument 670 aspeed_video_on(struct aspeed_video *video) aspeed_video_on() argument 682 aspeed_video_bufs_done(struct aspeed_video *video, enum vb2_buffer_state state) aspeed_video_bufs_done() argument 695 aspeed_video_irq_res_change(struct aspeed_video *video, ulong delay) aspeed_video_irq_res_change() argument 730 struct aspeed_video *video = arg; aspeed_video_irq() local 830 aspeed_video_check_and_set_polarity(struct aspeed_video *video) aspeed_video_check_and_set_polarity() argument 875 aspeed_video_alloc_buf(struct aspeed_video *video, struct aspeed_video_addr *addr, unsigned int size) aspeed_video_alloc_buf() argument 888 aspeed_video_free_buf(struct aspeed_video *video, struct aspeed_video_addr *addr) aspeed_video_free_buf() argument 903 aspeed_video_calc_compressed_size(struct aspeed_video *video, unsigned int frame_size) aspeed_video_calc_compressed_size() argument 1031 aspeed_video_get_resolution(struct aspeed_video *video) aspeed_video_get_resolution() argument 1129 aspeed_video_set_resolution(struct aspeed_video *video) aspeed_video_set_resolution() argument 1210 aspeed_video_update_regs(struct aspeed_video *video) aspeed_video_update_regs() argument 1264 aspeed_video_init_regs(struct aspeed_video *video) aspeed_video_init_regs() argument 1304 aspeed_video_start(struct aspeed_video *video) aspeed_video_start() argument 1322 aspeed_video_stop(struct aspeed_video *video) aspeed_video_stop() argument 1356 struct aspeed_video *video = video_drvdata(file); aspeed_video_enum_format() local 1369 struct aspeed_video *video = video_drvdata(file); aspeed_video_get_format() local 1379 struct aspeed_video *video = video_drvdata(file); aspeed_video_set_format() local 1402 struct aspeed_video *video = video_drvdata(file); aspeed_video_enum_input() local 1433 struct aspeed_video *video = video_drvdata(file); aspeed_video_get_parm() local 1450 struct aspeed_video *video = video_drvdata(file); aspeed_video_set_parm() local 1477 struct aspeed_video *video = video_drvdata(file); aspeed_video_enum_framesizes() local 1495 struct aspeed_video *video = video_drvdata(file); aspeed_video_enum_frameintervals() local 1521 struct aspeed_video *video = video_drvdata(file); aspeed_video_set_dv_timings() local 1549 struct aspeed_video *video = video_drvdata(file); aspeed_video_get_dv_timings() local 1561 struct aspeed_video *video = video_drvdata(file); aspeed_video_query_dv_timings() local 1650 struct aspeed_video *video = container_of(ctrl->handler, aspeed_video_set_ctrl() local 1711 struct aspeed_video *video = container_of(dwork, struct aspeed_video, aspeed_video_resolution_work() local 1748 struct aspeed_video *video = video_drvdata(file); aspeed_video_open() local 1769 struct aspeed_video *video = video_drvdata(file); aspeed_video_release() local 1799 struct aspeed_video *video = vb2_get_drv_priv(q); aspeed_video_queue_setup() local 1816 struct aspeed_video *video = vb2_get_drv_priv(vb->vb2_queue); aspeed_video_buf_prepare() local 1828 struct aspeed_video *video = vb2_get_drv_priv(q); aspeed_video_start_streaming() local 1849 struct aspeed_video *video = vb2_get_drv_priv(q); aspeed_video_stop_streaming() local 1877 struct aspeed_video *video = vb2_get_drv_priv(vb->vb2_queue); aspeed_video_buf_queue() local 1967 aspeed_video_debugfs_remove(struct aspeed_video *video) aspeed_video_debugfs_remove() argument 1973 aspeed_video_debugfs_create(struct aspeed_video *video) aspeed_video_debugfs_create() argument 1984 aspeed_video_debugfs_remove(struct aspeed_video *video) aspeed_video_debugfs_remove() argument 1985 aspeed_video_debugfs_create(struct aspeed_video *video) aspeed_video_debugfs_create() argument 1991 aspeed_video_setup_video(struct aspeed_video *video) aspeed_video_setup_video() argument 2080 aspeed_video_init(struct aspeed_video *video) aspeed_video_init() argument 2162 struct aspeed_video *video; aspeed_video_probe() local 2212 struct aspeed_video *video = to_aspeed_video(v4l2_dev); aspeed_video_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_video.c | 3 * TI OMAP4 ISS V4L2 Driver - Generic video node 104 * @video: ISS video instance 110 * per line value in the pix format and information from the video instance. 114 static unsigned int iss_video_mbus_to_pix(const struct iss_video *video, in iss_video_mbus_to_pix() argument 142 if (video->bpl_max) in iss_video_mbus_to_pix() 143 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix() 147 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix() 148 bpl = ALIGN(bpl, video->bpl_alignment); in iss_video_mbus_to_pix() 187 iss_video_remote_subdev(struct iss_video *video, u3 argument 204 iss_video_far_end(struct iss_video *video, struct iss_pipeline *pipe) iss_video_far_end() argument 237 __iss_video_get_format(struct iss_video *video, struct v4l2_mbus_framefmt *format) __iss_video_get_format() argument 265 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) iss_video_check_format() argument 298 struct iss_video *video = vfh->video; iss_video_queue_setup() local 326 struct iss_video *video = vfh->video; iss_video_buf_prepare() local 349 struct iss_video *video = vfh->video; iss_video_buf_queue() local 421 omap4iss_video_buffer_next(struct iss_video *video) omap4iss_video_buffer_next() argument 496 omap4iss_video_cancel_stream(struct iss_video *video) omap4iss_video_cancel_stream() argument 524 struct iss_video *video = video_drvdata(file); iss_video_querycap() local 538 struct iss_video *video = video_drvdata(file); iss_video_enum_format() local 572 struct iss_video *video = video_drvdata(file); iss_video_get_format() local 588 struct iss_video *video = video_drvdata(file); iss_video_set_format() local 612 struct iss_video *video = video_drvdata(file); iss_video_try_format() local 641 struct iss_video *video = video_drvdata(file); iss_video_get_selection() local 700 struct iss_video *video = video_drvdata(file); iss_video_set_selection() local 741 struct iss_video *video = video_drvdata(file); iss_video_get_param() local 759 struct iss_video *video = video_drvdata(file); iss_video_set_param() local 792 struct iss_video *video = video_drvdata(file); iss_video_qbuf() local 849 struct iss_video *video = video_drvdata(file); iss_video_streamon() local 988 struct iss_video *video = video_drvdata(file); iss_video_streamoff() local 1086 struct iss_video *video = video_drvdata(file); iss_video_open() local 1146 struct iss_video *video = video_drvdata(file); iss_video_release() local 1198 omap4iss_video_init(struct iss_video *video, const char *name) omap4iss_video_init() argument 1245 omap4iss_video_cleanup(struct iss_video *video) omap4iss_video_cleanup() argument 1252 omap4iss_video_register(struct iss_video *video, struct v4l2_device *vdev) omap4iss_video_register() argument 1271 omap4iss_video_unregister(struct iss_video *video) omap4iss_video_unregister() argument [all...] |
H A D | iss_video.h | 3 * TI OMAP4 ISS V4L2 Driver - Generic video node 55 /* The stream has been started on the input video node. */ 57 /* The stream has been started on the output video node. */ 59 /* At least one buffer is queued on the input video node. */ 61 /* At least one buffer is queued on the output video node. */ 115 * @buffer: ISS video buffer 134 #define iss_video_dmaqueue_flags_clr(video) \ 135 ({ (video)->dmaqueue_flags = 0; }) 138 * struct iss_video_operations - ISS video operations 143 int (*queue)(struct iss_video *video, struc 147 struct video_device video; global() member 181 struct iss_video *video; global() member [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_video.c | 3 * TI OMAP4 ISS V4L2 Driver - Generic video node 106 * @video: ISS video instance 112 * per line value in the pix format and information from the video instance. 116 static unsigned int iss_video_mbus_to_pix(const struct iss_video *video, in iss_video_mbus_to_pix() argument 144 if (video->bpl_max) in iss_video_mbus_to_pix() 145 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix() 149 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix() 150 bpl = ALIGN(bpl, video->bpl_alignment); in iss_video_mbus_to_pix() 189 iss_video_remote_subdev(struct iss_video *video, u3 argument 206 iss_video_far_end(struct iss_video *video) iss_video_far_end() argument 244 __iss_video_get_format(struct iss_video *video, struct v4l2_mbus_framefmt *format) __iss_video_get_format() argument 272 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) iss_video_check_format() argument 305 struct iss_video *video = vfh->video; iss_video_queue_setup() local 333 struct iss_video *video = vfh->video; iss_video_buf_prepare() local 356 struct iss_video *video = vfh->video; iss_video_buf_queue() local 428 omap4iss_video_buffer_next(struct iss_video *video) omap4iss_video_buffer_next() argument 503 omap4iss_video_cancel_stream(struct iss_video *video) omap4iss_video_cancel_stream() argument 531 struct iss_video *video = video_drvdata(file); iss_video_querycap() local 545 struct iss_video *video = video_drvdata(file); iss_video_enum_format() local 579 struct iss_video *video = video_drvdata(file); iss_video_get_format() local 595 struct iss_video *video = video_drvdata(file); iss_video_set_format() local 619 struct iss_video *video = video_drvdata(file); iss_video_try_format() local 647 struct iss_video *video = video_drvdata(file); iss_video_get_selection() local 705 struct iss_video *video = video_drvdata(file); iss_video_set_selection() local 746 struct iss_video *video = video_drvdata(file); iss_video_get_param() local 764 struct iss_video *video = video_drvdata(file); iss_video_set_param() local 797 struct iss_video *video = video_drvdata(file); iss_video_qbuf() local 854 struct iss_video *video = video_drvdata(file); iss_video_streamon() local 998 struct iss_video *video = video_drvdata(file); iss_video_streamoff() local 1096 struct iss_video *video = video_drvdata(file); iss_video_open() local 1156 struct iss_video *video = video_drvdata(file); iss_video_release() local 1208 omap4iss_video_init(struct iss_video *video, const char *name) omap4iss_video_init() argument 1255 omap4iss_video_cleanup(struct iss_video *video) omap4iss_video_cleanup() argument 1262 omap4iss_video_register(struct iss_video *video, struct v4l2_device *vdev) omap4iss_video_register() argument 1281 omap4iss_video_unregister(struct iss_video *video) omap4iss_video_unregister() argument [all...] |
H A D | iss_video.h | 3 * TI OMAP4 ISS V4L2 Driver - Generic video node 56 /* The stream has been started on the input video node. */ 58 /* The stream has been started on the output video node. */ 60 /* At least one buffer is queued on the input video node. */ 62 /* At least one buffer is queued on the output video node. */ 109 * @buffer: ISS video buffer 128 #define iss_video_dmaqueue_flags_clr(video) \ 129 ({ (video)->dmaqueue_flags = 0; }) 132 * struct iss_video_operations - ISS video operations 137 int (*queue)(struct iss_video *video, struc 141 struct video_device video; global() member 175 struct iss_video *video; global() member [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_video.c | 76 sun6i_video_remote_subdev(struct sun6i_video *video, u32 *pad) in sun6i_video_remote_subdev() argument 80 remote = media_entity_remote_pad(&video->pad); in sun6i_video_remote_subdev() 97 struct sun6i_video *video = vb2_get_drv_priv(vq); in sun6i_video_queue_setup() local 98 unsigned int size = video->fmt.fmt.pix.sizeimage; in sun6i_video_queue_setup() 114 struct sun6i_video *video = vb2_get_drv_priv(vb->vb2_queue); in sun6i_video_buffer_prepare() local 115 unsigned long size = video->fmt.fmt.pix.sizeimage; in sun6i_video_buffer_prepare() 118 v4l2_err(video->vdev.v4l2_dev, "buffer too small (%lu < %lu)\n", in sun6i_video_buffer_prepare() 127 vbuf->field = video->fmt.fmt.pix.field; in sun6i_video_buffer_prepare() 134 struct sun6i_video *video = vb2_get_drv_priv(vq); in sun6i_video_start_streaming() local 142 video in sun6i_video_start_streaming() 223 struct sun6i_video *video = vb2_get_drv_priv(vq); sun6i_video_stop_streaming() local 249 struct sun6i_video *video = vb2_get_drv_priv(vb->vb2_queue); sun6i_video_buffer_queue() local 258 sun6i_video_frame_done(struct sun6i_video *video) sun6i_video_frame_done() argument 319 struct sun6i_video *video = video_drvdata(file); vidioc_querycap() local 345 struct sun6i_video *video = video_drvdata(file); vidioc_g_fmt_vid_cap() local 352 sun6i_video_try_fmt(struct sun6i_video *video, struct v4l2_format *f) sun6i_video_try_fmt() argument 379 sun6i_video_set_fmt(struct sun6i_video *video, struct v4l2_format *f) sun6i_video_set_fmt() argument 395 struct sun6i_video *video = video_drvdata(file); vidioc_s_fmt_vid_cap() local 406 struct sun6i_video *video = video_drvdata(file); vidioc_try_fmt_vid_cap() local 469 struct sun6i_video *video = video_drvdata(file); sun6i_video_open() local 503 struct sun6i_video *video = video_drvdata(file); sun6i_video_close() local 553 struct sun6i_video *video = video_get_drvdata(vdev); sun6i_video_link_validate() local 597 sun6i_video_init(struct sun6i_video *video, struct sun6i_csi *csi, const char *name) sun6i_video_init() argument 676 sun6i_video_cleanup(struct sun6i_video *video) sun6i_video_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-video.c | 494 struct mxc_isi_video *video = &pipe->video; in mxc_isi_video_frame_write_done() local 500 spin_lock(&video->buf_lock); in mxc_isi_video_frame_write_done() 560 buf = list_first_entry_or_null(&video->out_active, in mxc_isi_video_frame_write_done() 591 video->frame_count += 2; in mxc_isi_video_frame_write_done() 596 next_buf = list_first_entry_or_null(&video->out_pending, in mxc_isi_video_frame_write_done() 599 next_buf = list_first_entry_or_null(&video->out_discard, in mxc_isi_video_frame_write_done() 629 video->frame_count += 2; in mxc_isi_video_frame_write_done() 637 list_move_tail(&next_buf->list, &video->out_active); in mxc_isi_video_frame_write_done() 641 buf->v4l2_buf.sequence = video in mxc_isi_video_frame_write_done() 654 mxc_isi_video_free_discard_buffers(struct mxc_isi_video *video) mxc_isi_video_free_discard_buffers() argument 670 mxc_isi_video_alloc_discard_buffers(struct mxc_isi_video *video) mxc_isi_video_alloc_discard_buffers() argument 704 mxc_isi_video_validate_format(struct mxc_isi_video *video) mxc_isi_video_validate_format() argument 733 mxc_isi_video_return_buffers(struct mxc_isi_video *video, enum vb2_buffer_state state) mxc_isi_video_return_buffers() argument 770 mxc_isi_video_queue_first_buffers(struct mxc_isi_video *video) mxc_isi_video_queue_first_buffers() argument 887 struct mxc_isi_video *video = vb2_get_drv_priv(q); mxc_isi_vb2_queue_setup() local 896 struct mxc_isi_video *video = vb2_get_drv_priv(vb2->vb2_queue); mxc_isi_vb2_buffer_init() local 906 struct mxc_isi_video *video = vb2_get_drv_priv(vb2->vb2_queue); mxc_isi_vb2_buffer_prepare() local 916 struct mxc_isi_video *video = vb2_get_drv_priv(vb2->vb2_queue); mxc_isi_vb2_buffer_queue() local 923 mxc_isi_video_init_channel(struct mxc_isi_video *video) mxc_isi_video_init_channel() argument 939 struct mxc_isi_video *video = vb2_get_drv_priv(q); mxc_isi_vb2_start_streaming() local 977 struct mxc_isi_video *video = vb2_get_drv_priv(q); mxc_isi_vb2_stop_streaming() local 1007 struct mxc_isi_video *video = ctrl_to_isi_video(ctrl); mxc_isi_video_s_ctrl() local 1028 mxc_isi_video_ctrls_create(struct mxc_isi_video *video) mxc_isi_video_ctrls_create() argument 1055 mxc_isi_video_ctrls_delete(struct mxc_isi_video *video) mxc_isi_video_ctrls_delete() argument 1116 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_g_fmt() local 1126 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_try_fmt() local 1135 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_s_fmt() local 1150 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_streamon() local 1209 mxc_isi_video_cleanup_streaming(struct mxc_isi_video *video) mxc_isi_video_cleanup_streaming() argument 1226 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_streamoff() local 1241 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_enum_framesizes() local 1309 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_open() local 1327 struct mxc_isi_video *video = video_drvdata(file); mxc_isi_video_release() local 1357 struct mxc_isi_video *video = &pipe->video; mxc_isi_video_suspend() local 1388 struct mxc_isi_video *video = &pipe->video; mxc_isi_video_resume() local 1409 struct mxc_isi_video *video = &pipe->video; mxc_isi_video_register() local 1500 struct mxc_isi_video *video = &pipe->video; mxc_isi_video_unregister() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_video.c | 63 static int vsp1_video_verify_format(struct vsp1_video *video) in vsp1_video_verify_format() argument 69 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format() 78 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format() 79 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format() 80 video->rwpf->format.width != fmt.format.width) in vsp1_video_verify_format() 86 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument 118 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format() 120 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format() 305 * @video: the video nod 313 vsp1_video_complete_buffer(struct vsp1_video *video) vsp1_video_complete_buffer() argument 352 struct vsp1_video *video = rwpf->video; vsp1_video_frame_end() local 558 vsp1_video_pipeline_build(struct vsp1_pipeline *pipe, struct vsp1_video *video) vsp1_video_pipeline_build() argument 645 vsp1_video_pipeline_init(struct vsp1_pipeline *pipe, struct vsp1_video *video) vsp1_video_pipeline_init() argument 655 vsp1_video_pipeline_get(struct vsp1_video *video) vsp1_video_pipeline_get() argument 711 struct vsp1_video *video = vb2_get_drv_priv(vq); vsp1_video_queue_setup() local 736 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); vsp1_video_buffer_prepare() local 760 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); vsp1_video_buffer_queue() local 835 vsp1_video_release_buffers(struct vsp1_video *video) vsp1_video_release_buffers() argument 864 struct vsp1_video *video = vb2_get_drv_priv(vq); vsp1_video_start_streaming() local 906 struct vsp1_video *video = vb2_get_drv_priv(vq); vsp1_video_stop_streaming() local 953 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_querycap() local 972 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_get_format() local 988 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_try_format() local 1000 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_set_format() local 1030 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_streamon() local 1106 struct vsp1_video *video = video_drvdata(file); vsp1_video_open() local 1131 struct vsp1_video *video = video_drvdata(file); vsp1_video_release() local 1247 struct vsp1_video *video; vsp1_video_create() local 1332 vsp1_video_cleanup(struct vsp1_video *video) vsp1_video_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.c | 63 static int vsp1_video_verify_format(struct vsp1_video *video) in vsp1_video_verify_format() argument 71 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format() 79 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format() 80 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format() 81 video->rwpf->format.width != fmt.format.width) in vsp1_video_verify_format() 87 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument 119 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format() 121 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format() 306 * @video: the video nod 314 vsp1_video_complete_buffer(struct vsp1_video *video) vsp1_video_complete_buffer() argument 353 struct vsp1_video *video = rwpf->video; vsp1_video_frame_end() local 559 vsp1_video_pipeline_build(struct vsp1_pipeline *pipe, struct vsp1_video *video) vsp1_video_pipeline_build() argument 646 vsp1_video_pipeline_init(struct vsp1_pipeline *pipe, struct vsp1_video *video) vsp1_video_pipeline_init() argument 656 vsp1_video_pipeline_get(struct vsp1_video *video) vsp1_video_pipeline_get() argument 712 struct vsp1_video *video = vb2_get_drv_priv(vq); vsp1_video_queue_setup() local 737 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); vsp1_video_buffer_prepare() local 761 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); vsp1_video_buffer_queue() local 836 vsp1_video_release_buffers(struct vsp1_video *video) vsp1_video_release_buffers() argument 865 struct vsp1_video *video = vb2_get_drv_priv(vq); vsp1_video_start_streaming() local 907 struct vsp1_video *video = vb2_get_drv_priv(vq); vsp1_video_stop_streaming() local 954 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_querycap() local 971 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_get_format() local 987 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_try_format() local 999 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_set_format() local 1029 struct vsp1_video *video = to_vsp1_video(vfh->vdev); vsp1_video_streamon() local 1105 struct vsp1_video *video = video_drvdata(file); vsp1_video_open() local 1130 struct vsp1_video *video = video_drvdata(file); vsp1_video_release() local 1236 struct vsp1_video *video; vsp1_video_create() local 1321 vsp1_video_cleanup(struct vsp1_video *video) vsp1_video_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 3 * camss-video.c 18 #include "camss-video.h" 326 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument 331 remote = media_pad_remote_pad_first(&video->pad); in video_remote_subdev() 342 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument 352 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format() 364 video->formats, video->nformats); in video_get_subdev_format() 368 format->type = video->type; in video_get_subdev_format() 371 &video in video_get_subdev_format() 382 struct camss_video *video = vb2_get_drv_priv(q); video_queue_setup() local 409 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); video_buf_init() local 439 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); video_buf_prepare() local 459 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); video_buf_queue() local 466 video_check_format(struct camss_video *video) video_check_format() argument 490 struct camss_video *video = vb2_get_drv_priv(q); video_start_streaming() local 538 struct camss_video *video = vb2_get_drv_priv(q); video_stop_streaming() local 603 struct camss_video *video = video_drvdata(file); video_enum_fmt() local 661 struct camss_video *video = video_drvdata(file); video_enum_framesizes() local 690 struct camss_video *video = video_drvdata(file); video_g_fmt() local 697 __video_try_fmt(struct camss_video *video, struct v4l2_format *f) __video_try_fmt() argument 779 struct camss_video *video = video_drvdata(file); video_try_fmt() local 786 struct camss_video *video = video_drvdata(file); video_s_fmt() local 853 struct camss_video *video = video_drvdata(file); video_open() local 919 struct camss_video *video = video_get_drvdata(vdev); msm_video_release() local 938 msm_video_init_format(struct camss_video *video) msm_video_init_format() argument 971 msm_video_register(struct camss_video *video, struct v4l2_device *v4l2_dev, const char *name, int is_pix) msm_video_register() argument 1073 msm_video_unregister(struct camss_video *video) msm_video_unregister() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 3 * camss-video.c 18 #include "camss-video.h" 275 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument 280 remote = media_entity_remote_pad(&video->pad); in video_remote_subdev() 291 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument 299 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format() 312 video->formats, video->nformats); in video_get_subdev_format() 316 format->type = video->type; in video_get_subdev_format() 319 &video in video_get_subdev_format() 330 struct camss_video *video = vb2_get_drv_priv(q); video_queue_setup() local 357 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); video_buf_init() local 387 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); video_buf_prepare() local 407 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); video_buf_queue() local 414 video_check_format(struct camss_video *video) video_check_format() argument 438 struct camss_video *video = vb2_get_drv_priv(q); video_start_streaming() local 484 struct camss_video *video = vb2_get_drv_priv(q); video_stop_streaming() local 529 struct camss_video *video = video_drvdata(file); video_querycap() local 544 video_get_unique_pixelformat_by_index(struct camss_video *video, int ndx) video_get_unique_pixelformat_by_index() argument 573 video_get_pixelformat_by_mbus_code(struct camss_video *video, u32 mcode) video_get_pixelformat_by_mbus_code() argument 588 struct camss_video *video = video_drvdata(file); video_enum_fmt() local 618 struct camss_video *video = video_drvdata(file); video_enum_framesizes() local 647 struct camss_video *video = video_drvdata(file); video_g_fmt() local 654 __video_try_fmt(struct camss_video *video, struct v4l2_format *f) __video_try_fmt() argument 736 struct camss_video *video = video_drvdata(file); video_try_fmt() local 743 struct camss_video *video = video_drvdata(file); video_s_fmt() local 810 struct camss_video *video = video_drvdata(file); video_open() local 876 struct camss_video *video = video_get_drvdata(vdev); msm_video_release() local 895 msm_video_init_format(struct camss_video *video) msm_video_init_format() argument 928 msm_video_register(struct camss_video *video, struct v4l2_device *v4l2_dev, const char *name, int is_pix) msm_video_register() argument 1025 msm_video_unregister(struct camss_video *video) msm_video_unregister() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | acpi_video.c | 3 * video.c - ACPI Video Driver 10 #define pr_fmt(fmt) "ACPI: video: " fmt 28 #include <acpi/video.h> 44 * By default, we don't allow duplicate ACPI video bus devices 101 .name = "video", 111 u8 multihead:1; /* can switch video heads */ 112 u8 rom:1; /* can retrieve a video rom */ 200 struct acpi_video_bus *video; member 208 static void acpi_video_device_rebind(struct acpi_video_bus *video); 209 static void acpi_video_device_bind(struct acpi_video_bus *video, 256 struct acpi_video_device *video = cooling_dev->devdata; video_get_max_state() local 265 struct acpi_video_device *video = cooling_dev->devdata; video_get_cur_state() local 284 struct acpi_video_device *video = cooling_dev->devdata; video_set_cur_state() local 680 acpi_video_bus_DOS(struct acpi_video_bus *video, int bios_flag, int lcd_flag) acpi_video_bus_DOS() argument 1010 acpi_video_bus_find_cap(struct acpi_video_bus *video) acpi_video_bus_find_cap() argument 1031 acpi_video_bus_check(struct acpi_video_bus *video) acpi_video_bus_check() argument 1082 acpi_video_get_device_attr(struct acpi_video_bus *video, unsigned long device_id) acpi_video_get_device_attr() argument 1097 acpi_video_get_device_type(struct acpi_video_bus *video, unsigned long device_id) acpi_video_get_device_type() argument 1114 struct acpi_video_bus *video = arg; acpi_video_bus_get_one_device() local 1209 acpi_video_device_rebind(struct acpi_video_bus *video) acpi_video_device_rebind() argument 1235 acpi_video_device_bind(struct acpi_video_bus *video, struct acpi_video_device *device) acpi_video_device_bind() argument 1253 struct acpi_video_bus *video = device->video; acpi_video_device_in_dod() local 1284 acpi_video_device_enumerate(struct acpi_video_bus *video) acpi_video_device_enumerate() argument 1437 struct acpi_video_bus *video; acpi_video_get_edid() local 1503 acpi_video_bus_get_devices(struct acpi_video_bus *video, struct acpi_device *device) acpi_video_bus_get_devices() argument 1522 acpi_video_bus_start_devices(struct acpi_video_bus *video) acpi_video_bus_start_devices() argument 1528 acpi_video_bus_stop_devices(struct acpi_video_bus *video) acpi_video_bus_stop_devices() argument 1537 struct acpi_video_bus *video = acpi_driver_data(device); acpi_video_bus_notify() local 1662 struct acpi_video_bus *video; acpi_video_resume() local 1782 acpi_video_run_bcl_for_osi(struct acpi_video_bus *video) acpi_video_run_bcl_for_osi() argument 1811 acpi_video_bus_register_backlight(struct acpi_video_bus *video) acpi_video_bus_register_backlight() argument 1854 acpi_video_bus_unregister_backlight(struct acpi_video_bus *video) acpi_video_bus_unregister_backlight() argument 1887 acpi_video_bus_add_notify_handler(struct acpi_video_bus *video) acpi_video_bus_add_notify_handler() argument 1950 acpi_video_bus_remove_notify_handler(struct acpi_video_bus *video) acpi_video_bus_remove_notify_handler() argument 1964 acpi_video_bus_put_devices(struct acpi_video_bus *video) acpi_video_bus_put_devices() argument 1982 struct acpi_video_bus *video; acpi_video_bus_add() local 2095 struct acpi_video_bus *video = NULL; acpi_video_bus_remove() local 2248 struct acpi_video_bus *video; acpi_video_register_backlight() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | acpi_video.c | 3 * video.c - ACPI Video Driver 26 #include <acpi/video.h> 37 ACPI_MODULE_NAME("video"); 47 * By default, we don't allow duplicate ACPI video bus devices 107 .name = "video", 118 u8 multihead:1; /* can switch video heads */ 119 u8 rom:1; /* can retrieve a video rom */ 207 struct acpi_video_bus *video; member 215 static void acpi_video_device_rebind(struct acpi_video_bus *video); 216 static void acpi_video_device_bind(struct acpi_video_bus *video, 264 struct acpi_video_device *video = acpi_driver_data(device); video_get_max_state() local 274 struct acpi_video_device *video = acpi_driver_data(device); video_get_cur_state() local 294 struct acpi_video_device *video = acpi_driver_data(device); video_set_cur_state() local 748 acpi_video_bus_DOS(struct acpi_video_bus *video, int bios_flag, int lcd_flag) acpi_video_bus_DOS() argument 1078 acpi_video_bus_find_cap(struct acpi_video_bus *video) acpi_video_bus_find_cap() argument 1099 acpi_video_bus_check(struct acpi_video_bus *video) acpi_video_bus_check() argument 1151 acpi_video_get_device_attr(struct acpi_video_bus *video, unsigned long device_id) acpi_video_get_device_attr() argument 1166 acpi_video_get_device_type(struct acpi_video_bus *video, unsigned long device_id) acpi_video_get_device_type() argument 1182 acpi_video_bus_get_one_device(struct acpi_device *device, struct acpi_video_bus *video) acpi_video_bus_get_one_device() argument 1273 acpi_video_device_rebind(struct acpi_video_bus *video) acpi_video_device_rebind() argument 1299 acpi_video_device_bind(struct acpi_video_bus *video, struct acpi_video_device *device) acpi_video_device_bind() argument 1316 struct acpi_video_bus *video = device->video; acpi_video_device_in_dod() local 1347 acpi_video_device_enumerate(struct acpi_video_bus *video) acpi_video_device_enumerate() argument 1494 struct acpi_video_bus *video; acpi_video_get_edid() local 1560 acpi_video_bus_get_devices(struct acpi_video_bus *video, struct acpi_device *device) acpi_video_bus_get_devices() argument 1591 acpi_video_bus_start_devices(struct acpi_video_bus *video) acpi_video_bus_start_devices() argument 1597 acpi_video_bus_stop_devices(struct acpi_video_bus *video) acpi_video_bus_stop_devices() argument 1605 struct acpi_video_bus *video = acpi_driver_data(device); acpi_video_bus_notify() local 1732 struct acpi_video_bus *video; acpi_video_resume() local 1856 acpi_video_run_bcl_for_osi(struct acpi_video_bus *video) acpi_video_run_bcl_for_osi() argument 1885 acpi_video_bus_register_backlight(struct acpi_video_bus *video) acpi_video_bus_register_backlight() argument 1930 acpi_video_bus_unregister_backlight(struct acpi_video_bus *video) acpi_video_bus_unregister_backlight() argument 1963 acpi_video_bus_add_notify_handler(struct acpi_video_bus *video) acpi_video_bus_add_notify_handler() argument 2026 acpi_video_bus_remove_notify_handler(struct acpi_video_bus *video) acpi_video_bus_remove_notify_handler() argument 2040 acpi_video_bus_put_devices(struct acpi_video_bus *video) acpi_video_bus_put_devices() argument 2058 struct acpi_video_bus *video; acpi_video_bus_add() local 2136 struct acpi_video_bus *video = NULL; acpi_video_bus_remove() local 2274 struct acpi_video_bus *video; acpi_video_unregister_backlight() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
H A D | fimc-isp-video.c | 5 * FIMC-IS ISP video input and video output DMA interface driver 35 #include "fimc-isp-video.h" 82 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_start_streaming() local 94 dma->buffer_number = video->reqbufs_count; in isp_video_capture_start_streaming() 95 dma->dma_out_mask = video->buf_mask; in isp_video_capture_start_streaming() 97 isp_dbg(2, &video->ve.vdev, in isp_video_capture_start_streaming() 99 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming() 111 ret = fimc_pipeline_call(&video in isp_video_capture_start_streaming() 154 struct fimc_is_video *video = &isp->video_capture; isp_video_capture_buffer_prepare() local 190 struct fimc_is_video *video = &isp->video_capture; isp_video_capture_buffer_queue() local 236 struct fimc_is_video *video = &is->isp.video_capture; fimc_isp_video_irq_handler() local 519 struct fimc_is_video *video = &isp->video_capture; isp_video_streamoff() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp-video.c | 5 * FIMC-IS ISP video input and video output DMA interface driver 35 #include "fimc-isp-video.h" 82 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_start_streaming() local 94 dma->buffer_number = video->reqbufs_count; in isp_video_capture_start_streaming() 95 dma->dma_out_mask = video->buf_mask; in isp_video_capture_start_streaming() 97 isp_dbg(2, &video->ve.vdev, in isp_video_capture_start_streaming() 99 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming() 111 ret = fimc_pipeline_call(&video in isp_video_capture_start_streaming() 154 struct fimc_is_video *video = &isp->video_capture; isp_video_capture_buffer_prepare() local 190 struct fimc_is_video *video = &isp->video_capture; isp_video_capture_buffer_queue() local 236 struct fimc_is_video *video = &is->isp.video_capture; fimc_isp_video_irq_handler() local 522 struct fimc_is_video *video = &isp->video_capture; isp_video_streamoff() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 91 * Walk the entities chain starting at the pipeline output video node and start 94 * Return: 0 if successful, or the return value of the failed video::s_stream 105 entity = &dma->video.entity; in xvip_pipeline_start_stop() 118 ret = v4l2_subdev_call(subdev, video, s_stream, start); in xvip_pipeline_start_stop() 147 * Return: 0 if successful, or the return value of the failed video::s_stream 178 struct media_entity *entity = &start->video.entity; in xvip_pipeline_validate() 186 /* Walk the graph to locate the video nodes. */ in xvip_pipeline_validate() 406 pipe = dma->video.entity.pipe in xvip_dma_start_streaming() 407 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; in xvip_dma_start_streaming() 409 ret = media_pipeline_start(&dma->video in xvip_dma_start_streaming() [all...] |