Home
last modified time | relevance | path

Searched +full:enum +full:- +full:as +full:- +full:flags (Results 1 – 25 of 1091) sorted by relevance

12345678910>>...44

/kernel/linux/linux-6.6/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.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)?$
21 required: [ name, doc, attribute-sets, operations ]
35 enum: [ genetlink ]
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
[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)?$
21 required: [ name, doc, attribute-sets, operations ]
35 enum: [ genetlink, genetlink-c ]
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
[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)?$
21 required: [ name, doc, attribute-sets, operations ]
35 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/dvb/
Ddmx.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
22 * enum dmx_output - Output for the demux.
38 enum dmx_output {
47 * enum dmx_input - Input from the demux.
49 * @DMX_IN_FRONTEND: Input from a front-end device.
52 enum dmx_input {
58 * enum dmx_ts_pes - type of the PES filter.
60 * @DMX_PES_AUDIO0: first audio PID. Also referred as @DMX_PES_AUDIO.
61 * @DMX_PES_VIDEO0: first video PID. Also referred as @DMX_PES_VIDEO.
62 * @DMX_PES_TELETEXT0: first teletext PID. Also referred as @DMX_PES_TELETEXT.
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/dvb/
Ddmx.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
11 * as published by the Free Software Foundation; either version 2.1
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
37 * enum dmx_output - Output for the demux.
53 enum dmx_output {
62 * enum dmx_input - Input from the demux.
64 * @DMX_IN_FRONTEND: Input from a front-end device.
67 enum dmx_input {
73 * enum dmx_ts_pes - type of the PES filter.
75 * @DMX_PES_AUDIO0: first audio PID. Also referred as @DMX_PES_AUDIO.
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dgpio.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * <linux/gpio.h> - userspace ABI for the GPIO character devices
8 * under the terms of the GNU General Public License version 2 as published by
21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs.
26 * struct gpiochip_info - Information about a certain GPIO chip
28 * @label: a functional name for this GPIO chip, such as a product
41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits
42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of
54 * enum gpio_v2_line_flag - &struct gpio_v2_line_attribute.flags values
65 * @GPIO_V2_LINE_FLAG_BIAS_PULL_UP: line has pull-up bias enabled
[all …]
Dv4l2-subdev.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
11 * it under the terms of the GNU General Public License version 2 as
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #include <linux/v4l2-common.h>
30 #include <linux/v4l2-mediabus.h>
33 * enum v4l2_subdev_format_whence - Media bus format type
37 enum v4l2_subdev_format_whence {
43 * struct v4l2_subdev_format - Pad-level media bus format
44 * @which: format type (from enum v4l2_subdev_format_whence)
45 * @pad: pad number, as reported by the media API
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dgpio.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * <linux/gpio.h> - userspace ABI for the GPIO character devices
8 * under the terms of the GNU General Public License version 2 as published by
21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs.
26 * struct gpiochip_info - Information about a certain GPIO chip
28 * @label: a functional name for this GPIO chip, such as a product
41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits
42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of
54 * enum gpio_v2_line_flag - &struct gpio_v2_line_attribute.flags values
65 * @GPIO_V2_LINE_FLAG_BIAS_PULL_UP: line has pull-up bias enabled
[all …]
Diommufd.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES.
16 * ioctl is passed in a structure pointer as the argument providing the size of
23 * - ENOTTY: The IOCTL number itself is not supported at all
24 * - E2BIG: The IOCTL number is supported, but the provided structure has
25 * non-zero in a part the kernel does not understand.
26 * - EOPNOTSUPP: The IOCTL number is supported, and the structure is
29 * - EINVAL: Everything about the IOCTL was understood, but a field is not
31 * - ENOENT: An ID or IOVA provided does not exist.
32 * - ENOMEM: Out of memory.
[all …]
Dnet_tstamp.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
16 /* SO_TIMESTAMPING flags */
17 enum {
37 SOF_TIMESTAMPING_MASK = (SOF_TIMESTAMPING_LAST - 1) |
42 * SO_TIMESTAMPING flags are either for recording a packet timestamp or for
44 * Recording flags can be set both via socket options and control messages.
52 * struct so_timestamping - SO_TIMESTAMPING parameter
54 * @flags: SO_TIMESTAMPING flags
59 int flags; member
64 * struct hwtstamp_config - %SIOCGHWTSTAMP and %SIOCSHWTSTAMP parameter
[all …]
Dv4l2-subdev.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 #include <linux/v4l2-common.h>
18 #include <linux/v4l2-mediabus.h>
21 * enum v4l2_subdev_format_whence - Media bus format type
25 enum v4l2_subdev_format_whence {
31 * struct v4l2_subdev_format - Pad-level media bus format
32 * @which: format type (from enum v4l2_subdev_format_whence)
33 * @pad: pad number, as reported by the media API
47 * struct v4l2_subdev_crop - Pad-level crop settings
48 * @which: format type (from enum v4l2_subdev_format_whence)
[all …]
Dv4l2-controls.h1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * Copyright (C) 1999-2012 the contributors
19 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
24 #define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */
34 /* User-class control IDs */
63 enum v4l2_power_line_frequency {
76 enum v4l2_colorfx {
116 /* USER-class private control IDs */
136 * The base for the si476x driver controls. See include/media/drv-intf/si476x.h
206 /* MPEG-class control IDs */
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddmaengine.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
18 * typedef dma_cookie_t - an opaque DMA cookie
31 * enum dma_status - DMA transaction status
37 enum dma_status {
46 * enum dma_transaction_type - DMA transaction types/indexes
49 * automatically set as dma devices are registered.
51 enum dma_transaction_type {
73 * enum dma_transfer_direction - dma transfer mode and direction indicator
79 enum dma_transfer_direction {
[all …]
/kernel/linux/linux-6.6/include/linux/
Ddmaengine.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
18 * typedef dma_cookie_t - an opaque DMA cookie
31 * enum dma_status - DMA transaction status
37 enum dma_status {
46 * enum dma_transaction_type - DMA transaction types/indexes
49 * automatically set as dma devices are registered.
51 enum dma_transaction_type {
73 * enum dma_transfer_direction - dma transfer mode and direction indicator
79 enum dma_transfer_direction {
[all …]
/kernel/linux/linux-6.6/include/linux/surface_aggregator/
Dcontroller.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * managing access and communication to and from the SSAM EC, as well as main
9 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com>
22 /* -- Main data types and definitions --------------------------------------- */
25 * enum ssam_event_flags - Flags for enabling/disabling SAM events
28 enum ssam_event_flags {
33 * struct ssam_event - SAM event sent from the EC to the host.
34 * @target_category: Target category of the event source. See &enum ssam_ssh_tc.
51 * enum ssam_request_flags - Flags for SAM requests.
64 enum ssam_request_flags {
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-acpi.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 * struct acpi_gpio_info - ACPI GPIO specific information
16 * @flags: GPIO initialization flags
18 * @pin_config: pin bias as provided by ACPI
19 * @polarity: interrupt polarity as provided by ACPI
20 * @triggering: triggering type as provided by ACPI
21 * @quirks: Linux specific quirks as provided by struct acpi_gpio_mapping
25 enum gpiod_flags flags; member
40 int acpi_gpio_update_gpiod_flags(enum gpiod_flags *flags,
48 enum gpiod_flags *dflags,
[all …]
Dgpiolib-devres.c1 /* SPDX-License-Identifier: GPL-2.0 */
3 * devres.c - managed gpio resources
47 * devm_gpiod_get - Resource-managed gpiod_get()
50 * @flags: optional GPIO initialization flags
58 enum gpiod_flags flags) in devm_gpiod_get() argument
60 return devm_gpiod_get_index(dev, con_id, 0, flags); in devm_gpiod_get()
65 * devm_gpiod_get_optional - Resource-managed gpiod_get_optional()
68 * @flags: optional GPIO initialization flags
76 enum gpiod_flags flags) in devm_gpiod_get_optional() argument
78 return devm_gpiod_get_index_optional(dev, con_id, 0, flags); in devm_gpiod_get_optional()
[all …]
/kernel/linux/linux-6.6/drivers/gpio/
Dgpiolib-devres.c1 /* SPDX-License-Identifier: GPL-2.0 */
3 * devres.c - managed gpio resources
47 * devm_gpiod_get - Resource-managed gpiod_get()
50 * @flags: optional GPIO initialization flags
58 enum gpiod_flags flags) in devm_gpiod_get() argument
60 return devm_gpiod_get_index(dev, con_id, 0, flags); in devm_gpiod_get()
65 * devm_gpiod_get_optional - Resource-managed gpiod_get_optional()
68 * @flags: optional GPIO initialization flags
76 enum gpiod_flags flags) in devm_gpiod_get_optional() argument
78 return devm_gpiod_get_index_optional(dev, con_id, 0, flags); in devm_gpiod_get_optional()
[all …]
/kernel/linux/linux-6.6/Documentation/netlink/specs/
Drt_addr.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: rt-addr
4 protocol: netlink-raw
11 -
15 -
16 name: ifa-family
18 -
19 name: ifa-prefixlen
21 -
22 name: ifa-flags
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/gpio/
Dconsumer.rst6 it describes the new descriptor-based interface. For a description of the
7 deprecated integer-based GPIO interface please refer to gpio-legacy.txt.
23 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that
27 - Truly optional GPIOLIB support - where the driver does not really make use
28 of the GPIOs on certain compile-time configurations for certain systems, but
29 will use it under other compile-time configurations. In this case the
31 be met with console warnings that may be perceived as intimidating.
33 All the functions that work with the descriptor-based GPIO interface are
43 With the descriptor-based interface, GPIOs are identified with an opaque,
44 non-forgeable handler that must be obtained through a call to one of the
[all …]
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org>
12 * License as published by the Free Software Foundation;
39 enum bpf_map_type map_type;
57 LIBBPF_API int bpf_create_map_node(enum bpf_map_type map_type, const char *name,
60 LIBBPF_API int bpf_create_map_name(enum bpf_map_type map_type, const char *name,
63 LIBBPF_API int bpf_create_map(enum bpf_map_type map_type, int key_size,
65 LIBBPF_API int bpf_create_map_in_map_node(enum bpf_map_type map_type,
69 LIBBPF_API int bpf_create_map_in_map(enum bpf_map_type map_type,
75 enum bpf_prog_type prog_type;
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma.h2 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.
6 * version 2 as published by the Free Software Foundation or the BSD
7 * 2-Clause License. This program is distributed in the hope that it
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
17 * The BSD 2-Clause License
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
33 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
58 #include <rdma/vmw_pvrdma-abi.h>
64 /* NOT the same as BIT_MASK(). */
[all …]
/kernel/linux/linux-6.6/include/uapi/drm/
Dvmwgfx_drm.h3 * Copyright © 2009-2022 VMware, Inc., Palo Alto, CA., USA
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
81 * DRM_VMW_GET_PARAM - get device information.
84 * Offset to use to map the first page of the FIFO read-only.
123 * enum drm_vmw_handle_type - handle type for ref ioctls
126 enum drm_vmw_handle_type {
148 * DRM_VMW_CREATE_CONTEXT - Create a host context.
170 * DRM_VMW_UNREF_CONTEXT - Create a host context.
174 * in the command stream and shows up as the same context ID on the host.
[all …]
/kernel/linux/linux-5.10/include/uapi/drm/
Dvmwgfx_drm.h3 * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
78 * DRM_VMW_GET_PARAM - get device information.
81 * Offset to use to map the first page of the FIFO read-only.
112 * enum drm_vmw_handle_type - handle type for ref ioctls
115 enum drm_vmw_handle_type {
137 * DRM_VMW_CREATE_CONTEXT - Create a host context.
159 * DRM_VMW_UNREF_CONTEXT - Create a host context.
163 * in the command stream and shows up as the same context ID on the host.
[all …]

12345678910>>...44