/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_hw_sequencer.c | 69 static void dce112_init_pte(struct dc_context *ctx) in dce112_init_pte() argument 77 value = dm_read_reg(ctx, addr); in dce112_init_pte() 109 dm_write_reg(ctx, addr, value); in dce112_init_pte() 121 struct dc_context *ctx = dc->ctx; in dce112_enable_display_power_gating() local 138 dm_write_reg(ctx, in dce112_enable_display_power_gating() 144 dce112_init_pte(ctx); in dce112_enable_display_power_gating()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_hubbub.c | 34 hubbub1->base.ctx->logger 37 hubbub1->base.ctx 47 hubbub1->base.ctx 73 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub201_program_watermarks() 92 struct dc_context *ctx, in hubbub201_construct() 97 hubbub->base.ctx = ctx; in hubbub201_construct() 91 hubbub201_construct(struct dcn20_hubbub *hubbub, struct dc_context *ctx, const struct dcn_hubbub_registers *hubbub_regs, const struct dcn_hubbub_shift *hubbub_shift, const struct dcn_hubbub_mask *hubbub_mask) hubbub201_construct() argument
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_msg_queue.h | 61 * @ctx: mtk vcodec context information 77 struct mtk_vcodec_dec_ctx *ctx; member 101 * @ctx: mtk vcodec context information 120 struct mtk_vcodec_dec_ctx *ctx; member 126 * @ctx: v4l2 ctx 133 struct mtk_vcodec_dec_ctx *ctx, core_decode_cb_t core_decode, 138 * @ctx: message queue context 141 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index); 145 * @ctx [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | chip.h | 66 u32 (*read32)(void *ctx, u32 addr); 67 void (*write32)(void *ctx, u32 addr, u32 value); 68 int (*prepare)(void *ctx); 69 int (*reset)(void *ctx, struct brcmf_chip *chip); 70 int (*setup)(void *ctx, struct brcmf_chip *chip); 71 void (*activate)(void *ctx, struct brcmf_chip *chip, u32 rstvec); 75 struct brcmf_chip *brcmf_chip_attach(void *ctx, u16 devid,
|
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A D | cnl-sst-dsp.h | 85 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask); 86 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask); 90 void cnl_ipc_int_enable(struct sst_dsp *ctx); 91 void cnl_ipc_int_disable(struct sst_dsp *ctx); 92 void cnl_ipc_op_int_enable(struct sst_dsp *ctx); 93 void cnl_ipc_op_int_disable(struct sst_dsp *ctx); 94 bool cnl_ipc_int_status(struct sst_dsp *ctx);
|
/third_party/ffmpeg/libavcodec/ |
H A D | h264_redundant_pps_bsf.c | 39 static int h264_redundant_pps_fixup_pps(H264RedundantPPSContext *ctx, in h264_redundant_pps_fixup_pps() argument 48 err = ff_cbs_make_unit_writable(ctx->common.input, unit); in h264_redundant_pps_fixup_pps() 64 static int h264_redundant_pps_fixup_slice(H264RedundantPPSContext *ctx, in h264_redundant_pps_fixup_slice() argument 67 const CodedBitstreamH264Context *const in = ctx->common.input->priv_data; in h264_redundant_pps_fixup_slice() 82 H264RedundantPPSContext *ctx = bsf->priv_data; in h264_redundant_pps_update_fragment() local 93 err = h264_redundant_pps_fixup_pps(ctx, nal); in h264_redundant_pps_update_fragment() 107 h264_redundant_pps_fixup_slice(ctx, &slice->header); in h264_redundant_pps_update_fragment()
|
H A D | psymodel.h | 121 * @param ctx model context 129 FFPsyWindowInfo (*window)(FFPsyContext *ctx, const float *audio, const float *la, int channel, int prev_type); 134 * @param ctx model context 139 void (*analyze)(FFPsyContext *ctx, int channel, const float **coeffs, const FFPsyWindowInfo *wi); 147 * @param ctx model context 157 int ff_psy_init(FFPsyContext *ctx, AVCodecContext *avctx, int num_lens, 164 * @param ctx psymodel context 169 FFPsyChannelGroup *ff_psy_find_group(FFPsyContext *ctx, int channel); 174 * @param ctx model context 176 void ff_psy_end(FFPsyContext *ctx); [all...] |
/third_party/elfutils/libasm/ |
H A D | asm_addint8.c | 63 if (unlikely (asmscn->ctx->textp)) in SIZE() 67 fprintf (asmscn->ctx->out.file, "\t.byte\t%" PRId8 "\n", (int8_t) num); in SIZE() 69 fprintf (asmscn->ctx->out.file, "\t.value\t%" PRId16 "\n", in SIZE() 72 fprintf (asmscn->ctx->out.file, "\t.long\t%" PRId32 "\n", in SIZE() 77 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in SIZE() 80 fprintf (asmscn->ctx->out.file, in SIZE() 91 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in SIZE()
|
/third_party/mesa3d/src/mesa/program/ |
H A D | link_program.cpp | 43 _mesa_glsl_link_shader(struct gl_context *ctx, struct gl_shader_program *prog) in _mesa_glsl_link_shader() argument 48 _mesa_clear_shader_program_data(ctx, prog); in _mesa_glsl_link_shader() 77 link_shaders(ctx, prog); in _mesa_glsl_link_shader() 79 _mesa_spirv_link_shaders(ctx, prog); in _mesa_glsl_link_shader() 91 if (prog->data->LinkStatus && !st_link_shader(ctx, prog)) { in _mesa_glsl_link_shader() 102 if (ctx->_Shader->Flags & GLSL_DUMP) { in _mesa_glsl_link_shader() 115 shader_cache_write_program_metadata(ctx, prog); in _mesa_glsl_link_shader()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_gen_mipmap.c | 49 st_generate_mipmap(struct gl_context *ctx, GLenum target, in st_generate_mipmap() argument 52 struct st_context *st = st_context(ctx); in st_generate_mipmap() 69 lastLevel = _mesa_compute_num_levels(ctx, texObj, target) - 1; in st_generate_mipmap() 93 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, lastLevel); in st_generate_mipmap() 105 st_finalize_texture(ctx, st->pipe, texObj, 0); in st_generate_mipmap() 110 _mesa_error(ctx, GL_OUT_OF_MEMORY, "mipmap generation"); in st_generate_mipmap() 143 _mesa_generate_mipmap(ctx, target, texObj); in st_generate_mipmap()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lejp/ |
H A D | main.c | 138 test_cb(struct lejp_ctx *ctx, char reason) in test_cb() argument 140 lwsl_info("%s: ctx->path %s, buf %s\n", __func__, ctx->path, ctx->buf); in test_cb() 150 struct lejp_ctx ctx; in main() local 163 lejp_construct(&ctx, test_cb, NULL, tok, LWS_ARRAY_SIZE(tok)); in main() 168 n = lejp_parse(&ctx, (uint8_t *)json_tests[m], in main() 171 n = lejp_parse(&ctx, (uint8_t *)json_tests[m], in main()
|
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_derivatives.c | 95 midgard_emit_derivatives(compiler_context *ctx, nir_alu_instr *instr) in midgard_emit_derivatives() argument 106 .src = { ~0, nir_src_index(ctx, &instr->src[0].src), ~0, ~0 }, in midgard_emit_derivatives() 122 emit_mir_instruction(ctx, ins); in midgard_emit_derivatives() 126 midgard_lower_derivatives(compiler_context *ctx, midgard_block *block) in midgard_lower_derivatives() argument 157 mir_insert_instruction_before(ctx, mir_next_op(ins), dup); in midgard_lower_derivatives() 162 unsigned new = make_compiler_temp_reg(ctx); in midgard_lower_derivatives() 163 mir_rewrite_index(ctx, ins->dest, new); in midgard_lower_derivatives()
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | rand.h | 68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 75 int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 82 EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx); 83 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx); 84 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx); 86 int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, 88 int RAND_set_seed_source_type(OSSL_LIB_CTX *ctx, const char *seed,
|
/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | property.h | 27 int ossl_property_parse_init(OSSL_LIB_CTX *ctx); 30 OSSL_PROPERTY_LIST *ossl_parse_property(OSSL_LIB_CTX *ctx, const char *defn); 32 OSSL_PROPERTY_LIST *ossl_parse_query(OSSL_LIB_CTX *ctx, const char *s, 37 int ossl_property_is_enabled(OSSL_LIB_CTX *ctx, const char *property_name, 53 OSSL_METHOD_STORE *ossl_method_store_new(OSSL_LIB_CTX *ctx); 75 OSSL_PROPERTY_LIST **ossl_ctx_global_properties(OSSL_LIB_CTX *ctx, 92 size_t ossl_property_list_to_string(OSSL_LIB_CTX *ctx,
|
/third_party/openssl/test/ |
H A D | context_internal_test.c | 30 static void *foo_new(OSSL_LIB_CTX *ctx) in foo_new() argument 52 static int test_context(OSSL_LIB_CTX *ctx) in test_context() argument 56 return TEST_ptr(data = ossl_lib_ctx_get_data(ctx, 0, &foo_method)) in test_context() 63 OSSL_LIB_CTX *ctx = NULL; in test_app_context() local 65 TEST_ptr(ctx = OSSL_LIB_CTX_new()) in test_app_context() 66 && test_context(ctx); in test_app_context() 68 OSSL_LIB_CTX_free(ctx); in test_app_context()
|
/third_party/openssl/ohos_lite/include/crypto/ |
H A D | bn.h | 74 BN_MONT_CTX *mont, BN_CTX *ctx); 76 BN_CTX *ctx); 78 BN_CTX *ctx); 83 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 84 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 88 const BIGNUM *d, BN_CTX *ctx); 92 const BIGNUM *to_mod, BN_CTX *ctx,
|
/third_party/openssl/include/internal/ |
H A D | property.h | 27 int ossl_property_parse_init(OSSL_LIB_CTX *ctx); 30 OSSL_PROPERTY_LIST *ossl_parse_property(OSSL_LIB_CTX *ctx, const char *defn); 32 OSSL_PROPERTY_LIST *ossl_parse_query(OSSL_LIB_CTX *ctx, const char *s, 37 int ossl_property_is_enabled(OSSL_LIB_CTX *ctx, const char *property_name, 53 OSSL_METHOD_STORE *ossl_method_store_new(OSSL_LIB_CTX *ctx); 75 OSSL_PROPERTY_LIST **ossl_ctx_global_properties(OSSL_LIB_CTX *ctx, 92 size_t ossl_property_list_to_string(OSSL_LIB_CTX *ctx,
|
/third_party/openssl/demos/bio/ |
H A D | server-arg.c | 27 SSL_CTX *ctx; in main() local 35 ctx = SSL_CTX_new(TLS_server_method()); in main() 40 SSL_CONF_CTX_set_ssl_ctx(cctx, ctx); in main() 85 rv = SSL_CTX_set_current_cert(ctx, SSL_CERT_SET_FIRST); in main() 87 X509 *x = SSL_CTX_get0_certificate(ctx); in main() 91 rv = SSL_CTX_set_current_cert(ctx, SSL_CERT_SET_NEXT); in main() 97 ssl_bio = BIO_new_ssl(ctx, 0); in main()
|
/third_party/openssl/demos/digest/ |
H A D | EVP_MD_xof.c | 49 EVP_MD_CTX *ctx = NULL; in main() local 76 ctx = EVP_MD_CTX_new(); in main() 77 if (ctx == NULL) { in main() 83 if (EVP_DigestInit(ctx, md) == 0) { in main() 92 if (EVP_DigestUpdate(ctx, message, sizeof(message)) == 0) { in main() 105 if (EVP_DigestFinalXOF(ctx, digest, digest_len) == 0) { in main() 128 EVP_MD_CTX_free(ctx); in main()
|
/third_party/openssl/include/openssl/ |
H A D | rand.h | 68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 75 int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 82 EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx); 83 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx); 84 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx); 86 int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, 88 int RAND_set_seed_source_type(OSSL_LIB_CTX *ctx, const char *seed,
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | call_expression.cc | 67 const CallExpression* CallExpression::Clone(CloneContext* ctx) const { in Clone() 69 auto src = ctx->Clone(source); in Clone() 70 auto p = ctx->Clone(args); in Clone() 72 ? ctx->dst->create<CallExpression>(src, ctx->Clone(target.name), p) in Clone() 73 : ctx->dst->create<CallExpression>(src, ctx->Clone(target.type), in Clone()
|
H A D | variable.cc | 65 const Variable* Variable::Clone(CloneContext* ctx) const { in Clone() 66 auto src = ctx->Clone(source); in Clone() 67 auto sym = ctx->Clone(symbol); in Clone() 68 auto* ty = ctx->Clone(type); in Clone() 69 auto* ctor = ctx->Clone(constructor); in Clone() 70 auto decos = ctx->Clone(decorations); in Clone() 71 return ctx->dst->create<Variable>(src, sym, declared_storage_class, in Clone()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | fold_trivial_single_use_lets.cc | 52 void FoldTrivialSingleUseLets::Run(CloneContext& ctx, in Run() argument 55 for (auto* node : ctx.src->ASTNodes().Objects()) { in Run() 62 auto* sem_let = ctx.src->Sem().Get(let); in Run() 74 ctx.Remove(stmts, let_decl); in Run() 75 ctx.Replace(user_expr, ctx.Clone(let->constructor)); in Run() 88 ctx.Clone(); in Run()
|
/device/soc/rockchip/rk3568/hardware/codec/src/ |
H A D | hdi_mpp.c | 199 MppCtx ctx = NULL; in CodecCreate() local 205 ret = component->mppApi->HdiMppCreate(&ctx, &(component->mpi)); in CodecCreate() 210 *handle = ctx; in CodecCreate() 211 component->ctx = ctx; in CodecCreate() 219 ret = component->mpi->control(ctx, MPP_SET_OUTPUT_TIMEOUT, &timeout); in CodecCreate() 226 ret = component->mppApi->HdiMppInit(ctx, ctxType, codingType); in CodecCreate() 238 MppCtx ctx = handle; in CodecDestroy() local 283 ret = mppApi->HdiMppDestroy(ctx); in CodecDestroy() 364 MppCtx ctx in CodecSetParameter() local 468 MppCtx ctx = handle; CodecGetParameter() local 522 MppCtx ctx = handle; CodecFlush() local 578 DecodeGetFrame(RKHdiBaseComponent* component, MppCtx ctx, MppFrame *frame) DecodeGetFrame() argument 599 HandleDecodeFrameInfoChange(RKHdiBaseComponent* component, MppFrame frame, MppCtx ctx) HandleDecodeFrameInfoChange() argument 733 HandleDecodedFrame(RKHdiBaseComponent* component, MppFrame frame, MppCtx ctx, int32_t frm_eos, CodecBuffer *outInfo) HandleDecodedFrame() argument 759 CodecDecodeGetFrameLoop(RKHdiBaseComponent* component, MppCtx ctx, RK_U32 pkt_done, RK_U32 pkt_eos, CodecBuffer *outInfo) CodecDecodeGetFrameLoop() argument 805 MppCtx ctx = handle; CodecDecode() local 967 CodecEncodeGetPacketLoop(RKHdiBaseComponent* component, MppCtx ctx, CodecBuffer *outInfo) CodecEncodeGetPacketLoop() argument 1009 MppCtx ctx = handle; CodecEncode() local 1062 MppCtx ctx = handle; CodecEncodeHeader() local [all...] |
/device/soc/rockchip/rk3588/hardware/codec/src/ |
H A D | hdi_mpp.c | 199 MppCtx ctx = NULL; in CodecCreate() local 205 ret = component->mppApi->HdiMppCreate(&ctx, &(component->mpi)); in CodecCreate() 210 *handle = ctx; in CodecCreate() 211 component->ctx = ctx; in CodecCreate() 219 ret = component->mpi->control(ctx, MPP_SET_OUTPUT_TIMEOUT, &timeout); in CodecCreate() 226 ret = component->mppApi->HdiMppInit(ctx, ctxType, codingType); in CodecCreate() 238 MppCtx ctx = handle; in CodecDestroy() local 283 ret = mppApi->HdiMppDestroy(ctx); in CodecDestroy() 364 MppCtx ctx in CodecSetParameter() local 468 MppCtx ctx = handle; CodecGetParameter() local 522 MppCtx ctx = handle; CodecFlush() local 578 DecodeGetFrame(RKHdiBaseComponent* component, MppCtx ctx, MppFrame *frame) DecodeGetFrame() argument 599 HandleDecodeFrameInfoChange(RKHdiBaseComponent* component, MppFrame frame, MppCtx ctx) HandleDecodeFrameInfoChange() argument 733 HandleDecodedFrame(RKHdiBaseComponent* component, MppFrame frame, MppCtx ctx, int32_t frm_eos, CodecBuffer *outInfo) HandleDecodedFrame() argument 759 CodecDecodeGetFrameLoop(RKHdiBaseComponent* component, MppCtx ctx, RK_U32 pkt_done, RK_U32 pkt_eos, CodecBuffer *outInfo) CodecDecodeGetFrameLoop() argument 805 MppCtx ctx = handle; CodecDecode() local 967 CodecEncodeGetPacketLoop(RKHdiBaseComponent* component, MppCtx ctx, CodecBuffer *outInfo) CodecEncodeGetPacketLoop() argument 1009 MppCtx ctx = handle; CodecEncode() local 1062 MppCtx ctx = handle; CodecEncodeHeader() local [all...] |