/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 36 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 in __ifh_encode_bitfield() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/ |
H A D | tpm2_tests.py | 23 data = ('X' * 64).encode() 24 auth = ('A' * 15).encode() 33 data = ('X' * 64).encode() 34 auth = ('A' * 15).encode() 61 data = ('X' * 64).encode() 62 auth = ('A' * 20).encode() 68 auth[:-1] + 'B'.encode(), None) 77 data = ('X' * 64).encode() 78 auth = ('A' * 17).encode() 95 self.client.extend_pcr(1, ('X' * ds).encode()) [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/tpm2/ |
H A D | tpm2_tests.py | 23 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_al [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | gen8_ppgtt.c | 242 vm->scratch[0]->encode, in __gen8_ppgtt_clear() 302 fill_px(pt, vm->scratch[lvl]->encode); in __gen8_ppgtt_alloc() 423 gen8_pte_t encode = pte_encode; in gen8_ppgtt_insert_huge() local 434 encode |= GEN8_PDE_PS_2M; in gen8_ppgtt_insert_huge() 457 vaddr[index++] = encode | iter->dma; in gen8_ppgtt_insert_huge() 514 encode = vma->vm->scratch[0]->encode; in gen8_ppgtt_insert_huge() 518 memset64(vaddr + i, encode, 15); in gen8_ppgtt_insert_huge() 578 vm->scratch[0]->encode = in gen8_init_scratch() 595 fill_px(obj, vm->scratch[i - 1]->encode); in gen8_init_scratch() [all...] |
H A D | intel_ppgtt.c | 99 u64 (*encode)(const dma_addr_t, const enum i915_cache_level)) in __set_pd_entry() 106 write_dma_entry(px_base(pd), idx, encode(px_dma(to), I915_CACHE_LLC)); in __set_pd_entry() 116 write_dma_entry(px_base(pd), idx, scratch->encode); in clear_pd_entry()
|
H A D | gen6_ppgtt.c | 84 const gen6_pte_t scratch_pte = vm->scratch[0]->encode; in gen6_ppgtt_clear_range() 202 fill32_px(pt, vm->scratch[0]->encode); in gen6_alloc_va_range() 237 vm->scratch[0]->encode = in gen6_ppgtt_init_scratch() 251 fill32_px(vm->scratch[1], vm->scratch[0]->encode); in gen6_ppgtt_init_scratch()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | gen8_ppgtt.c | 289 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 | ite in gen8_ppgtt_insert_huge() [all...] |
H A D | intel_ppgtt.c | 102 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()
|
H A D | gen6_ppgtt.c | 79 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()
|
H A D | intel_ggtt.c | 315 gen8_set_pte(gte++, vm->scratch[0]->encode); in gen8_ggtt_insert_entries() 324 gen8_set_pte(gte++, vm->scratch[0]->encode); in gen8_ggtt_insert_entries() 339 const gen8_pte_t scratch_pte = vm->scratch[0]->encode; in gen8_ggtt_clear_range() 391 iowrite32(vm->scratch[0]->encode, gte++); in gen6_ggtt_insert_entries() 399 iowrite32(vm->scratch[0]->encode, gte++); in gen6_ggtt_insert_entries() 498 scratch_pte = vm->scratch[0]->encode; in gen6_ggtt_clear_range() 947 ggtt->vm.scratch[0]->encode = in ggtt_probe_common() 1042 * so the switch-case statements in these PTE encode functions are still valid.
|
/kernel/linux/linux-5.10/drivers/net/slip/ |
H A D | slhc.c | 82 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()
|
/kernel/linux/linux-6.6/drivers/net/slip/ |
H A D | slhc.c | 82 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | nv.c | 211 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()
|
H A D | soc21.c | 150 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()
|
H A D | amdgpu_virt.c | 914 struct amdgpu_video_codec_info *encode, uint32_t encode_array_size, in amdgpu_virt_update_sriov_video_codec() 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() 913 amdgpu_virt_update_sriov_video_codec(struct amdgpu_device *adev, struct amdgpu_video_codec_info *encode, uint32_t encode_array_size, struct amdgpu_video_codec_info *decode, uint32_t decode_array_size) amdgpu_virt_update_sriov_video_codec() argument
|
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | venc_drv_base.h | 25 * (*encode)() - trigger encode 27 * @opt: [in] encode option 30 * @result: [out] encode result 32 int (*encode)(void *handle, enum venc_start_opt opt, member
|
H A D | venc_drv_if.c | 72 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, in venc_if_encode()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_drv_base.h | 25 * (*encode)() - trigger encode 27 * @opt: [in] encode option 30 * @result: [out] encode result 32 int (*encode)(void *handle, enum venc_start_opt opt, member
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 279 video->encode(req, video, buf); in uvcg_video_pump() 331 video->encode = uvc_video_encode_bulk; in uvcg_video_enable() 334 video->encode = uvc_video_encode_isoc; in uvcg_video_enable()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/ |
H A D | jz4780_bch.c | 63 struct ingenic_ecc_params *params, bool encode) in jz4780_bch_reset() 78 if (encode) in jz4780_bch_reset() 62 jz4780_bch_reset(struct ingenic_ecc *bch, struct ingenic_ecc_params *params, bool encode) jz4780_bch_reset() argument
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | realpath.c | 262 goto encode; in tomoyo_realpath_from_path() 285 encode: in tomoyo_realpath_from_path()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ingenic/ |
H A D | jz4780_bch.c | 63 struct ingenic_ecc_params *params, bool encode) in jz4780_bch_reset() 78 if (encode) in jz4780_bch_reset() 62 jz4780_bch_reset(struct ingenic_ecc *bch, struct ingenic_ecc_params *params, bool encode) jz4780_bch_reset() argument
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | realpath.c | 259 goto encode; in tomoyo_realpath_from_path() 280 encode: in tomoyo_realpath_from_path()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_meta_skbprio.c | 48 .encode = skbprio_encode,
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_meta_skbprio.c | 48 .encode = skbprio_encode,
|