Home
last modified time | relevance | path

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

12345678910>>...44

/openbmc/linux/Documentation/netlink/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/include/uapi/linux/dvb/
H A 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 …]
/openbmc/qemu/linux-headers/linux/
H A 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 …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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
212 /* MPEG-class control IDs */
[all …]
/openbmc/linux/include/linux/
H A 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 …]
/openbmc/linux/include/linux/surface_aggregator/
H A 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 …]
/openbmc/qemu/plugins/
H A Dplugin.h7 * See the COPYING file in the top-level directory.
9 * SPDX-License-Identifier: GPL-2.0-or-later
25 * Use the HT as a hash map by inserting k == v, which saves memory as
30 * Use the HT as a hash map. Note that we could use a list here,
38 * @lock protects the struct as well as ctx->uninstalling.
72 enum qemu_plugin_mem_rw rw,
73 enum qemu_plugin_op op,
81 void plugin_register_cb(qemu_plugin_id_t id, enum qemu_plugin_event ev,
85 enum qemu_plugin_event ev);
88 plugin_register_cb_udata(qemu_plugin_id_t id, enum qemu_plugin_event ev,
[all …]
/openbmc/linux/Documentation/netlink/specs/
H A 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 …]
/openbmc/linux/drivers/gpio/
H A 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 …]
/openbmc/sdbusplus/docs/yaml/
H A Dinterface.md3 D-Bus interfaces can be defined by creating a YAML file to describe the methods,
11 - description
12 - A small documentation section describing the purpose of the interface.
13 - methods
14 - A list of methods provided by this D-Bus interface.
15 - properties
16 - A list of properties provided by this D-Bus interface.
17 - signals
18 - A list of signals generated by this D-Bus interface.
19 - enumerations
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/gdb/gdb/
H A D0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch4 Subject: [PATCH] Fix -Wenum-constexpr-conversion in enum-flags.h
9 Currently, enum-flags.h is suppressing the warning
10 -Wenum-constexpr-conversion coming from recent versions of Clang.
12 (non-downgradeable) in future versions of Clang:
14 https://github.com/llvm/llvm-project/issues/59036
18 range of values of the enum:
19 https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1766
22 an ill-formed program.
24 In this case, in enum-flags.h, we are casting the value -1 to an enum
25 of a positive range only, which is UB as per the Standard and thus not
[all …]
/openbmc/linux/include/uapi/drm/
H A 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 …]
/openbmc/linux/Documentation/userspace-api/netlink/
H A Dspecs.rst1 .. SPDX-License-Identifier: BSD-3-Clause
17 - the C uAPI header
18 - documentation of the protocol as a ReST file
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
42 customization of define and enum type and value names; this schema should
[all …]
/openbmc/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst6 it describes the new descriptor-based interface. For a description of the
7 deprecated integer-based GPIO interface please refer to legacy.rst.
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 …]
/openbmc/linux/drivers/scsi/isci/
H A Dremote_device.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
10 * it under the terms of version 2 of the GNU General Public License as
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
44 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
67 const char *dev_state_name(enum sci_remote_device_states state) in dev_state_name()
75 enum sci_status sci_remote_device_suspend(struct isci_remote_device *idev, in sci_remote_device_suspend()
76 enum sci_remote_node_suspension_reasons reason) in sci_remote_device_suspend()
78 return sci_remote_node_context_suspend(&idev->rnc, reason, in sci_remote_device_suspend()
83 * isci_remote_device_ready() - This function is called by the ihost when the
[all …]
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A 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 …]
/openbmc/linux/include/drm/
H A Ddrm_property.h11 * about the suitability of this software for any purpose. It is provided "as
33 * struct drm_property_enum - symbolic values for enumerations
34 * @head: list of enum values, linked to &drm_property.enum_list
35 * @name: symbolic name for the enum
42 * @value: numeric property value for this enum entry
45 * bitshift, not a bitmask. In other words, the enum entry is enabled
46 * if the bit number @value is set in the property's value. This enum
55 * struct drm_property - modeset object property
68 * Properties are created by one of the special functions, as explained in
69 * detail in the @flags structure member.
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_pgtable.h1 // SPDX-License-Identifier: GPL-2.0-only
17 * The largest supported block sizes for KVM (no 52-bit PA support):
18 * - 4K (level 1): 1GB
19 * - 16K (level 2): 32MB
20 * - 64K (level 2): 512MB
45 #define KVM_PHYS_INVALID (-1ULL)
114 * struct kvm_pgtable_mm_ops - Memory management callbacks.
156 * enum kvm_pgtable_stage2_flags - Stage-2 page-table flags.
157 * @KVM_PGTABLE_S2_NOFWB: Don't enforce Normal-WB even if the CPUs have
161 enum kvm_pgtable_stage2_flags {
[all …]

12345678910>>...44