| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | uvc_video.c | 127 if (video->payload_size == video->max_payload_size || in uvc_video_encode_bulk() 325 list = is_bulk ? &video->req_free : &video->req_ready; in uvcg_video_usb_req_queue() 334 struct uvc_video *video = ureq->video; in uvc_video_complete() local 412 queue_work(video->async_wq, &video->pump); in uvc_video_complete() 418 kthread_queue_work(video->kworker, &video->hw_submit); in uvc_video_complete() 475 queue_work(video->async_wq, &video->pump); in uvcg_video_hw_submit() 512 video->reqs_per_frame = video->uvc_num_requests = in uvc_video_prep_requests() 581 ureq->video = video; in uvc_video_alloc_requests() 653 video->encode(req, video, buf); in uvcg_video_pump() 790 video->encode = video->queue.use_sg ? in uvcg_video_enable() [all …]
|
| H A D | uvc_v4l2.c | 149 struct uvc_video *video = &uvc->video; in find_closest_frame_by_size() local 233 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local 252 struct uvc_video *video = &uvc->video; in uvc_v4l2_try_format() local 310 struct uvc_video *video = &uvc->video; in uvc_v4l2_set_format() local 331 struct uvc_video *video = &uvc->video; in uvc_v4l2_g_parm() local 358 struct uvc_video *video = &uvc->video; in uvc_v4l2_s_parm() local 471 struct uvc_video *video = &uvc->video; in uvc_v4l2_reqbufs() local 484 struct uvc_video *video = &uvc->video; in uvc_v4l2_querybuf() local 494 struct uvc_video *video = &uvc->video; in uvc_v4l2_qbuf() local 512 struct uvc_video *video = &uvc->video; in uvc_v4l2_dqbuf() local [all …]
|
| /linux-6.15/drivers/media/platform/aspeed/ |
| H A D | aspeed-video.c | 599 if (!aspeed_video_alloc_buf(video, &video->bcd, in aspeed_video_start_frame() 607 &video->bcd.dma, video->bcd.size); in aspeed_video_start_frame() 609 aspeed_video_free_buf(video, &video->bcd); in aspeed_video_start_frame() 1044 memset(&video->perf, 0, sizeof(video->perf)); in aspeed_video_get_resolution() 1093 if (video->frame_top > video->frame_bottom) in aspeed_video_get_resolution() 1099 if (video->frame_left > video->frame_right) in aspeed_video_get_resolution() 1194 &video->srcs[0].dma, video->srcs[0].size); in aspeed_video_set_resolution() 1196 &video->srcs[1].dma, video->srcs[1].size); in aspeed_video_set_resolution() 1336 aspeed_video_free_buf(video, &video->bcd); in aspeed_video_stop() 2186 aspeed_video_free_buf(video, &video->jpeg); in aspeed_video_probe() [all …]
|
| /linux-6.15/drivers/media/platform/nuvoton/ |
| H A D | npcm-video.c | 826 npcm_video_command(video, video->ctrl_cmd); in npcm_video_start_frame() 852 video->rect[index] = video->rect_cnt; in npcm_video_get_diff_rect() 915 video->bytesperpixel = npcm_video_get_bpp(video); in npcm_video_set_resolution() 920 video->pix_fmt.sizeimage = video->pix_fmt.width * video->pix_fmt.height * in npcm_video_set_resolution() 922 video->pix_fmt.bytesperline = video->bytesperline; in npcm_video_set_resolution() 943 if (!npcm_video_alloc_fb(video, &video->src)) { in npcm_video_start() 961 npcm_video_ece_set_fb_addr(video, video->src.dma); in npcm_video_start() 962 npcm_video_ece_set_lp(video, video->bytesperline); in npcm_video_start() 981 npcm_video_free_fb(video, &video->src); in npcm_video_stop() 1023 npcm_video_ece_set_fb_addr(video, video->src.dma); in npcm_video_hextile() [all …]
|
| /linux-6.15/drivers/media/platform/ti/omap3isp/ |
| H A D | ispvideo.c | 241 if (entity == &video->video.entity) in isp_video_get_graph_data() 326 struct isp_video *video = vfh->video; in isp_video_queue_setup() local 344 struct isp_video *video = vfh->video; in isp_video_buffer_prepare() local 384 struct isp_video *video = vfh->video; in isp_video_buffer_queue() local 412 video->ops->queue(video, buffer); in isp_video_buffer_queue() 647 video->ops->queue(video, buf); in omap3isp_video_resume() 1110 pipe = to_isp_pipeline(&video->video.entity) ? : &video->pipe; in isp_video_streamon() 1352 handle->video = video; in isp_video_open() 1466 snprintf(video->video.name, sizeof(video->video.name), in omap3isp_video_init() 1480 video_set_drvdata(&video->video, video); in omap3isp_video_init() [all …]
|
| H A D | ispvideo.h | 143 #define isp_video_dmaqueue_flags_clr(video) \ argument 144 ({ (video)->dmaqueue_flags = 0; }) 152 int(*queue)(struct isp_video *video, struct isp_buffer *buffer); 156 struct video_device video; member 191 struct isp_video *video; member 201 int omap3isp_video_init(struct isp_video *video, const char *name); 202 void omap3isp_video_cleanup(struct isp_video *video); 203 int omap3isp_video_register(struct isp_video *video, 205 void omap3isp_video_unregister(struct isp_video *video); 207 void omap3isp_video_cancel_stream(struct isp_video *video); [all …]
|
| /linux-6.15/drivers/staging/media/starfive/camss/ |
| H A D | stf-video.c | 110 .type = video->type, in stf_video_init_format() 207 video->ops->queue_buffer(video, buffer); in video_buf_queue() 288 video->ops->start_streaming(video); in video_start_streaming() 290 ret = v4l2_subdev_call(video->source_subdev, video, s_stream, true); in video_start_streaming() 303 video->ops->flush_buffers(video, VB2_BUF_STATE_QUEUED); in video_start_streaming() 312 video->ops->stop_streaming(video); in video_stop_streaming() 314 v4l2_subdev_call(video->source_subdev, video, s_stream, false); in video_stop_streaming() 319 video->ops->flush_buffers(video, VB2_BUF_STATE_ERROR); in video_stop_streaming() 504 q = &video->vb2_q; in stf_video_register() 505 q->drv_priv = video; in stf_video_register() [all …]
|
| H A D | stf-capture.c | 60 return container_of(video, struct stf_capture, video); in to_stf_capture() 130 stf_init_addrs(video); in stf_cap_s_cfg() 223 stf_channel_set(video); in stf_capture_start() 225 stf_wr_irq_enable(video); in stf_capture_start() 226 stf_wr_data_en(video); in stf_capture_start() 229 stf_cap_s_cfg(video); in stf_capture_start() 237 stf_wr_irq_disable(video); in stf_capture_stop() 239 stf_cap_s_cleanup(video); in stf_capture_stop() 260 cap->video.bpl_alignment = 8; in stf_capture_init() 264 cap->video.bpl_alignment = 1; in stf_capture_init() [all …]
|
| /linux-6.15/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_video.c | 234 struct vsp1_video *video = rwpf->video; in vsp1_video_frame_end() local 1047 v4l2_fh_init(vfh, &video->video); in vsp1_video_open() 1199 rwpf->video = video; in vsp1_video_create() 1225 ret = media_entity_pads_init(&video->video.entity, 1, &video->pad); in vsp1_video_create() 1236 video->video.v4l2_dev = &video->vsp1->v4l2_dev; in vsp1_video_create() 1239 snprintf(video->video.name, sizeof(video->video.name), "%s %s", in vsp1_video_create() 1245 video_set_drvdata(&video->video, video); in vsp1_video_create() 1247 video->queue.type = video->type; in vsp1_video_create() 1249 video->queue.lock = &video->lock; in vsp1_video_create() 1250 video->queue.drv_priv = video; in vsp1_video_create() [all …]
|
| /linux-6.15/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 724 info->mbus_code, video->pix.width, video->pix.height); in mxc_isi_video_validate_format() 795 list = i < discard ? &video->out_discard : &video->out_pending; in mxc_isi_video_queue_first_buffers() 892 return mxc_isi_video_queue_setup(&video->pix, video->fmtinfo, in mxc_isi_vb2_queue_setup() 902 &video->pix); in mxc_isi_vb2_buffer_init() 912 video->fmtinfo, &video->pix); in mxc_isi_vb2_buffer_prepare() 1143 video->pix = *pix; in mxc_isi_video_s_fmt() 1358 struct mxc_isi_video *video = &pipe->video; in mxc_isi_video_suspend() local 1389 struct mxc_isi_video *video = &pipe->video; in mxc_isi_video_resume() local 1410 struct mxc_isi_video *video = &pipe->video; in mxc_isi_video_register() local [all …]
|
| /linux-6.15/drivers/media/platform/qcom/camss/ |
| H A D | camss-video.c | 104 video->formats, video->nformats); in video_get_subdev_format() 111 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format() 203 video->ops->queue_buffer(video, buffer); in video_buf_queue() 271 video->ops->flush_buffers(video, VB2_BUF_STATE_QUEUED); in video_start_streaming() 308 video->ops->flush_buffers(video, VB2_BUF_STATE_ERROR); in video_stop_streaming() 424 *f = video->active_fmt; in video_g_fmt() 442 if (video->line_based) in __video_try_fmt() 486 if (video->line_based) in __video_try_fmt() 711 vdev = &video->vdev; in msm_video_register() 715 q = &video->vb2_q; in msm_video_register() [all …]
|
| /linux-6.15/drivers/acpi/ |
| H A D | acpi_video.c | 1056 if (!video) in acpi_video_bus_check() 1070 if (video->cap._DOS || video->cap._DOD) { in acpi_video_bus_check() 1086 if (video->cap._GPD && video->cap._SPD && video->cap._VPO) { in acpi_video_bus_check() 1156 data->video = video; in acpi_video_bus_get_one_device() 1273 struct acpi_video_bus *video = device->video; in acpi_video_device_in_dod() local 1281 if (!video->attached_count || video->child_count > 8) in acpi_video_device_in_dod() 1548 if (!video || !video->input) in acpi_video_bus_notify() 1910 snprintf(video->phys, sizeof(video->phys), in acpi_video_bus_add_notify_handler() 2009 if (!video) in acpi_video_bus_add() 2094 kfree(video); in acpi_video_bus_add() [all …]
|
| /linux-6.15/drivers/media/pci/mgb4/ |
| H A D | mgb4_cmt.c | 194 struct mgb4_regs *video = &voutdev->mgbdev->video; in mgb4_cmt_set_vout_freq() local 205 config = mgb4_read_reg(video, regs->config); in mgb4_cmt_set_vout_freq() 207 mgb4_write_reg(video, regs->config, 0x1 | (config & ~0x3)); in mgb4_cmt_set_vout_freq() 209 mgb4_mask_reg(video, regs->config, 0x100, 0x100); in mgb4_cmt_set_vout_freq() 214 mgb4_mask_reg(video, regs->config, 0x100, 0x0); in mgb4_cmt_set_vout_freq() 216 mgb4_write_reg(video, regs->config, config & ~0x1); in mgb4_cmt_set_vout_freq() 224 struct mgb4_regs *video = &vindev->mgbdev->video; in mgb4_cmt_set_vin_freq_range() local 236 config = mgb4_read_reg(video, regs->config); in mgb4_cmt_set_vin_freq_range() 240 mgb4_mask_reg(video, regs->config, 0x1000, 0x1000); in mgb4_cmt_set_vin_freq_range() 245 mgb4_mask_reg(video, regs->config, 0x1000, 0x0); in mgb4_cmt_set_vin_freq_range() [all …]
|
| H A D | mgb4_vout.c | 63 struct mgb4_regs *video = &voutdev->mgbdev->video; in get_timings() local 106 struct mgb4_regs *video = &voutdev->mgbdev->video; in queue_setup() local 142 struct mgb4_regs *video = &voutdev->mgbdev->video; in buffer_prepare() local 192 struct mgb4_regs *video = &mgbdev->video; in start_streaming() local 248 struct mgb4_regs *video = &voutdev->mgbdev->video; in vidioc_enum_fmt() local 264 struct mgb4_regs *video = &voutdev->mgbdev->video; in vidioc_g_fmt() local 296 struct mgb4_regs *video = &voutdev->mgbdev->video; in vidioc_try_fmt() local 328 struct mgb4_regs *video = &voutdev->mgbdev->video; in vidioc_s_fmt() local 394 struct mgb4_regs *video = &voutdev->mgbdev->video; in vidioc_enum_frameintervals() local 422 struct mgb4_regs *video = &voutdev->mgbdev->video; in vidioc_g_parm() local [all …]
|
| H A D | mgb4_vin.c | 126 struct mgb4_regs *video = &vindev->mgbdev->video; in set_loopback_padding() local 141 struct mgb4_regs *video = &vindev->mgbdev->video; in get_timings() local 193 struct mgb4_regs *video = &vindev->mgbdev->video; in queue_setup() local 230 struct mgb4_regs *video = &vindev->mgbdev->video; in buffer_prepare() local 263 struct mgb4_regs *video = &vindev->mgbdev->video; in stop_streaming() local 287 struct mgb4_regs *video = &vindev->mgbdev->video; in start_streaming() local 362 struct mgb4_regs *video = &vindev->mgbdev->video; in vidioc_enum_fmt() local 379 struct mgb4_regs *video = &vindev->mgbdev->video; in vidioc_enum_frameintervals() local 404 struct mgb4_regs *video = &vindev->mgbdev->video; in vidioc_g_fmt() local 435 struct mgb4_regs *video = &vindev->mgbdev->video; in vidioc_try_fmt() local [all …]
|
| H A D | mgb4_sysfs_out.c | 30 config = mgb4_read_reg(&voutdev->mgbdev->video, in loopin_cnt() 66 u32 config = mgb4_read_reg(&voutdev->mgbdev->video, in video_source_show() 151 u32 config = mgb4_read_reg(&voutdev->mgbdev->video, in display_width_show() 191 u32 config = mgb4_read_reg(&voutdev->mgbdev->video, in display_height_show() 255 mgb4_write_reg(&voutdev->mgbdev->video, in frame_rate_store() 266 u32 sig = mgb4_read_reg(&voutdev->mgbdev->video, in hsync_width_show() 302 u32 sig = mgb4_read_reg(&voutdev->mgbdev->video, in vsync_width_show() 338 u32 sig = mgb4_read_reg(&voutdev->mgbdev->video, in hback_porch_show() 374 u32 sig = mgb4_read_reg(&voutdev->mgbdev->video, in vback_porch_show() 410 u32 sig = mgb4_read_reg(&voutdev->mgbdev->video, in hfront_porch_show() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/media/xilinx/ |
| H A D | video.txt | 1 DT bindings for Xilinx video IP cores 4 Xilinx video IP cores process video streams by acting as video sinks and/or 6 creating a video pipeline. 8 Each video IP core is represented by an AMBA bus child node in the device 10 cores are represented as defined in ../video-interfaces.txt. 13 tree using bindings documented in ./xlnx,video.txt. 18 The following properties are common to all Xilinx video IP cores. 20 - xlnx,video-format: This property represents a video format transmitted on an 21 AXI bus between video IP cores, using its VF code as defined in "AXI4-Stream 25 - xlnx,video-width: This property qualifies the video format with the sample [all …]
|
| H A D | xlnx,v-tpg.txt | 16 - clocks: Reference to the video core clock. 18 - xlnx,video-format, xlnx,video-width: Video format and width, as defined in 19 video.txt. 21 - port: Video port, using the DT bindings defined in ../video-interfaces.txt. 27 video timings for the TPG test patterns. 31 video timings. 53 xlnx,video-format = <XVIP_VF_YUV_422>; 54 xlnx,video-width = <8>; 63 xlnx,video-format = <XVIP_VF_YUV_422>; 64 xlnx,video-width = <8>;
|
| H A D | xlnx,video.txt | 7 Xilinx video IP pipeline processes video streams through one or more Xilinx 8 video IP cores. Each video IP core is represented as documented in video.txt 11 mappings between DMAs and the video IP cores. 15 - compatible: Must be "xlnx,video". 22 - ports: Video port, using the DT bindings defined in ../video-interfaces.txt. 32 compatible = "xlnx,video";
|
| /linux-6.15/Documentation/devicetree/bindings/media/ |
| H A D | allwinner,sun4i-a10-video-engine.yaml | 16 - allwinner,sun4i-a10-video-engine 17 - allwinner,sun5i-a13-video-engine 18 - allwinner,sun7i-a20-video-engine 19 - allwinner,sun8i-a33-video-engine 20 - allwinner,sun8i-h3-video-engine 21 - allwinner,sun8i-v3s-video-engine 22 - allwinner,sun8i-r40-video-engine 23 - allwinner,sun20i-d1-video-engine 25 - allwinner,sun50i-h5-video-engine 26 - allwinner,sun50i-h6-video-engine [all …]
|
| H A D | qcom,sdm660-venus.yaml | 7 title: Qualcomm SDM660 Venus video encode and decode accelerators 14 The Venus IP is a video encode and decode accelerator present 40 - const: video-mem 48 video-decoder: 73 video-encoder: 101 - video-decoder 102 - video-encoder 111 video-codec@cc00000 { 121 interconnect-names = "cpu-cfg", "video-mem"; 146 video-decoder { [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/phy/ |
| H A D | samsung,mipi-video-phy.yaml | 22 samsung,exynos5420-mipi-video-phy and samsung,exynos5433-mipi-video-phy 29 - samsung,s5pv210-mipi-video-phy 30 - samsung,exynos5420-mipi-video-phy 31 - samsung,exynos5433-mipi-video-phy 41 samsung,s5pv210-mipi-video-phy and samsung,exynos5420-mipi-video-phy (if 55 samsung,exynos5433-mipi-video-phy. 61 samsung,exynos5433-mipi-video-phy. 67 samsung,exynos5433-mipi-video-phy. 79 - samsung,s5pv210-mipi-video-phy 80 - samsung,exynos5420-mipi-video-phy [all …]
|
| /linux-6.15/Documentation/userspace-api/media/v4l/ |
| H A D | dv-timings.rst | 9 The video standards discussed so far have been dealing with Analog TV 10 and the corresponding video timings. Today there are many more different 12 DVI connectors etc., that carry video signals and there is a need to 13 extend the API to select the video timings for these interfaces. Since 16 set/get video timings at the input and output. 18 These ioctls deal with the detailed digital video timings that define 19 each video format. This includes parameters such as the active video 33 the DV timings as seen by the video receiver applications use the 36 When the hardware detects a video source change (e.g. the video 42 If the video signal changed, then the application has to stop [all …]
|
| /linux-6.15/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-isp-video.c | 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() 157 if (video->format == NULL) in isp_video_capture_buffer_prepare() 164 v4l2_err(&video->ve.vdev, in isp_video_capture_buffer_prepare() 203 ivb->index = video->buf_count; in isp_video_capture_buffer_queue() 204 video->buffers[ivb->index] = ivb; in isp_video_capture_buffer_queue() 213 isp_dbg(2, &video->ve.vdev, in isp_video_capture_buffer_queue() 219 if (++video->buf_count < video->reqbufs_count) in isp_video_capture_buffer_queue() 222 video->buf_mask = (1UL << video->buf_count) - 1; in isp_video_capture_buffer_queue() [all …]
|
| /linux-6.15/drivers/staging/fbtft/ |
| H A D | README | 13 cd drivers/video/fbdev/fbtft 16 Add to drivers/video/fbdev/Kconfig: source "drivers/video/fbdev/fbtft/Kconfig" 17 Add to drivers/video/fbdev/Makefile: obj-y += fbtft/ 20 cd drivers/video 23 Add to drivers/video/Kconfig: source "drivers/video/fbtft/Kconfig" 24 Add to drivers/video/Makefile: obj-y += fbtft/
|