/Linux-v6.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-v6.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-v6.1/Documentation/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-v6.1/drivers/gpu/drm/i915/gt/ |
D | gen8_ppgtt.c | 1 // SPDX-License-Identifier: MIT 60 struct drm_i915_private *i915 = ppgtt->vm.i915; in gen8_ppgtt_notify_vgt() 61 struct intel_uncore *uncore = ppgtt->vm.gt->uncore; in gen8_ppgtt_notify_vgt() 66 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt() 68 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt() 70 mutex_lock(&i915->vgpu.lock); in gen8_ppgtt_notify_vgt() 72 if (i915_vm_is_4lvl(&ppgtt->vm)) { in gen8_ppgtt_notify_vgt() 73 const u64 daddr = px_dma(ppgtt->pd); in gen8_ppgtt_notify_vgt() 103 mutex_unlock(&i915->vgpu.lock); in gen8_ppgtt_notify_vgt() 107 #define GEN8_PAGE_SIZE (SZ_4K) /* page and page-directory sizes are the same */ [all …]
|
/Linux-v6.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 …]
|
D | img,pdc-intc.txt | 10 - compatible: Specifies the compatibility list for the interrupt controller. 11 The type shall be <string> and the value shall include "img,pdc-intc". 13 - reg: Specifies the base PDC physical address(s) and size(s) of the 14 addressable register space. The type shall be <prop-encoded-array>. 16 - interrupt-controller: The presence of this property identifies the node 19 - #interrupt-cells: Specifies the number of cells needed to encode an 22 - num-perips: Number of waking peripherals. 24 - num-syswakes: Number of SysWake inputs. 26 - interrupts: List of interrupt specifiers. The first specifier shall be the 34 - <1st-cell>: The interrupt-number that identifies the interrupt source. [all …]
|
/Linux-v6.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-v6.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-v6.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 - mediatek,mt8173-vcodec-enc-vp8 21 - mediatek,mt8173-vcodec-enc 22 - mediatek,mt8183-vcodec-enc [all …]
|
/Linux-v6.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 | 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" 32 * ir_sharp_decode() - Decode one Sharp pulse or space 36 * This function returns -EINVAL if the pulse violates the state machine 40 struct sharp_dec *data = &dev->raw->sharp; in ir_sharp_decode() 45 data->state = STATE_INACTIVE; in ir_sharp_decode() 49 dev_dbg(&dev->dev, "Sharp decode started at state %d (%uus %s)\n", in ir_sharp_decode() 50 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sharp_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 …]
|
/Linux-v6.1/drivers/clk/qcom/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 116 graphics, video encode/decode, camera, etc. 250 graphics, video encode/decode, camera, etc. 275 graphics, video encode/decode, camera, etc. 292 graphics, video encode/decode, camera, etc. 316 graphics, video encode/decode, camera, etc. 342 graphics, video encode/decode, camera, etc. 506 video encode and decode. 514 video encode and decode. 538 graphics, video encode/decode, camera, etc. [all …]
|
/Linux-v6.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-v6.1/Documentation/devicetree/bindings/security/tpm/ |
D | ibmvtpm.txt | 5 - compatible : property name that conveys the platform architecture 7 - device_type : specifies type of virtual device 8 - interrupts : property specifying the interrupt source number and 10 - ibm,my-drc-index : integer index for the connector between the device 11 and its parent - present only if Dynamic 13 - ibm,#dma-address-cells: specifies the number of cells that are used to 14 encode the physical address field of dma-window 16 - ibm,#dma-size-cells : specifies the number of cells that are used to 17 encode the size field of dma-window properties 18 - ibm,my-dma-window : specifies DMA window associated with this virtual [all …]
|
/Linux-v6.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-v6.1/fs/overlayfs/ |
D | export.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2017-2018 CTERA Networks. All Rights Reserved. 33 pr_warn_ratelimited("failed to copy up on encode (%pd2, err=%i)\n", in ovl_encode_maybe_copy_up() 41 * Before encoding a non-upper directory file handle from real layer N, we need 59 * /a/b/c, which is "layer 2 connectable", on encode time. That ancestor is 82 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer() 83 return oe->numlower; in ovl_connectable_layer() 94 return oe->lowerstack[0].layer->idx; in ovl_connectable_layer() 111 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer() 113 return -EIO; in ovl_connect_layer() [all …]
|
/Linux-v6.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 56 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_encode() 58 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode() 59 switch(entry->e_tag) { in xdr_nfsace_encode() 61 *p++ = htonl(from_kuid(&init_user_ns, nfsacl_desc->uid)); in xdr_nfsace_encode() [all …]
|
/Linux-v6.1/net/ceph/ |
D | cls_lock_client.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * ceph_cls_lock - grab rados lock for object 18 * @cookie: user-defined identifier for this instance of the lock 19 * @tag: user-defined tag 20 * @desc: user-defined lock description 50 return -E2BIG; in ceph_cls_lock() 54 return -ENOMEM; in ceph_cls_lock() 59 /* encode cls_lock_lock_op struct */ in ceph_cls_lock() 61 lock_op_buf_size - CEPH_ENCODING_START_BLK_LEN); in ceph_cls_lock() 67 /* only support infinite duration */ in ceph_cls_lock() [all …]
|
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <media/v4l2-ctrls.h> 14 #include <media/v4l2-device.h> 15 #include <media/v4l2-ioctl.h> 16 #include <media/v4l2-mem2mem.h> 17 #include <media/videobuf2-core.h> 22 #define MTK_VCODEC_DEC_NAME "mtk-vcodec-dec" 23 #define MTK_VCODEC_ENC_NAME "mtk-vcodec-enc" 32 * enum mtk_hw_reg_idx - MTK hw register base index 56 * enum mtk_instance_type - The type of an MTK Vcodec instance. [all …]
|
/Linux-v6.1/drivers/net/slip/ |
D | slhc.c | 21 * - Initial distribution. 28 * - 01-31-90 initial adaptation (from 1.19) 29 * PPP.05 02-15-90 [ks] 30 * PPP.08 05-02-90 [ks] use PPP protocol field to signal compression 31 * PPP.15 09-90 [ks] improve mbuf handling 32 * PPP.16 11-02 [karn] substantially rewritten to use NOS facilities 34 * - Feb 1991 Bill_Simpson@um.cc.umich.edu 39 * - Jul 1994 Dmitry Gorodchanin 41 * - Oct 1994 Dmitry Gorodchanin 43 * - Jan 1995 Bjorn Ekwall [all …]
|
/Linux-v6.1/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* linux/drivers/media/platform/samsung/s5p-jpeg/jpeg-core.h 14 #include <media/v4l2-device.h> 15 #include <media/v4l2-fh.h> 16 #include <media/v4l2-ctrls.h> 18 #define S5P_JPEG_M2M_NAME "s5p-jpeg" 63 #define S5P_JPEG_DISABLE -1 105 * struct s5p_jpeg - JPEG IP abstraction 118 * @irq_status: interrupt flags set during single encode/decode 152 * struct s5p_jpeg_fmt - driver's internal color format data [all …]
|
/Linux-v6.1/Documentation/bpf/ |
D | instruction-set.rst | 14 eBPF has 10 general purpose registers and a read-only frame pointer register, 15 all of which are 64-bits wide. 20 * R1 - R5: arguments for function calls 21 * R6 - R9: callee saved registers that function calls will preserve 22 * R10: read-only frame pointer to access stack 24 R0 - R5 are scratch registers and eBPF programs needs to spill/fill them if 32 * the basic instruction encoding, which uses 64 bits to encode an instruction 33 * the wide instruction encoding, which appends a second 64-bit immediate value 48 ------------------- 55 BPF_LD 0x00 non-standard load operations `Load and store instructions`_ [all …]
|