Home
last modified time | relevance | path

Searched +full:sub +full:- +full:frame (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dvidioc-subdev-enum-frame-interval.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals
34 This ioctl lets applications enumerate available frame intervals on a
35 given sub-device pad. Frame intervals only makes sense for sub-devices
36 that can control the frame period on their own. This includes, for
39 For the common use case of image sensors, the frame intervals available
40 on the sub-device output pad depend on the frame format and size on the
42 when enumerating frame intervals.
44 To enumerate frame intervals applications initialize the ``index``,
49 EINVAL error code if one of the input fields is invalid. All frame
[all …]
Dmetafmt-generic.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
8 Generic line-based metadata formats
14 These generic line-based metadata formats define the memory layout of the data
17 .. _v4l2-meta-fmt-generic-8:
20 -----------------------
22 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format
23 is used on CSI-2 for 8 bits per :term:`Data Unit`.
26 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is
27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`.
34 .. flat-table:: Sample 4x2 Metadata Frame
[all …]
Dvidioc-subdev-enum-frame-size.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes
34 This ioctl allows applications to access the enumeration of frame sizes
35 supported by a sub-device on the specified pad
47 Therefore, to enumerate frame sizes allowed on the specified pad
54 A successful call will return with minimum and maximum frame sizes filled in.
59 Sub-devices that only support discrete frame sizes (such as most
60 sensors) will return one or more frame sizes with identical minimum and
64 supported. For instance, a scaler that uses a fixed-point scaling ratio
65 might not be able to produce every frame size between the minimum and
[all …]
Dvidioc-subdev-g-frame-interval.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the frame interval on …
38 These ioctls are used to get and set the frame interval at specific
39 subdev pads in the image pipeline. The frame interval only makes sense
40 for sub-devices that can control the frame period on their own. This
41 includes, for instance, image sensors and TV tuners. Sub-devices that
42 don't support frame intervals must not implement these ioctls.
44 To retrieve the current frame interval applications set the ``pad``
51 To change the current frame interval applications set both the ``pad``
58 contains the current frame interval as would be returned by a
[all …]
Dmetafmt-d4xx.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-meta-fmt-d4xx:
15 Intel D4xx (D435, D455 and others) cameras include per-frame metadata in their UVC
27 per frame, therefore their headers cannot be larger than 255 bytes.
37 .. flat-table:: D4xx metadata
39 :header-rows: 1
40 :stub-columns: 0
42 * - **Field**
43 - **Description**
44 * - :cspan:`1` *Depth Control*
[all …]
Dvidioc-subdev-g-fmt.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subdev pad
38 These ioctls are used to negotiate the frame format at specific subdev
59 and stored in the sub-device file handle. Two applications querying the
60 same sub-device would thus not interact with each other.
62 For instance, to try a format at the output pad of a sub-device,
63 applications would first set the try format at the sub-device input with
70 current links configuration or sub-device controls value. For instance,
71 a low-pass noise filter might crop pixels at the frame boundaries,
72 modifying its output frame size.
[all …]
Dpixfmt-inzi.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-INZI:
9 Infrared 10-bit linked with Depth 16-bit images
15 Proprietary multi-planar format used by Intel SR300 Depth cameras, comprise of
16 Infrared image followed by Depth data. The pixel definition is 32-bpp,
22 The first plane - Infrared data - is stored according to
23 :ref:`V4L2_PIX_FMT_Y10 <V4L2-PIX-FMT-Y10>` greyscale format.
24 Each pixel is 16-bit cell, with actual data stored in the 10 LSBs
29 The second plane provides 16-bit per-pixel Depth data arranged in
30 :ref:`V4L2-PIX-FMT-Z16 <V4L2-PIX-FMT-Z16>` format.
[all …]
/linux-6.12.1/sound/usb/6fire/
Dpcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
64 .period_bytes_min = PCM_N_PACKETS_PER_URB * (PCM_MAX_PACKET_SIZE - 4),
73 struct control_runtime *ctrl_rt = rt->chip->control; in usb6fire_pcm_set_rate()
75 ctrl_rt->usb_streaming = false; in usb6fire_pcm_set_rate()
76 ret = ctrl_rt->update_streaming(ctrl_rt); in usb6fire_pcm_set_rate()
78 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_set_rate()
80 rates[rt->rate]); in usb6fire_pcm_set_rate()
84 ret = ctrl_rt->set_rate(ctrl_rt, rt->rate); in usb6fire_pcm_set_rate()
86 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_set_rate()
88 rates[rt->rate]); in usb6fire_pcm_set_rate()
[all …]
/linux-6.12.1/sound/usb/caiaq/
Daudio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2006-2008 Daniel Mack, Karsten Wiese
31 (stream << 1) | (~(i / (cdev->n_streams * BYTES_PER_SAMPLE_USB)) & 1)
52 struct snd_pcm_substream *sub) in activate_substream() argument
54 spin_lock(&cdev->spinlock); in activate_substream()
56 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in activate_substream()
57 cdev->sub_playback[sub->number] = sub; in activate_substream()
59 cdev->sub_capture[sub->number] = sub; in activate_substream()
61 spin_unlock(&cdev->spinlock); in activate_substream()
66 struct snd_pcm_substream *sub) in deactivate_substream() argument
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dcs35l35.txt5 - compatible : "cirrus,cs35l35"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - interrupts : IRQ line info CS35L35.
14 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
17 - cirrus,boost-ind-nanohenry: Inductor value for boost converter. The value is
21 - reset-gpios : gpio used to reset the amplifier
23 - cirrus,stereo-config : Boolean to determine if there are 2 AMPs for a
26 - cirrus,audio-channel : Set Location of Audio Signal on Serial Port
30 - cirrus,advisory-channel : Set Location of Advisory Signal on Serial Port
[all …]
/linux-6.12.1/Documentation/userspace-api/media/drivers/
Dcamera-sensor.rst1 .. SPDX-License-Identifier: GPL-2.0
8 This section describes common practices for how the V4L2 sub-device interface is
13 Frame size
14 ----------
16 There are two distinct ways to configure the frame size produced by camera
23 processing pipeline as one or more sub-devices with different cropping and
40 Frame interval configuration
41 ----------------------------
43 There are two different methods for obtaining possibilities for different frame
44 intervals as well as configuring the frame interval. Which one to implement
[all …]
/linux-6.12.1/drivers/usb/gadget/function/
Duvc_v4l2.c1 // SPDX-License-Identifier: GPL-2.0+
3 * uvc_v4l2.c -- USB Video Class Gadget driver
5 * Copyright (C) 2009-2010
19 #include <media/v4l2-dev.h>
20 #include <media/v4l2-event.h>
21 #include <media/v4l2-ioctl.h>
36 if (uformat->type == UVCG_UNCOMPRESSED) { in to_uvc_format()
37 unc = to_uvcg_uncompressed(&uformat->group.cg_item); in to_uvc_format()
39 return ERR_PTR(-EINVAL); in to_uvc_format()
41 memcpy(guid, unc->desc.guidFormat, sizeof(guid)); in to_uvc_format()
[all …]
/linux-6.12.1/arch/arm/kernel/
Dstacktrace.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * Unwind the current stack frame and store the new register values in the
23 * sub fp, ip, #4
33 * sub sp, sp, #y
37 * sub sp, fp, #x
47 static int frame_pointer_check(struct stackframe *frame) in frame_pointer_check() argument
50 unsigned long fp = frame->fp; in frame_pointer_check()
51 unsigned long pc = frame->pc; in frame_pointer_check()
63 low = frame->sp; in frame_pointer_check()
66 /* check current frame pointer is within bounds */ in frame_pointer_check()
[all …]
/linux-6.12.1/drivers/scsi/fcoe/
Dfcoe_ctlr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
6 * Maintained at www.Open-FCoE.org
82 * fcoe_ctlr_set_state() - Set and do debug printing for the new FIP state.
88 if (state == fip->state) in fcoe_ctlr_set_state()
90 if (fip->lp) in fcoe_ctlr_set_state()
91 LIBFCOE_FIP_DBG(fip, "state %s -> %s\n", in fcoe_ctlr_set_state()
92 fcoe_ctlr_state(fip->state), fcoe_ctlr_state(state)); in fcoe_ctlr_set_state()
93 fip->state = state; in fcoe_ctlr_set_state()
97 * fcoe_ctlr_mtu_valid() - Check if a FCF's MTU is valid
[all …]
/linux-6.12.1/arch/arm/lib/
Dbacktrace.S1 /* SPDX-License-Identifier: GPL-2.0-only */
14 @ fp is 0 or stack frame
16 #define frame r4 macro
29 stmfd sp!, {r4 - r9, lr} @ Save an extra register so we have a location...
30 movs frame, r0 @ if frame pointer is zero
34 tst r1, #0x10 @ 26 or 32-bit mode?
38 movne mask, #0 @ mask for 32-bit
43 sub offset, r0, r1
46 * Stack frame layout:
47 * optionally saved caller registers (r4 - r10)
[all …]
/linux-6.12.1/drivers/scsi/isci/
Drequest.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
64 * isci_stp_request - extra request infrastructure to handle pio/atapi protocol
65 * @pio_len - number of bytes requested at PIO setup
66 * @status - pio setup ending status value to tell us if we need
69 * @sgl - track pio transfer progress as we iterate through the sgl
103 * - TMF requests are completed in the thread that started them;
104 * - regular requests are completed in the request completion callback
125 /* This field is a pointer to the stored rx frame data. It is used in
[all …]
/linux-6.12.1/include/drm/bridge/
Dmhl.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Defines for Mobile High-Definition Link (MHL) interface
9 * Copyright (C) 2013-2014 Silicon Image, Inc.
209 MHL_MSC_MSG = 0x68, /* VS command to send RCP sub-commands */
210 MHL_GET_SC1_ERRORCODE = 0x69, /* Get Vendor-Specific error code */
213 MHL_WRITE_BURST = 0x6C, /* Write 1-16 bytes to responder's scratchpad */
226 MHL_MSC_MSG_RCP = 0x10, /* RCP sub-command */
227 MHL_MSC_MSG_RCPK = 0x11, /* RCP Acknowledge sub-command */
228 MHL_MSC_MSG_RCPE = 0x12, /* RCP Error sub-command */
229 MHL_MSC_MSG_RAP = 0x20, /* Mode Change Warning sub-command */
[all …]
/linux-6.12.1/drivers/media/platform/ti/am437x/
Dam437x-vpfe.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2013 - 2014 Texas Instruments, Inc.
12 #include <linux/am437x-vpfe.h>
20 #include <media/v4l2-dev.h>
21 #include <media/v4l2-device.h>
22 #include <media/v4l2-ioctl.h>
23 #include <media/videobuf2-v4l2.h>
24 #include <media/videobuf2-dma-contig.h>
26 #include "am437x-vpfe_regs.h"
36 /* BT656 - 8 bit */
[all …]
/linux-6.12.1/drivers/scsi/qedf/
Dqedf_fip.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2016-2018 Cavium Inc.
27 QEDF_ERR(&qedf->dbg_ctx, in qedf_fcoe_send_vlan_req()
32 eth_fr = (char *)skb->data; in qedf_fcoe_send_vlan_req()
36 ether_addr_copy(vlan->eth.h_source, qedf->mac); in qedf_fcoe_send_vlan_req()
37 ether_addr_copy(vlan->eth.h_dest, my_fcoe_all_fcfs); in qedf_fcoe_send_vlan_req()
38 vlan->eth.h_proto = htons(ETH_P_FIP); in qedf_fcoe_send_vlan_req()
40 vlan->fip.fip_ver = FIP_VER_ENCAPS(FIP_VER); in qedf_fcoe_send_vlan_req()
41 vlan->fip.fip_op = htons(FIP_OP_VLAN); in qedf_fcoe_send_vlan_req()
42 vlan->fip.fip_subcode = FIP_SC_VL_REQ; in qedf_fcoe_send_vlan_req()
[all …]
/linux-6.12.1/arch/arm64/kernel/
Dentry-ftrace.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm64/kernel/entry-ftrace.S
11 #include <asm/asm-offsets.h>
18 * Due to -fpatchable-function-entry=2, the compiler has placed two NOPs before
25 * Each instrumented function follows the AAPCS, so here x0-x8 and x18-x30 are
26 * live (x18 holds the Shadow Call Stack pointer), and x9-x17 are safe to
30 * ftrace callbacks. So that we can get a sensible backtrace, we create frame
33 * record, its caller is missing from the LR and existing chain of frame
41 * The literal pointer to the ops is at an 8-byte aligned boundary
47 * aligning to an 8-byte boundary and subtracting 16. We do the
[all …]
/linux-6.12.1/Documentation/admin-guide/media/
Dipu6-isys.rst1 .. SPDX-License-Identifier: GPL-2.0
9 Copyright |copy| 2023--2024 Intel Corporation
26 Intel IPU6 is made up of two components - Input System (ISYS) and Processing
29 The Input System mainly works as MIPI CSI-2 receiver which receives and
32 There are 2 driver modules - intel-ipu6 and intel-ipu6-isys. intel-ipu6 is an
34 firmware authentication, DMA mapping and IPU-MMU (internal Memory mapping Unit)
36 sub-device interfaces. The IPU6 ISYS driver supports camera sensors connected
37 to the IPU6 ISYS through V4L2 sub-device sensor drivers.
39 .. Note:: See Documentation/driver-api/media/drivers/ipu6.rst for more
45 The Input System driver mainly configures CSI-2 D-PHY, constructs the firmware
[all …]
Dipu3.rst1 .. SPDX-License-Identifier: GPL-2.0
24 ImgU). The CIO2 driver is available as drivers/media/pci/intel/ipu3/ipu3-cio2*
36 Both of the drivers implement V4L2, Media Controller and V4L2 sub-device
38 MIPI CSI-2 interfaces through V4L2 sub-device sensor drivers.
44 interface to the user space. There is a video node for each CSI-2 receiver,
47 The CIO2 contains four independent capture channel, each with its own MIPI CSI-2
48 receiver and DMA engine. Each channel is modelled as a V4L2 sub-device exposed
49 to userspace as a V4L2 sub-device node and has two pads:
53 .. flat-table::
54 :header-rows: 1
[all …]
/linux-6.12.1/sound/soc/uniphier/
Daio-compress.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (c) 2017-2018 Socionext Inc.
9 #include <linux/dma-mapping.h>
26 struct snd_compr *compr = rtd->compr; in uniphier_aio_comprdma_new()
27 struct device *dev = compr->card->dev; in uniphier_aio_comprdma_new()
29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() local
37 sub->compr_area = kzalloc(size, GFP_KERNEL); in uniphier_aio_comprdma_new()
38 if (!sub->compr_area) in uniphier_aio_comprdma_new()
39 return -ENOMEM; in uniphier_aio_comprdma_new()
41 if (sub->swm->dir == PORT_DIR_OUTPUT) in uniphier_aio_comprdma_new()
[all …]
/linux-6.12.1/sound/ppc/
Dpowermac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */
47 err = snd_card_new(&devptr->dev, index, id, THIS_MODULE, 0, &card); in snd_pmac_probe()
54 card->private_data = chip; in snd_pmac_probe()
56 switch (chip->model) { in snd_pmac_probe()
58 strcpy(card->driver, "PMac Burgundy"); in snd_pmac_probe()
59 strcpy(card->shortname, "PowerMac Burgundy"); in snd_pmac_probe()
60 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe()
61 card->shortname, chip->device_id, chip->subframe); in snd_pmac_probe()
67 strcpy(card->driver, "PMac DACA"); in snd_pmac_probe()
[all …]
/linux-6.12.1/include/media/
Dv4l2-subdev.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * V4L2 sub-device support header.
12 #include <linux/v4l2-subdev.h>
13 #include <media/media-entity.h>
14 #include <media/v4l2-async.h>
15 #include <media/v4l2-common.h>
16 #include <media/v4l2-dev.h>
17 #include <media/v4l2-fh.h>
18 #include <media/v4l2-mediabus.h>
44 * struct v4l2_decode_vbi_line - used to decode_vbi_line
[all …]

12345678910>>...23