| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/Documentation/netlink/ |
| 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)?$ 19 description: Specification of a genetlink protocol 20 type: object [all …]
|
| 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)?$ 19 description: Specification of a genetlink protocol 20 type: object [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)?$ 19 description: Specification of a genetlink protocol 20 type: object [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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|