/linux-6.12.1/lib/ |
D | asn1_encoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * asn1_encode_integer() - encode positive integer to ASN.1 19 * This is a simplified encoder: it only currently does 27 int data_len = end_data - data; in asn1_encode_integer() 33 "BUG: integer encode only supports positive integers")) in asn1_encode_integer() 34 return ERR_PTR(-EINVAL); in asn1_encode_integer() 41 return ERR_PTR(-EINVAL); in asn1_encode_integer() 44 data_len -= 2; in asn1_encode_integer() 52 for (i = sizeof(integer); i > 0 ; i--) { in asn1_encode_integer() 53 int byte = integer >> (8 * (i - 1)); in asn1_encode_integer() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pci/ |
D | ralink,rt3883-pci.txt | 7 - compatible: must be "ralink,rt3883-pci" 9 - reg: specifies the physical base address of the controller and 12 - #address-cells: specifies the number of cells needed to encode an 15 - #size-cells: specifies the number of cells used to represent the size 18 - ranges: specifies the translation between child address space and parent 23 - status: indicates the operational status of the device. 28 The main node must have two child nodes which describes the built-in 35 - interrupt-controller: identifies the node as an interrupt controller 37 - #address-cells: specifies the number of cells needed to encode an 38 address. The value must be 0. As such, 'interrupt-map' nodes do not [all …]
|
/linux-6.12.1/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 16 #include <media/v4l2-fh.h> 17 #include <media/videobuf2-v4l2.h> 21 #define MTK_JPEG_NAME "mtk-jpeg" 38 * enum mtk_jpeg_ctx_state - states of the context state machine 50 * struct mtk_jpeg_variant - mtk jpeg driver variant 118 * struct mtk_jpegenc_clk - Structure used to store vcodec clock information 119 * @clks: JPEG encode clock [all …]
|
/linux-6.12.1/include/media/ |
D | v4l2-cci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 * struct cci_reg_sequence - An individual write from a sequence of CCI writes 20 * @reg: Register address, use CCI_REG#() macros to encode reg width 59 * cci_read() - Read a value from a single CCI register 62 * @reg: Register address to read, use CCI_REG#() macros to encode reg width 72 * cci_write() - Write a value to a single CCI register 75 * @reg: Register address to write, use CCI_REG#() macros to encode reg width 85 * cci_update_bits() - Perform a read/modify/write cycle on 89 * @reg: Register address to update, use CCI_REG#() macros to encode reg width 95 * Note this uses read-modify-write to update the bits, atomicity with regards [all …]
|
/linux-6.12.1/Documentation/arch/powerpc/ |
D | associativity.rst | 9 are represented as being members of a sub-grouping domain. This performance 17 Hypervisor indicates the type/form of associativity used via "ibm,architecture-vec-5 property". 18 Bit 0 of byte 5 in the "ibm,architecture-vec-5" property indicates usage of Form 0 or Form 1. 20 bit 2 of byte 5 in the "ibm,architecture-vec-5" property is used. 23 ------ 24 Form 0 associativity supports only two NUMA distances (LOCAL and REMOTE). 27 ------ 28 With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity 34 The “ibm,associativity-reference-points” property contains a list of one or more numbers 43 if they belong to the same higher-level domains. For mismatch at every higher [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | gen8_ppgtt.c | 1 // SPDX-License-Identifier: MIT 42 * For pre-gen12 platforms pat_index is the same as enum in gen8_pte_encode() 43 * i915_cache_level, so the switch-case here is still valid. in gen8_pte_encode() 90 struct drm_i915_private *i915 = ppgtt->vm.i915; in gen8_ppgtt_notify_vgt() 91 struct intel_uncore *uncore = ppgtt->vm.gt->uncore; in gen8_ppgtt_notify_vgt() 96 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt() 98 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt() 100 mutex_lock(&i915->vgpu.lock); in gen8_ppgtt_notify_vgt() 102 if (i915_vm_is_4lvl(&ppgtt->vm)) { in gen8_ppgtt_notify_vgt() 103 const u64 daddr = px_dma(ppgtt->pd); in gen8_ppgtt_notify_vgt() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/ |
D | open-pic.txt | 13 - compatible: Specifies the compatibility list for the PIC. The type 14 shall be <string> and the value shall include "open-pic". 16 - reg: Specifies the base physical address(s) and size(s) of this 17 PIC's addressable register space. The type shall be <prop-encoded-array>. 19 - interrupt-controller: The presence of this property identifies the node 22 - #interrupt-cells: Specifies the number of cells needed to encode an 25 - #address-cells: Specifies the number of cells needed to encode an 27 'interrupt-map' nodes do not have to specify a parent unit address. 31 - pic-no-reset: The presence of this property indicates that the PIC 42 - <1st-cell>: The interrupt-number that identifies the interrupt source. [all …]
|
D | msi-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/msi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Zyngier <maz@kernel.org> 18 "#msi-cells": 20 The number of cells in an msi-specifier, required if not zero. 22 Typically this will encode information related to sideband data, 23 and will not encode doorbells or payloads as these can be 26 The meaning of the msi-specifier is defined by the device tree [all …]
|
/linux-6.12.1/Documentation/staging/ |
D | lzo.rst | 26 - a distance when copying data from the dictionary (past output buffer) 27 - a length (number of bytes to copy from dictionary) 28 - the number of literals to copy, which is retained in variable "state" 36 seems to be optimized for literal use only, since there is no dictionary yet 45 length = byte & ((1 << #bits) - 1) 47 length = ((1 << #bits) - 1) 49 length += first-non-zero-byte 57 forming a little-endian 16-bit quantity (marked LE16 below). 62 practice, only one instruction needs to know whether 0, less than 4, or more 68 End of stream is declared when a block copy of distance 0 is seen. Only one [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-g-modulator.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_MODULATOR - VIDIOC_S_MODULATOR - Get or set modulator attributes 52 this is a write-only ioctl, it does not return the actual audio 67 .. flat-table:: struct v4l2_modulator 68 :header-rows: 0 69 :stub-columns: 0 72 * - __u32 73 - ``index`` 74 - Identifies the modulator, set by the application. 75 * - __u8 [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/ |
D | mediatek,vcodec-encoder.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/mediatek,vcodec-encoder.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Mediatek Video Encode Accelerator 11 - Yunfei Dong <yunfei.dong@mediatek.com> 14 Mediatek Video Encode is the video encode hardware present in Mediatek 20 - items: 21 - enum: 22 - mediatek,mt8173-vcodec-enc-vp8 [all …]
|
/linux-6.12.1/drivers/media/rc/ |
D | ir-jvc-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* ir-jvc-decoder.c - handle JVC IR Pulse/Space protocol 9 #include "rc-core-priv.h" 13 #define JVC_HEADER_PULSE (16 * JVC_UNIT) /* lack of header -> repeat */ 32 * ir_jvc_decode() - Decode one JVC pulse or space 36 * This function returns -EINVAL if the pulse violates the state machine 40 struct jvc_dec *data = &dev->raw->jvc; in ir_jvc_decode() 44 data->state = STATE_INACTIVE; in ir_jvc_decode() 51 dev_dbg(&dev->dev, "JVC decode started at state %d (%uus %s)\n", in ir_jvc_decode() 52 data->state, ev.duration, TO_STR(ev.pulse)); in ir_jvc_decode() [all …]
|
D | ir-sony-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* ir-sony-decoder.c - handle Sony IR Pulse/Space protocol 9 #include "rc-core-priv.h" 28 * ir_sony_decode() - Decode one Sony pulse or space 32 * This function returns -EINVAL if the pulse violates the state machine 36 struct sony_dec *data = &dev->raw->sony; in ir_sony_decode() 43 data->state = STATE_INACTIVE; in ir_sony_decode() 50 dev_dbg(&dev->dev, "Sony decode started at state %d (%uus %s)\n", in ir_sony_decode() 51 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sony_decode() 53 switch (data->state) { in ir_sony_decode() [all …]
|
D | rc-ir-raw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // rc-ir-raw.c - handle IR pulse/space events 11 #include "rc-core-priv.h" 26 struct rc_dev *dev = raw->dev; in ir_raw_event_thread() 30 while (kfifo_out(&raw->kfifo, &ev, 1)) { in ir_raw_event_thread() 33 dev_warn_once(&dev->dev, "nonsensical timing event of duration 0"); in ir_raw_event_thread() 34 if (is_timing_event(raw->prev_ev) && in ir_raw_event_thread() 35 !is_transition(&ev, &raw->prev_ev)) in ir_raw_event_thread() 36 dev_warn_once(&dev->dev, "two consecutive events of type %s", in ir_raw_event_thread() 40 if (dev->enabled_protocols & in ir_raw_event_thread() [all …]
|
D | ir-sharp-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* ir-sharp-decoder.c - handle Sharp IR Pulse/Space protocol 4 * Copyright (C) 2013-2014 Imagination Technologies Ltd. 12 #include "rc-core-priv.h" 34 * ir_sharp_decode() - Decode one Sharp pulse or space 38 * This function returns -EINVAL if the pulse violates the state machine 42 struct sharp_dec *data = &dev->raw->sharp; in ir_sharp_decode() 47 data->state = STATE_INACTIVE; in ir_sharp_decode() 51 dev_dbg(&dev->dev, "Sharp decode started at state %d (%uus %s)\n", in ir_sharp_decode() 52 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sharp_decode() [all …]
|
/linux-6.12.1/drivers/pnp/pnpacpi/ |
D | rsparser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pnpacpi -- PnP ACPI driver 7 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. 40 dev_err(&dev->dev, "can't encode invalid IRQ mode %#x\n", in decode_irq_flags() 76 dev_err(&dev->dev, "invalid DMA type %d\n", type); in dma_flags() 91 dev_err(&dev->dev, "invalid DMA transfer type %d\n", transfer); in dma_flags() 103 if (!(r->flags & IORESOURCE_DISABLED)) in pnpacpi_add_irqresource() 104 pcibios_penalize_isa_irq(r->start, 1); in pnpacpi_add_irqresource() 112 * marked as "consumer-only," but old versions of Windows and Linux ignore 113 * the producer/consumer flag, so HP invented a vendor-defined resource to [all …]
|
/linux-6.12.1/fs/exportfs/ |
D | expfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 const struct export_operations *nop = dir->d_sb->s_export_op; in exportfs_get_name() 33 if (nop->get_name) in exportfs_get_name() 34 return nop->get_name(dir, name, child); in exportfs_get_name() 53 inode = result->d_inode; in find_acceptable_alias() 54 spin_lock(&inode->i_lock); in find_acceptable_alias() 55 hlist_for_each_entry(dentry, &inode->i_dentry, d_u.d_alias) { in find_acceptable_alias() 57 spin_unlock(&inode->i_lock); in find_acceptable_alias() 64 spin_lock(&inode->i_lock); in find_acceptable_alias() 67 spin_unlock(&inode->i_lock); in find_acceptable_alias() [all …]
|
/linux-6.12.1/fs/overlayfs/ |
D | export.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2017-2018 CTERA Networks. All Rights Reserved. 28 pr_warn_ratelimited("failed to copy up on encode (%pd2, err=%i)\n", in ovl_encode_maybe_copy_up() 36 * Before encoding a non-upper directory file handle from real layer N, we need 54 * /a/b/c, which is "layer 2 connectable", on encode time. That ancestor is 77 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer() 89 return ovl_lowerstack(oe)->layer->idx; in ovl_connectable_layer() 107 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer() 109 return -EIO; in ovl_connect_layer() 111 origin_layer = ovl_lowerstack(oe)->layer->idx; in ovl_connect_layer() [all …]
|
/linux-6.12.1/include/sound/ |
D | hda_regmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio regmap helpers 32 * snd_hdac_regmap_encode_verb - encode the verb to a pseudo register 42 * snd_hdac_regmap_encode_amp - encode the AMP verb to a pseudo register 57 * snd_hdac_regmap_encode_amp_stereo - encode a pseudo register for stereo AMPs 71 * snd_hdac_regmap_write - Write a verb with caching 88 * snd_hda_regmap_update - Update a verb value with caching 107 * snd_hda_regmap_read - Read a verb with caching 124 * snd_hdac_regmap_get_amp - Read AMP value 125 * @codec: HD-audio codec [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/tpm/ |
D | ibm,vtpm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nayna Jain <nayna@linux.ibm.com> 23 - IBM,vtpm 24 - IBM,vtpm20 30 - IBM,vtpm 31 - IBM,vtpm20 36 ibm,#dma-address-cells: 38 number of cells that are used to encode the physical address field of [all …]
|
/linux-6.12.1/fs/nfsd/ |
D | xdr4.h | 2 * Server-side types for NFSv4. 49 #define SET_CSTATE_FLAG(c, f) ((c)->sid_flags |= (f)) 50 #define HAS_CSTATE_FLAG(c, f) ((c)->sid_flags & (f)) 51 #define CLEAR_CSTATE_FLAG(c, f) ((c)->sid_flags &= ~(f)) 54 * nfsd4_encode_bool - Encode an XDR bool type result 56 * @val: boolean value to encode 74 * nfsd4_encode_uint32_t - Encode an XDR uint32_t type result 76 * @val: integer value to encode 104 * nfsd4_encode_uint64_t - Encode an XDR uint64_t type result 106 * @val: integer value to encode [all …]
|
/linux-6.12.1/include/linux/ |
D | exportfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 159 #define EXPORT_FH_CONNECTABLE 0x1 /* Encode file handle with parent */ 160 #define EXPORT_FH_FID 0x2 /* File handle may be non-decodeable */ 161 #define EXPORT_FH_DIR_ONLY 0x4 /* Only decode file handle for a directory */ 164 * struct export_operations - for nfsd to communicate with file systems 165 * @encode_fh: encode a file handle fragment from a dentry 180 * attempt can be made to find not only the file but also it's place in the 181 * filesystem. This typically means storing a reference to de->d_parent in 183 * success and on error returns 255 (if the space needed to encode fh is 185 * size(in 4 byte unit) needed to encode the file handle. [all …]
|
/linux-6.12.1/arch/arm64/kernel/pi/ |
D | relocate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 if (ELF64_R_TYPE(rela->r_info) != R_AARCH64_RELATIVE) in relocate_kernel() 22 *(u64 *)(rela->r_offset + offset) = rela->r_addend + offset; in relocate_kernel() 37 * encode up to 63 relocations each, at subsequent offsets following in relocate_kernel() 51 * single bitmap can encode up to 63 relocations in a 64-bit object. in relocate_kernel()
|
/linux-6.12.1/fs/nfs/ |
D | nfs42xdr.c | 1 // SPDX-License-Identifier: GPL-2.0 61 #define READ_PLUS_SEGMENT_SIZE_DIFF (NFS42_READ_PLUS_HOLE_SEGMENT_SIZE - \ 271 encode_nfs4_stateid(xdr, &args->falloc_stateid); in encode_fallocate() 272 encode_uint64(xdr, args->falloc_offset); in encode_fallocate() 273 encode_uint64(xdr, args->falloc_length); in encode_fallocate() 287 encode_uint32(xdr, ns->nl4_type); in encode_nl4_server() 288 switch (ns->nl4_type) { in encode_nl4_server() 291 encode_string(xdr, ns->u.nl4_str_sz, ns->u.nl4_str); in encode_nl4_server() 294 encode_string(xdr, ns->u.nl4_addr.netid_len, in encode_nl4_server() 295 ns->u.nl4_addr.netid); in encode_nl4_server() [all …]
|
/linux-6.12.1/fs/nfs_common/ |
D | nfsacl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de> 12 * - Minimal ACLs always have an ACL_MASK entry, so they have 14 * - The ACL_MASK entry in such minimal ACLs always has the same 17 * - The identifier fields of the ACL_USER_OBJ and ACL_GROUP_OBJ 20 * - ACL entries in the kernel are kept sorted in ascending order 57 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_encode() 59 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode() 60 switch(entry->e_tag) { in xdr_nfsace_encode() 62 *p++ = htonl(from_kuid(&init_user_ns, nfsacl_desc->uid)); in xdr_nfsace_encode() [all …]
|