/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-g-ext-ctrls.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co… 37 Pointer to struct :c:type:`v4l2_ext_controls`. 44 :ref:`ctrl-class`) and all controls in the control array must belong 49 :c:type:`v4l2_ext_controls`, and initialize the 50 struct :c:type:`v4l2_ext_control` array pointed to 53 To get the current value of a set of controls applications initialize 55 :c:type:`v4l2_ext_control` and call the 61 relevant for pointer-type controls like strings), then the driver will 62 set ``size`` to a valid value and return an ``ENOSPC`` error code. You [all …]
|
D | vidioc-queryctrl.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i… 35 Pointer to struct :c:type:`v4l2_queryctrl`, :c:type:`v4l2_query_ext_ctrl` 36 or :c:type:`v4l2_querymenu` (depending on the ioctl). 41 To query the attributes of a control applications set the ``id`` field 42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the 43 ``VIDIOC_QUERYCTRL`` ioctl with a pointer to this structure. The driver 49 exclusive ``V4L2_CID_LASTP1``. Drivers may return ``EINVAL`` if a control in 60 driver returns the next supported non-compound control, or ``EINVAL`` if 63 type ≥ ``V4L2_CTRL_COMPOUND_TYPES`` and/or array control, in other words [all …]
|
/linux-6.12.1/scripts/kconfig/ |
D | expr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 24 * expr_lookup - return the expression with the given type and sub-nodes 25 * This looks up an expression with the specified type and sub-nodes. If such 26 * an expression is found in the hash table, it is returned. Otherwise, a new 28 * @type: expression type 33 static struct expr *expr_lookup(enum expr_type type, void *l, void *r) in expr_lookup() argument 38 hash = hash_32((unsigned int)type ^ hash_ptr(l) ^ hash_ptr(r)); in expr_lookup() 41 if (e->type == type && e->left._initdata == l && in expr_lookup() 42 e->right._initdata == r) in expr_lookup() [all …]
|
/linux-6.12.1/Documentation/netlink/specs/ |
D | ovs_flow.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 6 uapi-header: linux/openvswitch.h 12 - 13 name: ovs-header 14 type: struct 18 - 19 name: dp-ifindex 20 type: u32 22 ifindex of local port for datapath (0 to make a request not specific [all …]
|
D | dpll.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 8 - 9 type: enum 12 working modes a dpll can support, differentiates if and how dpll selects 16 - 18 doc: input can be only selected by sending a request to dpll 20 - 23 render-max: true 24 - 25 type: enum [all …]
|
/linux-6.12.1/Documentation/netlink/ |
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 10 type: integer 12 len-or-define: 13 type: [ string, integer ] 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. [all …]
|
D | genetlink-c.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-c.yaml# 5 $schema: https://json-schema.org/draft-07/schema 10 type: integer 12 len-or-define: 13 type: [ string, integer ] 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. [all …]
|
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 10 type: integer 12 len-or-define: 13 type: [ string, integer ] 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. [all …]
|
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 10 type: integer 12 len-or-define: 13 type: [ string, integer ] 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 19 description: Specification of a raw netlink protocol 20 type: object [all …]
|
/linux-6.12.1/include/linux/ |
D | overflow.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 10 * We need to compute the minimum and maximum values representable in a given 11 * type. These macros may also be useful elsewhere. It would seem more obvious 14 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0) 15 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0) 19 * the type_max expression (but not if -fsanitize=undefined is in 23 * macros also produce sensible values for the exotic type _Bool. [The 25 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on 30 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html - 33 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) argument [all …]
|
D | minmax.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * - Avoid multiple evaluations of the arguments (so side-effects like 14 * "x++" happen only once) when non-constant. 15 * - Retain result as a constant expressions when called with only 18 * - Perform signed v unsigned type-checking (to generate compile 20 * - Unsigned char/short are always promoted to signed int and can be 22 * - Unsigned arguments can be compared against non-negative signed constants. 23 * - Comparison of a signed argument against an unsigned constant fails 34 * In particular, statically non-negative signed integer 44 * We use 'ux' for pure type checking, and 'x' for when [all …]
|
D | moduleparam.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define MAX_PARAM_PREFIX_LEN (64 - sizeof(unsigned long)) 29 __MODULE_INFO(parmtype, name##type, #name ":" _type) 41 * NOARG - the parameter allows for no argument (foo instead of foo=1) 50 /* Returns 0, or -errno. arg is in kp->arg. */ 52 /* Returns length written or -errno. Buffer is 4k (ie. be short!) */ 54 /* Optional function to free kp->arg when module unloaded. */ 61 * UNSAFE - the parameter is dangerous and setting it will taint the kernel 62 * HWPARAM - Hardware param not permitted in lockdown mode 102 * module_param - typesafe helper for a module/cmdline parameter [all …]
|
/linux-6.12.1/Documentation/driver-api/media/ |
D | v4l2-event.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ----------- 6 The V4L2 events provide a generic way to pass events to user space. 7 The driver must use :c:type:`v4l2_fh` to be able to support V4L2 events. 9 Events are subscribed per-filehandle. An event specification consists of a 10 ``type`` and is optionally associated with an object identified through the 12 identified by the ``(type, id)`` tuple. 14 The :c:type:`v4l2_fh` struct has a list of subscribed events on its 17 When the user subscribes to an event, a :c:type:`v4l2_subscribed_event` 18 struct is added to :c:type:`v4l2_fh`\ ``.subscribed``, one for every [all …]
|
D | v4l2-dev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 :c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be 8 allocated dynamically or embedded in a larger struct. 12 .. code-block:: c 17 return -ENOMEM; 19 vdev->release = video_device_release; 21 If you embed it in a larger struct, then you must set the ``release()`` 24 .. code-block:: c 26 struct video_device *vdev = &my_vdev->vdev; 28 vdev->release = my_vdev_release; [all …]
|
/linux-6.12.1/drivers/usb/typec/mux/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 menu "USB Type-C Multiplexer/DeMultiplexer Switch support" 11 provides support for muxing analog audio and sideband signals on a 12 common USB Type-C connector. 13 If compiled as a module, the module will be named fsa4480. 16 tristate "Generic GPIO based SBU mux for USB Type-C applications" 18 Say Y or M if your system uses a GPIO based mux for managing the 19 connected state and the swapping of the SBU lines in a Type-C port. 22 tristate "Pericom PI3USB30532 Type-C cross switch driver" 25 Say Y or M if your system has a Pericom PI3USB30532 Type-C cross [all …]
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf_core_read.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 8 * enum bpf_field_info_kind is passed as a second argument into 9 * __builtin_preserve_field_info() built-in to get a specific aspect of 10 * a field, captured as a first argument. __builtin_preserve_field_info(field, 24 /* second argument to __builtin_btf_type_id() built-in */ 26 BPF_TYPE_ID_LOCAL = 0, /* BTF type ID in local program */ 27 BPF_TYPE_ID_TARGET = 1, /* BTF type ID in target kernel */ 30 /* second argument to __builtin_preserve_type_info() built-in */ 32 BPF_TYPE_EXISTS = 0, /* type existence in target kernel */ 33 BPF_TYPE_SIZE = 1, /* type size in target kernel */ [all …]
|
/linux-6.12.1/Documentation/bpf/ |
D | btf.rst | 2 BPF Type Format (BTF) 8 BTF (BPF Type Format) is the metadata format which encodes the debug info 23 verifies the BTF info before using it. The ELF file format is a user space 26 The type and string sections are part of the BTF kernel API, describing the 32 2. BTF Type and String Encoding 35 The file ``include/uapi/linux/btf.h`` provides high-level definition of how 47 __u32 type_off; /* offset of type section */ 48 __u32 type_len; /* length of type section */ 54 endian systems, and can be used to test whether BTF is generated for big- or 55 little-endian target. The ``btf_header`` is designed to be extensible with [all …]
|
D | map_cgroup_storage.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 8 The ``BPF_MAP_TYPE_CGROUP_STORAGE`` map type represents a local fix-sized 13 The map provide a local storage at the cgroup that the BPF program is attached 14 to. It provides a faster and simpler access than the general purpose hash 15 table, which performs a hash table lookups, and requires user to track live 19 ``BPF_MAP_TYPE_CGROUP_STORAGE`` map type. Some of its behaviors was changed in 25 The map uses key of type of either ``__u64 cgroup_inode_id`` or 34 ``attach_type`` is the program's attach type. 36 Linux 5.9 added support for type ``__u64 cgroup_inode_id`` as the key type. 37 When this key type is used, then all attach types of the particular cgroup and [all …]
|
/linux-6.12.1/drivers/usb/typec/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Type-C Support" 6 USB Type-C Specification defines a cable and connector for USB where 7 only one type of plug is supported on both ends, i.e. there will not 8 be Type-A plug on one end of the cable and Type-B plug on the other. 9 Determination of the host-to-device relationship happens through a 10 specific Configuration Channel (CC) which goes through the USB Type-C 12 Accessory Modes - Analog Audio and Debug - and if USB Power Delivery 16 USB Power Delivery Specification defines a protocol that can be used 19 5V, up to 20V, and current up to 5A over the cable. The USB Power [all …]
|
/linux-6.12.1/Documentation/userspace-api/netlink/ |
D | genetlink-legacy.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 9 the ``genetlink-legacy`` protocol level. 15 ------- 28 Attribute type nests 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] [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 26 #define node(root, dir) ((root)->nl_entry.dir == &mm->nodes) ? NULL : \ 27 list_entry((root)->nl_entry.dir, struct nvkm_mm_node, nl_entry) 36 list_for_each_entry(node, &mm->nodes, nl_entry) { in nvkm_mm_dump() 38 node->offset, node->length, node->type); in nvkm_mm_dump() 41 list_for_each_entry(node, &mm->free, fl_entry) { in nvkm_mm_dump() 43 node->offset, node->length, node->type); in nvkm_mm_dump() 56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 57 prev->length += this->length; in nvkm_mm_free() [all …]
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | bootstd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * (c) 1999, Rt-Control, Inc. 14 #define __BN_exec 2 /* executes a bootloader image */ 15 #define __BN_exit 3 /* terminates a bootloader image */ 16 #define __BN_program 4 /* program FLASH from a chain */ 22 #define __BN_mmap 10 /* map a file descriptor into memory */ 23 #define __BN_munmap 11 /* remove a file to memory mapping */ 26 #define __BN_getbenv 14 /* get a bootloader envvar */ 27 #define __BN_setbenv 15 /* get a bootloader envvar */ 38 #define __bsc_return(type, res) \ argument [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | six.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * structures without deadlocking. In general, a read can't be upgraded to a 23 * six_lock_read(&foo->lock); 24 * six_unlock_read(&foo->lock); 26 * An intent lock must be held before taking a write lock: 27 * six_lock_intent(&foo->lock); 28 * six_lock_write(&foo->lock); 29 * six_unlock_write(&foo->lock); 30 * six_unlock_intent(&foo->lock); 40 * There are also interfaces that take the lock type as an enum: [all …]
|
/linux-6.12.1/Documentation/netlabel/ |
D | draft-ietf-cipso-ipsecurity-01.txt | 12 This Internet Draft provides the high level specification for a Commercial 21 Internet Drafts are draft documents valid for a maximum of six months. 24 material or to cite them other than as a "working draft" or "work in 27 Please check the I-D abstract listing contained in each Internet Draft 36 these options is the DoD Basic Security Option (BSO) (Type 130) which allows 38 provides sixteen security classifications and a variable number of handling 40 categories or compartments, another security option (Type 133) exists and 46 mandatory access controls and multi-level security. These systems are 47 no longer built specifically for a particular group in the defense or 49 for use in a variety of government and civil sector environments. [all …]
|
/linux-6.12.1/kernel/bpf/ |
D | crypto.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 const struct bpf_crypto_type *type; member 20 * struct bpf_crypto_params - BPF crypto initialization parameters structure 21 * @type: The string of crypto operation type. 31 char type[14]; member 43 * struct bpf_crypto_ctx - refcounted BPF crypto context structure 44 * @type: The pointer to bpf crypto type 53 const struct bpf_crypto_type *type; member 60 int bpf_crypto_register_type(const struct bpf_crypto_type *type) in bpf_crypto_register_type() argument 63 int err = -EEXIST; in bpf_crypto_register_type() [all …]
|