/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-subdev-enum-mbus-code.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formats 35 of media bus formats for the selected pad. 42 Therefore, to enumerate media bus formats available at a given sub-device pad, 43 initialize the ``pad``, and ``which`` fields to desired values, 45 Then call the :ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE` ioctl 51 ``EINVAL`` means that either ``pad`` is invalid, 52 or that there are no more codes available at this pad. 55 at the same pad. 58 other pads of the sub-device, as well as on the current active links. [all …]
|
H A D | dev-subdev.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Sub-device Interface 13 components as software blocks called sub-devices. 15 V4L2 sub-devices are usually kernel-only objects. If the V4L2 driver 17 media entities. Applications will be able to enumerate the sub-devices 21 In addition to make sub-devices discoverable, drivers can also choose to 23 sub-device driver and the V4L2 device driver support this, sub-devices 26 - query, read and write sub-devices controls 28 - subscribe and unsubscribe to events and retrieve them 30 - negotiate image formats on individual pads [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 35 supported by a sub-device on the specified pad 38 :ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE` 43 Each pair of ``pad`` and ``code`` correspond to a separate enumeration. 47 Therefore, to enumerate frame sizes allowed on the specified pad 49 ``pad``, ``which``, and ``code`` fields to desired values, 51 Then call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_SIZE` ioctl with a pointer to the 59 Sub-devices that only support discrete frame sizes (such as most 64 supported. For instance, a scaler that uses a fixed-point scaling ratio [all …]
|
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 35 given sub-device pad. Frame intervals only makes sense for sub-devices 40 on the sub-device output pad depend on the frame format and size on the 41 same pad. Applications must thus specify the desired format and size 45 ``pad``, ``which``, ``code``, ``width`` and ``height`` fields of struct 47 and call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL` ioctl with a pointer 54 other pads of the sub-device, as well as on the current active links. 55 See :ref:`VIDIOC_SUBDEV_G_FMT` for more 58 Sub-devices that support the frame interval enumeration ioctl should [all …]
|
H A D | vidioc-subdev-g-selection.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_SELECTION - VIDIOC_SUBDEV_S_SELECTION - Get or set selection rectangles on a subdev… 43 :ref:`the old subdev crop API <VIDIOC_SUBDEV_G_CROP>`. All the 46 See :ref:`subdev` for more information on how each selection target 49 If the subdev device node has been registered in read-only mode, calls to 52 variable is set to ``-EPERM``. 55 -------------------------- 62 ------------------------------ 69 :ref:`v4l2-selections-common`. 75 .. flat-table:: struct v4l2_subdev_selection [all …]
|
H A D | ext-ctrls-dv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _dv-controls: 12 (Digital Visual Interface), HDMI (:ref:`hdmi`) and DisplayPort 13 (:ref:`dp`). These controls are generally expected to be private to 15 only exposed on the ``/dev/v4l-subdev*`` device node. 23 Identification Data, :ref:`vesaedid`) and HDCP (High-bandwidth Digital 24 Content Protection System, :ref:`hdcp`) processing, allowing the 29 bitmasks, one bit for each pad. Bit 0 corresponds to pad 0, bit 1 to pad 33 .. _dv-control-id: 45 output pad on the transmitter. If an output pad does not have an [all …]
|
H A D | vidioc-g-edid.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_EDID - VIDIOC_S_EDID - VIDIOC_SUBDEV_G_EDID - VIDIOC_SUBDEV_S_EDID - Get or set the EDID o… 48 with subdevice nodes (/dev/v4l-subdevX) or with video nodes 51 When used with video nodes the ``pad`` field represents the input (for 53 returned by :ref:`VIDIOC_ENUMINPUT` and 54 :ref:`VIDIOC_ENUMOUTPUT` respectively. When used 55 with subdevice nodes the ``pad`` field represents the input or output 56 pad of the subdevice. If there is no EDID support for the given ``pad`` 59 To get the EDID data the application has to fill in the ``pad``, 61 array and call :ref:`VIDIOC_G_EDID <VIDIOC_G_EDID>`. The current EDID from block [all …]
|
H A D | vidioc-subdev-g-crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_CROP - VIDIOC_SUBDEV_S_CROP - Get or set the crop rectangle on a subdev pad 40 This is an :ref:`obsolete` interface and may be removed 42 :ref:`the selection API <VIDIOC_SUBDEV_G_SELECTION>`. 44 To retrieve the current crop rectangle applications set the ``pad`` 46 desired pad number as reported by the media API and the ``which`` field 51 on the given pad. 53 To change the current crop rectangle applications set both the ``pad`` 65 crop rectangles and stored in the sub-device file handle. Two 66 applications querying the same sub-device would thus not interact with [all …]
|
H A D | vidioc-subdev-g-routing.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_ROUTING - VIDIOC_SUBDEV_S_ROUTING - Get or set routing between streams of media pad… 31 File descriptor returned by :ref:`open() <func-open>`. 68 .. flat-table:: struct v4l2_subdev_routing 69 :header-rows: 0 70 :stub-columns: 0 73 * - __u32 74 - ``which`` 75 - Format to modified, from enum 76 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`. [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 41 To retrieve the current format applications set the ``pad`` field of a 43 pad number as reported by the media API and the ``which`` field to 48 To change the current format applications set both the ``pad`` and 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 65 default format at the output pad with the ``VIDIOC_SUBDEV_G_FMT`` ioctl, [all …]
|
H A D | vidioc-dv-timings-cap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_DV_TIMINGS_CAP - VIDIOC_SUBDEV_DV_TIMINGS_CAP - The capabilities of the Digital Video receiv… 39 initialize the ``pad`` field to 0, zero the reserved array of struct 53 the desired pad number in the struct 54 :c:type:`v4l2_dv_timings_cap` ``pad`` field and 55 zero the ``reserved`` array. Attempts to query capabilities on a pad 62 .. flat-table:: struct v4l2_bt_timings_cap 63 :header-rows: 0 64 :stub-columns: 0 67 * - __u32 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | nvidia,tegra20-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/nvidia,tegra20-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 18 mmc-controller.yaml and the properties for the Tegra SDHCI controller. 23 - enum: 24 - nvidia,tegra20-sdhci 25 - nvidia,tegra30-sdhci [all …]
|
H A D | marvell,xenon-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 mmc-controller.yaml and the properties used by the Xenon implementation. 20 - Ulf Hansson <ulf.hansson@linaro.org> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci 29 - items: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | nvidia,tegra194-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra194 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
H A D | nvidia,tegra186-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra186 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
H A D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra124 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
H A D | nvidia,tegra210-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra210-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra210 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
H A D | fsl,imx8-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/fsl,imx8-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Richard Zhu <hongxing.zhu@nxp.com> 13 "#phy-cells": 18 - fsl,imx8mm-pcie-phy 19 - fsl,imx8mp-pcie-phy 27 clock-names: 29 - const: ref [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/tegra/ |
H A D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra30-pmc 18 - nvidia,tegra114-pmc 19 - nvidia,tegra124-pmc [all …]
|
H A D | nvidia,tegra186-pmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra186-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra186-pmc 17 - nvidia,tegra194-pmc 18 - nvidia,tegra234-pmc 24 reg-names: [all …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-g-topology.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 MEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties 53 .. flat-table:: struct media_v2_topology 54 :header-rows: 0 55 :stub-columns: 0 58 * - __u64 59 - ``topology_version`` 60 - Version of the media graph topology. When the graph is created, 64 * - __u32 65 - ``num_entities`` [all …]
|
H A D | media-ioc-enum-links.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 MEDIA_IOC_ENUM_LINKS - Enumerate all pads and links for a given entity 45 with :ref:`MEDIA_IOC_ENUM_ENTITIES`. 50 outbound links can be retrieved with :ref:`MEDIA_IOC_ENUM_ENTITIES`. 59 .. flat-table:: struct media_links_enum 60 :header-rows: 0 61 :stub-columns: 0 64 * - __u32 65 - ``entity`` 66 - Entity id, set by the application. [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | xattr.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 28 /* -------- xdatum related functions ---------------- 31 * the index of the xattr name/value pair cache (c->xattrindex). 36 * is used to release xattr name/value pair and detach from c->xattrindex. 39 * memory usage by cache is over c->xdatum_mem_threshold. Currently, this threshold 56 * is used to write xdatum to medium. xd->version will be incremented. 61 * is set on xd->flags and chained xattr_dead_list or release it immediately. 63 * -------------------------------------------------- */ 76 spin_lock(&c->erase_completion_lock); in is_xattr_datum_unchecked() 77 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in is_xattr_datum_unchecked() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | rockchip,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 13 The Rockchip Pinmux Controller enables the IC to share one PAD 15 the PAD input/output signals. For each PAD there are several muxing 18 Please refer to pinctrl-bindings.txt in this directory for details of the 26 various pad settings such as pull-up, etc. 29 defined as gpio sub-nodes of the pinmux controller. 34 - rockchip,px30-pinctrl [all …]
|
/openbmc/linux/include/media/ |
H A D | media-entity.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 26 * enum media_gobj_type - type of a graph object 29 * @MEDIA_GRAPH_PAD: Identify a media pad 42 #define MEDIA_BITS_PER_ID (32 - MEDIA_BITS_PER_TYPE) 43 #define MEDIA_ID_MASK GENMASK_ULL(MEDIA_BITS_PER_ID - 1, 0) 48 * struct media_gobj - Define a graph object. 51 * @id: Non-zero object ID identifier. The ID should be unique 55 * @list: List entry stored in one of the per-type mdev object lists 68 * struct media_entity_enum - An enumeration of media entities. 71 * media_entity->internal_idx. [all …]
|