/openbmc/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 | 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 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 …]
|
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 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 …]
|
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 …]
|
/openbmc/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 …]
|
/openbmc/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 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 …]
|
/openbmc/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 …]
|
/openbmc/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> 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 …]
|
/openbmc/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 …]
|
/openbmc/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 -> %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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 CSI-2 and parallel (BT.601 and BT.656) busses 7 --------------------------------------------- 9 Please see :ref:`transmitter-receiver`. 12 --------------- 23 elsewhere. Therefore only the pre-determined frequencies are configurable by the 29 Read the ``clock-frequency`` _DSD property to denote the frequency. The driver 35 The currently preferred way to achieve this is using ``assigned-clocks``, 36 ``assigned-clock-parents`` and ``assigned-clock-rates`` properties. See 37 ``Documentation/devicetree/bindings/clock/clock-bindings.txt`` for more [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | gen_print.py | 47 os.path.normpath(re.sub("/" + pgm_name, "", pgm_file_path)) + os.path.sep 119 Return the function name associated with the indicated stack frame. 122 …stack_frame_ix The index of the stack frame whose function name should be returne… 124 … 1 which is the index of the caller's stack frame. If the caller is the 163 return len(line) - len(line.lstrip(" ")) 186 … with the given example, if arg_num is -2 the 2nd parm to the left of the 187 … "=" ("rc" in this case) should be returned. If arg_num is -1, the 1st 189 … If arg_num is less than -2, an entire dictionary is returned. The keys 190 to the dictionary for this example would be -2 and -1. 191 …stack_frame_ix The stack frame index of the target function. This value must be … [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | entry-ftrace.S | 1 /* 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 …]
|
/openbmc/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 …]
|
/openbmc/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 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 …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | ipu3.rst | 1 .. 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 …]
|
/openbmc/linux/sound/soc/uniphier/ |
H A D | aio-compress.c | 1 // 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 …]
|
/openbmc/linux/tools/include/nolibc/ |
H A D | arch-i386.h | 1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 4 * Copyright (C) 2017-2022 Willy Tarreau <w@1wt.eu> 14 * - mostly similar to x86_64 15 * - registers are 32-bit 16 * - syscall number is passed in eax 17 * - arguments are in ebx, ecx, edx, esi, edi, ebp respectively 18 * - all registers are preserved (except eax of course) 19 * - the system call is performed by calling int $0x80 20 * - syscall return comes in eax 21 * - the arguments are cast to long and assigned into the target registers [all …]
|