Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 181) sorted by relevance

12345678

/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_netdev.c36 u64 encode = GENMASK_ULL(bit + width - 1, bit) & (value << bit); in __ifh_encode_bitfield() local
39 if (encode & 0xFF) in __ifh_encode_bitfield()
40 ifh_hdr[byte] |= (u8)((encode & 0xFF)); in __ifh_encode_bitfield()
42 if (encode & 0xFF00) in __ifh_encode_bitfield()
43 ifh_hdr[byte - 1] |= (u8)((encode & 0xFF00) >> 8); in __ifh_encode_bitfield()
45 if (encode & 0xFF0000) in __ifh_encode_bitfield()
46 ifh_hdr[byte - 2] |= (u8)((encode & 0xFF0000) >> 16); in __ifh_encode_bitfield()
48 if (encode & 0xFF000000) in __ifh_encode_bitfield()
49 ifh_hdr[byte - 3] |= (u8)((encode & 0xFF000000) >> 24); in __ifh_encode_bitfield()
51 if (encode & 0xFF00000000) in __ifh_encode_bitfield()
[all …]
/Linux-v6.1/tools/testing/selftests/tpm2/
Dtpm2_tests.py23 data = ('X' * 64).encode()
24 auth = ('A' * 15).encode()
43 data = ('X' * 64).encode()
44 auth = ('A' * 15).encode()
71 data = ('X' * 64).encode()
72 auth = ('A' * 20).encode()
78 auth[:-1] + 'B'.encode(), None)
90 data = ('X' * 64).encode()
91 auth = ('A' * 17).encode()
108 self.client.extend_pcr(1, ('X' * ds).encode(), bank_alg=bank_alg)
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c260 vm->scratch[0]->encode, in __gen8_ppgtt_clear()
318 fill_px(pt, vm->scratch[lvl]->encode); in __gen8_ppgtt_alloc()
489 gen8_pte_t encode = pte_encode; in xehpsdv_ppgtt_insert_huge() local
501 encode |= GEN8_PDE_PS_2M; in xehpsdv_ppgtt_insert_huge()
506 if (encode & GEN12_PPGTT_PTE_LM) { in xehpsdv_ppgtt_insert_huge()
532 vaddr[index++] = encode | iter->dma; in xehpsdv_ppgtt_insert_huge()
575 gen8_pte_t encode = pte_encode; in gen8_ppgtt_insert_huge() local
586 encode |= GEN8_PDE_PS_2M; in gen8_ppgtt_insert_huge()
609 vaddr[index++] = encode | iter->dma; in gen8_ppgtt_insert_huge()
668 encode = vm->scratch[0]->encode; in gen8_ppgtt_insert_huge()
[all …]
Dintel_ppgtt.c101 u64 (*encode)(const dma_addr_t, const enum i915_cache_level)) in __set_pd_entry()
108 write_dma_entry(px_base(pd), idx, encode(px_dma(to), I915_CACHE_LLC)); in __set_pd_entry()
118 write_dma_entry(px_base(pd), idx, scratch->encode); in clear_pd_entry()
Dgen6_ppgtt.c79 const gen6_pte_t scratch_pte = vm->scratch[0]->encode; in gen6_ppgtt_clear_range()
193 fill32_px(pt, vm->scratch[0]->encode); in gen6_alloc_va_range()
228 vm->scratch[0]->encode = in gen6_ppgtt_init_scratch()
242 fill32_px(vm->scratch[1], vm->scratch[0]->encode); in gen6_ppgtt_init_scratch()
/Linux-v6.1/Documentation/devicetree/bindings/pci/
Dralink,rt3883-pci.txt12 - #address-cells: specifies the number of cells needed to encode an
37 - #address-cells: specifies the number of cells needed to encode an
41 - #interrupt-cells: specifies the number of cells needed to encode an
52 - #address-cells: specifies the number of cells needed to encode an
58 - #interrupt-cells: specifies the number of cells needed to encode an
Dxilinx-pcie.txt6 - #interrupt-cells: specifies the number of cells needed to encode an
27 - #address-cells: specifies the number of cells needed to encode an
29 - #interrupt-cells: specifies the number of cells needed to encode an
Drockchip-pcie-host.txt6 - #interrupt-cells: specifies the number of cells needed to encode an
39 - #interrupt-cells: specifies the number of cells needed to encode an
74 - #address-cells: specifies the number of cells needed to encode an
76 - #interrupt-cells: specifies the number of cells needed to encode an
Dmobiveil-pcie.txt9 - #interrupt-cells: specifies the number of cells needed to encode an
29 - #interrupt-cells: specifies the number of cells needed to encode an
Dxilinx-nwl-pcie.txt7 - #interrupt-cells: specifies the number of cells needed to encode an
33 - #address-cells: specifies the number of cells needed to encode an
/Linux-v6.1/drivers/net/slip/
Dslhc.c82 static unsigned char *encode(unsigned char *cp, unsigned short n);
182 encode(unsigned char *cp, unsigned short n) in encode() function
371 cp = encode(cp,deltaS); in slhc_compress()
381 cp = encode(cp,deltaS); in slhc_compress()
387 cp = encode(cp,deltaA); in slhc_compress()
393 cp = encode(cp,deltaS); in slhc_compress()
433 cp = encode(cp,deltaS); in slhc_compress()
/Linux-v6.1/Documentation/powerpc/
Dassociativity.rst63 prop-encoded-array: The number N of the domainIDs encoded as with encode-int, followed by
64 N domainID encoded as with encode-int
74 prop-encoded-array: The number N of the distance values encoded as with encode-int, followed by
75 N distance values encoded as with encode-bytes. The max distance value we could encode is 255.
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dopen-pic.txt22 - #interrupt-cells: Specifies the number of cells needed to encode an
25 - #address-cells: Specifies the number of cells needed to encode an
65 // Two cells to encode interrupt sources.
Dmarvell,orion-intc.txt9 - #interrupt-cells: number of cells to encode an interrupt source, shall be 1
33 - #interrupt-cells: number of cells to encode an interrupt source, shall be 1
Dezchip,nps400-ic.txt7 - #interrupt-cells : Specifies the number of cells needed to encode an
Dimg,pdc-intc.txt19 - #interrupt-cells: Specifies the number of cells needed to encode an
58 // Three cells to encode interrupt sources.
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_virt.c873 struct amdgpu_video_codec_info *encode, uint32_t encode_array_size, in amdgpu_virt_update_sriov_video_codec() argument
881 if (encode) { in amdgpu_virt_update_sriov_video_codec()
883 encode[i].max_width = adev->virt.encode_max_dimension_pixels; in amdgpu_virt_update_sriov_video_codec()
884 encode[i].max_pixels_per_frame = adev->virt.encode_max_frame_pixels; in amdgpu_virt_update_sriov_video_codec()
885 if (encode[i].max_width > 0) in amdgpu_virt_update_sriov_video_codec()
886 encode[i].max_height = encode[i].max_pixels_per_frame / encode[i].max_width; in amdgpu_virt_update_sriov_video_codec()
888 encode[i].max_height = 0; in amdgpu_virt_update_sriov_video_codec()
Dnv.c181 static int nv_query_video_codecs(struct amdgpu_device *adev, bool encode, in nv_query_video_codecs() argument
189 if (encode) in nv_query_video_codecs()
194 if (encode) in nv_query_video_codecs()
202 if (encode) in nv_query_video_codecs()
209 if (encode) in nv_query_video_codecs()
215 if (encode) in nv_query_video_codecs()
222 if (encode) in nv_query_video_codecs()
/Linux-v6.1/Documentation/devicetree/bindings/security/tpm/
Dibmvtpm.txt14 encode the physical address field of dma-window
17 encode the size field of dma-window properties
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/
Dvenc_drv_base.h32 int (*encode)(void *handle, enum venc_start_opt opt, member
/Linux-v6.1/security/tomoyo/
Drealpath.c259 goto encode; in tomoyo_realpath_from_path()
280 encode: in tomoyo_realpath_from_path()
/Linux-v6.1/Documentation/bpf/
Dinstruction-set.rst32 * the basic instruction encoding, which uses 64 bits to encode an instruction
232 The ``BPF_MEM`` mode modifier is used to encode regular load and store
263 The 'imm' field is used to encode the actual atomic operation.
264 Simple atomic operation use a subset of the values defined to encode
265 arithmetic operations in the 'imm' field to encode the atomic operation:
/Linux-v6.1/net/sched/
Dact_meta_skbprio.c48 .encode = skbprio_encode,
Dact_meta_mark.c48 .encode = skbmark_encode,
/Linux-v6.1/drivers/mtd/nand/raw/ingenic/
Djz4780_bch.c63 struct ingenic_ecc_params *params, bool encode) in jz4780_bch_reset() argument
78 if (encode) in jz4780_bch_reset()

12345678