Home
last modified time | relevance | path

Searched +full:encode +full:- +full:only (Results 1 – 25 of 990) sorted by relevance

12345678910>>...40

/kernel/linux/linux-6.6/lib/
Dasn1_encoder.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dralink,rt3883-pci.txt7 - 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dralink,rt3883-pci.txt7 - 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 …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_core.h1 /* 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 …]
/kernel/linux/linux-6.6/include/media/
Dv4l2-cci.h1 /* 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
54 * cci_read() - Read a value from a single CCI register
57 * @reg: Register address to read, use CCI_REG#() macros to encode reg width
67 * cci_write() - Write a value to a single CCI register
70 * @reg: Register address to write, use CCI_REG#() macros to encode reg width
80 * cci_update_bits() - Perform a read/modify/write cycle on
84 * @reg: Register address to update, use CCI_REG#() macros to encode reg width
90 * Note this uses read-modify-write to update the bits, atomicity with regards
[all …]
/kernel/linux/linux-6.6/Documentation/powerpc/
Dassociativity.rst9 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 …]
/kernel/linux/linux-5.10/Documentation/powerpc/
Dassociativity.rst9 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c1 // SPDX-License-Identifier: MIT
41 * For pre-gen12 platforms pat_index is the same as enum in gen8_pte_encode()
42 * i915_cache_level, so the switch-case here is still valid. in gen8_pte_encode()
89 struct drm_i915_private *i915 = ppgtt->vm.i915; in gen8_ppgtt_notify_vgt()
90 struct intel_uncore *uncore = ppgtt->vm.gt->uncore; in gen8_ppgtt_notify_vgt()
95 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt()
97 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt()
99 mutex_lock(&i915->vgpu.lock); in gen8_ppgtt_notify_vgt()
101 if (i915_vm_is_4lvl(&ppgtt->vm)) { in gen8_ppgtt_notify_vgt()
102 const u64 daddr = px_dma(ppgtt->pd); in gen8_ppgtt_notify_vgt()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dopen-pic.txt13 - 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 …]
Dmsi-controller.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dopen-pic.txt13 - 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c1 // SPDX-License-Identifier: MIT
55 struct drm_i915_private *i915 = ppgtt->vm.i915; in gen8_ppgtt_notify_vgt()
56 struct intel_uncore *uncore = ppgtt->vm.gt->uncore; in gen8_ppgtt_notify_vgt()
61 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt()
63 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt()
65 mutex_lock(&i915->vgpu.lock); in gen8_ppgtt_notify_vgt()
67 if (i915_vm_is_4lvl(&ppgtt->vm)) { in gen8_ppgtt_notify_vgt()
68 const u64 daddr = px_dma(ppgtt->pd); in gen8_ppgtt_notify_vgt()
98 mutex_unlock(&i915->vgpu.lock); in gen8_ppgtt_notify_vgt()
102 #define GEN8_PAGE_SIZE (SZ_4K) /* page and page-directory sizes are the same */
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
99 graphics, video encode/decode, camera, etc.
218 graphics, video encode/decode, camera, etc.
235 graphics, video encode/decode, camera, etc.
259 graphics, video encode/decode, camera, etc.
285 graphics, video encode/decode, camera, etc.
344 video encode and decode.
398 video encode and decode.
464 video encode and decode.
473 video encode and decode.
[all …]
/kernel/linux/linux-6.6/Documentation/staging/
Dlzo.rst26 - 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 …]
/kernel/linux/linux-5.10/Documentation/staging/
Dlzo.rst26 - 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 …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
Dvidioc-g-modulator.rst1 .. 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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-modulator.rst1 .. 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Dmediatek,vcodec-encoder.yaml1 # 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 …]
/kernel/linux/linux-6.6/drivers/media/rc/
Dir-jvc-decoder.c1 // 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 …]
Dir-sony-decoder.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/media/rc/
Dir-jvc-decoder.c1 // 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 …]
Dir-sony-decoder.c1 // 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/security/tpm/
Dibmvtpm.txt5 - 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/security/tpm/
Dibmvtpm.txt5 - 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 …]
/kernel/linux/linux-6.6/include/sound/
Dhda_regmap.h1 /* 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 …]

12345678910>>...40