Home
last modified time | relevance | path

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

12345678

/linux-6.12.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-6.12.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-6.12.1/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c293 vm->scratch[0]->encode, in __gen8_ppgtt_clear()
351 fill_px(pt, vm->scratch[lvl]->encode); in __gen8_ppgtt_alloc()
523 gen8_pte_t encode = pte_encode; in xehp_ppgtt_insert_huge() local
536 encode |= GEN8_PDE_PS_2M; in xehp_ppgtt_insert_huge()
554 if ((encode & GEN12_PPGTT_PTE_LM) && in xehp_ppgtt_insert_huge()
568 encode |= GEN12_PTE_PS64; in xehp_ppgtt_insert_huge()
582 encode | (iter->dma + i * in xehp_ppgtt_insert_huge()
628 gen8_pte_t encode = pte_encode; in gen8_ppgtt_insert_huge() local
639 encode |= GEN8_PDE_PS_2M; in gen8_ppgtt_insert_huge()
662 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()
Dintel_ggtt.c334 const gen8_pte_t scratch_pte = ggtt->vm.scratch[0]->encode; in gen8_ggtt_bind_ptes()
486 gen8_set_pte(gte++, vm->scratch[0]->encode); in gen8_ggtt_insert_entries()
495 gen8_set_pte(gte++, vm->scratch[0]->encode); in gen8_ggtt_insert_entries()
509 gen8_pte_t scratch_pte = vm->scratch[0]->encode; in __gen8_ggtt_insert_entries_bind()
554 const gen8_pte_t scratch_pte = vm->scratch[0]->encode; in gen8_ggtt_clear_range()
575 const gen8_pte_t scratch_pte = vm->scratch[0]->encode; in gen8_ggtt_scratch_range_bind()
627 iowrite32(vm->scratch[0]->encode, gte++); in gen6_ggtt_insert_entries()
635 iowrite32(vm->scratch[0]->encode, gte++); in gen6_ggtt_insert_entries()
734 scratch_pte = vm->scratch[0]->encode; in gen6_ggtt_clear_range()
1190 ggtt->vm.scratch[0]->encode = in ggtt_probe_common()
/linux-6.12.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
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-6.12.1/tools/testing/selftests/net/rds/
Dtest.py178 f'packet {nr_send}'.encode('utf-8')).hexdigest().encode('utf-8')
187 hashlib.sha256()).update(f'<{send_data}>'.encode('utf-8'))
209 f'<{recv_data}>'.encode('utf-8'))
/linux-6.12.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-6.12.1/Documentation/arch/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-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dnv.c210 static int nv_query_video_codecs(struct amdgpu_device *adev, bool encode, in nv_query_video_codecs() argument
222 if (encode) in nv_query_video_codecs()
227 if (encode) in nv_query_video_codecs()
234 if (encode) in nv_query_video_codecs()
239 if (encode) in nv_query_video_codecs()
248 if (encode) in nv_query_video_codecs()
255 if (encode) in nv_query_video_codecs()
261 if (encode) in nv_query_video_codecs()
268 if (encode) in nv_query_video_codecs()
Damdgpu_virt.c938 struct amdgpu_video_codec_info *encode, uint32_t encode_array_size, in amdgpu_virt_update_sriov_video_codec() argument
946 if (encode) { in amdgpu_virt_update_sriov_video_codec()
948 encode[i].max_width = adev->virt.encode_max_dimension_pixels; in amdgpu_virt_update_sriov_video_codec()
949 encode[i].max_pixels_per_frame = adev->virt.encode_max_frame_pixels; in amdgpu_virt_update_sriov_video_codec()
950 if (encode[i].max_width > 0) in amdgpu_virt_update_sriov_video_codec()
951 encode[i].max_height = encode[i].max_pixels_per_frame / encode[i].max_width; in amdgpu_virt_update_sriov_video_codec()
953 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
164 if (encode) in soc21_query_video_codecs()
169 if (encode) in soc21_query_video_codecs()
176 if (encode) in soc21_query_video_codecs()
181 if (encode) in soc21_query_video_codecs()
189 if (encode) in soc21_query_video_codecs()
/linux-6.12.1/tools/testing/selftests/turbostat/
Dsmi_aperf_mperf.py118 expected_columns = bic.encode()
119 expected_columns_debug = EXPECTED_COLUMNS_DEBUG_DEFAULT + f'\t{bic}'.encode()
/linux-6.12.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-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_drv_base.h32 int (*encode)(void *handle, enum venc_start_opt opt, member
/linux-6.12.1/security/tomoyo/
Drealpath.c259 goto encode; in tomoyo_realpath_from_path()
280 encode: in tomoyo_realpath_from_path()
/linux-6.12.1/tools/net/sunrpc/xdrgen/templates/C/program/encoder/
Dresult.j210 * %false: encode failed
/linux-6.12.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()
/linux-6.12.1/net/sched/
Dact_meta_skbprio.c48 .encode = skbprio_encode,
Dact_meta_mark.c48 .encode = skbmark_encode,

12345678