Home
last modified time | relevance | path

Searched refs:ctx (Results 5226 - 5250 of 12972) sorted by relevance

1...<<201202203204205206207208209210>>...519

/third_party/skia/third_party/externals/tint/src/
H A Dclone_context_test.cc47 Node* Clone(CloneContext* ctx) const override {
48 auto* out = allocator->Create<Node>(ctx->Clone(name));
49 out->a = ctx->Clone(a);
50 out->b = ctx->Clone(b);
51 out->c = ctx->Clone(c);
52 out->vec = ctx->Clone(vec);
186 CloneContext ctx(&cloned, &original); in TEST_F()
187 ctx.ReplaceAll([&](const Replaceable* in) { in TEST_F()
194 out->c = ctx.Clone(in->a); in TEST_F()
197 auto* cloned_root = ctx in TEST_F()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.c881 struct dc_context *ctx, in dcn30_dpp_create()
890 if (dpp3_construct(dpp, ctx, inst, in dcn30_dpp_create()
900 struct dc_context *ctx, uint32_t inst) in dcn30_opp_create()
910 dcn20_opp_construct(opp, ctx, inst, in dcn30_opp_create()
916 struct dc_context *ctx, in dcn30_aux_engine_create()
925 dce110_aux_engine_construct(aux_engine, ctx, inst, in dcn30_aux_engine_create()
930 ctx->dc->caps.extended_aux_timeout_support); in dcn30_aux_engine_create()
955 struct dc_context *ctx, in dcn30_i2c_hw_create()
964 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn30_i2c_hw_create()
971 struct dc_context *ctx, in dcn30_mpc_create()
880 dcn30_dpp_create( struct dc_context *ctx, uint32_t inst) dcn30_dpp_create() argument
899 dcn30_opp_create( struct dc_context *ctx, uint32_t inst) dcn30_opp_create() argument
915 dcn30_aux_engine_create( struct dc_context *ctx, uint32_t inst) dcn30_aux_engine_create() argument
954 dcn30_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dcn30_i2c_hw_create() argument
970 dcn30_mpc_create( struct dc_context *ctx, int num_mpcc, int num_rmu) dcn30_mpc_create() argument
991 dcn30_hubbub_create(struct dc_context *ctx) dcn30_hubbub_create() argument
1020 dcn30_timing_generator_create( struct dc_context *ctx, uint32_t instance) dcn30_timing_generator_create() argument
1092 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
1101 dcn30_create_audio( struct dc_context *ctx, unsigned int inst) dcn30_create_audio() argument
1108 dcn30_vpg_create( struct dc_context *ctx, uint32_t inst) dcn30_vpg_create() argument
1125 dcn30_afmt_create( struct dc_context *ctx, uint32_t inst) dcn30_afmt_create() argument
1142 dcn30_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dcn30_stream_encoder_create() argument
1174 dcn30_hwseq_create( struct dc_context *ctx) dcn30_hwseq_create() argument
1326 dcn30_hubp_create( struct dc_context *ctx, uint32_t inst) dcn30_hubp_create() argument
1345 dcn30_dwbc_create(struct dc_context *ctx, struct resource_pool *pool) dcn30_dwbc_create() argument
1370 dcn30_mmhubbub_create(struct dc_context *ctx, struct resource_pool *pool) dcn30_mmhubbub_create() argument
1395 dcn30_dsc_create( struct dc_context *ctx, uint32_t inst) dcn30_dsc_create() argument
1425 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
2624 struct dc_context *ctx = dc->ctx; dcn30_resource_construct() local
[all...]
H A Ddcn30_vpg.c32 vpg3->base.ctx->logger
43 vpg3->base.ctx
180 struct dc_context *ctx, in vpg3_construct()
186 vpg3->base.ctx = ctx; in vpg3_construct()
179 vpg3_construct(struct dcn30_vpg *vpg3, struct dc_context *ctx, uint32_t inst, const struct dcn30_vpg_registers *vpg_regs, const struct dcn30_vpg_shift *vpg_shift, const struct dcn30_vpg_mask *vpg_mask) vpg3_construct() argument
/kernel/linux/linux-5.10/drivers/bus/
H A Dsunxi-rsb.c417 struct sunxi_rsb_ctx *ctx = context; in regmap_sunxi_rsb_reg_read() local
418 struct sunxi_rsb_device *rdev = ctx->rdev; in regmap_sunxi_rsb_reg_read()
423 return sunxi_rsb_read(rdev->rsb, rdev->rtaddr, reg, val, ctx->size); in regmap_sunxi_rsb_reg_read()
429 struct sunxi_rsb_ctx *ctx = context; in regmap_sunxi_rsb_reg_write() local
430 struct sunxi_rsb_device *rdev = ctx->rdev; in regmap_sunxi_rsb_reg_write()
432 return sunxi_rsb_write(rdev->rsb, rdev->rtaddr, reg, &val, ctx->size); in regmap_sunxi_rsb_reg_write()
437 struct sunxi_rsb_ctx *ctx = context; in regmap_sunxi_rsb_free_ctx() local
439 kfree(ctx); in regmap_sunxi_rsb_free_ctx()
453 struct sunxi_rsb_ctx *ctx; in regmap_sunxi_rsb_init_ctx() local
464 ctx in regmap_sunxi_rsb_init_ctx()
479 struct sunxi_rsb_ctx *ctx = regmap_sunxi_rsb_init_ctx(rdev, config); __devm_regmap_init_sunxi_rsb() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/samsung/
H A Dclk-s5pv210.c743 struct samsung_clk_provider *ctx; in __s5pv210_clk_init() local
745 ctx = samsung_clk_init(np, reg_base, NR_CLKS); in __s5pv210_clk_init()
747 samsung_clk_register_mux(ctx, early_mux_clks, in __s5pv210_clk_init()
751 samsung_clk_register_fixed_rate(ctx, s5p6442_frate_clks, in __s5pv210_clk_init()
753 samsung_clk_register_pll(ctx, s5p6442_pll_clks, in __s5pv210_clk_init()
755 samsung_clk_register_mux(ctx, s5p6442_mux_clks, in __s5pv210_clk_init()
757 samsung_clk_register_div(ctx, s5p6442_div_clks, in __s5pv210_clk_init()
759 samsung_clk_register_gate(ctx, s5p6442_gate_clks, in __s5pv210_clk_init()
762 samsung_clk_register_fixed_rate(ctx, s5pv210_frate_clks, in __s5pv210_clk_init()
764 samsung_clk_register_pll(ctx, s5pv210_pll_clk in __s5pv210_clk_init()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/
H A Decc-sw-hamming.c365 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx.priv; in nand_ecc_sw_hamming_calculate()
366 unsigned int step_size = nand->ecc.ctx.conf.step_size; in nand_ecc_sw_hamming_calculate()
458 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx.priv; in nand_ecc_sw_hamming_correct()
459 unsigned int step_size = nand->ecc.ctx.conf.step_size; in nand_ecc_sw_hamming_correct()
469 struct nand_ecc_props *conf = &nand->ecc.ctx.conf; in nand_ecc_sw_hamming_init_ctx()
515 nand->ecc.ctx.priv = engine_conf; in nand_ecc_sw_hamming_init_ctx()
516 nand->ecc.ctx.nsteps = mtd->writesize / conf->step_size; in nand_ecc_sw_hamming_init_ctx()
517 nand->ecc.ctx.total = nand->ecc.ctx.nsteps * engine_conf->code_size; in nand_ecc_sw_hamming_init_ctx()
534 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx in nand_ecc_sw_hamming_cleanup_ctx()
[all...]
/kernel/linux/linux-6.6/drivers/bus/
H A Dsunxi-rsb.c435 struct sunxi_rsb_ctx *ctx = context; in regmap_sunxi_rsb_reg_read() local
436 struct sunxi_rsb_device *rdev = ctx->rdev; in regmap_sunxi_rsb_reg_read()
441 return sunxi_rsb_read(rdev->rsb, rdev->rtaddr, reg, val, ctx->size); in regmap_sunxi_rsb_reg_read()
447 struct sunxi_rsb_ctx *ctx = context; in regmap_sunxi_rsb_reg_write() local
448 struct sunxi_rsb_device *rdev = ctx->rdev; in regmap_sunxi_rsb_reg_write()
450 return sunxi_rsb_write(rdev->rsb, rdev->rtaddr, reg, &val, ctx->size); in regmap_sunxi_rsb_reg_write()
455 struct sunxi_rsb_ctx *ctx = context; in regmap_sunxi_rsb_free_ctx() local
457 kfree(ctx); in regmap_sunxi_rsb_free_ctx()
471 struct sunxi_rsb_ctx *ctx; in regmap_sunxi_rsb_init_ctx() local
482 ctx in regmap_sunxi_rsb_init_ctx()
497 struct sunxi_rsb_ctx *ctx = regmap_sunxi_rsb_init_ctx(rdev, config); __devm_regmap_init_sunxi_rsb() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/srp/
H A Dsrp_vfy.c46 EVP_ENCODE_CTX *ctx; in t_fromb64() local
61 ctx = EVP_ENCODE_CTX_new(); in t_fromb64()
62 if (ctx == NULL) in t_fromb64()
82 EVP_DecodeInit(ctx); in t_fromb64()
83 evp_encode_ctx_set_flags(ctx, EVP_ENCODE_CTX_USE_SRP_ALPHABET); in t_fromb64()
87 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64()
91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) { in t_fromb64()
96 EVP_DecodeFinal(ctx, a + outl, &outl2); in t_fromb64()
124 EVP_ENCODE_CTX_free(ctx); in t_fromb64()
135 EVP_ENCODE_CTX *ctx in t_tob64() local
[all...]
/third_party/openssl/crypto/srp/
H A Dsrp_vfy.c46 EVP_ENCODE_CTX *ctx; in t_fromb64() local
61 ctx = EVP_ENCODE_CTX_new(); in t_fromb64()
62 if (ctx == NULL) in t_fromb64()
82 EVP_DecodeInit(ctx); in t_fromb64()
83 evp_encode_ctx_set_flags(ctx, EVP_ENCODE_CTX_USE_SRP_ALPHABET); in t_fromb64()
87 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64()
91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) { in t_fromb64()
96 EVP_DecodeFinal(ctx, a + outl, &outl2); in t_fromb64()
124 EVP_ENCODE_CTX_free(ctx); in t_fromb64()
135 EVP_ENCODE_CTX *ctx in t_tob64() local
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dhuks_master.h40 bool EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedNewNonce);
41 bool EncryptKeyEx(const UserAuth &auth, const KeyBlob &rnd, KeyContext &ctx);
42 bool DecryptKey(KeyContext &ctx, const UserAuth &auth, KeyInfo &key, bool isNeedNewNonce);
43 bool DecryptKeyEx(KeyContext &ctx, const UserAuth &auth, KeyBlob &rnd);
44 bool UpgradeKey(KeyContext &ctx);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_generic.c43 generic->base.base.ctx
97 struct dc_context *ctx) in dal_hw_generic_construct()
99 dal_hw_gpio_construct(&pin->base, id, en, ctx); in dal_hw_generic_construct()
105 struct dc_context *ctx, in dal_hw_generic_init()
120 dal_hw_generic_construct(*hw_generic, id, en, ctx); in dal_hw_generic_init()
93 dal_hw_generic_construct( struct hw_generic *pin, enum gpio_id id, uint32_t en, struct dc_context *ctx) dal_hw_generic_construct() argument
103 dal_hw_generic_init( struct hw_generic **hw_generic, struct dc_context *ctx, enum gpio_id id, uint32_t en) dal_hw_generic_init() argument
/kernel/linux/linux-5.10/fs/ntfs/
H A Dattrib.h50 ntfs_attr_search_ctx *ctx);
57 const VCN vcn, ntfs_attr_search_ctx *ctx);
62 ntfs_attr_search_ctx *ctx);
74 extern void ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx);
77 extern void ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx);
/kernel/linux/linux-6.6/fs/ntfs/
H A Dattrib.h50 ntfs_attr_search_ctx *ctx);
57 const VCN vcn, ntfs_attr_search_ctx *ctx);
62 ntfs_attr_search_ctx *ctx);
74 extern void ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx);
77 extern void ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx);
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn21/
H A Ddcn21_dccg.c42 dccg_dcn->base.ctx
44 dccg->ctx->logger
110 struct dc_context *ctx, in dccg21_create()
124 base->ctx = ctx; in dccg21_create()
109 dccg21_create( struct dc_context *ctx, const struct dccg_registers *regs, const struct dccg_shift *dccg_shift, const struct dccg_mask *dccg_mask) dccg21_create() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_apg.c33 apg31->base.ctx->logger
44 apg31->base.ctx
105 struct dc_context *ctx, in apg31_construct()
111 apg31->base.ctx = ctx; in apg31_construct()
104 apg31_construct(struct dcn31_apg *apg31, struct dc_context *ctx, uint32_t inst, const struct dcn31_apg_registers *apg_regs, const struct dcn31_apg_shift *apg_shift, const struct dcn31_apg_mask *apg_mask) apg31_construct() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_generic.c43 generic->base.base.ctx
97 struct dc_context *ctx) in dal_hw_generic_construct()
99 dal_hw_gpio_construct(&pin->base, id, en, ctx); in dal_hw_generic_construct()
105 struct dc_context *ctx, in dal_hw_generic_init()
120 dal_hw_generic_construct(*hw_generic, id, en, ctx); in dal_hw_generic_init()
93 dal_hw_generic_construct( struct hw_generic *pin, enum gpio_id id, uint32_t en, struct dc_context *ctx) dal_hw_generic_construct() argument
103 dal_hw_generic_init( struct hw_generic **hw_generic, struct dc_context *ctx, enum gpio_id id, uint32_t en) dal_hw_generic_init() argument
/kernel/linux/linux-6.6/kernel/locking/
H A Dww_rt_mutex.c48 if (unlikely(ww_ctx == READ_ONCE(lock->ctx))) in __ww_rt_mutex_lock()
79 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() argument
81 return __ww_rt_mutex_lock(lock, ctx, TASK_UNINTERRUPTIBLE, _RET_IP_); in ww_mutex_lock()
86 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible() argument
88 return __ww_rt_mutex_lock(lock, ctx, TASK_INTERRUPTIBLE, _RET_IP_); in ww_mutex_lock_interruptible()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Dchan.h59 struct ieee80211_chanctx_conf *ctx);
61 struct ieee80211_chanctx_conf *ctx);
63 struct ieee80211_chanctx_conf *ctx,
67 struct ieee80211_chanctx_conf *ctx);
70 struct ieee80211_chanctx_conf *ctx);
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_drm_client.c52 static u64 busy_add(struct i915_gem_context *ctx, unsigned int class) in busy_add() argument
58 for_each_gem_engine(ce, rcu_dereference(ctx->engines), it) { in busy_add()
76 struct i915_gem_context *ctx; in show_client_class() local
79 list_for_each_entry_rcu(ctx, &client->ctx_list, client_link) in show_client_class()
80 total += busy_add(ctx, class); in show_client_class()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dverifier_netfilter_ctx.c40 __description("netfilter invalid context access, past end of ctx")
74 int with_invalid_ctx_access_test5(struct bpf_nf_ctx *ctx) in with_invalid_ctx_access_test5() argument
76 struct nf_hook_state *state = (void *)ctx->state; in with_invalid_ctx_access_test5()
91 int with_valid_ctx_access_test6(struct bpf_nf_ctx *ctx) in with_valid_ctx_access_test6() argument
93 const struct nf_hook_state *state = ctx->state; in with_valid_ctx_access_test6()
94 struct sk_buff *skb = ctx->skb; in with_valid_ctx_access_test6()
H A Dtype_cast.c26 int md_xdp(struct xdp_md *ctx) in md_xdp() argument
28 struct xdp_buff *kctx = bpf_cast_to_kern_ctx(ctx); in md_xdp()
35 ingress_ifindex = ctx->ingress_ifindex; in md_xdp()
74 int kctx_u64(void *ctx) in kctx_u64() argument
76 u64 *kctx = bpf_rdonly_cast(ctx, bpf_core_type_id_kernel(u64)); in kctx_u64()
/third_party/ffmpeg/libavformat/
H A Drtpdec_dv.c70 static av_cold int dv_parse_sdp_line(AVFormatContext *ctx, int st_index, in dv_parse_sdp_line() argument
79 current_stream = ctx->streams[st_index]; in dv_parse_sdp_line()
82 return ff_parse_fmtp(ctx, current_stream, dv_data, sdp_line_ptr, in dv_parse_sdp_line()
89 static int dv_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_dv_ctx, in dv_handle_packet() argument
103 av_log(ctx, AV_LOG_ERROR, "Too short RTP/DV packet, got %d bytes\n", len); in dv_handle_packet()
/third_party/curl/lib/vauth/
H A Dgsasl.c50 res = gsasl_init(&gsasl->ctx); in Curl_auth_gsasl_is_supported()
56 res = gsasl_client_start(gsasl->ctx, mech, &gsasl->client); in Curl_auth_gsasl_is_supported()
58 gsasl_done(gsasl->ctx); in Curl_auth_gsasl_is_supported()
124 gsasl_done(gsasl->ctx); in Curl_auth_gsasl_cleanup()
125 gsasl->ctx = NULL; in Curl_auth_gsasl_cleanup()
/third_party/mesa3d/src/amd/vulkan/winsys/null/
H A Dradv_null_cs.c46 struct radv_null_ctx *ctx = CALLOC_STRUCT(radv_null_ctx); in radv_null_ctx_create() local
48 if (!ctx) in radv_null_ctx_create()
51 *rctx = (struct radeon_winsys_ctx *)ctx; in radv_null_ctx_create()
58 struct radv_null_ctx *ctx = (struct radv_null_ctx *)rwctx; in radv_null_ctx_destroy() local
59 FREE(ctx); in radv_null_ctx_destroy()
/third_party/mesa3d/src/imagination/rogue/
H A Drogue_shader.c68 struct rogue_shader *rogue_shader_create(struct rogue_build_ctx *ctx, in rogue_shader_create() argument
73 if (!ctx) in rogue_shader_create()
76 shader = rzalloc_size(ctx, sizeof(*shader)); in rogue_shader_create()
84 shader->ctx = ctx; in rogue_shader_create()

Completed in 19 milliseconds

1...<<201202203204205206207208209210>>...519