/third_party/mbedtls/include/mbedtls/ |
H A D | ccm.h | 106 * \param ctx The CCM context to initialize. This must not be \c NULL. 108 void mbedtls_ccm_init(mbedtls_ccm_context *ctx); 112 * \p ctx parameter and sets the encryption key. 114 * \param ctx The CCM context to initialize. This must be an initialized 123 int mbedtls_ccm_setkey(mbedtls_ccm_context *ctx, 132 * \param ctx The CCM context to clear. If this is \c NULL, the function 135 void mbedtls_ccm_free(mbedtls_ccm_context *ctx); 146 * \param ctx The CCM context to use for encryption. This must be 173 int mbedtls_ccm_encrypt_and_tag(mbedtls_ccm_context *ctx, size_t length, 192 * \param ctx Th [all...] |
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
H A D | glcpp.c | 37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, in _mesa_reference_shader() argument 40 (void) ctx; in _mesa_reference_shader() 47 load_text_fp (void *ctx, FILE *fp) in load_text_fp() argument 58 text = reralloc_size (ctx, text, text_size); in load_text_fp() 78 load_text_file(void *ctx, const char *filename) in load_text_file() argument 84 return load_text_fp (ctx, stdin); in load_text_file() 93 text = load_text_fp (ctx, fp); in load_text_file() 137 void *ctx = ralloc(NULL, void*); in main() local 138 char *info_log = ralloc_strdup(ctx, ""); in main() 169 shader = load_text_file (ctx, filenam in main() [all...] |
/third_party/mesa3d/src/gallium/drivers/asahi/ |
H A D | agx_uniforms.c | 49 agx_push_location_direct(struct agx_context *ctx, struct agx_push push, in agx_push_location_direct() argument 52 struct agx_batch *batch = ctx->batch; in agx_push_location_direct() 53 struct agx_stage *st = &ctx->stage[stage]; in agx_push_location_direct() 70 unsigned count = util_last_bit(ctx->vb_mask); in agx_push_location_direct() 74 u_foreach_bit(i, ctx->vb_mask) { in agx_push_location_direct() 75 struct pipe_vertex_buffer vb = ctx->vertex_buffers[i]; in agx_push_location_direct() 89 return agx_pool_upload_aligned(&batch->pool, &ctx->blend_color, in agx_push_location_direct() 90 sizeof(ctx->blend_color), 8); in agx_push_location_direct() 94 struct agx_stage *st = &ctx->stage[stage]; in agx_push_location_direct() 117 agx_push_location(struct agx_context *ctx, struc argument [all...] |
/third_party/node/deps/openssl/openssl/providers/common/ |
H A D | securitycheck.c | 29 int ossl_rsa_check_key(OSSL_LIB_CTX *ctx, const RSA *rsa, int operation) in ossl_rsa_check_key() argument 61 if (ossl_securitycheck_enabled(ctx)) { in ossl_rsa_check_key() 92 int ossl_ec_check_key(OSSL_LIB_CTX *ctx, const EC_KEY *ec, int protect) in ossl_ec_check_key() argument 95 if (ossl_securitycheck_enabled(ctx)) { in ossl_ec_check_key() 150 int ossl_dsa_check_key(OSSL_LIB_CTX *ctx, const DSA *dsa, int sign) in ossl_dsa_check_key() argument 153 if (ossl_securitycheck_enabled(ctx)) { in ossl_dsa_check_key() 202 int ossl_dh_check_key(OSSL_LIB_CTX *ctx, const DH *dh) in ossl_dh_check_key() argument 205 if (ossl_securitycheck_enabled(ctx)) { in ossl_dh_check_key() 235 int ossl_digest_get_approved_nid_with_sha1(OSSL_LIB_CTX *ctx, const EVP_MD *md, in ossl_digest_get_approved_nid_with_sha1() argument 241 if (ossl_securitycheck_enabled(ctx)) { in ossl_digest_get_approved_nid_with_sha1() 249 ossl_digest_is_allowed(OSSL_LIB_CTX *ctx, const EVP_MD *md) ossl_digest_is_allowed() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon_ccm.h | 47 PROV_CIPHER_FUNC(int, CCM_cipher, (PROV_CCM_CTX *ctx, unsigned char *out, \ 50 PROV_CIPHER_FUNC(int, CCM_setkey, (PROV_CCM_CTX *ctx, \ 55 PROV_CIPHER_FUNC(int, CCM_setaad, (PROV_CCM_CTX *ctx, \ 57 PROV_CIPHER_FUNC(int, CCM_auth_encrypt, (PROV_CCM_CTX *ctx, \ 61 PROV_CIPHER_FUNC(int, CCM_auth_decrypt, (PROV_CCM_CTX *ctx, \ 65 PROV_CIPHER_FUNC(int, CCM_gettag, (PROV_CCM_CTX *ctx, \ 88 void ossl_ccm_initctx(PROV_CCM_CTX *ctx, size_t keybits, const PROV_CCM_HW *hw); 90 int ossl_ccm_generic_setiv(PROV_CCM_CTX *ctx, const unsigned char *nonce, 92 int ossl_ccm_generic_setaad(PROV_CCM_CTX *ctx, const unsigned char *aad, 94 int ossl_ccm_generic_gettag(PROV_CCM_CTX *ctx, unsigne [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_skid.c | 17 X509V3_CTX *ctx, char *str); 34 X509V3_CTX *ctx, const char *str) in s2i_ASN1_OCTET_STRING() 92 X509V3_CTX *ctx, char *str) in s2i_skey_id() 98 return s2i_ASN1_OCTET_STRING(method, ctx /* not used */, str); in s2i_skey_id() 100 if (ctx != NULL && (ctx->flags & X509V3_CTX_TEST) != 0) in s2i_skey_id() 102 if (ctx == NULL in s2i_skey_id() 103 || (ctx->subject_cert == NULL && ctx->subject_req == NULL)) { in s2i_skey_id() 108 return ossl_x509_pubkey_hash(ctx in s2i_skey_id() 33 s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str) s2i_ASN1_OCTET_STRING() argument 91 s2i_skey_id(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str) s2i_skey_id() argument [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | ExtensionValue.cs | 41 void MergeFrom(ref ParseContext ctx); in MergeFrom() argument 44 void WriteTo(ref WriteContext ctx); in WriteTo() argument 95 public void MergeFrom(ref ParseContext ctx) in MergeFrom() argument 97 codec.ValueMerger(ref ctx, ref field); in MergeFrom() 109 public void WriteTo(ref WriteContext ctx) in WriteTo() argument 111 ctx.WriteTag(codec.Tag); in WriteTo() 112 codec.ValueWriter(ref ctx, field); in WriteTo() 115 ctx.WriteTag(codec.EndTag); in WriteTo() 184 public void MergeFrom(ref ParseContext ctx) in MergeFrom() argument 186 field.AddEntriesFrom(ref ctx, code in MergeFrom() 197 WriteTo(ref WriteContext ctx) WriteTo() argument [all...] |
/third_party/openssl/providers/common/ |
H A D | securitycheck.c | 29 int ossl_rsa_check_key(OSSL_LIB_CTX *ctx, const RSA *rsa, int operation) in ossl_rsa_check_key() argument 61 if (ossl_securitycheck_enabled(ctx)) { in ossl_rsa_check_key() 92 int ossl_ec_check_key(OSSL_LIB_CTX *ctx, const EC_KEY *ec, int protect) in ossl_ec_check_key() argument 95 if (ossl_securitycheck_enabled(ctx)) { in ossl_ec_check_key() 150 int ossl_dsa_check_key(OSSL_LIB_CTX *ctx, const DSA *dsa, int sign) in ossl_dsa_check_key() argument 153 if (ossl_securitycheck_enabled(ctx)) { in ossl_dsa_check_key() 194 int ossl_dh_check_key(OSSL_LIB_CTX *ctx, const DH *dh) in ossl_dh_check_key() argument 197 if (ossl_securitycheck_enabled(ctx)) { in ossl_dh_check_key() 227 int ossl_digest_get_approved_nid_with_sha1(OSSL_LIB_CTX *ctx, const EVP_MD *md, in ossl_digest_get_approved_nid_with_sha1() argument 233 if (ossl_securitycheck_enabled(ctx)) { in ossl_digest_get_approved_nid_with_sha1() 241 ossl_digest_is_allowed(OSSL_LIB_CTX *ctx, const EVP_MD *md) ossl_digest_is_allowed() argument [all...] |
/third_party/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon_ccm.h | 47 PROV_CIPHER_FUNC(int, CCM_cipher, (PROV_CCM_CTX *ctx, unsigned char *out, \ 50 PROV_CIPHER_FUNC(int, CCM_setkey, (PROV_CCM_CTX *ctx, \ 55 PROV_CIPHER_FUNC(int, CCM_setaad, (PROV_CCM_CTX *ctx, \ 57 PROV_CIPHER_FUNC(int, CCM_auth_encrypt, (PROV_CCM_CTX *ctx, \ 61 PROV_CIPHER_FUNC(int, CCM_auth_decrypt, (PROV_CCM_CTX *ctx, \ 65 PROV_CIPHER_FUNC(int, CCM_gettag, (PROV_CCM_CTX *ctx, \ 88 void ossl_ccm_initctx(PROV_CCM_CTX *ctx, size_t keybits, const PROV_CCM_HW *hw); 90 int ossl_ccm_generic_setiv(PROV_CCM_CTX *ctx, const unsigned char *nonce, 92 int ossl_ccm_generic_setaad(PROV_CCM_CTX *ctx, const unsigned char *aad, 94 int ossl_ccm_generic_gettag(PROV_CCM_CTX *ctx, unsigne [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_skid.c | 17 X509V3_CTX *ctx, char *str); 34 X509V3_CTX *ctx, const char *str) in s2i_ASN1_OCTET_STRING() 92 X509V3_CTX *ctx, char *str) in s2i_skey_id() 98 return s2i_ASN1_OCTET_STRING(method, ctx /* not used */, str); in s2i_skey_id() 100 if (ctx != NULL && (ctx->flags & X509V3_CTX_TEST) != 0) in s2i_skey_id() 102 if (ctx == NULL in s2i_skey_id() 103 || (ctx->subject_cert == NULL && ctx->subject_req == NULL)) { in s2i_skey_id() 108 return ossl_x509_pubkey_hash(ctx in s2i_skey_id() 33 s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str) s2i_ASN1_OCTET_STRING() argument 91 s2i_skey_id(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str) s2i_skey_id() argument [all...] |
/kernel/linux/linux-5.10/arch/loongarch/net/ |
H A D | ebpf_jit.h | 25 struct jit_ctx ctx; member 28 #define emit_insn(ctx, func, ...) \ 30 if (ctx->image != NULL) { \ 31 union loongarch_instruction *insn = &ctx->image[ctx->idx]; \ 34 ctx->idx++; \ 55 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) in bpf2la_offset() argument 64 return (ctx->offset[bpf_insn + off] - (ctx->offset[bpf_insn] - 1)); in bpf2la_offset() 67 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset() argument 596 emit_zext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) emit_zext_32() argument 606 emit_sext_32(struct jit_ctx *ctx, enum loongarch_gpr reg) emit_sext_32() argument 611 move_imm32(struct jit_ctx *ctx, enum loongarch_gpr rd, int imm32, bool is32) move_imm32() argument 648 move_imm64(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm64, bool is32) move_imm64() argument 678 move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, enum loongarch_gpr rj) move_reg() argument 712 cond_jump_offs16(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) cond_jump_offs16() argument 760 cond_jump_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) cond_jump_offs26() argument 768 cond_jump_offs32(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) cond_jump_offs32() argument 789 uncond_jump_offs26(struct jit_ctx *ctx, int jmp_offset) uncond_jump_offs26() argument 794 uncond_jump_offs32(struct jit_ctx *ctx, int jmp_offset, bool is_exit) uncond_jump_offs32() argument 814 emit_cond_jump(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) emit_cond_jump() argument 825 emit_uncond_jump(struct jit_ctx *ctx, int jmp_offset, bool is_exit) emit_uncond_jump() argument 833 emit_tailcall_jump(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) emit_tailcall_jump() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 59 dc->ctx->logger 457 #define CTX ctx 500 struct dc_context *ctx, in read_dce_straps() 511 struct dc_context *ctx, unsigned int inst) in create_audio() 513 return dce_audio_create(ctx, inst, in create_audio() 518 struct dc_context *ctx, in dce110_timing_generator_create() 528 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce110_timing_generator_create() 534 struct dc_context *ctx) in dce110_stream_encoder_create() 542 dce110_stream_encoder_construct(enc110, ctx, ctx in dce110_stream_encoder_create() 499 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument 510 create_audio( struct dc_context *ctx, unsigned int inst) create_audio() argument 517 dce110_timing_generator_create( struct dc_context *ctx, uint32_t instance, const struct dce110_timing_generator_offsets *offsets) dce110_timing_generator_create() argument 532 dce110_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dce110_stream_encoder_create() argument 567 dce110_hwseq_create( struct dc_context *ctx) dce110_hwseq_create() argument 611 dce110_mem_input_create( struct dc_context *ctx, uint32_t inst) dce110_mem_input_create() argument 634 dce110_transform_create( struct dc_context *ctx, uint32_t inst) dce110_transform_create() argument 649 dce110_ipp_create( struct dc_context *ctx, uint32_t inst) dce110_ipp_create() argument 710 dce110_opp_create( struct dc_context *ctx, uint32_t inst) dce110_opp_create() argument 725 dce110_aux_engine_create( struct dc_context *ctx, uint32_t inst) dce110_aux_engine_create() argument 763 dce110_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dce110_i2c_hw_create() argument 778 dce110_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dce110_clock_source_create() argument 1249 underlay_create(struct dc_context *ctx, struct resource_pool *pool) underlay_create() argument 1359 struct dc_context *ctx = dc->ctx; dce110_resource_construct() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_resource.c | 63 dc->ctx->logger 432 #define CTX ctx 475 struct dc_context *ctx, in read_dce_straps() 486 struct dc_context *ctx, unsigned int inst) in create_audio() 488 return dce_audio_create(ctx, inst, in create_audio() 494 struct dc_context *ctx, in dce112_timing_generator_create() 504 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce112_timing_generator_create() 510 struct dc_context *ctx) in dce112_stream_encoder_create() 518 dce110_stream_encoder_construct(enc110, ctx, ctx in dce112_stream_encoder_create() 474 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument 485 create_audio( struct dc_context *ctx, unsigned int inst) create_audio() argument 493 dce112_timing_generator_create( struct dc_context *ctx, uint32_t instance, const struct dce110_timing_generator_offsets *offsets) dce112_timing_generator_create() argument 508 dce112_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dce112_stream_encoder_create() argument 539 dce112_hwseq_create( struct dc_context *ctx) dce112_hwseq_create() argument 578 dce112_mem_input_create( struct dc_context *ctx, uint32_t inst) dce112_mem_input_create() argument 600 dce112_transform_create( struct dc_context *ctx, uint32_t inst) dce112_transform_create() argument 666 dce112_ipp_create( struct dc_context *ctx, uint32_t inst) dce112_ipp_create() argument 681 dce112_opp_create( struct dc_context *ctx, uint32_t inst) dce112_opp_create() argument 696 dce112_aux_engine_create( struct dc_context *ctx, uint32_t inst) dce112_aux_engine_create() argument 734 dce112_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dce112_i2c_hw_create() argument 749 dce112_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dce112_clock_source_create() argument 1228 struct dc_context *ctx = dc->ctx; dce112_resource_construct() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_emit.c | 141 struct fd_ringbuffer *ring, struct fd_context *ctx, in fd4_emit_cs_consts() 144 ir3_emit_cs_consts(v, ring, ctx, info); in fd4_emit_cs_consts() 148 emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring, in emit_textures() argument 157 struct fd4_context *fd4_ctx = fd4_context(ctx); in emit_textures() 474 emit_ssbos(struct fd_context *ctx, struct fd_ringbuffer *ring, in emit_ssbos() argument 655 fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd4_emit_state() argument 665 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() 684 struct fd4_zsa_stateobj *zsa = fd4_zsa_stateobj(ctx->zsa); in fd4_emit_state() 685 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() 700 struct fd4_zsa_stateobj *zsa = fd4_zsa_stateobj(ctx in fd4_emit_state() 140 fd4_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring, struct fd_context *ctx, const struct pipe_grid_info *info) fd4_emit_cs_consts() argument 923 fd4_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring, struct ir3_shader_variant *cp) fd4_emit_cs_state() argument 955 struct fd_context *ctx = batch->ctx; fd4_emit_restore() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_resource.c | 964 struct dc_context *ctx, in dcn31_dpp_create() 973 if (dpp3_construct(dpp, ctx, inst, in dcn31_dpp_create() 983 struct dc_context *ctx, uint32_t inst) in dcn31_opp_create() 993 dcn20_opp_construct(opp, ctx, inst, in dcn31_opp_create() 999 struct dc_context *ctx, in dcn31_aux_engine_create() 1008 dce110_aux_engine_construct(aux_engine, ctx, inst, in dcn31_aux_engine_create() 1013 ctx->dc->caps.extended_aux_timeout_support); in dcn31_aux_engine_create() 1058 struct dc_context *ctx, in dcn31_i2c_hw_create() 1067 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn31_i2c_hw_create() 1073 struct dc_context *ctx, in dcn31_mpc_create() 963 dcn31_dpp_create( struct dc_context *ctx, uint32_t inst) dcn31_dpp_create() argument 982 dcn31_opp_create( struct dc_context *ctx, uint32_t inst) dcn31_opp_create() argument 998 dcn31_aux_engine_create( struct dc_context *ctx, uint32_t inst) dcn31_aux_engine_create() argument 1057 dcn31_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dcn31_i2c_hw_create() argument 1072 dcn31_mpc_create( struct dc_context *ctx, int num_mpcc, int num_rmu) dcn31_mpc_create() argument 1093 dcn31_hubbub_create(struct dc_context *ctx) dcn31_hubbub_create() argument 1125 dcn31_timing_generator_create( struct dc_context *ctx, uint32_t instance) dcn31_timing_generator_create() argument 1159 dcn31_link_encoder_create( struct dc_context *ctx, const struct encoder_init_data *enc_init_data) dcn31_link_encoder_create() argument 1185 dcn31_link_enc_create_minimal( struct dc_context *ctx, enum engine_id eng_id) dcn31_link_enc_create_minimal() argument 1220 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument 1229 dcn31_create_audio( struct dc_context *ctx, unsigned int inst) dcn31_create_audio() argument 1236 dcn31_vpg_create( struct dc_context *ctx, uint32_t inst) dcn31_vpg_create() argument 1253 dcn31_afmt_create( struct dc_context *ctx, uint32_t inst) dcn31_afmt_create() argument 1272 dcn31_apg_create( struct dc_context *ctx, uint32_t inst) dcn31_apg_create() argument 1289 dcn314_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dcn314_stream_encoder_create() argument 1325 dcn31_hpo_dp_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dcn31_hpo_dp_stream_encoder_create() argument 1376 dcn31_hpo_dp_link_encoder_create( uint8_t inst, struct dc_context *ctx) dcn31_hpo_dp_link_encoder_create() argument 1392 dcn314_hwseq_create( struct dc_context *ctx) dcn314_hwseq_create() argument 1563 dcn31_hubp_create( struct dc_context *ctx, uint32_t inst) dcn31_hubp_create() argument 1582 dcn31_dwbc_create(struct dc_context *ctx, struct resource_pool *pool) dcn31_dwbc_create() argument 1607 dcn31_mmhubbub_create(struct dc_context *ctx, struct resource_pool *pool) dcn31_mmhubbub_create() argument 1632 dcn314_dsc_create( struct dc_context *ctx, uint32_t inst) dcn314_dsc_create() argument 1656 dcn31_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dcn31_clock_source_create() argument 1813 dcn30_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dcn30_clock_source_create() argument 1843 struct dc_context *ctx = dc->ctx; dcn314_resource_construct() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_vaapi.c | 182 VAAPIDeviceContext *ctx = hwdev->internal->priv; in vaapi_get_image_format() local 185 for (i = 0; i < ctx->nb_formats; i++) { in vaapi_get_image_format() 186 if (ctx->formats[i].pix_fmt == pix_fmt) { in vaapi_get_image_format() 188 *image_format = &ctx->formats[i].image_format; in vaapi_get_image_format() 201 VAAPIDeviceContext *ctx = hwdev->internal->priv; in vaapi_frames_get_constraints() local 297 constraints->valid_sw_formats = av_malloc_array(ctx->nb_formats + 1, in vaapi_frames_get_constraints() 303 for (i = j = 0; i < ctx->nb_formats; i++) { in vaapi_frames_get_constraints() 307 if (constraints->valid_sw_formats[k] == ctx->formats[i].pix_fmt) in vaapi_frames_get_constraints() 312 constraints->valid_sw_formats[j++] = ctx->formats[i].pix_fmt; in vaapi_frames_get_constraints() 359 VAAPIDeviceContext *ctx in vaapi_device_init() local 449 VAAPIDeviceContext *ctx = hwdev->internal->priv; vaapi_device_uninit() local 473 VAAPIFramesContext *ctx = hwfc->internal->priv; vaapi_pool_alloc() local 517 VAAPIFramesContext *ctx = hwfc->internal->priv; vaapi_frames_init() local 669 VAAPIFramesContext *ctx = hwfc->internal->priv; vaapi_frames_uninit() local 693 VAAPIDeviceContext *ctx = hwfc->device_ctx->internal->priv; vaapi_transfer_get_formats() local 766 VAAPIFramesContext *ctx = hwfc->internal->priv; vaapi_map_frame() local 1559 vaapi_device_free(AVHWDeviceContext *ctx) vaapi_device_free() argument 1581 AVHWDeviceContext *ctx = context; vaapi_device_log_error() local 1588 AVHWDeviceContext *ctx = context; vaapi_device_log_info() local 1594 vaapi_device_connect(AVHWDeviceContext *ctx, VADisplay display) vaapi_device_connect() argument 1620 vaapi_device_create(AVHWDeviceContext *ctx, const char *device, AVDictionary *opts, int flags) vaapi_device_create() argument 1775 vaapi_device_derive(AVHWDeviceContext *ctx, AVHWDeviceContext *src_ctx, AVDictionary *opts, int flags) vaapi_device_derive() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | uniform_query.cpp | 58 GET_CURRENT_CONTEXT(ctx); in _mesa_GetActiveUniform_impl() 63 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, in _mesa_GetActiveUniform_impl() 68 shProg = _mesa_lookup_shader_program_err_glthread(ctx, program, glthread, in _mesa_GetActiveUniform_impl() 77 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, in _mesa_GetActiveUniform_impl() 139 GET_CURRENT_CONTEXT(ctx); in _mesa_GetActiveUniformsiv() 145 _mesa_error(ctx, GL_INVALID_VALUE, in _mesa_GetActiveUniformsiv() 150 shProg = _mesa_lookup_shader_program_err(ctx, program, "glGetActiveUniform"); in _mesa_GetActiveUniformsiv() 168 _mesa_error(ctx, GL_INVALID_VALUE, "glGetActiveUniformsiv(index)"); in _mesa_GetActiveUniformsiv() 186 struct gl_context *ctx, in validate_uniform_parameters() 191 _mesa_error(ctx, GL_INVALID_OPERATIO in validate_uniform_parameters() 184 validate_uniform_parameters(GLint location, GLsizei count, unsigned *array_index, struct gl_context *ctx, struct gl_shader_program *shProg, const char *caller) validate_uniform_parameters() argument 303 _mesa_get_uniform(struct gl_context *ctx, GLuint program, GLint location, GLsizei bufSize, enum glsl_base_type returnType, GLvoid *paramsOut) _mesa_get_uniform() argument 927 associate_uniform_storage(struct gl_context *ctx, struct gl_shader_program *shader_program, struct gl_program *prog) associate_uniform_storage() argument 1079 _mesa_ensure_and_associate_uniform_storage(struct gl_context *ctx, struct gl_shader_program *shader_program, struct gl_program *prog, unsigned required_space) _mesa_ensure_and_associate_uniform_storage() argument 1141 validate_uniform(GLint location, GLsizei count, const GLvoid *values, unsigned *offset, struct gl_context *ctx, struct gl_shader_program *shProg, enum glsl_base_type basicType, unsigned src_components) validate_uniform() argument 1258 _mesa_flush_vertices_for_uniforms(struct gl_context *ctx, const struct gl_uniform_storage *uni) _mesa_flush_vertices_for_uniforms() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-trace.h | 425 TP_printk("pdev %p gadget %p ctx %pad | %pad, port %d ", 538 TP_PROTO(struct cdnsp_ep_ctx *ctx), 539 TP_ARGS(ctx), 547 __entry->info = le32_to_cpu(ctx->ep_info); 548 __entry->info2 = le32_to_cpu(ctx->ep_info2); 549 __entry->deq = le64_to_cpu(ctx->deq); 550 __entry->tx_info = le32_to_cpu(ctx->tx_info); 559 TP_PROTO(struct cdnsp_ep_ctx *ctx), 560 TP_ARGS(ctx) 564 TP_PROTO(struct cdnsp_ep_ctx *ctx), [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | command_table2.c | 44 bp->base.ctx->logger 50 (amdgpu_atom_execute_table(((struct amdgpu_device *)bp->base.ctx->driver_context)->mode_info.atom_context, \ 55 amdgpu_atom_parse_cmd_header(((struct amdgpu_device *)bp->base.ctx->driver_context)->mode_info.atom_context, \ 59 bios_cmd_table_para_revision(bp->base.ctx->driver_context, \ 126 dm_execute_dmub_cmd(dmcub->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in encoder_control_dmcub() 181 if (bp->base.ctx->dc->ctx->dmub_srv && in encoder_control_digx_v1_5() 182 bp->base.ctx->dc->debug.dmub_command_table) { in encoder_control_digx_v1_5() 183 encoder_control_dmcub(bp->base.ctx->dmub_srv, ¶ms); in encoder_control_digx_v1_5() 197 if (bp->base.ctx in encoder_control_fallback() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 117 struct ttm_operation_ctx *ctx, in ttm_bo_handle_move_mem() 142 ret = ttm_tt_populate(bo->bdev, bo->ttm, ctx); in ttm_bo_handle_move_mem() 152 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem() 159 ctx->bytes_moved += bo->base.size; in ttm_bo_handle_move_mem() 400 struct ttm_operation_ctx *ctx, in ttm_bo_bounce_temp_buffer() 411 ret = ttm_bo_mem_space(bo, &hop_placement, &hop_mem, ctx); in ttm_bo_bounce_temp_buffer() 415 ret = ttm_bo_handle_move_mem(bo, hop_mem, false, ctx, NULL); in ttm_bo_bounce_temp_buffer() 424 struct ttm_operation_ctx *ctx) in ttm_bo_evict() 441 ret = ttm_bo_wait_ctx(bo, ctx); in ttm_bo_evict() 452 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx); in ttm_bo_evict() 115 ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, struct ttm_resource *mem, bool evict, struct ttm_operation_ctx *ctx, struct ttm_place *hop) ttm_bo_handle_move_mem() argument 398 ttm_bo_bounce_temp_buffer(struct ttm_buffer_object *bo, struct ttm_resource **mem, struct ttm_operation_ctx *ctx, struct ttm_place *hop) ttm_bo_bounce_temp_buffer() argument 423 ttm_bo_evict(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx) ttm_bo_evict() argument 514 ttm_bo_evict_swapout_allowable(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx, const struct ttm_place *place, bool *locked, bool *busy) ttm_bo_evict_swapout_allowable() argument 563 ttm_mem_evict_wait_busy(struct ttm_buffer_object *busy_bo, struct ttm_operation_ctx *ctx, struct ww_acquire_ctx *ticket) ttm_mem_evict_wait_busy() argument 589 ttm_mem_evict_first(struct ttm_device *bdev, struct ttm_resource_manager *man, const struct ttm_place *place, struct ttm_operation_ctx *ctx, struct ww_acquire_ctx *ticket) ttm_mem_evict_first() argument 726 ttm_bo_mem_force_space(struct ttm_buffer_object *bo, const struct ttm_place *place, struct ttm_resource **mem, struct ttm_operation_ctx *ctx) ttm_bo_mem_force_space() argument 771 ttm_bo_mem_space(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_resource **mem, struct ttm_operation_ctx *ctx) ttm_bo_mem_space() argument 838 ttm_bo_move_buffer(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_operation_ctx *ctx) ttm_bo_move_buffer() argument 890 ttm_bo_validate(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_operation_ctx *ctx) ttm_bo_validate() argument 961 ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t alignment, struct ttm_operation_ctx *ctx, struct sg_table *sg, struct dma_resv *resv, void (*destroy) (struct ttm_buffer_object *)) ttm_bo_init_reserved() argument 1060 struct ttm_operation_ctx ctx = { interruptible, false }; ttm_bo_init_validate() local 1103 ttm_bo_wait_ctx(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx) ttm_bo_wait_ctx() argument 1125 ttm_bo_swapout(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx, gfp_t gfp_flags) ttm_bo_swapout() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid5-cache.c | 1629 struct r5l_recovery_ctx *ctx) in r5l_recovery_allocate_ra_pool() 1633 ctx->valid_pages = 0; in r5l_recovery_allocate_ra_pool() 1634 ctx->total_pages = 0; in r5l_recovery_allocate_ra_pool() 1635 while (ctx->total_pages < R5L_RECOVERY_PAGE_POOL_SIZE) { in r5l_recovery_allocate_ra_pool() 1640 ctx->ra_pool[ctx->total_pages] = page; in r5l_recovery_allocate_ra_pool() 1641 ctx->total_pages += 1; in r5l_recovery_allocate_ra_pool() 1644 if (ctx->total_pages == 0) in r5l_recovery_allocate_ra_pool() 1647 ctx->pool_offset = 0; in r5l_recovery_allocate_ra_pool() 1652 struct r5l_recovery_ctx *ctx) in r5l_recovery_free_ra_pool() 1628 r5l_recovery_allocate_ra_pool(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_allocate_ra_pool() argument 1651 r5l_recovery_free_ra_pool(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_free_ra_pool() argument 1666 r5l_recovery_fetch_ra_pool(struct r5l_log *log, struct r5l_recovery_ctx *ctx, sector_t offset) r5l_recovery_fetch_ra_pool() argument 1700 r5l_recovery_read_page(struct r5l_log *log, struct r5l_recovery_ctx *ctx, struct page *page, sector_t offset) r5l_recovery_read_page() argument 1724 r5l_recovery_read_meta_block(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_read_meta_block() argument 1803 r5l_recovery_load_data(struct r5l_log *log, struct stripe_head *sh, struct r5l_recovery_ctx *ctx, struct r5l_payload_data_parity *payload, sector_t log_offset) r5l_recovery_load_data() argument 1825 r5l_recovery_load_parity(struct r5l_log *log, struct stripe_head *sh, struct r5l_recovery_ctx *ctx, struct r5l_payload_data_parity *payload, sector_t log_offset) r5l_recovery_load_parity() argument 1862 r5l_recovery_replay_one_stripe(struct r5conf *conf, struct stripe_head *sh, struct r5l_recovery_ctx *ctx) r5l_recovery_replay_one_stripe() argument 1949 r5c_recovery_drop_stripes(struct list_head *cached_stripe_list, struct r5l_recovery_ctx *ctx) r5c_recovery_drop_stripes() argument 1962 r5c_recovery_replay_stripes(struct list_head *cached_stripe_list, struct r5l_recovery_ctx *ctx) r5c_recovery_replay_stripes() argument 1977 r5l_recovery_verify_data_checksum(struct r5l_log *log, struct r5l_recovery_ctx *ctx, struct page *page, sector_t log_offset, __le32 log_checksum) r5l_recovery_verify_data_checksum() argument 1997 r5l_recovery_verify_data_checksum_for_mb(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5l_recovery_verify_data_checksum_for_mb() argument 2070 r5c_recovery_analyze_meta_block(struct r5l_log *log, struct r5l_recovery_ctx *ctx, struct list_head *cached_stripe_list) r5c_recovery_analyze_meta_block() argument 2235 r5c_recovery_flush_log(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5c_recovery_flush_log() argument 2346 r5c_recovery_rewrite_data_only_stripes(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5c_recovery_rewrite_data_only_stripes() argument 2419 r5c_recovery_flush_data_only_stripes(struct r5l_log *log, struct r5l_recovery_ctx *ctx) r5c_recovery_flush_data_only_stripes() argument 2455 struct r5l_recovery_ctx *ctx; r5l_recovery_log() local [all...] |
/third_party/libcoap/src/ |
H A D | coap_io.c | 1305 coap_io_prepare_epoll(coap_context_t *ctx, coap_tick_t now) { argument 1307 (void)ctx; 1318 timeout = coap_io_prepare_io(ctx, sockets, max_sockets, &num_sockets, now); 1320 ctx->next_timeout = timeout ? now + timeout : 0; 1321 if (ctx->eptimerfd != -1) { 1327 if (ctx->next_timeout != 0 && ctx->next_timeout > now) { 1328 coap_tick_t rem_timeout = ctx->next_timeout - now; 1329 /* Need to trigger an event on ctx->eptimerfd in the future */ 1339 ret = timerfd_settime(ctx 1355 coap_io_prepare_io(coap_context_t *ctx, coap_socket_t *sockets[], unsigned int max_sockets, unsigned int *num_sockets, coap_tick_t now) global() argument 1609 coap_io_process(coap_context_t *ctx, uint32_t timeout_ms) global() argument 1614 coap_io_process_with_fds(coap_context_t *ctx, uint32_t timeout_ms, int enfds, fd_set *ereadfds, fd_set *ewritefds, fd_set *eexceptfds) global() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 126 static void sec_alg_skcipher_init_template(struct sec_alg_tfm_ctx *ctx, in sec_alg_skcipher_init_template() argument 138 req->cipher_key_addr_lo = lower_32_bits(ctx->pkey); in sec_alg_skcipher_init_template() 139 req->cipher_key_addr_hi = upper_32_bits(ctx->pkey); in sec_alg_skcipher_init_template() 148 struct sec_alg_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in sec_alg_skcipher_init_context() local 150 ctx->cipher_alg = alg; in sec_alg_skcipher_init_context() 151 memcpy(ctx->key, key, keylen); in sec_alg_skcipher_init_context() 152 sec_alg_skcipher_init_template(ctx, &ctx->req_template, in sec_alg_skcipher_init_context() 153 ctx->cipher_alg); in sec_alg_skcipher_init_context() 231 struct sec_alg_tfm_ctx *ctx in sec_alg_skcipher_setkey() local 430 struct sec_alg_tfm_ctx *ctx = sec_req->tfm_ctx; sec_skcipher_alg_callback() local 712 struct sec_alg_tfm_ctx *ctx = crypto_tfm_ctx(tfm); sec_alg_skcipher_crypto() local 874 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_init() local 892 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_exit() local 905 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_init_with_queue() local 925 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_exit_with_queue() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 126 static void sec_alg_skcipher_init_template(struct sec_alg_tfm_ctx *ctx, in sec_alg_skcipher_init_template() argument 138 req->cipher_key_addr_lo = lower_32_bits(ctx->pkey); in sec_alg_skcipher_init_template() 139 req->cipher_key_addr_hi = upper_32_bits(ctx->pkey); in sec_alg_skcipher_init_template() 148 struct sec_alg_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in sec_alg_skcipher_init_context() local 150 ctx->cipher_alg = alg; in sec_alg_skcipher_init_context() 151 memcpy(ctx->key, key, keylen); in sec_alg_skcipher_init_context() 152 sec_alg_skcipher_init_template(ctx, &ctx->req_template, in sec_alg_skcipher_init_context() 153 ctx->cipher_alg); in sec_alg_skcipher_init_context() 231 struct sec_alg_tfm_ctx *ctx in sec_alg_skcipher_setkey() local 430 struct sec_alg_tfm_ctx *ctx = sec_req->tfm_ctx; sec_skcipher_alg_callback() local 712 struct sec_alg_tfm_ctx *ctx = crypto_tfm_ctx(tfm); sec_alg_skcipher_crypto() local 874 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_init() local 892 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_exit() local 905 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_init_with_queue() local 925 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); sec_alg_skcipher_exit_with_queue() local [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | compiler.h | 886 bi_max_temp(bi_context *ctx) in bi_max_temp() argument 888 return (MAX2(ctx->reg_alloc, ctx->ssa_alloc) + 2) << 1; in bi_max_temp() 892 bi_temp(bi_context *ctx) in bi_temp() argument 894 return bi_get_index(ctx->ssa_alloc++, false, 0); in bi_temp() 898 bi_temp_reg(bi_context *ctx) in bi_temp_reg() argument 900 return bi_get_index(ctx->reg_alloc++, true, 0); in bi_temp_reg() 951 #define bi_foreach_block(ctx, v) \ 952 list_for_each_entry(bi_block, v, &ctx->blocks, link) 954 #define bi_foreach_block_rev(ctx, 1057 bi_entry_block(bi_context *ctx) bi_entry_block() argument 1123 bi_validate_initialization(UNUSED bi_context *ctx) bi_validate_initialization() argument 1124 bi_validate(UNUSED bi_context *ctx, UNUSED const char *after_str) bi_validate() argument 1341 bi_init_builder(bi_context *ctx, bi_cursor cursor) bi_init_builder() argument [all...] |