/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 …]
|
H A 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 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 …]
|
/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/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 …]
|
/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/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/Documentation/userspace-api/netlink/ |
H A D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 17 - the C uAPI header 18 …- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i… 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 …]
|
/linux/include/linux/ |
H A D | console.h | 11 * 10-Mar-94: Arno Griffioen: Conversion for vt100 emulator port from PC LINUX 32 enum con_scroll { 37 enum vc_intensity; 40 * struct consw - callbacks for consoles 49 * (optional -- @con_putcs would be called instead) 60 * @con_font_set: set console @vc font to @font with height @vpitch. @flags can 73 * @vc->vc_screenbuf. (optional) 74 * @con_save_screen: save screen content into @vc->vc_screenbuf. Called e.g. 85 * @con_debug_leave: restore the console to its pre-debug state as closely as 102 unsigned int bottom, enum con_scroll dir, [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 54 enum memblock_flags { 66 * struct memblock_region - represents a memory region 69 * @flags: memory region attributes 75 enum memblock_flags flags; member [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) 4 protocol: netlink-raw 11 - 15 - 16 name: nfgen-family 18 - 21 - 22 name: res-id 23 byte-order: big-endian 25 - [all …]
|
/linux/drivers/scsi/isci/ |
H A D | remote_device.c | 7 * 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 …]
|
/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/drivers/gpu/drm/i915/ |
H A D | intel_uncore.h | 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 31 #include <linux/io-64-nonatomic-lo-hi.h> 49 enum forcewake_domain_id { 70 enum forcewake_domains { 88 FORCEWAKE_ALL = BIT(FW_DOMAIN_ID_COUNT) - 1, 93 enum forcewake_domains domains); 97 enum forcewake_domains (*read_fw_domains)(struct intel_uncore *uncore, 99 enum forcewake_domains (*write_fw_domains)(struct intel_uncore *uncore, 123 enum forcewake_domains domains; 143 * of the basic non-engine GT registers (referred to as "GSI" on [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 …]
|