Home
last modified time | relevance | path

Searched +full:uapi +full:- +full:header (Results 1 – 25 of 67) sorted by relevance

123

/Documentation/dev-tools/
Dcheckuapi.rst1 .. SPDX-License-Identifier: GPL-2.0-only
4 UAPI Checker
7 The UAPI checker (``scripts/check-uapi.sh``) is a shell script which
8 checks UAPI header files for userspace backwards-compatibility across
14 This section will describe the options with which ``check-uapi.sh``
19 check-uapi.sh [-b BASE_REF] [-p PAST_REF] [-j N] [-l ERROR_LOG] [-i] [-q] [-v]
23 -b BASE_REF Base git reference to use for comparison. If unspecified or empty,
24 will use any dirty changes in tree to UAPI files. If there are no
26 -p PAST_REF Compare BASE_REF to PAST_REF (e.g. -p v6.1). If unspecified or empty,
29 -j JOBS Number of checks to run in parallel (default: number of CPU cores).
[all …]
/Documentation/userspace-api/netlink/
Dc-code-gen.rst1 .. SPDX-License-Identifier: BSD-3-Clause
8 C code (uAPI, policies etc.). It also defines the additional properties
9 allowed in older families by the ``genetlink-c`` protocol level,
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
22 and with dashes (``-``) replaced by underscores (``_``).
25 appended (``do`` -> ``do_``).
30 ``c-family-name`` controls the name of the ``#define`` for the family
31 name, default is ``$family-FAMILY-NAME``.
33 ``c-version-name`` controls the name of the ``#define`` for the version
34 of the family, default is ``$family-FAMILY-VERSION``.
[all …]
Dintro.rst1 .. SPDX-License-Identifier: BSD-3-Clause
8 It aims to replace fixed-format C structures as supplied
12 To achieve this Netlink uses a minimal fixed-format metadata header
27 .. code-block:: c
39 .. code-block:: c
52 .. code-block:: c
69 The first two arguments of the socket() call require little explanation -
76 --------------------------
81 The list of them is defined on top of the ``include/uapi/linux/netlink.h``
82 file, they include among others - general networking (NETLINK_ROUTE),
[all …]
Dspecs.rst1 .. SPDX-License-Identifier: BSD-3-Clause
12 or C header file, making it easy to use in languages which can't include
17 - the C uAPI header
18- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i…
19 - policy tables for input attribute validation
20 - operation tables
25 See :doc:`intro-specs` for a practical starting guide.
28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)``
40 - ``genetlink`` - most streamlined, should be used by all new families
41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing
[all …]
/Documentation/userspace-api/media/dvb/
Dheaders.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 Digital TV uAPI header files
7 Digital TV uAPI headers
10 .. kernel-include:: $BUILDDIR/frontend.h.rst
12 .. kernel-include:: $BUILDDIR/dmx.h.rst
14 .. kernel-include:: $BUILDDIR/ca.h.rst
16 .. kernel-include:: $BUILDDIR/net.h.rst
/Documentation/netlink/
Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
31 enum: [ netlink-raw ] # Trim
32 # Start netlink-raw
34 description: Protocol number to use for netlink-raw
[all …]
Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
/Documentation/usb/
Dfunctionfs-desc.rst11 following the descriptor header.
13 .. kernel-doc:: include/uapi/linux/usb/functionfs.h
17 ---------------------
20 most recent interface descriptor determines what type of class-specific
23 Class-Specific Descriptors
24 --------------------------
26 Class-specific descriptors are accepted only for the class/subclass of the
28 class-specific descriptors that are supported.
38 .. kernel-doc:: include/uapi/linux/usb/functionfs.h
/Documentation/netlink/specs/
Dovs_datapath.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
6 uapi-header: linux/openvswitch.h
12 -
13 name: ovs-header
16 -
17 name: dp-ifindex
19 -
20 name: user-features
22 name-prefix: ovs-dp-f-
[all …]
Dovs_vport.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
6 uapi-header: linux/openvswitch.h
12 -
13 name: ovs-header
16 -
17 name: dp-ifindex
19 -
20 name: vport-type
22 enum-name: ovs-vport-type
[all …]
Dbinder.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 ---
8 uapi-header: linux/android/binder_netlink.h
11 attribute-sets:
12 -
20 -
24 -
28 -
29 name: from-pid
32 -
[all …]
Dnfsd.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 uapi-header: linux/nfsd_netlink.h
9 attribute-sets:
10 -
11 name: rpc-status
13 -
16 byte-order: big-endian
17 -
20 -
23 -
[all …]
Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
4 protocol: genetlink-legacy
5 uapi-header: linux/genetlink.h
8 genetlink meta-family that exposes information about all genetlink
12 -
13 name: op-flags
15 enum-name:
17 - admin-perm
18 - cmd-cap-do
19 - cmd-cap-dump
[all …]
Dteam.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
10 c-family-name: team-genl-name
11 c-version-name: team-genl-version
12 kernel-policy: global
13 uapi-header: linux/if_team.h
16 -
17 name: string-max-len
20 -
21 name: genl-change-event-mc-grp-name
[all …]
/Documentation/doc-guide/
Dparse-headers.rst2 Including uAPI header files
5 Sometimes, it is useful to include header files and C example codes in
6 order to describe the userspace API and to generate cross-references
7 between the code and the documentation. Adding cross-references for
10 uAPI documentation in sync with the Kernel changes.
12 cross-references. It has to be called via Makefile, while building the
13 documentation. Please see ``Documentation/userspace-api/media/Makefile`` for an example
25 parse_headers.pl - parse a C file, in order to identify functions, structs,
26 enums and defines and create cross-references to a Sphinx book.
35 Where <options> can be: --debug, --help or --usage.
[all …]
/Documentation/userspace-api/media/v4l/
Dmetafmt-pisp-be.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. _v4l2-meta-fmt-rpi-be-cfg:
12 The Raspberry Pi PiSP Back End memory-to-memory image signal processor is
14 to the `pispbe-config` output video device node using the
19 :c:type:`pisp_be_tiles_config` defined in the ``pisp_be_config.h`` header file.
22 <https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf>`_
27 -------------------------
38 ---------------
48 Raspberry Pi PiSP Back End uAPI data types
54 <https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf>`_.
[all …]
/Documentation/ABI/testing/
Ddell-smbios-wmi1 What: /dev/wmi/dell-smbios
7 through the Dell ACPI-WMI interface.
10 <uapi/linux/wmi.h>
20 the WMI character device /dev/wmi/dell-smbios.
37 6) Run the call by using ioctl() as described in the header.
/Documentation/process/
Dlicense-rules.rst1 .. SPDX-License-Identifier: GPL-2.0
9 License version 2 only (GPL-2.0), as provided in LICENSES/preferred/GPL-2.0,
11 LICENSES/exceptions/Linux-syscall-note, as described in the COPYING file.
19 which is required to be compatible with the GPL-2.0::
21 GPL-1.0+ : GNU General Public License v1.0 or later
22 GPL-2.0+ : GNU General Public License v2.0 or later
23 LGPL-2.0 : GNU Library General Public License v2 only
24 LGPL-2.0+ : GNU Library General Public License v2 or later
25 LGPL-2.1 : GNU Lesser General Public License v2.1 only
26 LGPL-2.1+ : GNU Lesser General Public License v2.1 or later
[all …]
/Documentation/kbuild/
Dmodules.rst5 This document describes how to build an out-of-tree kernel module.
13 both in-tree and out-of-tree is provided. The method for building
15 out-of-tree.
18 in building out-of-tree (or "external") modules. The author of an
29 that contains the configuration and header files used in the build.
44 --------------
48 $ make -C <path_to_kernel_dir> M=$PWD
55 $ make -C /lib/modules/`uname -r`/build M=$PWD
60 $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install
63 -------
[all …]
/Documentation/driver-api/media/
Dcamera-sensor.rst1 .. SPDX-License-Identifier: GPL-2.0
8 This document covers the in-kernel APIs only. For the best practices on
12 CSI-2, parallel and BT.656 buses
13 --------------------------------
15 Please see :ref:`transmitter-receiver`.
18 ---------------
29 elsewhere. Therefore only the pre-determined frequencies are configurable by the
35 Read the ``clock-frequency`` _DSD property to denote the frequency. The driver
41 The preferred way to achieve this is using ``assigned-clocks``,
42 ``assigned-clock-parents`` and ``assigned-clock-rates`` properties. See the
[all …]
/Documentation/gpu/
Ddrm-uapi.rst9 addition, drivers export device-specific interfaces for use by userspace
10 drivers & device-aware applications through ioctls and sysfs files.
16 Cover generic ioctls and sysfs layout here. We only need high-level
22 .. kernel-doc:: drivers/gpu/drm/drm_ioctl.c
31 .. kernel-doc:: drivers/gpu/drm/drm_auth.c
34 .. kernel-doc:: drivers/gpu/drm/drm_auth.c
37 .. kernel-doc:: include/drm/drm_auth.h
46 .. kernel-doc:: drivers/gpu/drm/drm_lease.c
49 Open-Source Userspace Requirements
53 what the userspace side for new uAPI needs to look like. This section here
[all …]
/Documentation/translations/zh_CN/process/
Dlicense-rules.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_CN.rst
5 :Original: :ref:`Documentation/process/license-rules.rst <kernel_licensing>`
13 Linux内核根据LICENSES/preferred/GPL-2.0中提供的GNU通用公共许可证版本2
14 (GPL-2.0)的条款提供,并在LICENSES/exceptions/Linux-syscall-note中显式
21 具有不同的与GPL-20兼容的许可证::
23 GPL-1.0+ : GNU通用公共许可证v1.0或更高版本
24 GPL-2.0+ : GNU通用公共许可证v2.0或更高版本
25 LGPL-2.0 : 仅限GNU库通用公共许可证v2
26 LGPL-2.0+: GNU 库通用公共许可证v2或更高版本
[all …]
/Documentation/translations/zh_TW/process/
Dlicense-rules.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_TW.rst
5 :Original: :ref:`Documentation/process/license-rules.rst <kernel_licensing>`
14 Linux內核根據LICENSES/preferred/GPL-2.0中提供的GNU通用公共許可證版本2
15 (GPL-2.0)的條款提供,並在LICENSES/exceptions/Linux-syscall-note中顯式
22 具有不同的與GPL-20兼容的許可證::
24 GPL-1.0+ : GNU通用公共許可證v1.0或更高版本
25 GPL-2.0+ : GNU通用公共許可證v2.0或更高版本
26 LGPL-2.0 : 僅限GNU庫通用公共許可證v2
27 LGPL-2.0+: GNU 庫通用公共許可證v2或更高版本
[all …]

123