/linux-6.1.9/drivers/usb/gadget/function/ |
D | uvc_video.c | 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() 87 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk() argument 92 int len = video->req_size; in uvc_video_encode_bulk() 96 if (video->payload_size == 0) { in uvc_video_encode_bulk() [all …]
|
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->width / 8; in uvc_v4l2_get_format() 228 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format() 240 struct uvc_video *video = &uvc->video; in uvc_v4l2_try_format() local 245 if (fmt->type != video->queue.queue.type) in uvc_v4l2_try_format() [all …]
|
/linux-6.1.9/drivers/media/platform/aspeed/ |
D | aspeed-video.c | 501 static void aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear, in aspeed_video_update() argument 504 u32 t = readl(video->base + reg); in aspeed_video_update() 509 writel(t, video->base + reg); in aspeed_video_update() 510 v4l2_dbg(3, debug, &video->v4l2_dev, "update %03x[%08x -> %08x]\n", in aspeed_video_update() 511 reg, before, readl(video->base + reg)); in aspeed_video_update() 514 static u32 aspeed_video_read(struct aspeed_video *video, u32 reg) in aspeed_video_read() argument 516 u32 t = readl(video->base + reg); in aspeed_video_read() 518 v4l2_dbg(3, debug, &video->v4l2_dev, "read %03x[%08x]\n", reg, t); in aspeed_video_read() 522 static void aspeed_video_write(struct aspeed_video *video, u32 reg, u32 val) in aspeed_video_write() argument 524 writel(val, video->base + reg); in aspeed_video_write() [all …]
|
/linux-6.1.9/drivers/media/platform/ti/omap3isp/ |
D | ispvideo.c | 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, u32 *pad) in isp_video_remote_subdev() argument 209 remote = media_pad_remote_pad_first(&video->pad); in isp_video_remote_subdev() 221 static int isp_video_get_graph_data(struct isp_video *video, in isp_video_get_graph_data() argument 225 struct media_entity *entity = &video->video.entity; in isp_video_get_graph_data() 247 if (entity == &video->video.entity) in isp_video_get_graph_data() [all …]
|
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 187 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video) 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); [all …]
|
/linux-6.1.9/drivers/staging/media/omap4iss/ |
D | iss_video.c | 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, u32 *pad) in iss_video_remote_subdev() argument 193 remote = media_pad_remote_pad_first(&video->pad); in iss_video_remote_subdev() 206 iss_video_far_end(struct iss_video *video) in iss_video_far_end() argument 209 struct media_entity *entity = &video->video.entity; in iss_video_far_end() 223 if (entity == &video->video.entity) in iss_video_far_end() [all …]
|
D | iss_video.h | 134 #define iss_video_dmaqueue_flags_clr(video) \ argument 135 ({ (video)->dmaqueue_flags = 0; }) 143 int (*queue)(struct iss_video *video, struct iss_buffer *buffer); 147 struct video_device video; member 177 #define to_iss_video(vdev) container_of(vdev, struct iss_video, video) 181 struct iss_video *video; member 191 int omap4iss_video_init(struct iss_video *video, const char *name); 192 void omap4iss_video_cleanup(struct iss_video *video); 193 int omap4iss_video_register(struct iss_video *video, 195 void omap4iss_video_unregister(struct iss_video *video); [all …]
|
/linux-6.1.9/drivers/media/platform/sunxi/sun6i-csi/ |
D | sun6i_video.c | 29 sun6i_video_remote_subdev(struct sun6i_video *video, u32 *pad) in sun6i_video_remote_subdev() argument 33 remote = media_pad_remote_pad_first(&video->pad); in sun6i_video_remote_subdev() 98 struct sun6i_video *video = &csi_dev->video; in sun6i_video_configure() local 101 config.pixelformat = video->format.fmt.pix.pixelformat; in sun6i_video_configure() 102 config.code = video->mbus_code; in sun6i_video_configure() 103 config.field = video->format.fmt.pix.field; in sun6i_video_configure() 104 config.width = video->format.fmt.pix.width; in sun6i_video_configure() 105 config.height = video->format.fmt.pix.height; in sun6i_video_configure() 119 struct sun6i_video *video = &csi_dev->video; in sun6i_video_queue_setup() local 120 unsigned int size = video->format.fmt.pix.sizeimage; in sun6i_video_queue_setup() [all …]
|
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/ |
D | video_function_calls.rst | 12 video-fopen 13 video-fclose 14 video-fwrite 15 video-stop 16 video-play 17 video-freeze 18 video-continue 19 video-select-source 20 video-set-blank 21 video-get-status [all …]
|
/linux-6.1.9/drivers/media/platform/renesas/vsp1/ |
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() 313 vsp1_video_complete_buffer(struct vsp1_video *video) in vsp1_video_complete_buffer() argument 315 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer() [all …]
|
/linux-6.1.9/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 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 350 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format() 363 video->formats, video->nformats); in video_get_subdev_format() 367 format->type = video->type; in video_get_subdev_format() 370 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format() 381 struct camss_video *video = vb2_get_drv_priv(q); in video_queue_setup() local 383 &video->active_fmt.fmt.pix_mp; in video_queue_setup() 408 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); in video_buf_init() local [all …]
|
/linux-6.1.9/drivers/acpi/ |
D | acpi_video.c | 210 struct acpi_video_bus *video; member 218 static void acpi_video_device_rebind(struct acpi_video_bus *video); 219 static void acpi_video_device_bind(struct acpi_video_bus *video, 221 static int acpi_video_device_enumerate(struct acpi_video_bus *video); 267 struct acpi_video_device *video = acpi_driver_data(device); in video_get_max_state() local 269 *state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1; in video_get_max_state() 277 struct acpi_video_device *video = acpi_driver_data(device); in video_get_cur_state() local 281 if (acpi_video_device_lcd_get_level_current(video, &level, false)) in video_get_cur_state() 283 for (offset = ACPI_VIDEO_FIRST_LEVEL; offset < video->brightness->count; in video_get_cur_state() 285 if (level == video->brightness->levels[offset]) { in video_get_cur_state() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/media/xilinx/ |
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 …]
|
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>;
|
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.1.9/Documentation/devicetree/bindings/phy/ |
D | samsung,mipi-video-phy.yaml | 4 $id: http://devicetree.org/schemas/phy/samsung,mipi-video-phy.yaml# 15 For samsung,s5pv210-mipi-video-phy compatible PHYs the second cell in the 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 40 samsung,s5pv210-mipi-video-phy and samsung,exynos5420-mipi-video-phy. 46 samsung,exynos5433-mipi-video-phy. 52 samsung,exynos5433-mipi-video-phy. 58 samsung,exynos5433-mipi-video-phy. [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/media/ |
D | allwinner,sun4i-a10-video-engine.yaml | 4 $id: http://devicetree.org/schemas/media/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 24 - allwinner,sun50i-a64-video-engine [all …]
|
D | qcom,sc7280-venus.yaml | 8 title: Qualcomm Venus video encode and decode accelerators 14 The Venus Iris2 IP is a video encode and decode accelerator present 61 - const: video-mem 63 video-decoder: 75 video-encoder: 87 video-firmware: 112 - video-decoder 113 - video-encoder 124 venus: video-codec@aa00000 { 144 interconnect-names = "cpu-cfg", "video-mem"; [all …]
|
D | qcom,msm8916-venus.yaml | 8 title: Qualcomm Venus video encode and decode accelerators 14 The Venus IP is a video encode and decode accelerator present 45 video-decoder: 57 video-encoder: 69 video-firmware: 93 - video-decoder 94 - video-encoder 103 video-codec@1d00000 { 115 video-decoder { 119 video-encoder {
|
D | qcom,sc7180-venus.yaml | 8 title: Qualcomm Venus video encode and decode accelerators 14 The Venus IP is a video encode and decode accelerator present 60 - const: video-mem 63 video-decoder: 75 video-encoder: 87 video-firmware: 112 - video-decoder 113 - video-encoder 122 venus: video-codec@aa00000 { 139 video-decoder { [all …]
|
D | qcom,sdm660-venus.yaml | 8 title: Qualcomm Venus video encode and decode accelerators 15 The Venus IP is a video encode and decode accelerator present 41 - const: video-mem 55 video-decoder: 80 video-encoder: 105 video-firmware: 129 - video-decoder 130 - video-encoder 139 video-codec@cc00000 { 149 interconnect-names = "cpu-cfg", "video-mem"; [all …]
|
D | qcom,sm8250-venus.yaml | 8 title: Qualcomm Venus video encode and decode accelerators 14 The Venus IP is a video encode and decode accelerator present 59 - const: video-mem 69 video-decoder: 81 video-encoder: 93 video-firmware: 122 - video-decoder 123 - video-encoder 135 venus: video-codec@aa00000 { 151 interconnect-names = "cpu-cfg", "video-mem"; [all …]
|
/linux-6.1.9/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-isp-video.c | 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->ve, set_stream, 1); in isp_video_capture_start_streaming() 154 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_buffer_prepare() local 157 if (video->format == NULL) in isp_video_capture_buffer_prepare() 160 for (i = 0; i < video->format->memplanes; i++) { in isp_video_capture_buffer_prepare() 161 unsigned long size = video->pixfmt.plane_fmt[i].sizeimage; in isp_video_capture_buffer_prepare() [all …]
|
/linux-6.1.9/drivers/staging/fbtft/ |
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/
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
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 38 video ioctls can be used with the given input or output.
|