| /Documentation/userspace-api/netlink/ |
| D | c-code-gen.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 4 Netlink spec C code generation 8 C code (uAPI, policies etc.). It also defines the additional properties 9 allowed in older families by the ``genetlink-c`` protocol level, 12 For brevity this document refers to ``name`` properties of various 14 of ``name`` in an attribute, and ``$family`` is the name of the 15 family (the global ``name`` property). 17 The upper case is used to denote literal values, e.g. ``$family-CMD`` 22 and with dashes (``-``) replaced by underscores (``_``). 24 If the constructed name is a C keyword, an extra underscore is [all …]
|
| D | genetlink-legacy.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 9 the ``genetlink-legacy`` protocol level. 15 ------- 19 version subsection 22 Generic Netlink family version, default is 1. 24 ``version`` has historically been used to introduce family changes 26 are generally not allowed ``version`` is very rarely used. 29 -------------------- 31 New Netlink families should use ``multi-attr`` to define arrays. 35 For reference the ``multi-attr`` array may look like this:: [all …]
|
| /Documentation/userspace-api/media/mediactl/ |
| D | media-ioc-device-info.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: MC 10 Name chapter 13 MEDIA_IOC_DEVICE_INFO - Query device information 18 .. c:macro:: MEDIA_IOC_DEVICE_INFO 26 File descriptor returned by :c:func:`open()`. 29 Pointer to struct :c:type:`media_device_info`. 36 a struct :c:type:`media_device_info`. The driver 40 .. c:type:: media_device_info 44 .. flat-table:: struct media_device_info [all …]
|
| /Documentation/netlink/specs/ |
| D | fou.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 name: fou 5 protocol: genetlink-legacy 8 Foo-over-UDP. 10 c-family-name: fou-genl-name 11 c-version-name: fou-genl-version 12 max-by-define: true 13 kernel-policy: global 16 - 18 name: encap_type [all …]
|
| D | team.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 name: team 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 - [all …]
|
| D | tcp_metrics.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 name: tcp_metrics 5 protocol: genetlink-legacy 10 c-family-name: tcp-metrics-genl-name 11 c-version-name: tcp-metrics-genl-version 12 max-by-define: true 13 kernel-policy: global 16 - 17 name: tcp-fastopen-cookie-max 21 attribute-sets: [all …]
|
| /Documentation/sphinx/ |
| D | cdomain.py | 1 # -*- coding: utf-8; mode: python -*- 7 Replacement for the sphinx c-domain. 9 :copyright: Copyright (C) 2016 Markus Heiser 10 :license: GPL Version 2, June 1991 see Linux/COPYING for details. 14 * Moved the *duplicate C object description* warnings for function 18 * Add option 'name' to the "c:function:" directive. With option 'name' the 19 ref-name of a function can be modified. E.g.:: 21 .. c:function:: int ioctl( int fd, int request ) 22 :name: VIDIOC_LOG_STATUS 24 The func-name (e.g. ioctl) remains in the output but the ref-name changed [all …]
|
| /Documentation/userspace-api/media/v4l/ |
| D | vidioc-querycap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: V4L 10 Name chapter 13 VIDIOC_QUERYCAP - Query device capabilities 18 .. c:macro:: VIDIOC_QUERYCAP 26 File descriptor returned by :c:func:`open()`. 29 Pointer to struct :c:type:`v4l2_capability`. 37 pointer to a struct :c:type:`v4l2_capability` which is 41 .. c:type:: v4l2_capability 47 .. flat-table:: struct v4l2_capability [all …]
|
| D | vidioc-subdev-querycap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: V4L 10 Name chapter 13 VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities 18 .. c:macro:: VIDIOC_SUBDEV_QUERYCAP 26 File descriptor returned by :c:func:`open()`. 29 Pointer to struct :c:type:`v4l2_subdev_capability`. 34 All V4L2 sub-devices support the ``VIDIOC_SUBDEV_QUERYCAP`` ioctl. It is used to 37 a struct :c:type:`v4l2_subdev_capability` which is filled by the driver. When 43 .. c:type:: v4l2_subdev_capability [all …]
|
| /Documentation/netlink/ |
| D | genetlink-legacy.yaml | 1 # 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 …]
|
| D | genetlink-c.yaml | 1 # 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 …]
|
| D | netlink-raw.yaml | 1 # 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 ] 24 name: 25 description: Name of the netlink family. 31 enum: [ netlink-raw ] # Trim [all …]
|
| /Documentation/networking/device_drivers/ethernet/amd/ |
| D | pds_core.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 7 Copyright(c) 2023 Advanced Micro Devices, Inc 15 # lspci -d 1dd8:100c 16 b5:00.0 Processing accelerators: Pensando Systems Device 100c 17 b6:00.0 Processing accelerators: Pensando Systems Device 100c 25 pds_core 0000:b5:00.0: FW: 1.60.0-73 27 pds_core 0000:b6:00.0: FW: 1.60.0-73 29 Driver and firmware version information can be gathered with devlink:: 40 fw 1.51.0-73 42 fw.goldfw 1.15.9-C-22 [all …]
|
| /Documentation/bpf/libbpf/ |
| D | libbpf_naming_convention.rst | 1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 16 -------------------- 26 ------- 29 and functions to work with them. Objects are high-level abstractions 44 Functions that work with an object have names built from object name, 47 For example ``bpf_object__open`` consists of the name of corresponding 56 ------------------- 63 --- 67 non-static libbpf symbols should have one of the prefixes mentioned in 69 name for a new symbol. [all …]
|
| /Documentation/userspace-api/media/cec/ |
| D | cec-ioc-adap-g-caps.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: CEC 10 Name chapter 13 CEC_ADAP_G_CAPS - Query device capabilities 18 .. c:macro:: CEC_ADAP_G_CAPS 26 File descriptor returned by :c:func:`open()`. 35 struct :c:type:`cec_caps`. The driver fills the structure and 40 .. c:type:: cec_caps 42 .. flat-table:: struct cec_caps 43 :header-rows: 0 [all …]
|
| D | cec-ioc-adap-g-log-addrs.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: CEC 12 Name chapter 15 CEC_ADAP_G_LOG_ADDRS, CEC_ADAP_S_LOG_ADDRS - Get or set the logical addresses 20 .. c:macro:: CEC_ADAP_G_LOG_ADDRS 24 .. c:macro:: CEC_ADAP_S_LOG_ADDRS 32 File descriptor returned by :c:func:`open()`. 35 Pointer to struct :c:type:`cec_log_addrs`. 42 struct :c:type:`cec_log_addrs` where the driver stores the logical addresses. 45 struct :c:type:`cec_log_addrs` and call :ref:`ioctl CEC_ADAP_S_LOG_ADDRS <CEC_ADAP_S_LOG_ADDRS>` [all …]
|
| /Documentation/admin-guide/media/ |
| D | imx7.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 14 - CMOS Sensor Interface (CSI) 15 - Video Multiplexer 16 - MIPI CSI-2 Receiver 18 .. code-block:: none 20 MIPI Camera Input ---> MIPI CSI-2 --- > |\ 24 | U | ------> CSI ---> Capture 27 Parallel Camera Input ----------------> | / 34 -------- [all …]
|
| /Documentation/gpu/amdgpu/ |
| D | flashing.rst | 6 ---- 19 USB-C PD F/W 20 ------------ 21 On GPUs that support flashing an updated USB-C PD firmware image, the process 24 * Reading the file will provide the current firmware version. 25 * Writing the name of a firmware payload stored in `/lib/firmware/amdgpu` to the sysfs file will in… 27 The firmware payload stored in `/lib/firmware/amdgpu` can be named any name 32 ----------- 33 .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
|
| /Documentation/ABI/testing/ |
| D | sysfs-firmware-lefi-boardinfo | 7 and BIOS version when there exists problems related with 13 boardinfo.c file in arch/mips/loongson64. 20 Board Name : LEMOTE-LS3A4000-7A1000-1w-V01-pc 25 Version : Kunlun-A1901-V4.1.3-20200414093938 27 Release Date : 2020-04-14
|
| /Documentation/translations/zh_CN/doc-guide/ |
| D | parse-headers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. include:: ../disclaimer-zh_CN.rst 5 :Original: Documentation/doc-guide/parse-headers.rst 18 ``Documentation/userspace-api/media/Makefile`` 。 23 ---------------- 39 <选项> 可以是: --debug, --help 或 --usage 。 47 \ **--debug**\ 52 \ **--usage**\ 58 \ **--help**\ 80 ignore \ **type**\ \ **name**\ [all …]
|
| /Documentation/userspace-api/media/dvb/ |
| D | dvbproperty.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _frontend-properties: 11 the demodulator, the Linear Low-noise Amplifier (LNA) and to set the 12 antenna subsystem via Satellite Equipment Control - SEC (on satellite 16 In the past (up to DVB API version 3 - DVBv3), the strategy used was to have a 17 union with the parameters needed to tune for DVB-S, DVB-C, DVB-T and 36 1. On Linux DVB API version 3, setting a frontend was done via 37 struct :c:type:`dvb_frontend_parameters`. 39 2. Don't use DVB API version 3 calls on hardware with supports 44 Only with DVB API version 5 calls it is possible to switch between [all …]
|
| /Documentation/doc-guide/ |
| D | parse-headers.rst | 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 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 21 NAME chapter 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. 43 \ **--debug**\ [all …]
|
| /Documentation/driver-api/mei/ |
| D | mei-client-bus.rst | 1 .. SPDX-License-Identifier: GPL-2.0 19 Existing device drivers can even potentially be re-used by adding an MEI CL bus layer to 28 the ``struct mei_cl_driver`` structure defined in :file:`include/linux/mei_cl_bus.c` 30 .. code-block:: C 34 const char *name; 45 driver to bind itself against a device name. 47 .. code-block:: C 50 char name[MEI_CL_NAME_SIZE]; 52 __u8 version; 56 To actually register a driver on the ME Client bus one must call the :c:func:`mei_cl_add_driver` [all …]
|
| /Documentation/kbuild/ |
| D | gendwarfksyms.rst | 18 ----- 23 Usage: gendwarfksyms [options] elf-object-file ... < symbol-list 26 -d, --debug Print debugging information 27 --dump-dies Dump DWARF DIE contents 28 --dump-die-map Print debugging information about die_map changes 29 --dump-types Dump type strings 30 --dump-versions Dump expanded type strings used for symbol versions 31 -s, --stable Support kABI stability features 32 -T, --symtypes file Write a symtypes file 33 -h, --help Print this message [all …]
|
| /Documentation/ |
| D | conf.py | 1 # -*- coding: utf-8 -*- 4 # sphinx-quickstart on Fri Feb 12 13:51:46 2016. 21 # ------ 31 # Get Sphinx version 47 # -- General configuration ------------------------------------------------ 49 # If your documentation needs a minimal Sphinx version, state it here. 62 # Sphinx c function parser is more pedantic with regards to type 63 # checking. Due to that, having macros at c:function cause problems. 171 #source_encoding = 'utf-8-sig' 181 # The version info for the project you're documenting, acts as replacement for [all …]
|