Home
last modified time | relevance | path

Searched +full:c +full:- +full:define +full:- +full:name (Results 1 – 25 of 193) sorted by relevance

12345678

/Documentation/userspace-api/netlink/
Dc-code-gen.rst1 .. 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 …]
Dgenetlink-legacy.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 the ``genetlink-legacy`` protocol level.
15 -------
29 --------------------
31 New Netlink families should use ``multi-attr`` to define arrays.
33 define array types reusing attribute type to carry information.
35 For reference the ``multi-attr`` array may look like this::
37 [ARRAY-ATTR]
41 [SOME-OTHER-ATTR]
42 [ARRAY-ATTR]
[all …]
/Documentation/netlink/
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 …]
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 …]
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 ]
24 name:
25 description: Name of the netlink family.
31 enum: [ netlink-raw ] # Trim
[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 …]
/Documentation/userspace-api/media/
Dca.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
3 # Ignore header name
4 ignore define _DVBCA_H_
7 replace define CA_CI :c:type:`ca_slot_info`
8 replace define CA_CI_LINK :c:type:`ca_slot_info`
9 replace define CA_CI_PHYS :c:type:`ca_slot_info`
10 replace define CA_DESCR :c:type:`ca_slot_info`
11 replace define CA_SC :c:type:`ca_slot_info`
12 replace define CA_CI_MODULE_PRESENT :c:type:`ca_slot_info`
13 replace define CA_CI_MODULE_READY :c:type:`ca_slot_info`
[all …]
Ddmx.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
3 # Ignore header name
4 ignore define _UAPI_DVBDMX_H_
7 ignore define DMX_FILTER_SIZE
10 replace enum dmx_ts_pes :c:type:`dmx_pes_type`
11 replace symbol DMX_PES_AUDIO0 :c:type:`dmx_pes_type`
12 replace symbol DMX_PES_VIDEO0 :c:type:`dmx_pes_type`
13 replace symbol DMX_PES_TELETEXT0 :c:type:`dmx_pes_type`
14 replace symbol DMX_PES_SUBTITLE0 :c:type:`dmx_pes_type`
15 replace symbol DMX_PES_PCR0 :c:type:`dmx_pes_type`
[all …]
Dnet.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
3 # Ignore header name
4 ignore define _DVBNET_H_
12 replace define DVB_NET_FEEDTYPE_MPE :c:type:`dvb_net_if`
13 replace define DVB_NET_FEEDTYPE_ULE :c:type:`dvb_net_if`
Dfrontend.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
3 # Ignore header name
4 ignore define _DVBFRONTEND_H_
6 # Group layer A-C symbols together
7 replace define DTV_ISDBT_LAYERA_FEC dtv-isdbt-layer-fec
8 replace define DTV_ISDBT_LAYERB_FEC dtv-isdbt-layer-fec
9 replace define DTV_ISDBT_LAYERC_FEC dtv-isdbt-layer-fec
10 replace define DTV_ISDBT_LAYERA_MODULATION dtv-isdbt-layer-modulation
11 replace define DTV_ISDBT_LAYERB_MODULATION dtv-isdbt-layer-modulation
12 replace define DTV_ISDBT_LAYERC_MODULATION dtv-isdbt-layer-modulation
[all …]
Dvideodev2.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
3 # Ignore header name
4 ignore define _UAPI__LINUX_VIDEODEV2_H
14 # Those symbols should not be used by uAPI - don't document them
20 replace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field`
21 replace symbol V4L2_FIELD_ANY :c:type:`v4l2_field`
22 replace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field`
23 replace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field`
24 replace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field`
25 replace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field`
[all …]
/Documentation/doc-guide/
Dparse-headers.rst5 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/translations/zh_CN/doc-guide/
Dparse-headers.rst1 .. 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**\
73 它还能够区分用于指定Linux ioctl的 ``#define`` 。
[all …]
/Documentation/userspace-api/media/v4l/
Dvidioc-enumstd.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
10 Name chapter
13 VIDIOC_ENUMSTD - VIDIOC_SUBDEV_ENUMSTD - Enumerate supported video standards
18 .. c:macro:: VIDIOC_ENUMSTD
22 .. c:macro:: VIDIOC_SUBDEV_ENUMSTD
30 File descriptor returned by :c:func:`open()`.
33 Pointer to struct :c:type:`v4l2_standard`.
40 :c:type:`v4l2_standard` and call the :ref:`VIDIOC_ENUMSTD`
48 .. c:type:: v4l2_standard
[all …]
Dvidioc-g-jpegcomp.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
10 Name chapter
13 VIDIOC_G_JPEGCOMP - VIDIOC_S_JPEGCOMP
18 .. c:macro:: VIDIOC_G_JPEGCOMP
22 .. c:macro:: VIDIOC_S_JPEGCOMP
30 File descriptor returned by :c:func:`open()`.
33 Pointer to struct :c:type:`v4l2_jpegcompression`.
39 :ref:`JPEG class controls <jpeg-controls>` for image quality and JPEG
46 APP is some application-specific information. The application can set it
[all …]
/Documentation/driver-api/media/drivers/ccs/
Dmk-ccs-regs1 #!/usr/bin/perl -w
2 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
3 # Copyright (C) 2019--2020 Intel Corporation
8 my $ccsregs = "ccs-regs.asc";
16 GetOptions("ccsregs|c=s" => \$ccsregs,
28 $0 - Create CCS register definitions for C
30 usage: $0 -c ccs-regs.asc -e header -r regarray -l limit-c -L limit-header [-k]
32 -c ccs register file
33 -e header file name
34 -r register description array file name
[all …]
/Documentation/translations/it_IT/doc-guide/
Dparse-headers.rst1 .. include:: ../disclaimer-ita.rst
3 :Original: Documentation/doc-guide/index.rst
9 Qualche volta è utile includere dei file di intestazione e degli esempi di codice C
19 consultate ``Documentation/userspace-api/media/Makefile``.
30 parse_headers.pl - analizza i file C al fine di identificare funzioni,
39 Dove <options> può essere: --debug, --usage o --help.
47 \ **--debug**\
52 \ **--usage**\
57 \ **--help**\
65 Converte un file d'intestazione o un file sorgente C (C_FILE) in un testo
[all …]
/Documentation/driver-api/mei/
Dmei-client-bus.rst1 .. 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];
56 To actually register a driver on the ME Client bus one must call the :c:func:`mei_cl_add_driver`
60 try to do some I/O on this bus and this should be done through the :c:func:`mei_cl_send`
[all …]
/Documentation/admin-guide/
Djava.rst2 ----------------------------------------------
14 ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Java-HOWTO
45 ':Applet:M::<!--applet::/usr/bin/appletviewer:'
52 existing html-files to contain ``<!--applet-->`` in the first line
62 gcc -O2 -o javaclassname javaclassname.c
71 .. code-block:: sh
74 # /usr/local/bin/javawrapper - the wrapper for binfmt_misc/java
76 if [ -z "$1" ]; then
78 echo Usage: $0 class-file
84 FQCLASSN=`echo $FQCLASS | sed -e 's/^.*\.\([^.]*\)$/\1/'`
[all …]
/Documentation/netlink/specs/
Dtcp_metrics.yaml1 # 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 …]
Dfou.yaml1 # 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 …]
/Documentation/trace/
Dtracepoints.rst15 ----------------------
37 -----
40 - A tracepoint definition, placed in a header file.
41 - The tracepoint statement, in C code.
48 #define TRACE_SYSTEM subsys
51 #define _TRACE_SUBSYS_H
64 In subsys/file.c (where the tracing statement must be added)::
68 #define CREATE_TRACE_POINTS
79 - subsys_eventname is an identifier unique to your event
81 - subsys is the name of your subsystem.
[all …]
/Documentation/kbuild/
Dgendwarfksyms.rst18 -----
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/trace/rv/
Dda_monitor_synthesis.rst16 of the monitor (per-cpu monitor, per-task monitor, and so on), the helper
21 Linux +----- RV Monitor ----------------------------------+ Formal
23 +-------------------+ +----------------+ +-----------------+
25 | Tracing | -> | Instance(s) | <- | Model |
27 +-------------------+ +----------------+ +-----------------+
30 | +----------+ |
32 | +--+--+--+-+ |
34 | | | +-> trace output ? |
35 +------------------------|--|----------------------+
36 | +----> panic ?
[all …]
/Documentation/input/joydev/
Djoystick-api.rst1 .. _joystick-api:
7 :Author: Ragnar Hojland Espinosa <ragnar@macula.net> - 7 Aug 1998
18 driver now reports only any changes of its state. See joystick-api.txt,
19 joystick.h and jstest.c included in the joystick package for more
65 -------------
69 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */
70 #define JS_EVENT_AXIS 0x02 /* joystick moved */
71 #define JS_EVENT_INIT 0x80 /* initial state of device */
86 ---------------
108 --------------
[all …]

12345678