Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/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.6/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.6/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c289 vm->scratch[0]->encode, in __gen8_ppgtt_clear()
347 fill_px(pt, vm->scratch[lvl]->encode); in __gen8_ppgtt_alloc()
519 gen8_pte_t encode = pte_encode; in xehpsdv_ppgtt_insert_huge() local
532 encode |= GEN8_PDE_PS_2M; in xehpsdv_ppgtt_insert_huge()
550 if ((encode & GEN12_PPGTT_PTE_LM) && in xehpsdv_ppgtt_insert_huge()
564 encode |= GEN12_PTE_PS64; in xehpsdv_ppgtt_insert_huge()
578 encode | (iter->dma + i * in xehpsdv_ppgtt_insert_huge()
624 gen8_pte_t encode = pte_encode; in gen8_ppgtt_insert_huge() local
635 encode |= GEN8_PDE_PS_2M; in gen8_ppgtt_insert_huge()
658 vaddr[index++] = encode | iter->dma; in gen8_ppgtt_insert_huge()
[all …]
Dintel_ppgtt.c102 u64 (*encode)(const dma_addr_t, const enum i915_cache_level)) in __set_pd_entry()
109 write_dma_entry(px_base(pd), idx, encode(px_dma(to), I915_CACHE_LLC)); in __set_pd_entry()
119 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()
244 fill32_px(vm->scratch[1], vm->scratch[0]->encode); in gen6_ppgtt_init_scratch()
/Linux-v6.6/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
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
/Linux-v6.6/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.6/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.6/drivers/gpu/drm/amd/amdgpu/
Dnv.c211 static int nv_query_video_codecs(struct amdgpu_device *adev, bool encode, in nv_query_video_codecs() argument
223 if (encode) in nv_query_video_codecs()
228 if (encode) in nv_query_video_codecs()
235 if (encode) in nv_query_video_codecs()
240 if (encode) in nv_query_video_codecs()
249 if (encode) in nv_query_video_codecs()
256 if (encode) in nv_query_video_codecs()
262 if (encode) in nv_query_video_codecs()
269 if (encode) in nv_query_video_codecs()
Damdgpu_virt.c914 struct amdgpu_video_codec_info *encode, uint32_t encode_array_size, in amdgpu_virt_update_sriov_video_codec() argument
922 if (encode) { in amdgpu_virt_update_sriov_video_codec()
924 encode[i].max_width = adev->virt.encode_max_dimension_pixels; in amdgpu_virt_update_sriov_video_codec()
925 encode[i].max_pixels_per_frame = adev->virt.encode_max_frame_pixels; in amdgpu_virt_update_sriov_video_codec()
926 if (encode[i].max_width > 0) in amdgpu_virt_update_sriov_video_codec()
927 encode[i].max_height = encode[i].max_pixels_per_frame / encode[i].max_width; in amdgpu_virt_update_sriov_video_codec()
929 encode[i].max_height = 0; in amdgpu_virt_update_sriov_video_codec()
Dsoc21.c150 static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode, in soc21_query_video_codecs() argument
163 if (encode) in soc21_query_video_codecs()
168 if (encode) in soc21_query_video_codecs()
175 if (encode) in soc21_query_video_codecs()
180 if (encode) in soc21_query_video_codecs()
/Linux-v6.6/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.
Ddigicolor-ic.txt9 - #interrupt-cells : Specifies the number of cells needed to encode an
Dtechnologic,ts4800.txt12 - #interrupt-cells: specifies the number of cells needed to encode an interrupt
/Linux-v6.6/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.6/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_drv_base.h32 int (*encode)(void *handle, enum venc_start_opt opt, member
/Linux-v6.6/security/tomoyo/
Drealpath.c259 goto encode; in tomoyo_realpath_from_path()
280 encode: in tomoyo_realpath_from_path()
/Linux-v6.6/net/sched/
Dact_meta_skbprio.c48 .encode = skbprio_encode,
Dact_meta_mark.c48 .encode = skbmark_encode,
Dact_meta_skbtcindex.c48 .encode = skbtcindex_encode,
/Linux-v6.6/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