/drivers/hdf_core/adapter/platform/uart/ |
H A D | uart_stm32f4xx.c | 256 static void InitContextTransMode(UsartContextObj* ctx, USART_TRANS_MODE mode)
in InitContextTransMode() argument 260 ctx->isBlock = true;
in InitContextTransMode() 261 ctx->rxDMA = false;
in InitContextTransMode() 262 ctx->txDMA = false;
in InitContextTransMode() 265 ctx->isBlock = false;
in InitContextTransMode() 266 ctx->rxDMA = false;
in InitContextTransMode() 267 ctx->txDMA = false;
in InitContextTransMode() 270 ctx->isBlock = false;
in InitContextTransMode() 271 ctx->rxDMA = false;
in InitContextTransMode() 272 ctx in InitContextTransMode() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 38 struct i915_gem_context *ctx) in assert_vma() 42 if (vma->vm != rcu_access_pointer(ctx->vm)) { in assert_vma() 111 struct i915_gem_context *ctx; in create_vmas() local 116 list_for_each_entry(ctx, contexts, link) { in create_vmas() 121 vm = i915_gem_context_get_vm_rcu(ctx); in create_vmas() 127 if (!assert_vma(vma, obj, ctx)) { in create_vmas() 153 struct i915_gem_context *ctx, *cn; in igt_vma_create() local 178 ctx = mock_context(i915, "mock"); in igt_vma_create() 179 if (!ctx) in igt_vma_create() 182 list_move(&ctx in igt_vma_create() 36 assert_vma(struct i915_vma *vma, struct drm_i915_gem_object *obj, struct i915_gem_context *ctx) assert_vma() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
H A D | dcn315_clk_mgr.c | 47 clk_mgr->base.base.ctx->logger 102 struct dc *dc = clk_mgr_base->ctx->dc; in dcn315_disable_otg_wa() 132 struct dc *dc = clk_mgr_base->ctx->dc; in dcn315_update_clocks() 235 dm_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dcn315_update_clocks() 595 struct dc_context *ctx, in dcn315_clk_mgr_construct() 603 clk_mgr->base.base.ctx = ctx; in dcn315_clk_mgr_construct() 617 clk_mgr->base.base.ctx, in dcn315_clk_mgr_construct() 629 clk_mgr->base.base.ctx, in dcn315_clk_mgr_construct() 646 if (ctx in dcn315_clk_mgr_construct() 594 dcn315_clk_mgr_construct( struct dc_context *ctx, struct clk_mgr_dcn315 *clk_mgr, struct pp_smu_funcs *pp_smu, struct dccg *dccg) dcn315_clk_mgr_construct() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_geq.c | 248 static av_cold int geq_init(AVFilterContext *ctx) in geq_init() argument 250 GEQContext *geq = ctx->priv; in geq_init() 254 av_log(ctx, AV_LOG_ERROR, "A luminance or RGB expression is mandatory\n"); in geq_init() 261 av_log(ctx, AV_LOG_ERROR, "Either YCbCr or RGB but not both must be specified\n"); in geq_init() 318 NULL, NULL, func2_names, func2, 0, ctx); in geq_init() 331 static int geq_query_formats(AVFilterContext *ctx) in geq_query_formats() argument 333 GEQContext *geq = ctx->priv; in geq_query_formats() 366 return ff_set_common_formats_from_list(ctx, pix_fmts); in geq_query_formats() 390 static int slice_geq_filter(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in slice_geq_filter() argument 392 GEQContext *geq = ctx in slice_geq_filter() 449 AVFilterContext *ctx = inlink->dst; geq_filter_frame() local 497 geq_uninit(AVFilterContext *ctx) geq_uninit() argument [all...] |
H A D | af_arnndn.c | 331 static int query_formats(AVFilterContext *ctx) in query_formats() argument 339 ret = ff_set_common_formats_from_list(ctx, sample_fmts); in query_formats() 343 ret = ff_set_common_all_channel_counts(ctx); in query_formats() 347 return ff_set_common_samplerates_from_list(ctx, sample_rates); in query_formats() 352 AVFilterContext *ctx = inlink->dst; in config_input() local 353 AudioRNNContext *s = ctx->priv; in config_input() 1410 static int rnnoise_channels(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in rnnoise_channels() argument 1412 AudioRNNContext *s = ctx->priv; in rnnoise_channels() 1423 ctx->is_disabled); in rnnoise_channels() 1431 AVFilterContext *ctx in filter_frame() local 1451 activate(AVFilterContext *ctx) activate() argument 1473 open_model(AVFilterContext *ctx, RNNModel **model) open_model() argument 1495 init(AVFilterContext *ctx) init() argument 1524 free_model(AVFilterContext *ctx, int n) free_model() argument 1538 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument 1568 uninit(AVFilterContext *ctx) uninit() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_bc_finalize.cpp | 78 if (!ctx.is_egcm() && (sh.target == TARGET_VS || sh.target == TARGET_ES)) { in run() 98 if (!ctx.is_cayman() && last_cf->bc.op_ptr->flags & CF_ALU) { in run() 103 if (ctx.is_cayman()) { in run() 264 if (c->bc.op == CF_OP_ALU_PUSH_BEFORE && ctx.is_egcm()) { in run_on() 265 if (ctx.stack_workaround_8xx) { in run_on() 270 unsigned dmod1 = elems % ctx.stack_entry_size; in run_on() 271 unsigned dmod2 = (elems + 1) % ctx.stack_entry_size; in run_on() 276 } else if (ctx.stack_workaround_9xx) { in run_on() 324 if (!(n->bc.op_ptr->flags & AF_MOVA && ctx.is_cayman())) in finalize_alu_group() 784 if (ctx in finalize_cf() [all...] |
/third_party/musl/src/network/ |
H A D | lookup_name.c | 151 struct dpc_ctx *ctx = c; in dns_parse_callback() local 155 strcpy(ctx->canon, tmp); in dns_parse_callback() 158 if (ctx->cnt >= MAXADDRS) return 0; in dns_parse_callback() 159 if (rr != ctx->rrtype) return 0; in dns_parse_callback() 170 ctx->addrs[ctx->cnt].family = family; in dns_parse_callback() 171 ctx->addrs[ctx->cnt].scopeid = 0; in dns_parse_callback() 172 memcpy(ctx->addrs[ctx in dns_parse_callback() 221 struct dpc_ctx ctx = { .addrs = buf, .canon = canon }; name_from_dns() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
H A D | fst_ctrl_iface.c | 106 WPA_ASSERT(f->iface_obj.ctx); in fst_ctrl_iface_notify() 113 wpa_msg_global_only(f->iface_obj.ctx, MSG_INFO, in fst_ctrl_iface_notify() 470 void *ctx) in list_session_enum_cb() 472 struct list_sessions_cb_ctx *c = ctx; in list_session_enum_cb() 485 struct list_sessions_cb_ctx ctx; in list_sessions() local 495 ctx.buf = buf; in list_sessions() 496 ctx.buflen = buflen; in list_sessions() 497 ctx.reply_len = 0; in list_sessions() 499 fst_session_enum(g, list_session_enum_cb, &ctx); in list_sessions() 501 ctx in list_sessions() 469 list_session_enum_cb(struct fst_group *g, struct fst_session *s, void *ctx) list_session_enum_cb() argument 513 struct fst_get_peer_ctx *ctx; iface_peers() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
H A D | fst_ctrl_iface.c | 106 WPA_ASSERT(f->iface_obj.ctx); in fst_ctrl_iface_notify() 113 wpa_msg_global_only(f->iface_obj.ctx, MSG_INFO, in fst_ctrl_iface_notify() 470 void *ctx) in list_session_enum_cb() 472 struct list_sessions_cb_ctx *c = ctx; in list_session_enum_cb() 485 struct list_sessions_cb_ctx ctx; in list_sessions() local 495 ctx.buf = buf; in list_sessions() 496 ctx.buflen = buflen; in list_sessions() 497 ctx.reply_len = 0; in list_sessions() 499 fst_session_enum(g, list_session_enum_cb, &ctx); in list_sessions() 501 ctx in list_sessions() 469 list_session_enum_cb(struct fst_group *g, struct fst_session *s, void *ctx) list_session_enum_cb() argument 513 struct fst_get_peer_ctx *ctx; iface_peers() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_drv.c | 590 struct msm_file_private *ctx; in context_init() local 592 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in context_init() 593 if (!ctx) in context_init() 596 INIT_LIST_HEAD(&ctx->submitqueues); in context_init() 597 rwlock_init(&ctx->queuelock); in context_init() 599 kref_init(&ctx->ref); in context_init() 600 msm_submitqueue_init(dev, ctx); in context_init() 602 ctx->aspace = msm_gpu_create_private_address_space(priv->gpu, current); in context_init() 603 file->driver_priv = ctx; in context_init() 620 context_close(struct msm_file_private *ctx) context_close() argument 629 struct msm_file_private *ctx = file->driver_priv; msm_postclose() local 790 struct msm_file_private *ctx = file->driver_priv; msm_ioctl_gem_info_iova() local 810 struct msm_file_private *ctx = file->driver_priv; msm_ioctl_gem_info_set_iova() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_addr.c | 922 struct v3_ext_ctx *ctx, 1193 if (ctx != NULL) { \ 1194 ctx->error = _err_; \ 1195 ctx->error_depth = i; \ 1196 ctx->current_cert = x; \ 1197 rv = ctx->verify_cb(0, ctx); \ 1210 * When returning 0, ctx->error MUST be set to an appropriate value other than 1213 static int addr_validate_path_internal(X509_STORE_CTX *ctx, in addr_validate_path_internal() argument 1222 || !ossl_assert(ctx ! in addr_validate_path_internal() 1334 X509v3_addr_validate_path(X509_STORE_CTX *ctx) X509v3_addr_validate_path() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/cms/ |
H A D | cms_sd.c | 179 int type, const CMS_CTX *ctx) in ossl_cms_set1_SignerIdentifier() 313 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); in CMS_add1_signer() local 331 si->cms_ctx = ctx; in CMS_add1_signer() 352 if (!ossl_cms_set1_SignerIdentifier(si->sid, signer, type, ctx)) in CMS_add1_signer() 471 si->pctx = EVP_PKEY_CTX_new_from_pkey(ossl_cms_ctx_get0_libctx(ctx), in CMS_add1_signer() 473 ossl_cms_ctx_get0_propq(ctx)); in CMS_add1_signer() 482 ossl_cms_ctx_get0_libctx(ctx), in CMS_add1_signer() 483 ossl_cms_ctx_get0_propq(ctx), in CMS_add1_signer() 509 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); in ossl_cms_SignerInfos_set_cmsctx() local 518 si->cms_ctx = ctx; in ossl_cms_SignerInfos_set_cmsctx() 178 ossl_cms_set1_SignerIdentifier(CMS_SignerIdentifier *sid, X509 *cert, int type, const CMS_CTX *ctx) ossl_cms_set1_SignerIdentifier() argument 684 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); cms_SignerInfo_content_sign() local 792 const CMS_CTX *ctx = si->cms_ctx; CMS_SignerInfo_sign() local 854 const CMS_CTX *ctx = si->cms_ctx; CMS_SignerInfo_verify() local 994 const CMS_CTX *ctx = si->cms_ctx; CMS_SignerInfo_verify_content() local [all...] |
/third_party/openssl/crypto/cms/ |
H A D | cms_sd.c | 179 int type, const CMS_CTX *ctx) in ossl_cms_set1_SignerIdentifier() 313 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); in CMS_add1_signer() local 331 si->cms_ctx = ctx; in CMS_add1_signer() 352 if (!ossl_cms_set1_SignerIdentifier(si->sid, signer, type, ctx)) in CMS_add1_signer() 463 si->pctx = EVP_PKEY_CTX_new_from_pkey(ossl_cms_ctx_get0_libctx(ctx), in CMS_add1_signer() 465 ossl_cms_ctx_get0_propq(ctx)); in CMS_add1_signer() 474 ossl_cms_ctx_get0_libctx(ctx), in CMS_add1_signer() 475 ossl_cms_ctx_get0_propq(ctx), in CMS_add1_signer() 505 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); in ossl_cms_SignerInfos_set_cmsctx() local 514 si->cms_ctx = ctx; in ossl_cms_SignerInfos_set_cmsctx() 178 ossl_cms_set1_SignerIdentifier(CMS_SignerIdentifier *sid, X509 *cert, int type, const CMS_CTX *ctx) ossl_cms_set1_SignerIdentifier() argument 680 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); cms_SignerInfo_content_sign() local 789 const CMS_CTX *ctx = si->cms_ctx; CMS_SignerInfo_sign() local 852 const CMS_CTX *ctx = si->cms_ctx; CMS_SignerInfo_verify() local 999 const CMS_CTX *ctx = si->cms_ctx; CMS_SignerInfo_verify_content() local [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_addr.c | 922 struct v3_ext_ctx *ctx, 1189 if (ctx != NULL) { \ 1190 ctx->error = _err_; \ 1191 ctx->error_depth = i; \ 1192 ctx->current_cert = x; \ 1193 rv = ctx->verify_cb(0, ctx); \ 1206 * When returning 0, ctx->error MUST be set to an appropriate value other than 1209 static int addr_validate_path_internal(X509_STORE_CTX *ctx, in addr_validate_path_internal() argument 1218 || !ossl_assert(ctx ! in addr_validate_path_internal() 1330 X509v3_addr_validate_path(X509_STORE_CTX *ctx) X509v3_addr_validate_path() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 74 dc->ctx 77 dc->ctx->logger 156 struct dc_bios *bios = dc->ctx->dc_bios; in create_links() 180 link_init_params.ctx = dc->ctx; in create_links() 192 if (!IS_DIAG_DC(dc->ctx->dce_environment)) in create_links() 225 link->ctx = dc->ctx; in create_links() 240 enc_init.ctx = dc->ctx; in create_links() 1025 enable_timing_multisync( struct dc *dc, struct dc_state *ctx) enable_timing_multisync() argument 1049 program_timing_sync( struct dc *dc, struct dc_state *ctx) program_timing_sync() argument 2043 stream_get_status( struct dc_state *ctx, struct dc_stream_state *stream) stream_get_status() argument 2783 struct dc_context *ctx = link->ctx; dc_stream_find_from_link() local [all...] |
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 131 _EGLContext *ctx = _eglGetCurrentContext(); in dri_set_background_context() local 134 _eglBindContextToThread(ctx, t); in dri_set_background_context() 1662 dri2_destroy_context(_EGLDisplay *disp, _EGLContext *ctx) in dri2_destroy_context() argument 1664 struct dri2_egl_context *dri2_ctx = dri2_egl_context(ctx); in dri2_destroy_context() 1667 if (_eglPutContext(ctx)) { in dri2_destroy_context() 1727 dri2_surf_update_fence_fd(_EGLContext *ctx, in dri2_surf_update_fence_fd() argument 1730 __DRIcontext *dri_ctx = dri2_egl_context(ctx)->dri_context; in dri2_surf_update_fence_fd() 1784 _EGLSurface *rsurf, _EGLContext *ctx) in dri2_make_current() 1787 struct dri2_egl_context *dri2_ctx = dri2_egl_context(ctx); in dri2_make_current() 1801 if (!_eglBindContext(ctx, dsur in dri2_make_current() 1783 dri2_make_current(_EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) dri2_make_current() argument 1993 _EGLContext *ctx = _eglGetCurrentContext(); dri2_flush_drawable_for_swapbuffers() local 2017 _EGLContext *ctx = _eglGetCurrentContext(); dri2_swap_buffers() local 2040 _EGLContext *ctx = _eglGetCurrentContext(); dri2_swap_buffers_with_damage() local 2126 dri2_wait_client(_EGLDisplay *disp, _EGLContext *ctx) dri2_wait_client() argument 2156 _EGLContext *ctx; dri2_bind_tex_image() local 2199 _EGLContext *ctx; dri2_release_tex_image() local 2227 dri2_create_image(_EGLDisplay *disp, _EGLContext *ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attr_list) dri2_create_image() argument 2282 dri2_create_image_khr_renderbuffer(_EGLDisplay *disp, _EGLContext *ctx, EGLClientBuffer buffer, const EGLint *attr_list) dri2_create_image_khr_renderbuffer() argument 2347 dri2_create_image_wayland_wl_buffer(_EGLDisplay *disp, _EGLContext *ctx, EGLClientBuffer _buffer, const EGLint *attr_list) dri2_create_image_wayland_wl_buffer() argument 2411 dri2_create_image_khr_texture(_EGLDisplay *disp, _EGLContext *ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attr_list) dri2_create_image_khr_texture() argument 2516 dri2_create_image_mesa_drm_buffer(_EGLDisplay *disp, _EGLContext *ctx, EGLClientBuffer buffer, const EGLint *attr_list) dri2_create_image_mesa_drm_buffer() argument 2853 dri2_create_image_dma_buf(_EGLDisplay *disp, _EGLContext *ctx, EGLClientBuffer buffer, const EGLint *attr_list) dri2_create_image_dma_buf() argument 3165 dri2_create_image_khr(_EGLDisplay *disp, _EGLContext *ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attr_list) dri2_create_image_khr() argument 3387 _EGLContext *ctx = _eglGetCurrentContext(); dri2_create_sync() local 3555 _EGLContext *ctx = _eglGetCurrentContext(); dri2_client_wait_sync() local 3671 _EGLContext *ctx = _eglGetCurrentContext(); dri2_server_wait_sync() local 3682 dri2_interop_query_device_info(_EGLDisplay *disp, _EGLContext *ctx, struct mesa_glinterop_device_info *out) dri2_interop_query_device_info() argument 3695 dri2_interop_export_object(_EGLDisplay *disp, _EGLContext *ctx, struct mesa_glinterop_export_in *in, struct mesa_glinterop_export_out *out) dri2_interop_export_object() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 92 struct atom_context *ctx = adev->mode_info.atom_context; in amdgpu_atombios_lookup_i2c_gpio() local 103 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_lookup_i2c_gpio() 104 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_i2c_gpio() 128 struct atom_context *ctx = adev->mode_info.atom_context; in amdgpu_atombios_i2c_init() local 137 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_i2c_init() 138 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_i2c_init() 163 struct atom_context *ctx = adev->mode_info.atom_context; in amdgpu_atombios_lookup_gpio() local 174 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_lookup_gpio() 175 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_gpio() 267 struct atom_context *ctx in amdgpu_atombios_has_dce_engine_info() local 294 struct atom_context *ctx = mode_info->atom_context; amdgpu_atombios_get_connector_info_from_object_table() local 1767 struct atom_context *ctx = adev->mode_info.atom_context; amdgpu_atombios_allocate_fb_scratch() local 1948 struct atom_context *ctx = adev->mode_info.atom_context; amdgpu_atombios_get_vbios_version() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | sess.c | 529 struct smb3_fs_context *ctx; in cifs_ses_add_channel() local 547 * Setup a ctx with mostly the same info as the existing in cifs_ses_add_channel() 553 * We only need the ctx here, so we can reuse memory from in cifs_ses_add_channel() 557 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in cifs_ses_add_channel() 558 if (!ctx) { in cifs_ses_add_channel() 564 ctx->nosharesock = true; in cifs_ses_add_channel() 567 ctx->domainauto = ses->domainAuto; in cifs_ses_add_channel() 568 ctx->domainname = ses->domainName; in cifs_ses_add_channel() 571 ctx in cifs_ses_add_channel() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 92 struct atom_context *ctx = adev->mode_info.atom_context; in amdgpu_atombios_lookup_i2c_gpio() local 103 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_lookup_i2c_gpio() 104 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_i2c_gpio() 128 struct atom_context *ctx = adev->mode_info.atom_context; in amdgpu_atombios_i2c_init() local 137 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_i2c_init() 138 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_i2c_init() 163 struct atom_context *ctx = adev->mode_info.atom_context; in amdgpu_atombios_lookup_gpio() local 174 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_lookup_gpio() 175 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_gpio() 267 struct atom_context *ctx in amdgpu_atombios_has_dce_engine_info() local 294 struct atom_context *ctx = mode_info->atom_context; amdgpu_atombios_get_connector_info_from_object_table() local 1630 struct atom_context *ctx = adev->mode_info.atom_context; amdgpu_atombios_allocate_fb_scratch() local 1777 struct atom_context *ctx = adev->mode_info.atom_context; amdgpu_atombios_get_vbios_version() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 179 struct stm32_cryp_ctx *ctx; member 317 static struct stm32_cryp *stm32_cryp_find_dev(struct stm32_cryp_ctx *ctx) in stm32_cryp_find_dev() argument 322 if (!ctx->cryp) { in stm32_cryp_find_dev() 327 ctx->cryp = cryp; in stm32_cryp_find_dev() 329 cryp = ctx->cryp; in stm32_cryp_find_dev() 464 stm32_cryp_write(c, c->caps->k1l, be32_to_cpu(c->ctx->key[0])); in stm32_cryp_hw_write_key() 465 stm32_cryp_write(c, c->caps->k1r, be32_to_cpu(c->ctx->key[1])); in stm32_cryp_hw_write_key() 478 ux500_swizzle_key((u8 *)c->ctx->key, in stm32_cryp_hw_write_key() 479 (u8 *)tmpkey, c->ctx->keylen); in stm32_cryp_hw_write_key() 482 for (i = 0; i < c->ctx in stm32_cryp_hw_write_key() 848 struct stm32_cryp_ctx *ctx = crypto_skcipher_ctx( stm32_cryp_crypt() local 863 struct stm32_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); stm32_cryp_aead_crypt() local 878 struct stm32_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); stm32_cryp_setkey() local 913 struct stm32_cryp_ctx *ctx = crypto_aead_ctx(tfm); stm32_cryp_aes_aead_setkey() local 1155 struct stm32_cryp_ctx *ctx; stm32_cryp_prepare_req() local 1239 struct stm32_cryp_ctx *ctx = crypto_skcipher_ctx( stm32_cryp_cipher_one_req() local 1254 struct stm32_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); stm32_cryp_aead_one_req() local [all...] |
/kernel/linux/linux-6.6/sound/usb/ |
H A D | endpoint.c | 220 struct snd_urb_ctx *ctx, int idx, in snd_usb_endpoint_next_packet_size() 225 packet = ctx->packet_size[idx]; in snd_usb_endpoint_next_packet_size() 282 struct snd_urb_ctx *ctx) in prepare_silent_urb() 284 struct urb *urb = ctx->urb; in prepare_silent_urb() 294 for (i = 0; i < ctx->packets; ++i) { in prepare_silent_urb() 299 counts = snd_usb_endpoint_next_packet_size(ep, ctx, i, 0); in prepare_silent_urb() 314 urb->number_of_packets = ctx->packets; in prepare_silent_urb() 315 urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra; in prepare_silent_urb() 316 ctx->queued = 0; in prepare_silent_urb() 323 struct snd_urb_ctx *ctx, in prepare_outbound_urb() 219 snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx, int idx, unsigned int avail) snd_usb_endpoint_next_packet_size() argument 281 prepare_silent_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) prepare_silent_urb() argument 322 prepare_outbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx, bool in_stream_lock) prepare_outbound_urb() argument 435 push_back_to_ready_list(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) push_back_to_ready_list() argument 467 struct snd_urb_ctx *ctx = NULL; snd_usb_queue_pending_output_urbs() local 535 struct snd_urb_ctx *ctx = urb->context; snd_complete_urb() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ecp_nistp256.c | 1908 BN_CTX *ctx) in ossl_ec_GFp_nistp256_group_set_curve() 1915 if (ctx == NULL) in ossl_ec_GFp_nistp256_group_set_curve() 1916 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp256_group_set_curve() 1918 if (ctx == NULL) in ossl_ec_GFp_nistp256_group_set_curve() 1921 BN_CTX_start(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1922 curve_p = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1923 curve_a = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1924 curve_b = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1935 ret = ossl_ec_GFp_simple_group_set_curve(group, p, a, b, ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1937 BN_CTX_end(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1906 ossl_ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_nistp256_group_set_curve() argument 1948 ossl_ec_GFp_nistp256_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_nistp256_point_get_affine_coordinates() argument 2023 ossl_ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ossl_ec_GFp_nistp256_points_mul() argument 2228 ossl_ec_GFp_nistp256_precompute_mult(EC_GROUP *group, BN_CTX *ctx) ossl_ec_GFp_nistp256_precompute_mult() argument [all...] |
H A D | ecp_nistp521.c | 1801 BN_CTX *ctx) in ossl_ec_GFp_nistp521_group_set_curve() 1808 if (ctx == NULL) in ossl_ec_GFp_nistp521_group_set_curve() 1809 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp521_group_set_curve() 1811 if (ctx == NULL) in ossl_ec_GFp_nistp521_group_set_curve() 1814 BN_CTX_start(ctx); in ossl_ec_GFp_nistp521_group_set_curve() 1815 curve_p = BN_CTX_get(ctx); in ossl_ec_GFp_nistp521_group_set_curve() 1816 curve_a = BN_CTX_get(ctx); in ossl_ec_GFp_nistp521_group_set_curve() 1817 curve_b = BN_CTX_get(ctx); in ossl_ec_GFp_nistp521_group_set_curve() 1828 ret = ossl_ec_GFp_simple_group_set_curve(group, p, a, b, ctx); in ossl_ec_GFp_nistp521_group_set_curve() 1830 BN_CTX_end(ctx); in ossl_ec_GFp_nistp521_group_set_curve() 1799 ossl_ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_nistp521_group_set_curve() argument 1841 ossl_ec_GFp_nistp521_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_nistp521_point_get_affine_coordinates() argument 1916 ossl_ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ossl_ec_GFp_nistp521_points_mul() argument 2118 ossl_ec_GFp_nistp521_precompute_mult(EC_GROUP *group, BN_CTX *ctx) ossl_ec_GFp_nistp521_precompute_mult() argument [all...] |
H A D | ecp_nistp224.c | 1297 BN_CTX *ctx) in ossl_ec_GFp_nistp224_group_set_curve() 1304 if (ctx == NULL) in ossl_ec_GFp_nistp224_group_set_curve() 1305 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp224_group_set_curve() 1307 if (ctx == NULL) in ossl_ec_GFp_nistp224_group_set_curve() 1310 BN_CTX_start(ctx); in ossl_ec_GFp_nistp224_group_set_curve() 1311 curve_p = BN_CTX_get(ctx); in ossl_ec_GFp_nistp224_group_set_curve() 1312 curve_a = BN_CTX_get(ctx); in ossl_ec_GFp_nistp224_group_set_curve() 1313 curve_b = BN_CTX_get(ctx); in ossl_ec_GFp_nistp224_group_set_curve() 1324 ret = ossl_ec_GFp_simple_group_set_curve(group, p, a, b, ctx); in ossl_ec_GFp_nistp224_group_set_curve() 1326 BN_CTX_end(ctx); in ossl_ec_GFp_nistp224_group_set_curve() 1295 ossl_ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_nistp224_group_set_curve() argument 1337 ossl_ec_GFp_nistp224_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_nistp224_point_get_affine_coordinates() argument 1411 ossl_ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ossl_ec_GFp_nistp224_points_mul() argument 1609 ossl_ec_GFp_nistp224_precompute_mult(EC_GROUP *group, BN_CTX *ctx) ossl_ec_GFp_nistp224_precompute_mult() argument [all...] |
/third_party/openssl/crypto/ec/ |
H A D | ecp_nistp256.c | 1908 BN_CTX *ctx) in ossl_ec_GFp_nistp256_group_set_curve() 1915 if (ctx == NULL) in ossl_ec_GFp_nistp256_group_set_curve() 1916 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp256_group_set_curve() 1918 if (ctx == NULL) in ossl_ec_GFp_nistp256_group_set_curve() 1921 BN_CTX_start(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1922 curve_p = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1923 curve_a = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1924 curve_b = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1935 ret = ossl_ec_GFp_simple_group_set_curve(group, p, a, b, ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1937 BN_CTX_end(ctx); in ossl_ec_GFp_nistp256_group_set_curve() 1906 ossl_ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_nistp256_group_set_curve() argument 1948 ossl_ec_GFp_nistp256_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_nistp256_point_get_affine_coordinates() argument 2023 ossl_ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ossl_ec_GFp_nistp256_points_mul() argument 2228 ossl_ec_GFp_nistp256_precompute_mult(EC_GROUP *group, BN_CTX *ctx) ossl_ec_GFp_nistp256_precompute_mult() argument [all...] |