/linux/include/uapi/linux/dvb/ |
H A D | dmx.h | 1 /* 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 …]
|
/linux/Documentation/netlink/ |
H A 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 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: 20 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 27 required: [ name, doc, attribute-sets, operations ] [all …]
|
H A D | genetlink.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 11 pattern: ^[0-9a-z-]+$ 15 len-or-define: 17 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 19 len-or-limit: 20 # literal int, const name, or limit based on fixed-width type 21 # e.g. u8-min, u16-max, etc. [all …]
|
/linux/include/uapi/linux/ |
H A D | gpio.h | 1 /* 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 D | io_uring.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */ 32 __u8 flags; /* IOSQE_ flags */ member 56 __u32 poll32_events; /* word-reversed for BE */ 120 /* sqe->attr_type_mask flags */ 124 __u16 flags; member 133 * If sqe->file_index is set to this for opcodes that instantiate a new 136 * in. The picked direct descriptor will be returned in cqe->res, or -ENFILE 141 enum io_uring_sqe_flags_bit { 152 * sqe->flags 164 /* select buffer from sqe->buf_group */ [all …]
|
H A D | net_tstamp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 enum hwtstamp_provider_qualifier { 27 /* SO_TIMESTAMPING flags */ 28 enum { 50 SOF_TIMESTAMPING_MASK = (SOF_TIMESTAMPING_LAST - 1) | 55 * SO_TIMESTAMPING flags ar 73 int flags; global() member 91 int flags; global() member 216 __u32 flags; /* as defined by enum txtime_flags */ global() member [all...] |
H A D | v4l2-subdev.h | 1 /* 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 D | comedi.h | 1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org> 32 * NOTE: 'comedi_config --init-data' is deprecated 40 /* length of nth chunk of firmware data -*/ 58 #define CR_PACK_FLAGS(chan, range, aref, flags) \ argument 59 (CR_PACK(chan, range, aref) | ((flags) & CR_FLAGS_MASK)) 78 /* counters -- these are arbitrary values */ 115 /* command flags */ 116 /* These flags are used in comedi_cmd structures */ [all …]
|
H A D | blkzoned.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 13 * License version 2. This program is licensed "as is" without any 23 * enum blk_zone_type - Types of zones allowed in a zoned device. 28 * @BLK_ZONE_TYPE_SEQWRITE_PREF: The zone can be written non-sequentially 30 * Any other value not defined is reserved and must be considered as invalid. 32 enum blk_zone_type { 39 * enum blk_zone_cond - Condition [state] of a zone in a zoned device. 47 * @BLK_ZONE_COND_FULL: The zone is marked as full, possibly by a zone 49 * @BLK_ZONE_COND_READONLY: The zone is read-only. 53 * deinitions as: [all …]
|
/linux/include/linux/ |
H A D | dmaengine.h | 1 /* 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 …]
|
H A D | memblock.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 28 * enum memblock_flags - definition of memory region attributes 30 * @MEMBLOCK_HOTPLUG: memory region indicated in the firmware-provided memory 31 * map during early boot as hot(un)pluggable system RAM (e.g., memory range 36 * @MEMBLOCK_NOMAP: don't add to kernel direct mapping and treat as 40 * via a driver, and never indicated in the firmware-provided memory map as 55 enum memblock_flags { 67 * struct memblock_region - represents a memory region 70 * @flags: memory region attributes 76 enum memblock_flags flags; member [all …]
|
/linux/include/linux/surface_aggregator/ |
H A D | controller.h | 1 /* 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 …]
|
/linux/drivers/gpio/ |
H A D | gpiolib-devres.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * devres.c - managed gpio resources 33 * devm_gpiod_get - Resource-managed gpiod_get() 36 * @flags: optional GPIO initialization flags 44 * dev, %-ENOENT if no GPIO has been assigned to the requested function, or 49 enum gpiod_flags flags) in devm_gpiod_get() argument 51 return devm_gpiod_get_index(dev, con_id, 0, flags); in devm_gpiod_get() 56 * devm_gpiod_get_optional - Resource-managed gpiod_get_optional() 59 * @flags: optional GPIO initialization flags 72 enum gpiod_flags flags) in devm_gpiod_get_optional() argument [all …]
|
/linux/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */ 4 * Copyright © 2009-2023 VMware, Inc., Palo Alto, CA., USA 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 82 * DRM_VMW_GET_PARAM - get device information. 85 * Offset to use to map the first page of the FIFO read-only. 124 * enum drm_vmw_handle_type - handle type for ref ioctls 127 enum drm_vmw_handle_type { 149 * DRM_VMW_CREATE_CONTEXT - Create a host context. 171 * DRM_VMW_UNREF_CONTEXT - Create a host context. [all …]
|
H A D | xe_drm.h | 1 /* SPDX-License-Identifier: MIT */ 17 * subject to backwards-compatibility constraints. 18 * Sections in this file are organized as follows: 28 * The diagram below represents a high-level simplification of a discrete 30 * are necessary to understand this API, as well as how their relations 68 * Xe related uAPI such as uevents and PMU (Platform Monitoring Unit) related 72 * - &DRM_IOCTL_XE_DEVICE_QUERY 73 * - 830 __u32 flags; global() member 907 __u32 flags; global() member 951 __u32 flags; global() member 1109 __u32 flags; global() member 1275 __u32 flags; global() member 1378 __u32 flags; global() member 1505 __u16 flags; global() member [all...] |
/linux/Documentation/driver-api/gpio/ |
H A D | consumer.rst | 21 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that 25 - Truly optional GPIOLIB support - where the driver does not really make use 26 of the GPIOs on certain compile-time configurations for certain systems, but 27 will use it under other compile-time configurations. In this case the 29 be met with console warnings that may be perceived as intimidating. 35 All the functions that work with the descriptor-based GPIO interface are 45 With the descriptor-based interface, GPIOs are identified with an opaque, 46 non-forgeable handler that must be obtained through a call to one of the 52 enum gpiod_flags flags) 59 enum gpiod_flags flags) [all …]
|
/linux/arch/arm64/include/asm/ |
H A D | kvm_pgtable.h | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #define KVM_PGTABLE_FIRST_LEVEL -1 18 * The largest supported block sizes for KVM (no 52-bit PA support): 19 * - 4K (level 1): 1GB 20 * - 16K (level 2): 32MB 21 * - 64K (level 2): 512MB 60 #define KVM_PHYS_INVALID (-1ULL) 104 * Used to indicate a pte for which a 'break-before-make' sequence is in 189 * struct kvm_pgtable_mm_ops - Memory management callbacks. 231 * enum kvm_pgtable_stage2_flags - Stage-2 page-table flags. [all …]
|
/linux/include/drm/ |
H A D | drm_property.h | 11 * 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 …]
|
/linux/Documentation/netlink/specs/ |
H A D | conntrack.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 4 protocol: netlink-raw 7 doc: >- 11 - 15 - 16 name: nfgen-family 18 - 21 - 22 name: res-id [all …]
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma.h | 2 * 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 …]
|
/linux/include/net/ |
H A D | regulatory.h | 7 * Copyright 2008-2009 Luis R. Rodriguez <mcgrof@qca.qualcomm.com> 14 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 28 * enum environment_cap - Environment parsed from country IE 34 enum environment_cap { 41 * struct regulatory_request - used to keep track of regulatory requests 53 * 00 - World regulatory domain 54 * 99 - built by driver but a specific alpha2 cannot be determined 55 * 98 - result of an intersection between two regulatory domains 56 * 97 - regulatory domain has not yet been configured 60 * @alpha2 to adjust their device's DFS parameters as required. [all …]
|
/linux/kernel/ |
H A D | cpu_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 static int cpu_pm_notify(enum cpu_pm_event event) in cpu_pm_notify() 40 static int cpu_pm_notify_robust(enum cpu_pm_event event_up, enum cpu_pm_event event_down) in cpu_pm_notify_robust() 42 unsigned long flags; in cpu_pm_notify_robust() local 45 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_notify_robust() 47 raw_spin_unlock_irqrestore(&cpu_pm_notifier.lock, flags); in cpu_pm_notify_robust() 53 * cpu_pm_register_notifier - register a driver with cpu_pm 59 * This function has the same return conditions as raw_notifier_chain_register. 63 unsigned long flags; in cpu_pm_register_notifier() local 66 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_register_notifier() [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | io_uring.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */ 32 __u8 flags; /* IOSQE_ flags */ member 56 __u32 poll32_events; /* word-reversed for BE */ 109 * If sqe->file_index is set to this for opcodes that instantiate a new 112 * in. The picked direct descriptor will be returned in cqe->res, or -ENFILE 117 enum { 128 * sqe->flags 140 /* select buffer from sqe->buf_group */ 146 * io_uring_setup() flags 160 * than force an inter-processor interrupt reschedule. This avoids interrupting [all …]
|
/linux/mm/kasan/ |
H A D | hw_tags.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains core hardware tag-based KASAN code. 25 enum kasan_arg { 31 enum kasan_arg_mode { 38 enum kasan_arg_vmalloc { 44 static enum kasan_arg kasan_arg __ro_after_init; 45 static enum kasan_arg_mode kasan_arg_mode __ro_after_init; 46 static enum kasan_arg_vmalloc kasan_arg_vmalloc __initdata; 52 enum kasan_mode kasan_mode __ro_after_init; 88 return -EINVAL; in early_kasan_flag() [all …]
|
/linux/include/media/ |
H A D | dvb_vb2.h | 2 * SPDX-License-Identifier: GPL-2.0 4 * dvb-vb2.h - DVB driver helper framework for streaming I/O 11 * it under the terms of the GNU General Public License as published by 21 #include <media/videobuf2-core.h> 22 #include <media/videobuf2-dma-contig.h> 23 #include <media/videobuf2-vmalloc.h> 26 * enum dvb_buf_type - types of Digital TV memory-mapped buffers 31 enum dvb_buf_type { 36 * enum dvb_vb2_states - states to control VB2 state machine 52 enum dvb_vb2_states { [all …]
|