| /Linux-v5.15/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 …]
|
| D | vidioc-dqevent.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_DQEVENT - Dequeue event 29 Pointer to struct :c:type:`v4l2_event`. 34 Dequeue an event from a video device. No input is required for this 35 ioctl. All the fields of the struct :c:type:`v4l2_event` 40 .. c:type:: v4l2_event 45 .. flat-table:: struct v4l2_event 46 :header-rows: 0 47 :stub-columns: 0 50 * - __u32 [all …]
|
| D | buffer.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 A buffer contains data exchanged by application and driver using one of 11 the Streaming I/O methods. In the multi-planar API, the data is held in 12 planes, while the buffer structure acts as a container for the planes. 14 copied. These pointers, together with meta-information like timestamps 15 or field parity, are stored in a struct :c:type:`v4l2_buffer`, 18 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API, 19 some plane-specific members of struct :c:type:`v4l2_buffer`, 21 struct :c:type:`v4l2_plane` instead. In that case, 22 struct :c:type:`v4l2_buffer` contains an array of plane structures. [all …]
|
| /Linux-v5.15/scripts/kconfig/ |
| D | expr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 21 e->type = E_SYMBOL; in expr_alloc_symbol() 22 e->left.sym = sym; in expr_alloc_symbol() 26 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument 29 e->type = type; in expr_alloc_one() 30 e->left.expr = ce; in expr_alloc_one() 34 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument 37 e->type = type; in expr_alloc_two() 38 e->left.expr = e1; in expr_alloc_two() [all …]
|
| /Linux-v5.15/include/kunit/ |
| D | assert.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * enum kunit_assert_type - Type of expectation/assertion. 20 * @KUNIT_ASSERTION: Used to denote that a kunit_assert represents an assertion. 21 * @KUNIT_EXPECTATION: Denotes that a kunit_assert represents an expectation. 23 * Used in conjunction with a &struct kunit_assert to denote whether it 32 * struct kunit_assert - Data for printing a failed assertion or expectation. 34 * @type: the type (either an expectation or an assertion) of this kunit_assert. 38 * @format: a function which formats the data in this kunit_assert to a string. 40 * Represents a failed expectation/assertion. Contains all the data necessary to 41 * format a string to a user reporting the failure. [all …]
|
| /Linux-v5.15/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 …]
|
| D | v4l2-subdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 V4L2 sub-devices 4 ---------------- 6 Many drivers need to communicate with sub-devices. These devices can do all 8 encoding or decoding. For webcams common sub-devices are sensors and camera 12 driver with a consistent interface to these sub-devices the 13 :c:type:`v4l2_subdev` struct (v4l2-subdev.h) was created. 15 Each sub-device driver must have a :c:type:`v4l2_subdev` struct. This struct 16 can be stand-alone for simple sub-devices or it might be embedded in a larger 17 struct if more state information needs to be stored. Usually there is a [all …]
|
| /Linux-v5.15/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 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-v5.15/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-v5.15/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-v5.15/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-v5.15/include/linux/ |
| D | minmax.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * - avoid multiple evaluations of the arguments (so side-effects like 11 * "x++" happen only once) when non-constant. 12 * - perform strict type-checking (to generate warnings instead of 15 * - retain result as a constant expressions when called with only 41 * min - return minimum of two values of the same or compatible types 48 * max - return maximum of two values of the same or compatible types 55 * min3 - return minimum of three values 63 * max3 - return maximum of three values 71 * min_not_zero - return the minimum that is _not_ zero, unless both are zero [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 …]
|
| D | elfnote.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Helper macros to generate ELF Note structures, which are put into a 7 * including name-value pairs of metadata into the kernel binary (or 10 * Each note has three parts: a name, a type and a desc. The name is 11 * intended to distinguish the note's originator, so it would be a 12 * company, project, subsystem, etc; it must be in a suitable form for 13 * use in a section name. The type is an integer which is used to tag 15 * "FooCo"'s type 42 is distinct from "BarProj"'s type 42). The 19 * All notes from a given NAME are put into a section named 21 * are packed into a single .notes section, which is mapped into the [all …]
|
| /Linux-v5.15/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-v5.15/security/keys/ |
| D | key.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2004-2008 Red Hat, Inc. All Rights Reserved. 42 key, key->magic, KEY_DEBUG_MAGIC); in __key_check() 48 * Get the key quota record for a user, allocating a new record if one doesn't 61 /* search the tree for a user record with a matching UID */ in key_user_lookup() 66 if (uid_lt(uid, user->uid)) in key_user_lookup() 67 p = &(*p)->rb_left; in key_user_lookup() 68 else if (uid_gt(uid, user->uid)) in key_user_lookup() 69 p = &(*p)->rb_right; in key_user_lookup() 74 /* if we get here, we failed to find a match in the tree */ in key_user_lookup() [all …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/iio/temperature/ |
| D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 19 - adi,ltc2983 27 adi,mux-delay-config-us: 38 adi,filter-notch-freq: [all …]
|
| /Linux-v5.15/net/netfilter/ipset/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 To compile it as a module, choose M here. If unsure, say N. 32 This option adds the bitmap:ip set type support, by which one 33 can store IPv4 addresses (or network addresse) from a range. 35 To compile it as a module, choose M here. If unsure, say N. 41 This option adds the bitmap:ip,mac set type support, by which one 42 can store IPv4 address and (source) MAC address pairs from a range. 44 To compile it as a module, choose M here. If unsure, say N. 50 This option adds the bitmap:port set type support, by which one 51 can store TCP/UDP port numbers from a range. [all …]
|
| /Linux-v5.15/tools/testing/kunit/test_data/ |
| D | test_is_test_passed-no_tests_run_no_header.log | 2 soft - 0 3 hard - NONE 4 Checking environment variables for a tempdir...none found 7 Adding 24743936 bytes to physical memory to account for exec-shield gap 8 Linux version 4.12.0-rc3-00010-g7319eb35f493-dirty (brendanhiggins@mactruck.svl.corp.google.com) (g… 11 PID hash table entries: 256 (order: -1, 2048 bytes) 13 Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) 14 …(1681K kernel code, 480K rwdata, 400K rodata, 89K init, 205K bss, 29064K reserved, 0K cma-reserved) 15 SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 20 Mount-cache hash table entries: 512 (order: 0, 4096 bytes) [all …]
|
| /Linux-v5.15/arch/sh/include/asm/ |
| D | io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 #include <asm-generic/iomap.h> 26 #include <asm-generic/pci_iomap.h> 27 #include <mach/mangle-port.h> 29 #define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile u8 __force *)(a) = (v)) argument 30 #define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile u16 __force *)(a) = (v)) argument 31 #define __raw_writel(v,a) (__chk_io_ptr(a), *(volatile u32 __force *)(a) = (v)) argument 32 #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) argument 34 #define __raw_readb(a) (__chk_io_ptr(a), *(volatile u8 __force *)(a)) argument 35 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile u16 __force *)(a)) argument [all …]
|
| /Linux-v5.15/Documentation/driver-api/surface_aggregator/ |
| D | ssh.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 3 .. |u8| replace:: :c:type:`u8 <u8>` 4 .. |u16| replace:: :c:type:`u16 <u16>` 5 .. |TYPE| replace:: ``TYPE`` substdef 27 SAM-over-SSH, as opposed to SAM-over-HID for the older generations. 29 On Surface devices with SAM-over-SSH, SAM is connected to the host via UART 32 and power information and events, thermal read-outs and events, and many 38 document: All of this has been reverse-engineered and may thus be erroneous 41 All CRCs used in the following are two-byte ``crc_ccitt_false(0xffff, ...)``. 42 All multi-byte values are little-endian, there is no implicit padding between [all …]
|
| /Linux-v5.15/net/ceph/crush/ |
| D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Robert Jenkins' function for mixing 32-bit values 11 * a, b = random bits, c = input and output 13 #define crush_hashmix(a, b, c) do { \ argument 14 a = a-b; a = a-c; a = a^(c>>13); \ 15 b = b-c; b = b-a; b = b^(a<<8); \ 16 c = c-a; c = c-b; c = c^(b>>13); \ 17 a = a-b; a = a-c; a = a^(c>>12); \ 18 b = b-c; b = b-a; b = b^(a<<16); \ 19 c = c-a; c = c-b; c = c^(b>>5); \ [all …]
|