/linux/Documentation/userspace-api/media/v4l/ |
H A D | subdev-formats.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-mbus-format: 14 .. flat-table:: struct v4l2_mbus_framefmt 15 :header-rows: 0 16 :stub-columns: 0 19 * - __u32 20 - ``width`` 21 - Image width in pixels. 22 * - __u32 23 - ``height`` [all …]
|
H A D | pixfmt-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-rgb: 22 (including capture queues of mem-to-mem devices) fill the alpha component in 25 but can set the alpha bit to a user-configurable value, the 26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to 31 :ref:`Output <output>` devices (including output queues of mem-to-mem devices 44 - In all the tables that follow, bit 7 is the most significant bit in a byte. 45 - 'r', 'g' and 'b' denote bits of the red, green and blue components 54 based on the order of the RGB components as seen in a 8-, 16- or 32-bit word, 57 for each component. For instance, the RGB565 format stores a pixel in a 16-bit [all …]
|
H A D | pixfmt-yuv-planar.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. planar-yuv: 12 - Semi-planar formats use two planes. The first plane is the luma plane and 16 - Fully planar formats use three planes to store the Y, Cb and Cr components 26 and applications that support the multi-planar API, described in 27 :ref:`planar-apis`. Unless explicitly documented as supporting non-contiguous 31 Semi-Planar YUV Formats 46 For non-contiguous formats, no constraints are enforced by the format on the 57 .. flat-table:: Overview of Semi-Planar YUV Formats 58 :header-rows: 1 [all …]
|
H A D | pixfmt-srggb10-ipu3.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-pix-fmt-ipu3-sbggr10: 4 .. _v4l2-pix-fmt-ipu3-sgbrg10: 5 .. _v4l2-pix-fmt-ipu3-sgrbg10: 6 .. _v4l2-pix-fmt-ipu3-srggb10: 13 10-bit Bayer formats 24 In other respects this format is similar to :ref:`V4L2-PIX-FMT-SRGGB10`. 36 .. flat-table:: 38 * - start + 0: 39 - B\ :sub:`0000low` [all …]
|
H A D | pixfmt-packed-yuv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-yuv: 15 - In all the tables that follow, bit 7 is the most significant bit in a byte. 16 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as 30 seen in a 16-bit word, which is then stored in memory in little endian byte 32 format stores a pixel in a 16-bit word [15:0] laid out at as [Y'\ :sub:`4-0` 33 Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes, 34 [Cb\ :sub:`2-0` Cr\ :sub:`4-0`] followed by [Y'\ :sub:`4-0` Cb\ :sub:`5-3`]. 44 .. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc) 45 :header-rows: 2 [all …]
|
H A D | pixfmt-packed-hsv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-hsv: 13 depends on the hsv-encoding used, see :ref:`colorspaces`. 29 .. _packed-hsv-formats: 31 .. flat-table:: Packed HSV Image Formats 32 :header-rows: 2 33 :stub-columns: 0 35 * - Identifier 36 - Code 37 - [all …]
|
H A D | pixfmt-yuv-luma.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _yuv-luma-only: 6 Luma-Only Formats 14 - In all the tables that follow, bit 7 is the most significant bit in a byte. 15 - Formats are described with the minimum number of pixels needed to create a 16 byte-aligned repeating pattern. `...` indicates repetition of the pattern. 17 - Y'\ :sub:`x`\ [9:2] denotes bits 9 to 2 of the Y' value for pixel at column 19 - `0` denotes padding bits set to 0. 28 .. flat-table:: Luma-Only Image Formats 29 :header-rows: 1 [all …]
|
H A D | pixfmt-y8i.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y8I: 10 Interleaved grey-scale image, e.g. from a stereo-pair 16 This is a grey-scale image with a depth of 8 bits per pixel, but with 17 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 31 * - start + 0: 32 - Y'\ :sub:`00left` [all …]
|
H A D | pixfmt-z16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Z16: 10 16-bit depth data with distance values at each pixel 16 This is a 16-bit format, representing depth data. Each pixel is a 19 is stored in a 16-bit word in the little endian byte order. 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 31 * - start + 0: 32 - Z\ :sub:`00low` [all …]
|
H A D | pixfmt-tch-tu16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-TCH-FMT-TU16: 11 16-bit unsigned little endian raw touch data 17 This format represents unsigned 16-bit data from a touch controller. 26 .. flat-table:: 27 :header-rows: 0 28 :stub-columns: 0 31 * - start + 0: 32 - R'\ :sub:`00low` 33 - R'\ :sub:`00high` [all …]
|
H A D | pixfmt-tch-td16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-TCH-FMT-DELTA-TD16: 11 16-bit signed little endian Touch Delta 19 Delta values may range from -32768 to 32767. Typically the values will vary 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 32 * - start + 0: 33 - D'\ :sub:`00low` 34 - D'\ :sub:`00high` [all …]
|
H A D | pixfmt-m420.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-M420: 10 YUV 4:2:0. Hybrid plane line-interleaved layout. 23 Cb\ :sub:`0`/Cr\ :sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`, 24 Y'\ :sub:`10`, Y'\ :sub:`11`. 33 .. flat-table:: 34 :header-rows: 0 35 :stub-columns: 0 37 * - start + 0: 38 - Y'\ :sub:`00` [all …]
|
H A D | pixfmt-srggb10.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-SRGGB10: 4 .. _v4l2-pix-fmt-sbggr10: 5 .. _v4l2-pix-fmt-sgbrg10: 6 .. _v4l2-pix-fmt-sgrbg10: 16 10-bit Bayer formats expanded to 16 bits 23 sample. Each sample is stored in a 16-bit word, with 6 unused 24 high bits filled with zeros. Each n-pixel row contains n/2 green samples and 37 .. flat-table:: 38 :header-rows: 0 [all …]
|
H A D | pixfmt-srggb16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-SRGGB16: 4 .. _v4l2-pix-fmt-sbggr16: 5 .. _v4l2-pix-fmt-sgbrg16: 6 .. _v4l2-pix-fmt-sgrbg16: 15 16-bit Bayer formats 23 sample. Each sample is stored in a 16-bit word. Each n-pixel row contains 32 .. flat-table:: 33 :header-rows: 0 34 :stub-columns: 0 [all …]
|
H A D | pixfmt-srggb12.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-SRGGB12: 4 .. _v4l2-pix-fmt-sbggr12: 5 .. _v4l2-pix-fmt-sgbrg12: 6 .. _v4l2-pix-fmt-sgrbg12: 17 12-bit Bayer formats expanded to 16 bits 24 colour. Each colour component is stored in a 16-bit word, with 4 unused 25 high bits filled with zeros. Each n-pixel row contains n/2 green samples 38 .. flat-table:: 39 :header-rows: 0 [all …]
|
H A D | pixfmt-srggb14p.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-SRGGB14P: 4 .. _v4l2-pix-fmt-sbggr14p: 5 .. _v4l2-pix-fmt-sgbrg14p: 6 .. _v4l2-pix-fmt-sgrbg14p: 17 14-bit packed Bayer formats 29 Each n-pixel row contains n/2 green samples and n/2 blue or red samples, 30 with alternating green-red and green-blue rows. They are conventionally 45 .. flat-table:: 46 :header-rows: 0 [all …]
|
/linux/sound/soc/uniphier/ |
H A D | aio-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2016-2018 Socionext Inc. 17 #include "aio-reg.h" 22 return wr - rd; in rb_cnt() 24 return len - (rd - wr); in rb_cnt() 30 return wr - rd; in rb_cnt_to_end() 32 return len - rd; in rb_cnt_to_end() 38 return len - (wr - rd) - 8; in rb_space() 40 return rd - wr - 8; in rb_space() 46 return rd - wr - 8; in rb_space_to_end() [all …]
|
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 …]
|
H A D | aio-dma.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2016-2018 Socionext Inc. 7 #include <linux/dma-mapping.h> 28 static void aiodma_pcm_irq(struct uniphier_aio_sub *sub) in aiodma_pcm_irq() argument 30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq() 31 int bytes = runtime->period_size * in aiodma_pcm_irq() 32 runtime->channels * samples_to_bytes(runtime, 1); in aiodma_pcm_irq() 35 spin_lock(&sub->lock); in aiodma_pcm_irq() 36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes, in aiodma_pcm_irq() 37 sub->threshold + bytes); in aiodma_pcm_irq() [all …]
|
/linux/net/tipc/ |
H A D | subscr.c | 4 * Copyright (c) 2000-2017, Ericsson AB 5 * Copyright (c) 2005-2007, 2010-2013, Wind River Systems 6 * Copyright (c) 2020-2021, Red Hat Inc 42 static void tipc_sub_send_event(struct tipc_subscription *sub, in tipc_sub_send_event() argument 46 struct tipc_subscr *s = &sub->evt.s; in tipc_sub_send_event() 47 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event() 49 if (sub->inactive) in tipc_sub_send_event() 53 tipc_evt_write(evt, found_lower, p->sr.lower); in tipc_sub_send_event() 54 tipc_evt_write(evt, found_upper, p->sr.upper); in tipc_sub_send_event() 55 tipc_evt_write(evt, port.ref, p->sk.ref); in tipc_sub_send_event() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelake/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv-gpio.c -- gpio sub drivers 6 sysfs-based sub driver interface for bttv 10 Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 11 & Marcus Metzler (mocm@thp.uni-koeln.de) 12 (c) 1999-2003 Gerd Knorr <kraxel@bytesex.org> 28 /* ----------------------------------------------------------------------- */ 33 const struct bttv_sub_driver *sub = to_bttv_sub_drv(drv); in bttv_sub_bus_match() local 34 int len = strlen(sub->wanted); in bttv_sub_bus_match() 36 if (0 == strncmp(dev_name(dev), sub->wanted, len)) in bttv_sub_bus_match() [all …]
|