| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-subdev-enum-frame-interval.rst | 1 .. 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 …]
|
| H A D | metafmt-generic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 9 Generic line-based metadata formats 15 These generic line-based metadata formats define the memory layout of the data 18 .. _v4l2-meta-fmt-generic-8: 21 ----------------------- 23 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format 24 is used on CSI-2 for 8 bits per :term:`Data Unit`. 27 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is 28 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`. 35 .. flat-table:: Sample 4x2 Metadata Frame [all …]
|
| H A D | vidioc-subdev-enum-frame-size.rst | 1 .. 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 …]
|
| H A D | vidioc-subdev-g-frame-interval.rst | 1 .. 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 …]
|
| H A D | metafmt-d4xx.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _v4l2-meta-fmt-d4xx: 16 Intel D4xx (D435, D455 and others) cameras include per-frame metadata in their UVC 28 per frame, therefore their headers cannot be larger than 255 bytes. 38 .. flat-table:: D4xx metadata 40 :header-rows: 1 41 :stub-columns: 0 43 * - **Field** 44 - **Description** 45 * - :cspan:`1` *Depth Control* [all …]
|
| H A D | vidioc-subdev-g-fmt.rst | 1 .. 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 …]
|
| H A D | pixfmt-inzi.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-INZI: 10 Infrared 10-bit linked with Depth 16-bit images 16 Proprietary multi-planar format used by Intel SR300 Depth cameras, comprise of 17 Infrared image followed by Depth data. The pixel definition is 32-bpp, 23 The first plane - Infrared data - is stored according to 24 :ref:`V4L2_PIX_FMT_Y10 <V4L2-PIX-FMT-Y10>` greyscale format. 25 Each pixel is 16-bit cell, with actual data stored in the 10 LSBs 30 The second plane provides 16-bit per-pixel Depth data arranged in 31 :ref:`V4L2-PIX-FMT-Z16 <V4L2-PIX-FMT-Z16>` format. [all …]
|
| H A D | vidioc-enumstd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUMSTD - VIDIOC_SUBDEV_ENUMSTD - Enumerate supported video standards 52 .. flat-table:: struct v4l2_standard 53 :header-rows: 0 54 :stub-columns: 0 57 * - __u32 58 - ``index`` 59 - Number of the video standard, set by the application. 60 * - :ref:`v4l2_std_id <v4l2-std-id>` 61 - ``id`` [all …]
|
| /linux/sound/usb/caiaq/ |
| H A D | audio.c | 1 // 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 guard(spinlock)(&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() 64 struct snd_pcm_substream *sub) in deactivate_substream() argument 66 guard(spinlock_irqsave)(&cdev->spinlock); in deactivate_substream() [all …]
|
| /linux/sound/usb/6fire/ |
| H A D | pcm.c | 1 // 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/Documentation/devicetree/bindings/sound/ |
| H A D | cs35l35.txt | 5 - 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/drivers/scsi/fcoe/ |
| H A D | fcoe_ctlr.c | 1 // 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 -> in fcoe_ctlr_set_state() 1145 u8 sub; fcoe_ctlr_recv_els() local 1535 u8 sub; fcoe_ctlr_recv_handler() local 2013 fcoe_ctlr_vn_send(struct fcoe_ctlr * fip,enum fip_vn2vn_subcode sub,const u8 * dest,size_t min_len) fcoe_ctlr_vn_send() argument 2023 } __packed * frame; fcoe_ctlr_vn_send() local 2278 u8 sub; fcoe_ctlr_vn_parse() local 2735 enum fip_vn2vn_subcode sub; fcoe_ctlr_vn_recv() local 2807 u8 sub; fcoe_ctlr_vlan_parse() local 2891 fcoe_ctlr_vlan_send(struct fcoe_ctlr * fip,enum fip_vlan_subcode sub,const u8 * dest) fcoe_ctlr_vlan_send() argument 2900 } __packed * frame; fcoe_ctlr_vlan_send() local 2955 enum fip_vlan_subcode sub = FIP_SC_VL_NOTE; fcoe_ctlr_vlan_disc_reply() local 2971 enum fip_vlan_subcode sub; fcoe_ctlr_vlan_recv() local [all...] |
| /linux/arch/arm/kernel/ |
| H A D | stacktrace.c | 1 // 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 …]
|
| H A D | entry-ftrace.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 #include "entry-header.S" 10 * When compiling with -pg, gcc inserts a call to the mcount routine at the 20 * With these compilers, frame pointers are not necessary. 33 sub \rd, \rd, #MCOUNT_INSN_SIZE 67 str lr, [sp, #-8]! @ store LR as PC and make space for CPSR/OLD_R0, 74 str lr, [sp, #-4]! @ store previous LR as LR 79 push {r0-r11, ip, lr} 108 pop {r0-r11, ip, lr} @ restore r0 through r12 117 sub r0, fp, #4 @ lr of instrumented routine (parent) [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | uvc_v4l2.c | 1 // 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> 35 if (uformat->type == UVCG_UNCOMPRESSED) { in to_uvc_format() 38 unc = to_uvcg_uncompressed(&uformat->group.cg_item); in to_uvc_format() 40 return ERR_PTR(-EINVAL); in to_uvc_format() 42 memcpy(guid, unc->desc.guidFormat, sizeof(guid)); in to_uvc_format() [all …]
|
| /linux/arch/arm/lib/ |
| H A D | backtrace.S | 1 /* 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/drivers/scsi/isci/ |
| H A D | request.h | 7 * 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/include/drm/bridge/ |
| H A D | mhl.h | 1 /* 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/drivers/media/platform/ti/am437x/ |
| H A D | am437x-vpfe.h | 1 /* 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/drivers/scsi/qedf/ |
| H A D | qedf_fip.c | 1 // 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/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | agg.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2024-2025 Intel Corporation 17 &baid_data->entries[reorder_buf->queue * in iwl_mld_reorder_release_frames() 18 baid_data->entries_per_queue]; in iwl_mld_reorder_release_frames() 19 u16 ssn = reorder_buf->head_sn; in iwl_mld_reorder_release_frames() 22 int index = ssn % baid_data->buf_size; in iwl_mld_reorder_release_frames() 28 /* Empty the list. Will have more than one frame for A-MSDU. in iwl_mld_reorder_release_frames() 34 reorder_buf->queue, in iwl_mld_reorder_release_frames() 36 reorder_buf->num_stored--; in iwl_mld_reorder_release_frames() 39 reorder_buf->head_sn = nssn; in iwl_mld_reorder_release_frames() [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | ipu6-isys.rst | 1 .. 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 …]
|
| /linux/sound/ppc/ |
| H A D | powermac.c | 1 // 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 strscpy(card->driver, "PMac Burgundy"); in snd_pmac_probe() 59 strscpy(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 strscpy(card->driver, "PMac DACA"); in snd_pmac_probe() [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | asm.h | 14 * away by gas in -O mode. These nops are however required to fill delay 21 #include <asm/asm-eva.h> 22 #include <asm/isa-rev.h> 42 * LEAF - declare leaf routine 50 symbol: .frame sp, 0, ra; \ 55 * NESTED - declare nested routine entry point 63 symbol: .frame sp, framesize, rpc; \ 68 * END - mark end of function 73 .size function, .-function 76 * EXPORT - export definition of symbol [all …]
|
| /linux/Documentation/arch/m68k/ |
| H A D | kernel-options.rst | 9 Author: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek) 11 Update: jds@kom.auc.dk (Jes Sorensen) and faq@linux-m68k.org (Chris Lawrence) 58 ---------- 76 /dev/ram: -> 0x0100 (initial ramdisk) 77 /dev/hda: -> 0x0300 (first IDE disk) 78 /dev/hdb: -> 0x0340 (second IDE disk) 79 /dev/sda: -> 0x0800 (first SCSI disk) 80 /dev/sdb: -> 0x0810 (second SCSI disk) 81 /dev/sdc: -> 0x0820 (third SCSI disk) 82 /dev/sdd: -> 0x0830 (forth SCSI disk) [all …]
|