| /kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
| D | uvc_video.c | 3 * uvc_video.c -- USB Video Class Gadget driver 14 #include <linux/usb/video.h> 23 * Video codecs 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 [all …]
|
| D | uvc_v4l2.c | 3 * uvc_v4l2.c -- USB Video Class Gadget driver 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 122 video->fcc = format->fcc; in uvc_v4l2_set_format() 123 video->bpp = format->bpp; in uvc_v4l2_set_format() [all …]
|
| /kernel/linux/linux-4.19/drivers/usb/gadget/function/ |
| D | uvc_video.c | 3 * uvc_video.c -- USB Video Class Gadget driver 14 #include <linux/usb/video.h> 23 * Video codecs 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 [all …]
|
| D | uvc_v4l2.c | 3 * uvc_v4l2.c -- USB Video Class Gadget driver 86 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local 88 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format() 89 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format() 90 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format() 92 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format() 93 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format() 105 struct uvc_video *video = &uvc->video; in uvc_v4l2_set_format() local 126 video->fcc = format->fcc; in uvc_v4l2_set_format() 127 video->bpp = format->bpp; in uvc_v4l2_set_format() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/ |
| D | aspeed-video.c | 34 #define DEVICE_NAME "aspeed-video" 425 static void aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear, in aspeed_video_update() argument 428 u32 t = readl(video->base + reg); in aspeed_video_update() 433 writel(t, video->base + reg); in aspeed_video_update() 434 dev_dbg(video->dev, "update %03x[%08x -> %08x]\n", reg, before, in aspeed_video_update() 435 readl(video->base + reg)); in aspeed_video_update() 438 static u32 aspeed_video_read(struct aspeed_video *video, u32 reg) in aspeed_video_read() argument 440 u32 t = readl(video->base + reg); in aspeed_video_read() 442 dev_dbg(video->dev, "read %03x[%08x]\n", reg, t); in aspeed_video_read() 446 static void aspeed_video_write(struct aspeed_video *video, u32 reg, u32 val) in aspeed_video_write() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
| 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, u32 *pad) in isp_video_remote_subdev() argument 209 remote = media_entity_remote_pad(&video->pad); in isp_video_remote_subdev() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/omap3isp/ |
| D | ispvideo.c | 4 * TI OMAP3 ISP - Generic video node 133 * @video: ISP video instance 139 * per line value in the pix format and information from the video instance. 143 static unsigned int isp_video_mbus_to_pix(const struct isp_video *video, in isp_video_mbus_to_pix() argument 169 if (video->bpl_max) in isp_video_mbus_to_pix() 170 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix() 174 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix() 175 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix() 209 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument 213 remote = media_entity_remote_pad(&video->pad); in isp_video_remote_subdev() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/media/davinci_vpfe/ |
| D | vpfe_video.c | 34 (struct vpfe_video_device *video) in vpfe_get_input_entity() argument 36 struct vpfe_device *vpfe_dev = video->vpfe_dev; in vpfe_get_input_entity() 48 static int vpfe_update_current_ext_subdev(struct vpfe_video_device *video) in vpfe_update_current_ext_subdev() argument 50 struct vpfe_device *vpfe_dev = video->vpfe_dev; in vpfe_update_current_ext_subdev() 66 video->current_ext_subdev = &vpfe_cfg->sub_devs[i]; in vpfe_update_current_ext_subdev() 78 if (!strcmp(video->current_ext_subdev->module_name, in vpfe_update_current_ext_subdev() 80 video->current_ext_subdev->subdev = vpfe_dev->sd[i]; in vpfe_update_current_ext_subdev() 85 /* get the subdev which is connected to the output video node */ 87 vpfe_video_remote_subdev(struct vpfe_video_device *video, u32 *pad) in vpfe_video_remote_subdev() argument 89 struct media_pad *remote = media_entity_remote_pad(&video->pad); in vpfe_video_remote_subdev() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
| 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, u32 *pad) in iss_video_remote_subdev() argument 193 remote = media_entity_remote_pad(&video->pad); in iss_video_remote_subdev() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/media/omap4iss/ |
| D | iss_video.c | 2 * TI OMAP4 ISS V4L2 Driver - Generic video node 110 * @video: ISS video instance 116 * per line value in the pix format and information from the video instance. 120 static unsigned int iss_video_mbus_to_pix(const struct iss_video *video, in iss_video_mbus_to_pix() argument 148 if (video->bpl_max) in iss_video_mbus_to_pix() 149 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix() 153 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix() 154 bpl = ALIGN(bpl, video->bpl_alignment); in iss_video_mbus_to_pix() 193 iss_video_remote_subdev(struct iss_video *video, u32 *pad) in iss_video_remote_subdev() argument 197 remote = media_entity_remote_pad(&video->pad); in iss_video_remote_subdev() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/ |
| 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->sequence = 0; in sun6i_video_start_streaming() [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/dvb/ |
| D | video_function_calls.rst | 6 Video Function Calls 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 [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
| D | video_function_calls.rst | 6 Video Function Calls 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
| D | vsp1_video.c | 3 * vsp1_video.c -- R-Car VSP1 Video Node 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 node [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/vsp1/ |
| D | vsp1_video.c | 3 * vsp1_video.c -- R-Car VSP1 Video Node 65 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() 80 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format() 81 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format() 82 video->rwpf->format.width != fmt.format.width) in vsp1_video_verify_format() 88 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument 120 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format() 122 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format() 308 * @video: the video node [all …]
|
| /kernel/linux/linux-4.19/drivers/acpi/ |
| D | acpi_video.c | 2 * video.c - ACPI Video Driver 39 #include <acpi/video.h> 44 #define ACPI_VIDEO_BUS_NAME "Video Bus" 45 #define ACPI_VIDEO_DEVICE_NAME "Video Device" 50 ACPI_MODULE_NAME("video"); 53 MODULE_DESCRIPTION("ACPI Video Driver"); 60 * By default, we don't allow duplicate ACPI video bus devices 120 .name = "video", 131 u8 multihead:1; /* can switch video heads */ 132 u8 rom:1; /* can retrieve a video rom */ [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | acpi_video.c | 3 * video.c - ACPI Video Driver 26 #include <acpi/video.h> 31 #define ACPI_VIDEO_BUS_NAME "Video Bus" 32 #define ACPI_VIDEO_DEVICE_NAME "Video Device" 37 ACPI_MODULE_NAME("video"); 40 MODULE_DESCRIPTION("ACPI Video Driver"); 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 */ [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
| 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->formats[ret], video->bpl_alignment); in video_get_subdev_format() 323 * Video queue operations [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/qcom/camss/ |
| D | camss-video.c | 3 * camss-video.c 18 #include "camss-video.h" 269 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument 274 remote = media_entity_remote_pad(&video->pad); in video_remote_subdev() 285 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument 293 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format() 306 video->formats, video->nformats); in video_get_subdev_format() 310 format->type = video->type; in video_get_subdev_format() 313 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format() 317 * Video queue operations [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/mediactl/ |
| D | media-types.rst | 34 .. _MEDIA-ENT-F-PROC-VIDEO-COMPOSER: 35 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-FORMATTER: 36 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-ENC-CONV: 37 .. _MEDIA-ENT-F-PROC-VIDEO-LUT: 38 .. _MEDIA-ENT-F-PROC-VIDEO-SCALER: 39 .. _MEDIA-ENT-F-PROC-VIDEO-STATISTICS: 40 .. _MEDIA-ENT-F-PROC-VIDEO-ENCODER: 41 .. _MEDIA-ENT-F-PROC-VIDEO-DECODER: 88 - Connector for a S-Video signal. 94 - Camera video sensor entity. [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/ |
| D | media-types.rst | 34 .. _MEDIA-ENT-F-PROC-VIDEO-COMPOSER: 35 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-FORMATTER: 36 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-ENC-CONV: 37 .. _MEDIA-ENT-F-PROC-VIDEO-LUT: 38 .. _MEDIA-ENT-F-PROC-VIDEO-SCALER: 39 .. _MEDIA-ENT-F-PROC-VIDEO-STATISTICS: 40 .. _MEDIA-ENT-F-PROC-VIDEO-ENCODER: 41 .. _MEDIA-ENT-F-PROC-VIDEO-DECODER: 88 - Connector for a S-Video signal. 94 - Camera video sensor entity. [all …]
|
| /kernel/linux/linux-5.10/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 22 Video IP and System Design Guide" [UG934]. How the format relates to the IP [all …]
|
| /kernel/linux/linux-4.19/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 22 Video IP and System Design Guide" [UG934]. How the format relates to the IP [all …]
|
| /kernel/linux/linux-4.19/Documentation/fb/ |
| D | uvesafb.txt | 2 uvesafb - A Generic Driver for VBE2+ compliant video cards 8 uvesafb should work with any video card that has a Video BIOS compliant 12 v86d. v86d is used to run the x86 Video BIOS code in a simulated and 32 uvesafb is a _generic_ driver which supports a wide variety of video 33 cards, but which is ultimately limited by the Video BIOS interface. 37 - A strict and limited set of supported video modes. Often the native 39 with uvesafb, simply because the Video BIOS doesn't support the 40 video mode you want to use. This can be especially painful with 41 widescreen panels, where native video modes don't have the 4:3 aspect 44 Video BIOS. Note that many nVidia Video BIOS-es claim to be VBE 3.0 [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/media/ |
| D | qcom,venus.txt | 1 * Qualcomm Venus video encoder/decoder accelerators 27 - "core" Core video accelerator clock 28 - "iface" Video accelerator AHB clock 29 - "bus" Video accelerator AXI clock 34 - "core" Core video accelerator clock 35 - "iface" Video accelerator AHB clock 36 - "bus" Video accelerator AXI clock 37 - "mbus" Video MAXI clock 55 The Venus video-codec node must contain two subnodes representing 56 video-decoder and video-encoder. [all …]
|