Home
last modified time | relevance | path

Searched refs:ctx (Results 501 - 525 of 12939) sorted by relevance

1...<<21222324252627282930>>...518

/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_dentryfile_cloud.c13 struct hmdfs_dcache_lookup_ctx_cloud *ctx, struct hmdfs_sb_info *sbi, in hmdfs_init_dcache_lookup_ctx_cloud()
16 ctx->sbi = sbi; in hmdfs_init_dcache_lookup_ctx_cloud()
17 ctx->name = qstr; in hmdfs_init_dcache_lookup_ctx_cloud()
18 ctx->filp = filp; in hmdfs_init_dcache_lookup_ctx_cloud()
19 ctx->bidx = 0; in hmdfs_init_dcache_lookup_ctx_cloud()
20 ctx->page = NULL; in hmdfs_init_dcache_lookup_ctx_cloud()
21 ctx->insense_de = NULL; in hmdfs_init_dcache_lookup_ctx_cloud()
22 ctx->insense_bidx = 0; in hmdfs_init_dcache_lookup_ctx_cloud()
23 ctx->insense_page = NULL; in hmdfs_init_dcache_lookup_ctx_cloud()
99 struct hmdfs_dcache_lookup_ctx_cloud *ctx) in hmdfs_in_level()
12 hmdfs_init_dcache_lookup_ctx_cloud( struct hmdfs_dcache_lookup_ctx_cloud *ctx, struct hmdfs_sb_info *sbi, const struct qstr *qstr, struct file *filp) hmdfs_init_dcache_lookup_ctx_cloud() argument
98 hmdfs_in_level(struct dentry *child_dentry, unsigned int level, struct hmdfs_dcache_lookup_ctx_cloud *ctx) hmdfs_in_level() argument
139 hmdfs_find_dentry_cloud(struct dentry *child_dentry, struct hmdfs_dcache_lookup_ctx_cloud *ctx) hmdfs_find_dentry_cloud() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxnv40.h25 cp_out(struct nvkm_grctx *ctx, u32 inst) in cp_out() argument
27 u32 *ctxprog = ctx->ucode; in cp_out()
29 if (ctx->mode != NVKM_GRCTX_PROG) in cp_out()
32 BUG_ON(ctx->ctxprog_len == ctx->ctxprog_max); in cp_out()
33 ctxprog[ctx->ctxprog_len++] = inst; in cp_out()
37 cp_lsr(struct nvkm_grctx *ctx, u32 val) in cp_lsr() argument
39 cp_out(ctx, CP_LOAD_SR | val); in cp_lsr()
43 cp_ctx(struct nvkm_grctx *ctx, u32 reg, u32 length) in cp_ctx() argument
45 ctx in cp_ctx()
59 cp_name(struct nvkm_grctx *ctx, int name) cp_name() argument
79 _cp_bra(struct nvkm_grctx *ctx, u32 mod, int flag, int state, int name) _cp_bra() argument
97 _cp_wait(struct nvkm_grctx *ctx, int flag, int state) _cp_wait() argument
104 _cp_set(struct nvkm_grctx *ctx, int flag, int state) _cp_set() argument
111 cp_pos(struct nvkm_grctx *ctx, int offset) cp_pos() argument
121 gr_def(struct nvkm_grctx *ctx, u32 reg, u32 val) gr_def() argument
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dcondrender.c44 BeginConditionalRender(struct gl_context *ctx, struct gl_query_object *q, in BeginConditionalRender() argument
47 struct st_context *st = st_context(ctx); in BeginConditionalRender()
92 EndConditionalRender(struct gl_context *ctx, struct gl_query_object *q) in EndConditionalRender() argument
94 struct st_context *st = st_context(ctx); in EndConditionalRender()
103 begin_conditional_render(struct gl_context *ctx, GLuint queryId, GLenum mode, in begin_conditional_render() argument
108 assert(ctx->Query.CondRenderMode == GL_NONE); in begin_conditional_render()
111 q = _mesa_lookup_query_object(ctx, queryId); in begin_conditional_render()
120 _mesa_error(ctx, GL_INVALID_VALUE, in begin_conditional_render()
136 if (ctx->Extensions.ARB_conditional_render_inverted) in begin_conditional_render()
140 _mesa_error(ctx, GL_INVALID_ENU in begin_conditional_render()
198 end_conditional_render(struct gl_context *ctx) end_conditional_render() argument
244 _mesa_check_conditional_render(struct gl_context *ctx) _mesa_check_conditional_render() argument
[all...]
H A Dexternalobjects.c51 memoryobj_alloc(struct gl_context *ctx, GLuint name) in memoryobj_alloc() argument
63 import_memoryobj_fd(struct gl_context *ctx, in import_memoryobj_fd() argument
69 struct pipe_screen *screen = ctx->pipe->screen; in import_memoryobj_fd()
88 import_memoryobj_win32(struct gl_context *ctx, in import_memoryobj_win32() argument
94 struct pipe_screen *screen = ctx->pipe->screen; in import_memoryobj_win32()
118 _mesa_delete_memory_object(struct gl_context *ctx, in _mesa_delete_memory_object() argument
121 struct pipe_screen *screen = ctx->pipe->screen; in _mesa_delete_memory_object()
130 GET_CURRENT_CONTEXT(ctx); in _mesa_DeleteMemoryObjectsEXT()
133 _mesa_debug(ctx, "glDeleteMemoryObjectsEXT(%d, %p)\n", n, in _mesa_DeleteMemoryObjectsEXT()
137 if (!ctx in _mesa_DeleteMemoryObjectsEXT()
306 lookup_memory_object_err(struct gl_context *ctx, unsigned memory, const char* func) lookup_memory_object_err() argument
620 semaphoreobj_alloc(struct gl_context *ctx, GLuint name) semaphoreobj_alloc() argument
631 import_semaphoreobj_fd(struct gl_context *ctx, struct gl_semaphore_object *semObj, int fd) import_semaphoreobj_fd() argument
646 import_semaphoreobj_win32(struct gl_context *ctx, struct gl_semaphore_object *semObj, void *handle, const void *name, enum pipe_fd_type type) import_semaphoreobj_win32() argument
659 server_wait_semaphore(struct gl_context *ctx, struct gl_semaphore_object *semObj, GLuint numBufferBarriers, struct gl_buffer_object **bufObjs, GLuint numTextureBarriers, struct gl_texture_object **texObjs, const GLenum *srcLayouts) server_wait_semaphore() argument
707 server_signal_semaphore(struct gl_context *ctx, struct gl_semaphore_object *semObj, GLuint numBufferBarriers, struct gl_buffer_object **bufObjs, GLuint numTextureBarriers, struct gl_texture_object **texObjs, const GLenum *dstLayouts) server_signal_semaphore() argument
754 _mesa_delete_semaphore_object(struct gl_context *ctx, struct gl_semaphore_object *semObj) _mesa_delete_semaphore_object() argument
[all...]
H A Dtexobj.c74 valid_filter_for_float(const struct gl_context *ctx, in valid_filter_for_float() argument
79 if (obj->_IsHalfFloat && !ctx->Extensions.OES_texture_half_float_linear) { in valid_filter_for_float()
81 } else if (obj->_IsFloat && !ctx->Extensions.OES_texture_float_linear) { in valid_filter_for_float()
97 if (obj->_IsHalfFloat && !ctx->Extensions.OES_texture_half_float_linear) { in valid_filter_for_float()
99 } else if (obj->_IsFloat && !ctx->Extensions.OES_texture_float_linear) { in valid_filter_for_float()
117 _mesa_lookup_texture(struct gl_context *ctx, GLuint id) in _mesa_lookup_texture() argument
120 _mesa_HashLookup(ctx->Shared->TexObjects, id); in _mesa_lookup_texture()
128 _mesa_lookup_texture_err(struct gl_context *ctx, GLuint id, const char* func) in _mesa_lookup_texture_err() argument
133 texObj = _mesa_lookup_texture(ctx, id); /* Returns NULL if not found. */ in _mesa_lookup_texture_err()
136 _mesa_error(ctx, GL_INVALID_OPERATIO in _mesa_lookup_texture_err()
143 _mesa_lookup_texture_locked(struct gl_context *ctx, GLuint id) _mesa_lookup_texture_locked() argument
155 _mesa_get_current_tex_object(struct gl_context *ctx, GLenum target) _mesa_get_current_tex_object() argument
236 _mesa_get_texobj_by_target_and_texunit(struct gl_context *ctx, GLenum target, GLuint texunit, bool allowProxyTarget, const char* caller) _mesa_get_texobj_by_target_and_texunit() argument
273 _mesa_initialize_texture_object( struct gl_context *ctx, struct gl_texture_object *obj, GLuint name, GLenum target ) _mesa_initialize_texture_object() argument
397 _mesa_new_texture_object(struct gl_context *ctx, GLuint name, GLenum target) _mesa_new_texture_object() argument
417 finish_texture_init(struct gl_context *ctx, GLenum target, struct gl_texture_object *obj, int targetIndex) finish_texture_init() argument
464 _mesa_delete_texture_object(struct gl_context *ctx, struct gl_texture_object *texObj) _mesa_delete_texture_object() argument
509 _mesa_clear_texture_object(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_texture_image *retainTexImage) _mesa_clear_texture_object() argument
658 _mesa_test_texobj_completeness( const struct gl_context *ctx, struct gl_texture_object *t ) _mesa_test_texobj_completeness() argument
916 _mesa_dirty_texobj(struct gl_context *ctx, struct gl_texture_object *texObj) _mesa_dirty_texobj() argument
932 _mesa_get_fallback_texture(struct gl_context *ctx, gl_texture_index tex) _mesa_get_fallback_texture() argument
1100 _mesa_total_texture_memory(struct gl_context *ctx) _mesa_total_texture_memory() argument
1130 invalidate_tex_image_error_check(struct gl_context *ctx, GLuint texture, GLint level, const char *name) invalidate_tex_image_error_check() argument
1191 create_textures(struct gl_context *ctx, GLenum target, GLsizei n, GLuint *textures, const char *caller) create_textures() argument
1225 create_textures_err(struct gl_context *ctx, GLenum target, GLsizei n, GLuint *textures, const char *caller) create_textures_err() argument
1320 unbind_texobj_from_fbo(struct gl_context *ctx, struct gl_texture_object *texObj) unbind_texobj_from_fbo() argument
1360 unbind_texobj_from_texunits(struct gl_context *ctx, struct gl_texture_object *texObj) unbind_texobj_from_texunits() argument
1391 unbind_texobj_from_image_units(struct gl_context *ctx, struct gl_texture_object *texObj) unbind_texobj_from_image_units() argument
1411 unbind_textures_from_unit(struct gl_context *ctx, GLuint unit) unbind_textures_from_unit() argument
1443 delete_textures(struct gl_context *ctx, GLsizei n, const GLuint *textures) delete_textures() argument
1533 _mesa_tex_target_to_index(const struct gl_context *ctx, GLenum target) _mesa_tex_target_to_index() argument
1588 bind_texture_object(struct gl_context *ctx, unsigned unit, struct gl_texture_object *texObj) bind_texture_object() argument
1645 _mesa_lookup_or_create_texture(struct gl_context *ctx, GLenum target, GLuint texName, bool no_error, bool is_ext_dsa, const char *caller) _mesa_lookup_or_create_texture() argument
1733 bind_texture(struct gl_context *ctx, GLenum target, GLuint texName, GLenum texunit, bool no_error, const char *caller) bind_texture() argument
1803 bind_texture_unit(struct gl_context *ctx, GLuint unit, GLuint texture, bool no_error) bind_texture_unit() argument
1872 bind_textures(struct gl_context *ctx, GLuint first, GLsizei count, const GLuint *textures, bool no_error) bind_textures() argument
2312 texture_page_commitment(struct gl_context *ctx, GLenum target, struct gl_texture_object *tex_obj, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit, const char *func) texture_page_commitment() argument
[all...]
H A Ddepth.c47 GET_CURRENT_CONTEXT(ctx); in _mesa_ClearDepth()
50 _mesa_debug(ctx, "glClearDepth(%f)\n", depth); in _mesa_ClearDepth()
52 ctx->PopAttribState |= GL_DEPTH_BUFFER_BIT; in _mesa_ClearDepth()
53 ctx->Depth.Clear = CLAMP( depth, 0.0, 1.0 ); in _mesa_ClearDepth()
65 depth_func(struct gl_context *ctx, GLenum func, bool no_error) in depth_func() argument
67 if (ctx->Depth.Func == func) in depth_func()
82 _mesa_error(ctx, GL_INVALID_ENUM, "glDepth.Func"); in depth_func()
87 FLUSH_VERTICES(ctx, 0, GL_DEPTH_BUFFER_BIT); in depth_func()
88 ctx->NewDriverState |= ST_NEW_DSA; in depth_func()
89 ctx in depth_func()
176 _mesa_init_depth(struct gl_context *ctx) _mesa_init_depth() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_log.c49 u_log_context_init(struct u_log_context *ctx) in u_log_context_init() argument
51 memset(ctx, 0, sizeof(*ctx)); in u_log_context_init()
61 u_log_context_destroy(struct u_log_context *ctx) in u_log_context_destroy() argument
63 u_log_page_destroy(ctx->cur); in u_log_context_destroy()
64 FREE(ctx->auto_loggers); in u_log_context_destroy()
65 memset(ctx, 0, sizeof(*ctx)); in u_log_context_destroy()
74 u_log_add_auto_logger(struct u_log_context *ctx, u_auto_log_fn *callback, in u_log_add_auto_logger() argument
78 REALLOC(ctx in u_log_add_auto_logger()
96 u_log_flush(struct u_log_context *ctx) u_log_flush() argument
127 u_log_printf(struct u_log_context *ctx, const char *fmt, ...) u_log_printf() argument
149 u_log_chunk(struct u_log_context *ctx, const struct u_log_chunk_type *type, void *data) u_log_chunk() argument
188 u_log_new_page_print(struct u_log_context *ctx, FILE *stream) u_log_new_page_print() argument
205 u_log_new_page(struct u_log_context *ctx) u_log_new_page() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dkdf_lib.c25 EVP_KDF_CTX *ctx = NULL; in EVP_KDF_CTX_new() local
30 ctx = OPENSSL_zalloc(sizeof(EVP_KDF_CTX)); in EVP_KDF_CTX_new()
31 if (ctx == NULL in EVP_KDF_CTX_new()
32 || (ctx->algctx = kdf->newctx(ossl_provider_ctx(kdf->prov))) == NULL in EVP_KDF_CTX_new()
35 if (ctx != NULL) in EVP_KDF_CTX_new()
36 kdf->freectx(ctx->algctx); in EVP_KDF_CTX_new()
37 OPENSSL_free(ctx); in EVP_KDF_CTX_new()
38 ctx = NULL; in EVP_KDF_CTX_new()
40 ctx->meth = kdf; in EVP_KDF_CTX_new()
42 return ctx; in EVP_KDF_CTX_new()
45 EVP_KDF_CTX_free(EVP_KDF_CTX *ctx) EVP_KDF_CTX_free() argument
108 EVP_KDF_CTX_kdf(EVP_KDF_CTX *ctx) EVP_KDF_CTX_kdf() argument
113 EVP_KDF_CTX_reset(EVP_KDF_CTX *ctx) EVP_KDF_CTX_reset() argument
122 EVP_KDF_CTX_get_kdf_size(EVP_KDF_CTX *ctx) EVP_KDF_CTX_get_kdf_size() argument
140 EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen, const OSSL_PARAM params[]) EVP_KDF_derive() argument
162 EVP_KDF_CTX_get_params(EVP_KDF_CTX *ctx, OSSL_PARAM params[]) EVP_KDF_CTX_get_params() argument
169 EVP_KDF_CTX_set_params(EVP_KDF_CTX *ctx, const OSSL_PARAM params[]) EVP_KDF_CTX_set_params() argument
[all...]
/third_party/openssl/crypto/evp/
H A Dkdf_lib.c25 EVP_KDF_CTX *ctx = NULL; in EVP_KDF_CTX_new() local
30 ctx = OPENSSL_zalloc(sizeof(EVP_KDF_CTX)); in EVP_KDF_CTX_new()
31 if (ctx == NULL in EVP_KDF_CTX_new()
32 || (ctx->algctx = kdf->newctx(ossl_provider_ctx(kdf->prov))) == NULL in EVP_KDF_CTX_new()
35 if (ctx != NULL) in EVP_KDF_CTX_new()
36 kdf->freectx(ctx->algctx); in EVP_KDF_CTX_new()
37 OPENSSL_free(ctx); in EVP_KDF_CTX_new()
38 ctx = NULL; in EVP_KDF_CTX_new()
40 ctx->meth = kdf; in EVP_KDF_CTX_new()
42 return ctx; in EVP_KDF_CTX_new()
45 EVP_KDF_CTX_free(EVP_KDF_CTX *ctx) EVP_KDF_CTX_free() argument
108 EVP_KDF_CTX_kdf(EVP_KDF_CTX *ctx) EVP_KDF_CTX_kdf() argument
113 EVP_KDF_CTX_reset(EVP_KDF_CTX *ctx) EVP_KDF_CTX_reset() argument
122 EVP_KDF_CTX_get_kdf_size(EVP_KDF_CTX *ctx) EVP_KDF_CTX_get_kdf_size() argument
140 EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen, const OSSL_PARAM params[]) EVP_KDF_derive() argument
162 EVP_KDF_CTX_get_params(EVP_KDF_CTX *ctx, OSSL_PARAM params[]) EVP_KDF_CTX_get_params() argument
169 EVP_KDF_CTX_set_params(EVP_KDF_CTX *ctx, const OSSL_PARAM params[]) EVP_KDF_CTX_set_params() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dqat_asym_algs.c131 } ctx; member
144 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb()
152 dma_free_coherent(dev, req->ctx.dh->p_size, in qat_dh_cb()
156 req->ctx.dh->p_size, DMA_TO_DEVICE); in qat_dh_cb()
159 areq->dst_len = req->ctx.dh->p_size; in qat_dh_cb()
164 dma_free_coherent(dev, req->ctx.dh->p_size, req->dst_align, in qat_dh_cb()
167 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb()
215 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_compute_value() local
216 struct qat_crypto_instance *inst = ctx->inst; in qat_dh_compute_value()
224 if (unlikely(!ctx in qat_dh_compute_value()
396 qat_dh_set_params(struct qat_dh_ctx *ctx, struct dh *params) qat_dh_set_params() argument
425 qat_dh_clear_ctx(struct device *dev, struct qat_dh_ctx *ctx) qat_dh_clear_ctx() argument
446 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); qat_dh_set_secret() local
479 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); qat_dh_max_size() local
486 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); qat_dh_init_tfm() local
501 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); qat_dh_exit_tfm() local
644 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); qat_rsa_enc() local
778 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); qat_rsa_dec() local
927 qat_rsa_set_n(struct qat_rsa_ctx *ctx, const char *value, size_t vlen) qat_rsa_set_n() argument
959 qat_rsa_set_e(struct qat_rsa_ctx *ctx, const char *value, size_t vlen) qat_rsa_set_e() argument
984 qat_rsa_set_d(struct qat_rsa_ctx *ctx, const char *value, size_t vlen) qat_rsa_set_d() argument
1021 qat_rsa_setkey_crt(struct qat_rsa_ctx *ctx, struct rsa_key *rsa_key) qat_rsa_setkey_crt() argument
1110 qat_rsa_clear_ctx(struct device *dev, struct qat_rsa_ctx *ctx) qat_rsa_clear_ctx() argument
1159 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); qat_rsa_setkey() local
1217 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); qat_rsa_max_size() local
1224 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); qat_rsa_init_tfm() local
1238 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); qat_rsa_exit_tfm() local
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c148 static struct vicodec_q_data *get_q_data(struct vicodec_ctx *ctx, in get_q_data() argument
154 return &ctx->q_data[V4L2_M2M_SRC]; in get_q_data()
157 return &ctx->q_data[V4L2_M2M_DST]; in get_q_data()
241 static void update_state_from_header(struct vicodec_ctx *ctx) in update_state_from_header() argument
243 const struct fwht_cframe_hdr *p_hdr = &ctx->state.header; in update_state_from_header()
245 ctx->state.visible_width = ntohl(p_hdr->width); in update_state_from_header()
246 ctx->state.visible_height = ntohl(p_hdr->height); in update_state_from_header()
247 ctx->state.colorspace = ntohl(p_hdr->colorspace); in update_state_from_header()
248 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_state_from_header()
249 ctx in update_state_from_header()
253 device_process(struct vicodec_ctx *ctx, struct vb2_v4l2_buffer *src_vb, struct vb2_v4l2_buffer *dst_vb) device_process() argument
345 get_next_header(struct vicodec_ctx *ctx, u8 **pp, u32 sz) get_next_header() argument
406 struct vicodec_ctx *ctx = priv; device_run() local
465 job_remove_src_buf(struct vicodec_ctx *ctx, u32 state) job_remove_src_buf() argument
518 update_capture_data_from_header(struct vicodec_ctx *ctx) update_capture_data_from_header() argument
550 set_last_buffer(struct vb2_v4l2_buffer *dst_buf, const struct vb2_v4l2_buffer *src_buf, struct vicodec_ctx *ctx) set_last_buffer() argument
570 struct vicodec_ctx *ctx = priv; job_ready() local
709 enum_fmt(struct v4l2_fmtdesc *f, struct vicodec_ctx *ctx, bool is_out) enum_fmt() argument
750 struct vicodec_ctx *ctx = file2ctx(file); vidioc_enum_fmt_vid_cap() local
758 struct vicodec_ctx *ctx = file2ctx(file); vidioc_enum_fmt_vid_out() local
763 vidioc_g_fmt(struct vicodec_ctx *ctx, struct v4l2_format *f) vidioc_g_fmt() argument
836 vidioc_try_fmt(struct vicodec_ctx *ctx, struct v4l2_format *f) vidioc_try_fmt() argument
902 struct vicodec_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_cap() local
939 struct vicodec_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_out() local
977 vidioc_s_fmt(struct vicodec_ctx *ctx, struct v4l2_format *f) vidioc_s_fmt() argument
1067 struct vicodec_ctx *ctx = file2ctx(file); vidioc_s_fmt_vid_out() local
1144 struct vicodec_ctx *ctx = file2ctx(file); vidioc_g_selection() local
1193 struct vicodec_ctx *ctx = file2ctx(file); vidioc_s_selection() local
1220 struct vicodec_ctx *ctx = file2ctx(file); vicodec_encoder_cmd() local
1249 struct vicodec_ctx *ctx = file2ctx(file); vicodec_decoder_cmd() local
1307 struct vicodec_ctx *ctx = container_of(fh, struct vicodec_ctx, fh); vicodec_subscribe_event() local
1377 struct vicodec_ctx *ctx = vb2_get_drv_priv(vq); vicodec_queue_setup() local
1401 struct vicodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vicodec_buf_prepare() local
1431 struct vicodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vicodec_buf_queue() local
1520 struct vicodec_ctx *ctx = vb2_get_drv_priv(q); vicodec_return_bufs() local
1560 struct vicodec_ctx *ctx = vb2_get_drv_priv(q); vicodec_start_streaming() local
1647 struct vicodec_ctx *ctx = vb2_get_drv_priv(q); vicodec_stop_streaming() local
1681 struct vicodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vicodec_buf_request_complete() local
1702 struct vicodec_ctx *ctx = priv; queue_init() local
1742 struct vicodec_ctx *ctx = container_of(ctrl->handler, vicodec_try_ctrl() local
1769 update_header_from_stateless_params(struct vicodec_ctx *ctx, const struct v4l2_ctrl_fwht_params *params) update_header_from_stateless_params() argument
1788 struct vicodec_ctx *ctx = container_of(ctrl->handler, vicodec_s_ctrl() local
1830 struct vicodec_ctx *ctx = NULL; vicodec_open() local
1939 struct vicodec_ctx *ctx = file2ctx(file); vicodec_release() local
1957 struct vicodec_ctx *ctx = NULL; vicodec_request_validate() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c148 static struct vicodec_q_data *get_q_data(struct vicodec_ctx *ctx, in get_q_data() argument
154 return &ctx->q_data[V4L2_M2M_SRC]; in get_q_data()
157 return &ctx->q_data[V4L2_M2M_DST]; in get_q_data()
241 static void update_state_from_header(struct vicodec_ctx *ctx) in update_state_from_header() argument
243 const struct fwht_cframe_hdr *p_hdr = &ctx->state.header; in update_state_from_header()
245 ctx->state.visible_width = ntohl(p_hdr->width); in update_state_from_header()
246 ctx->state.visible_height = ntohl(p_hdr->height); in update_state_from_header()
247 ctx->state.colorspace = ntohl(p_hdr->colorspace); in update_state_from_header()
248 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_state_from_header()
249 ctx in update_state_from_header()
253 device_process(struct vicodec_ctx *ctx, struct vb2_v4l2_buffer *src_vb, struct vb2_v4l2_buffer *dst_vb) device_process() argument
341 get_next_header(struct vicodec_ctx *ctx, u8 **pp, u32 sz) get_next_header() argument
402 struct vicodec_ctx *ctx = priv; device_run() local
461 job_remove_src_buf(struct vicodec_ctx *ctx, u32 state) job_remove_src_buf() argument
514 update_capture_data_from_header(struct vicodec_ctx *ctx) update_capture_data_from_header() argument
546 set_last_buffer(struct vb2_v4l2_buffer *dst_buf, const struct vb2_v4l2_buffer *src_buf, struct vicodec_ctx *ctx) set_last_buffer() argument
566 struct vicodec_ctx *ctx = priv; job_ready() local
705 enum_fmt(struct v4l2_fmtdesc *f, struct vicodec_ctx *ctx, bool is_out) enum_fmt() argument
746 struct vicodec_ctx *ctx = file2ctx(file); vidioc_enum_fmt_vid_cap() local
754 struct vicodec_ctx *ctx = file2ctx(file); vidioc_enum_fmt_vid_out() local
759 vidioc_g_fmt(struct vicodec_ctx *ctx, struct v4l2_format *f) vidioc_g_fmt() argument
829 vidioc_try_fmt(struct vicodec_ctx *ctx, struct v4l2_format *f) vidioc_try_fmt() argument
893 struct vicodec_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_cap() local
930 struct vicodec_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_out() local
968 vidioc_s_fmt(struct vicodec_ctx *ctx, struct v4l2_format *f) vidioc_s_fmt() argument
1058 struct vicodec_ctx *ctx = file2ctx(file); vidioc_s_fmt_vid_out() local
1135 struct vicodec_ctx *ctx = file2ctx(file); vidioc_g_selection() local
1184 struct vicodec_ctx *ctx = file2ctx(file); vidioc_s_selection() local
1211 struct vicodec_ctx *ctx = file2ctx(file); vicodec_encoder_cmd() local
1240 struct vicodec_ctx *ctx = file2ctx(file); vicodec_decoder_cmd() local
1298 struct vicodec_ctx *ctx = container_of(fh, struct vicodec_ctx, fh); vicodec_subscribe_event() local
1368 struct vicodec_ctx *ctx = vb2_get_drv_priv(vq); vicodec_queue_setup() local
1392 struct vicodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vicodec_buf_prepare() local
1422 struct vicodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vicodec_buf_queue() local
1511 struct vicodec_ctx *ctx = vb2_get_drv_priv(q); vicodec_return_bufs() local
1551 struct vicodec_ctx *ctx = vb2_get_drv_priv(q); vicodec_start_streaming() local
1638 struct vicodec_ctx *ctx = vb2_get_drv_priv(q); vicodec_stop_streaming() local
1672 struct vicodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vicodec_buf_request_complete() local
1693 struct vicodec_ctx *ctx = priv; queue_init() local
1733 struct vicodec_ctx *ctx = container_of(ctrl->handler, vicodec_try_ctrl() local
1760 update_header_from_stateless_params(struct vicodec_ctx *ctx, const struct v4l2_ctrl_fwht_params *params) update_header_from_stateless_params() argument
1779 struct vicodec_ctx *ctx = container_of(ctrl->handler, vicodec_s_ctrl() local
1821 struct vicodec_ctx *ctx = NULL; vicodec_open() local
1930 struct vicodec_ctx *ctx = file2ctx(file); vicodec_release() local
1948 struct vicodec_ctx *ctx = NULL; vicodec_request_validate() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk_test.c25 struct clk_dummy_context *ctx = in clk_dummy_recalc_rate() local
28 return ctx->rate; in clk_dummy_recalc_rate()
68 struct clk_dummy_context *ctx = in clk_dummy_set_rate() local
71 ctx->rate = rate; in clk_dummy_set_rate()
136 struct clk_multiple_parent_ctx *ctx = in clk_multiple_parents_mux_set_parent() local
142 ctx->current_parent = index; in clk_multiple_parents_mux_set_parent()
149 struct clk_multiple_parent_ctx *ctx = in clk_multiple_parents_mux_get_parent() local
152 return ctx->current_parent; in clk_multiple_parents_mux_get_parent()
169 struct clk_dummy_context *ctx; in clk_test_init_with_ops() local
173 ctx in clk_test_init_with_ops()
207 struct clk_dummy_context *ctx = test->priv; clk_test_exit() local
217 struct clk_dummy_context *ctx = test->priv; clk_test_get_rate() local
238 struct clk_dummy_context *ctx = test->priv; clk_test_set_get_rate() local
263 struct clk_dummy_context *ctx = test->priv; clk_test_set_set_get_rate() local
289 struct clk_dummy_context *ctx = test->priv; clk_test_round_set_get_rate() local
332 struct clk_dummy_context *ctx; clk_uncached_test_init() local
359 struct clk_dummy_context *ctx = test->priv; clk_test_uncached_get_rate() local
383 struct clk_dummy_context *ctx = test->priv; clk_test_uncached_set_range() local
412 struct clk_dummy_context *ctx = test->priv; clk_test_uncached_updated_rate_set_range() local
454 struct clk_multiple_parent_ctx *ctx; clk_multiple_parents_mux_test_init() local
493 struct clk_multiple_parent_ctx *ctx = test->priv; clk_multiple_parents_mux_test_exit() local
507 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_multiple_parents_mux_get_parent() local
525 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_multiple_parents_mux_has_parent() local
553 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_multiple_parents_mux_set_range_set_parent_get_rate() local
618 struct clk_multiple_parent_ctx *ctx; clk_orphan_transparent_multiple_parent_mux_test_init() local
648 struct clk_multiple_parent_ctx *ctx = test->priv; clk_orphan_transparent_multiple_parent_mux_test_exit() local
661 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_get_parent() local
678 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_parent() local
706 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_parent_drop_range() local
740 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_parent_get_rate() local
771 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_parent_put() local
805 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_modified() local
838 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_untouched() local
875 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_range_round_rate() local
904 struct clk_multiple_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_multiple_parent_mux_set_range_set_parent_get_rate() local
966 struct clk_single_parent_ctx *ctx; clk_single_parent_mux_test_init() local
998 struct clk_single_parent_ctx *ctx = test->priv; clk_single_parent_mux_test_exit() local
1011 struct clk_single_parent_ctx *ctx = test->priv; clk_test_single_parent_mux_get_parent() local
1029 struct clk_single_parent_ctx *ctx = test->priv; clk_test_single_parent_mux_has_parent() local
1052 struct clk_single_parent_ctx *ctx = test->priv; clk_test_single_parent_mux_set_range_disjoint_child_last() local
1084 struct clk_single_parent_ctx *ctx = test->priv; clk_test_single_parent_mux_set_range_disjoint_parent_last() local
1113 struct clk_single_parent_ctx *ctx = test->priv; clk_test_single_parent_mux_set_range_round_rate_parent_only() local
1143 struct clk_single_parent_ctx *ctx = test->priv; clk_test_single_parent_mux_set_range_round_rate_child_smaller() local
1181 struct clk_single_parent_ctx *ctx = test->priv; clk_test_single_parent_mux_set_range_round_rate_parent_smaller() local
1238 struct clk_single_parent_ctx *ctx; clk_orphan_transparent_single_parent_mux_test_init() local
1281 struct clk_single_parent_ctx *ctx = test->priv; clk_test_orphan_transparent_parent_mux_set_range() local
1331 struct clk_single_parent_two_lvl_ctx *ctx; clk_orphan_two_level_root_last_test_init() local
1371 struct clk_single_parent_two_lvl_ctx *ctx = test->priv; clk_orphan_two_level_root_last_test_exit() local
1385 struct clk_single_parent_two_lvl_ctx *ctx = test->priv; clk_orphan_two_level_root_last_test_get_rate() local
1407 struct clk_single_parent_two_lvl_ctx *ctx = test->priv; clk_orphan_two_level_root_last_test_set_range() local
1459 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range() local
1484 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_invalid() local
1503 struct clk_dummy_context *ctx = test->priv; clk_range_test_multiple_disjoints_range() local
1531 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_round_rate_lower() local
1556 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_set_rate_lower() local
1587 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_set_round_rate_consistent_lower() local
1616 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_round_rate_higher() local
1641 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_set_rate_higher() local
1672 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_set_round_rate_consistent_higher() local
1705 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_get_rate_raised() local
1737 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_get_rate_lowered() local
1797 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_rate_maximized() local
1849 struct clk_dummy_context *ctx = test->priv; clk_range_test_multiple_set_range_rate_maximized() local
1908 struct clk_dummy_context *ctx = test->priv; clk_range_test_multiple_set_range_rate_put_maximized() local
1985 struct clk_dummy_context *ctx = test->priv; clk_range_test_set_range_rate_minimized() local
2037 struct clk_dummy_context *ctx = test->priv; clk_range_test_multiple_set_range_rate_minimized() local
2092 struct clk_dummy_context *ctx = test->priv; clk_range_test_multiple_set_range_rate_put_minimized() local
2163 struct clk_leaf_mux_ctx *ctx; clk_leaf_mux_set_rate_parent_test_init() local
2208 struct clk_leaf_mux_ctx *ctx = test->priv; clk_leaf_mux_set_rate_parent_test_exit() local
2223 struct clk_leaf_mux_ctx *ctx = test->priv; clk_leaf_mux_set_rate_parent_determine_rate() local
2287 struct clk_mux_notifier_ctx *ctx = container_of(nb, clk_mux_notifier_callback() local
2310 struct clk_mux_notifier_ctx *ctx; clk_mux_notifier_test_init() local
2356 struct clk_mux_notifier_ctx *ctx = test->priv; clk_mux_notifier_test_exit() local
2374 struct clk_mux_notifier_ctx *ctx = test->priv; clk_mux_notifier_set_parent_test() local
2424 struct clk_multiple_parent_ctx *ctx; clk_mux_no_reparent_test_init() local
2463 struct clk_multiple_parent_ctx *ctx = test->priv; clk_mux_no_reparent_test_exit() local
2477 struct clk_multiple_parent_ctx *ctx = test->priv; clk_mux_no_reparent_round_rate() local
2513 struct clk_multiple_parent_ctx *ctx = test->priv; clk_mux_no_reparent_set_rate() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e63m0.c141 static int s6e63m0_clear_error(struct s6e63m0 *ctx) in s6e63m0_clear_error() argument
143 int ret = ctx->error; in s6e63m0_clear_error()
145 ctx->error = 0; in s6e63m0_clear_error()
149 static void s6e63m0_dcs_read(struct s6e63m0 *ctx, const u8 cmd, u8 *data) in s6e63m0_dcs_read() argument
151 if (ctx->error < 0) in s6e63m0_dcs_read()
154 ctx->error = ctx->dcs_read(ctx->dev, cmd, data); in s6e63m0_dcs_read()
157 static void s6e63m0_dcs_write(struct s6e63m0 *ctx, const u8 *data, size_t len) in s6e63m0_dcs_write() argument
159 if (ctx in s6e63m0_dcs_write()
171 s6e63m0_check_lcd_type(struct s6e63m0 *ctx) s6e63m0_check_lcd_type() argument
208 s6e63m0_init(struct s6e63m0 *ctx) s6e63m0_init() argument
281 s6e63m0_power_on(struct s6e63m0 *ctx) s6e63m0_power_on() argument
300 s6e63m0_power_off(struct s6e63m0 *ctx) s6e63m0_power_off() argument
316 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_disable() local
335 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_unprepare() local
354 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_prepare() local
387 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_enable() local
440 struct s6e63m0 *ctx = bl_get_data(bd); s6e63m0_set_brightness() local
458 s6e63m0_backlight_register(struct s6e63m0 *ctx) s6e63m0_backlight_register() argument
484 struct s6e63m0 *ctx; s6e63m0_probe() local
530 struct s6e63m0 *ctx = dev_get_drvdata(dev); s6e63m0_remove() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_tonemap_opencl.c118 TonemapOpenCLContext *ctx = avctx->priv; in tonemap_opencl_init() local
129 switch(ctx->tonemap) { in tonemap_opencl_init()
131 if (isnan(ctx->param)) in tonemap_opencl_init()
132 ctx->param = 1.8f; in tonemap_opencl_init()
135 if (!isnan(ctx->param)) in tonemap_opencl_init()
136 ctx->param = (1.0f - ctx->param) / ctx->param; in tonemap_opencl_init()
139 if (isnan(ctx->param)) in tonemap_opencl_init()
140 ctx in tonemap_opencl_init()
306 TonemapOpenCLContext *ctx = avctx->priv; launch_kernel() local
340 TonemapOpenCLContext *ctx = avctx->priv; tonemap_opencl_filter_frame() local
461 TonemapOpenCLContext *ctx = avctx->priv; tonemap_opencl_uninit() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509_lu.c35 void X509_LOOKUP_free(X509_LOOKUP *ctx) in X509_LOOKUP_free() argument
37 if (ctx == NULL) in X509_LOOKUP_free()
39 if ((ctx->method != NULL) && (ctx->method->free != NULL)) in X509_LOOKUP_free()
40 (*ctx->method->free) (ctx); in X509_LOOKUP_free()
41 OPENSSL_free(ctx); in X509_LOOKUP_free()
54 int X509_LOOKUP_init(X509_LOOKUP *ctx) in X509_LOOKUP_init() argument
56 if (ctx->method == NULL) in X509_LOOKUP_init()
58 if (ctx in X509_LOOKUP_init()
64 X509_LOOKUP_shutdown(X509_LOOKUP *ctx) X509_LOOKUP_shutdown() argument
74 X509_LOOKUP_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret, OSSL_LIB_CTX *libctx, const char *propq) X509_LOOKUP_ctrl_ex() argument
86 X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret) X509_LOOKUP_ctrl() argument
92 X509_LOOKUP_by_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const X509_NAME *name, X509_OBJECT *ret, OSSL_LIB_CTX *libctx, const char *propq) X509_LOOKUP_by_subject_ex() argument
108 X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const X509_NAME *name, X509_OBJECT *ret) X509_LOOKUP_by_subject() argument
114 X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const X509_NAME *name, const ASN1_INTEGER *serial, X509_OBJECT *ret) X509_LOOKUP_by_issuer_serial() argument
124 X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const unsigned char *bytes, int len, X509_OBJECT *ret) X509_LOOKUP_by_fingerprint() argument
133 X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const char *str, int len, X509_OBJECT *ret) X509_LOOKUP_by_alias() argument
141 X509_LOOKUP_set_method_data(X509_LOOKUP *ctx, void *data) X509_LOOKUP_set_method_data() argument
147 X509_LOOKUP_get_method_data(const X509_LOOKUP *ctx) X509_LOOKUP_get_method_data() argument
152 X509_LOOKUP_get_store(const X509_LOOKUP *ctx) X509_LOOKUP_get_store() argument
396 X509_STORE_add_cert(X509_STORE *ctx, X509 *x) X509_STORE_add_cert() argument
405 X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x) X509_STORE_add_crl() argument
725 X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) X509_STORE_CTX_get1_issuer() argument
800 X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags) X509_STORE_set_flags() argument
805 X509_STORE_set_depth(X509_STORE *ctx, int depth) X509_STORE_set_depth() argument
811 X509_STORE_set_purpose(X509_STORE *ctx, int purpose) X509_STORE_set_purpose() argument
816 X509_STORE_set_trust(X509_STORE *ctx, int trust) X509_STORE_set_trust() argument
821 X509_STORE_set1_param(X509_STORE *ctx, const X509_VERIFY_PARAM *param) X509_STORE_set1_param() argument
826 X509_STORE_get0_param(const X509_STORE *ctx) X509_STORE_get0_param() argument
831 X509_STORE_set_verify(X509_STORE *ctx, X509_STORE_CTX_verify_fn verify) X509_STORE_set_verify() argument
836 X509_STORE_get_verify(const X509_STORE *ctx) X509_STORE_get_verify() argument
841 X509_STORE_set_verify_cb(X509_STORE *ctx, X509_STORE_CTX_verify_cb verify_cb) X509_STORE_set_verify_cb() argument
847 X509_STORE_get_verify_cb(const X509_STORE *ctx) X509_STORE_get_verify_cb() argument
852 X509_STORE_set_get_issuer(X509_STORE *ctx, X509_STORE_CTX_get_issuer_fn get_issuer) X509_STORE_set_get_issuer() argument
858 X509_STORE_get_get_issuer(const X509_STORE *ctx) X509_STORE_get_get_issuer() argument
863 X509_STORE_set_check_issued(X509_STORE *ctx, X509_STORE_CTX_check_issued_fn check_issued) X509_STORE_set_check_issued() argument
869 X509_STORE_get_check_issued(const X509_STORE *ctx) X509_STORE_get_check_issued() argument
874 X509_STORE_set_check_revocation(X509_STORE *ctx, X509_STORE_CTX_check_revocation_fn check_revocation) X509_STORE_set_check_revocation() argument
880 X509_STORE_get_check_revocation(const X509_STORE *ctx) X509_STORE_get_check_revocation() argument
885 X509_STORE_set_get_crl(X509_STORE *ctx, X509_STORE_CTX_get_crl_fn get_crl) X509_STORE_set_get_crl() argument
891 X509_STORE_get_get_crl(const X509_STORE *ctx) X509_STORE_get_get_crl() argument
896 X509_STORE_set_check_crl(X509_STORE *ctx, X509_STORE_CTX_check_crl_fn check_crl) X509_STORE_set_check_crl() argument
902 X509_STORE_get_check_crl(const X509_STORE *ctx) X509_STORE_get_check_crl() argument
907 X509_STORE_set_cert_crl(X509_STORE *ctx, X509_STORE_CTX_cert_crl_fn cert_crl) X509_STORE_set_cert_crl() argument
913 X509_STORE_get_cert_crl(const X509_STORE *ctx) X509_STORE_get_cert_crl() argument
918 X509_STORE_set_check_policy(X509_STORE *ctx, X509_STORE_CTX_check_policy_fn check_policy) X509_STORE_set_check_policy() argument
924 X509_STORE_get_check_policy(const X509_STORE *ctx) X509_STORE_get_check_policy() argument
929 X509_STORE_set_lookup_certs(X509_STORE *ctx, X509_STORE_CTX_lookup_certs_fn lookup_certs) X509_STORE_set_lookup_certs() argument
935 X509_STORE_get_lookup_certs(const X509_STORE *ctx) X509_STORE_get_lookup_certs() argument
940 X509_STORE_set_lookup_crls(X509_STORE *ctx, X509_STORE_CTX_lookup_crls_fn lookup_crls) X509_STORE_set_lookup_crls() argument
946 X509_STORE_get_lookup_crls(const X509_STORE *ctx) X509_STORE_get_lookup_crls() argument
951 X509_STORE_set_cleanup(X509_STORE *ctx, X509_STORE_CTX_cleanup_fn ctx_cleanup) X509_STORE_set_cleanup() argument
957 X509_STORE_get_cleanup(const X509_STORE *ctx) X509_STORE_get_cleanup() argument
962 X509_STORE_set_ex_data(X509_STORE *ctx, int idx, void *data) X509_STORE_set_ex_data() argument
967 X509_STORE_get_ex_data(const X509_STORE *ctx, int idx) X509_STORE_get_ex_data() argument
972 X509_STORE_CTX_get0_store(const X509_STORE_CTX *ctx) X509_STORE_CTX_get0_store() argument
[all...]
/third_party/openssl/crypto/x509/
H A Dx509_lu.c35 void X509_LOOKUP_free(X509_LOOKUP *ctx) in X509_LOOKUP_free() argument
37 if (ctx == NULL) in X509_LOOKUP_free()
39 if ((ctx->method != NULL) && (ctx->method->free != NULL)) in X509_LOOKUP_free()
40 (*ctx->method->free) (ctx); in X509_LOOKUP_free()
41 OPENSSL_free(ctx); in X509_LOOKUP_free()
54 int X509_LOOKUP_init(X509_LOOKUP *ctx) in X509_LOOKUP_init() argument
56 if (ctx->method == NULL) in X509_LOOKUP_init()
58 if (ctx in X509_LOOKUP_init()
64 X509_LOOKUP_shutdown(X509_LOOKUP *ctx) X509_LOOKUP_shutdown() argument
74 X509_LOOKUP_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret, OSSL_LIB_CTX *libctx, const char *propq) X509_LOOKUP_ctrl_ex() argument
86 X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret) X509_LOOKUP_ctrl() argument
92 X509_LOOKUP_by_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const X509_NAME *name, X509_OBJECT *ret, OSSL_LIB_CTX *libctx, const char *propq) X509_LOOKUP_by_subject_ex() argument
108 X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const X509_NAME *name, X509_OBJECT *ret) X509_LOOKUP_by_subject() argument
114 X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const X509_NAME *name, const ASN1_INTEGER *serial, X509_OBJECT *ret) X509_LOOKUP_by_issuer_serial() argument
124 X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const unsigned char *bytes, int len, X509_OBJECT *ret) X509_LOOKUP_by_fingerprint() argument
133 X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, const char *str, int len, X509_OBJECT *ret) X509_LOOKUP_by_alias() argument
141 X509_LOOKUP_set_method_data(X509_LOOKUP *ctx, void *data) X509_LOOKUP_set_method_data() argument
147 X509_LOOKUP_get_method_data(const X509_LOOKUP *ctx) X509_LOOKUP_get_method_data() argument
152 X509_LOOKUP_get_store(const X509_LOOKUP *ctx) X509_LOOKUP_get_store() argument
396 X509_STORE_add_cert(X509_STORE *ctx, X509 *x) X509_STORE_add_cert() argument
405 X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x) X509_STORE_add_crl() argument
725 X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) X509_STORE_CTX_get1_issuer() argument
800 X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags) X509_STORE_set_flags() argument
805 X509_STORE_set_depth(X509_STORE *ctx, int depth) X509_STORE_set_depth() argument
811 X509_STORE_set_purpose(X509_STORE *ctx, int purpose) X509_STORE_set_purpose() argument
816 X509_STORE_set_trust(X509_STORE *ctx, int trust) X509_STORE_set_trust() argument
821 X509_STORE_set1_param(X509_STORE *ctx, const X509_VERIFY_PARAM *param) X509_STORE_set1_param() argument
826 X509_STORE_get0_param(const X509_STORE *ctx) X509_STORE_get0_param() argument
831 X509_STORE_set_verify(X509_STORE *ctx, X509_STORE_CTX_verify_fn verify) X509_STORE_set_verify() argument
836 X509_STORE_get_verify(const X509_STORE *ctx) X509_STORE_get_verify() argument
841 X509_STORE_set_verify_cb(X509_STORE *ctx, X509_STORE_CTX_verify_cb verify_cb) X509_STORE_set_verify_cb() argument
847 X509_STORE_get_verify_cb(const X509_STORE *ctx) X509_STORE_get_verify_cb() argument
852 X509_STORE_set_get_issuer(X509_STORE *ctx, X509_STORE_CTX_get_issuer_fn get_issuer) X509_STORE_set_get_issuer() argument
858 X509_STORE_get_get_issuer(const X509_STORE *ctx) X509_STORE_get_get_issuer() argument
863 X509_STORE_set_check_issued(X509_STORE *ctx, X509_STORE_CTX_check_issued_fn check_issued) X509_STORE_set_check_issued() argument
869 X509_STORE_get_check_issued(const X509_STORE *ctx) X509_STORE_get_check_issued() argument
874 X509_STORE_set_check_revocation(X509_STORE *ctx, X509_STORE_CTX_check_revocation_fn check_revocation) X509_STORE_set_check_revocation() argument
880 X509_STORE_get_check_revocation(const X509_STORE *ctx) X509_STORE_get_check_revocation() argument
885 X509_STORE_set_get_crl(X509_STORE *ctx, X509_STORE_CTX_get_crl_fn get_crl) X509_STORE_set_get_crl() argument
891 X509_STORE_get_get_crl(const X509_STORE *ctx) X509_STORE_get_get_crl() argument
896 X509_STORE_set_check_crl(X509_STORE *ctx, X509_STORE_CTX_check_crl_fn check_crl) X509_STORE_set_check_crl() argument
902 X509_STORE_get_check_crl(const X509_STORE *ctx) X509_STORE_get_check_crl() argument
907 X509_STORE_set_cert_crl(X509_STORE *ctx, X509_STORE_CTX_cert_crl_fn cert_crl) X509_STORE_set_cert_crl() argument
913 X509_STORE_get_cert_crl(const X509_STORE *ctx) X509_STORE_get_cert_crl() argument
918 X509_STORE_set_check_policy(X509_STORE *ctx, X509_STORE_CTX_check_policy_fn check_policy) X509_STORE_set_check_policy() argument
924 X509_STORE_get_check_policy(const X509_STORE *ctx) X509_STORE_get_check_policy() argument
929 X509_STORE_set_lookup_certs(X509_STORE *ctx, X509_STORE_CTX_lookup_certs_fn lookup_certs) X509_STORE_set_lookup_certs() argument
935 X509_STORE_get_lookup_certs(const X509_STORE *ctx) X509_STORE_get_lookup_certs() argument
940 X509_STORE_set_lookup_crls(X509_STORE *ctx, X509_STORE_CTX_lookup_crls_fn lookup_crls) X509_STORE_set_lookup_crls() argument
946 X509_STORE_get_lookup_crls(const X509_STORE *ctx) X509_STORE_get_lookup_crls() argument
951 X509_STORE_set_cleanup(X509_STORE *ctx, X509_STORE_CTX_cleanup_fn ctx_cleanup) X509_STORE_set_cleanup() argument
957 X509_STORE_get_cleanup(const X509_STORE *ctx) X509_STORE_get_cleanup() argument
962 X509_STORE_set_ex_data(X509_STORE *ctx, int idx, void *data) X509_STORE_set_ex_data() argument
967 X509_STORE_get_ex_data(const X509_STORE *ctx, int idx) X509_STORE_get_ex_data() argument
972 X509_STORE_CTX_get0_store(const X509_STORE_CTX *ctx) X509_STORE_CTX_get0_store() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/
H A Dbdisp-v4l2.c120 static inline void bdisp_ctx_state_lock_set(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_set() argument
124 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set()
125 ctx->state |= state; in bdisp_ctx_state_lock_set()
126 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set()
129 static inline void bdisp_ctx_state_lock_clear(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_clear() argument
133 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear()
134 ctx->state &= ~state; in bdisp_ctx_state_lock_clear()
135 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear()
138 static inline bool bdisp_ctx_state_is_set(u32 mask, struct bdisp_ctx *ctx) in bdisp_ctx_state_is_set() argument
143 spin_lock_irqsave(&ctx in bdisp_ctx_state_is_set()
164 ctx_get_frame(struct bdisp_ctx *ctx, enum v4l2_buf_type type) ctx_get_frame() argument
181 bdisp_job_finish(struct bdisp_ctx *ctx, int vb_state) bdisp_job_finish() argument
208 bdisp_ctx_stop_req(struct bdisp_ctx *ctx) bdisp_ctx_stop_req() argument
236 __bdisp_job_abort(struct bdisp_ctx *ctx) __bdisp_job_abort() argument
253 bdisp_get_addr(struct bdisp_ctx *ctx, struct vb2_buffer *vb, struct bdisp_frame *frame, dma_addr_t *paddr) bdisp_get_addr() argument
281 bdisp_get_bufs(struct bdisp_ctx *ctx) bdisp_get_bufs() argument
307 struct bdisp_ctx *ctx = priv; bdisp_device_run() local
368 __bdisp_s_ctrl(struct bdisp_ctx *ctx, struct v4l2_ctrl *ctrl) __bdisp_s_ctrl() argument
392 struct bdisp_ctx *ctx = container_of(ctrl->handler, struct bdisp_ctx, bdisp_s_ctrl() local
408 bdisp_ctrls_create(struct bdisp_ctx *ctx) bdisp_ctrls_create() argument
432 bdisp_ctrls_delete(struct bdisp_ctx *ctx) bdisp_ctrls_delete() argument
444 struct bdisp_ctx *ctx = vb2_get_drv_priv(vq); bdisp_queue_setup() local
468 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); bdisp_buf_prepare() local
485 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); bdisp_buf_queue() local
500 struct bdisp_ctx *ctx = q->drv_priv; bdisp_start_streaming() local
523 struct bdisp_ctx *ctx = q->drv_priv; bdisp_stop_streaming() local
543 struct bdisp_ctx *ctx = priv; queue_init() local
578 struct bdisp_ctx *ctx = NULL; bdisp_open() local
649 struct bdisp_ctx *ctx = fh_to_ctx(file->private_data); bdisp_release() local
687 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_querycap() local
699 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_enum_fmt() local
719 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_g_fmt() local
743 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_try_fmt() local
793 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_s_fmt() local
847 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_g_selection() local
925 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_s_selection() local
1002 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_streamon() local
1094 struct bdisp_ctx *ctx; bdisp_irq_thread() local
1145 struct bdisp_ctx *ctx; bdisp_irq_timeout() local
1190 struct bdisp_ctx *ctx; bdisp_m2m_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-v4l2.c120 static inline void bdisp_ctx_state_lock_set(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_set() argument
124 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set()
125 ctx->state |= state; in bdisp_ctx_state_lock_set()
126 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set()
129 static inline void bdisp_ctx_state_lock_clear(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_clear() argument
133 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear()
134 ctx->state &= ~state; in bdisp_ctx_state_lock_clear()
135 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear()
138 static inline bool bdisp_ctx_state_is_set(u32 mask, struct bdisp_ctx *ctx) in bdisp_ctx_state_is_set() argument
143 spin_lock_irqsave(&ctx in bdisp_ctx_state_is_set()
164 ctx_get_frame(struct bdisp_ctx *ctx, enum v4l2_buf_type type) ctx_get_frame() argument
181 bdisp_job_finish(struct bdisp_ctx *ctx, int vb_state) bdisp_job_finish() argument
208 bdisp_ctx_stop_req(struct bdisp_ctx *ctx) bdisp_ctx_stop_req() argument
236 __bdisp_job_abort(struct bdisp_ctx *ctx) __bdisp_job_abort() argument
253 bdisp_get_addr(struct bdisp_ctx *ctx, struct vb2_buffer *vb, struct bdisp_frame *frame, dma_addr_t *paddr) bdisp_get_addr() argument
281 bdisp_get_bufs(struct bdisp_ctx *ctx) bdisp_get_bufs() argument
307 struct bdisp_ctx *ctx = priv; bdisp_device_run() local
368 __bdisp_s_ctrl(struct bdisp_ctx *ctx, struct v4l2_ctrl *ctrl) __bdisp_s_ctrl() argument
392 struct bdisp_ctx *ctx = container_of(ctrl->handler, struct bdisp_ctx, bdisp_s_ctrl() local
408 bdisp_ctrls_create(struct bdisp_ctx *ctx) bdisp_ctrls_create() argument
432 bdisp_ctrls_delete(struct bdisp_ctx *ctx) bdisp_ctrls_delete() argument
444 struct bdisp_ctx *ctx = vb2_get_drv_priv(vq); bdisp_queue_setup() local
468 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); bdisp_buf_prepare() local
485 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); bdisp_buf_queue() local
500 struct bdisp_ctx *ctx = q->drv_priv; bdisp_start_streaming() local
523 struct bdisp_ctx *ctx = q->drv_priv; bdisp_stop_streaming() local
543 struct bdisp_ctx *ctx = priv; queue_init() local
578 struct bdisp_ctx *ctx = NULL; bdisp_open() local
649 struct bdisp_ctx *ctx = fh_to_ctx(file->private_data); bdisp_release() local
687 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_querycap() local
699 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_enum_fmt() local
719 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_g_fmt() local
743 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_try_fmt() local
793 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_s_fmt() local
847 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_g_selection() local
925 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_s_selection() local
1002 struct bdisp_ctx *ctx = fh_to_ctx(fh); bdisp_streamon() local
1094 struct bdisp_ctx *ctx; bdisp_irq_thread() local
1145 struct bdisp_ctx *ctx; bdisp_irq_timeout() local
1190 struct bdisp_ctx *ctx; bdisp_m2m_resume() local
[all...]
/third_party/skia/third_party/externals/tint/src/transform/
H A Dvertex_pulling.cc206 : ctx(context), cfg(c) {} in State()
224 CloneContext& ctx; member
240 return ctx.dst->Symbols().New(kVertexBufferNamePrefix + in GetVertexBufferName()
249 struct_buffer_name = ctx.dst->Symbols().New(kStructBufferName); in GetStructBufferName()
258 auto* struct_type = ctx.dst->Structure( in AddVertexStorageBuffers()
259 ctx.dst->Symbols().New(kStructName), in AddVertexStorageBuffers()
261 ctx.dst->Member(GetStructBufferName(), in AddVertexStorageBuffers()
262 ctx.dst->ty.array<ProgramBuilder::u32>(4)), in AddVertexStorageBuffers()
265 ctx.dst->create<ast::StructBlockDecoration>(), in AddVertexStorageBuffers()
269 ctx in AddVertexStorageBuffers()
910 Run(CloneContext& ctx, const DataMap& inputs, DataMap&) Run() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dskl-sst-dsp.c22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked() argument
24 mutex_lock(&ctx->mutex); in skl_dsp_set_state_locked()
25 ctx->sst_state = state; in skl_dsp_set_state_locked()
26 mutex_unlock(&ctx->mutex); in skl_dsp_set_state_locked()
34 void skl_dsp_init_core_state(struct sst_dsp *ctx) in skl_dsp_init_core_state() argument
36 struct skl_dev *skl = ctx->thread_context; in skl_dsp_init_core_state()
49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) in skl_dsp_get_enabled_cores() argument
51 struct skl_dev *skl = ctx->thread_context; in skl_dsp_get_enabled_cores()
57 val = sst_dsp_shim_read_unlocked(ctx, SKL_ADSP_REG_ADSPCS); in skl_dsp_get_enabled_cores()
72 dev_dbg(ctx in skl_dsp_get_enabled_cores()
78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_set_reset_state() argument
105 skl_dsp_core_unset_reset_state( struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_unset_reset_state() argument
135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) is_skl_dsp_core_enable() argument
153 skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_reset_core() argument
164 skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_start_core() argument
188 skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_power_up() argument
216 skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_power_down() argument
231 skl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_enable_core() argument
246 skl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_disable_core() argument
274 skl_dsp_boot(struct sst_dsp *ctx) skl_dsp_boot() argument
304 struct sst_dsp *ctx = dev_id; skl_dsp_sst_interrupt() local
336 skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id) skl_dsp_get_core() argument
365 skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id) skl_dsp_put_core() argument
393 skl_dsp_wake(struct sst_dsp *ctx) skl_dsp_wake() argument
399 skl_dsp_sleep(struct sst_dsp *ctx) skl_dsp_sleep() argument
458 is_skl_dsp_running(struct sst_dsp *ctx) is_skl_dsp_running() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-sst-dsp.c22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked() argument
24 mutex_lock(&ctx->mutex); in skl_dsp_set_state_locked()
25 ctx->sst_state = state; in skl_dsp_set_state_locked()
26 mutex_unlock(&ctx->mutex); in skl_dsp_set_state_locked()
34 void skl_dsp_init_core_state(struct sst_dsp *ctx) in skl_dsp_init_core_state() argument
36 struct skl_dev *skl = ctx->thread_context; in skl_dsp_init_core_state()
49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) in skl_dsp_get_enabled_cores() argument
51 struct skl_dev *skl = ctx->thread_context; in skl_dsp_get_enabled_cores()
57 val = sst_dsp_shim_read_unlocked(ctx, SKL_ADSP_REG_ADSPCS); in skl_dsp_get_enabled_cores()
72 dev_dbg(ctx in skl_dsp_get_enabled_cores()
78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_set_reset_state() argument
105 skl_dsp_core_unset_reset_state( struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_unset_reset_state() argument
135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) is_skl_dsp_core_enable() argument
153 skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_reset_core() argument
164 skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_start_core() argument
188 skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_power_up() argument
216 skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_power_down() argument
231 skl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_enable_core() argument
246 skl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_disable_core() argument
274 skl_dsp_boot(struct sst_dsp *ctx) skl_dsp_boot() argument
304 struct sst_dsp *ctx = dev_id; skl_dsp_sst_interrupt() local
336 skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id) skl_dsp_get_core() argument
365 skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id) skl_dsp_put_core() argument
393 skl_dsp_wake(struct sst_dsp *ctx) skl_dsp_wake() argument
399 skl_dsp_sleep(struct sst_dsp *ctx) skl_dsp_sleep() argument
458 is_skl_dsp_running(struct sst_dsp *ctx) is_skl_dsp_running() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_context.c38 xa_context_flush(struct xa_context *ctx) in xa_context_flush() argument
40 if (ctx->last_fence) { in xa_context_flush()
41 struct pipe_screen *screen = ctx->xa->screen; in xa_context_flush()
42 screen->fence_reference(screen, &ctx->last_fence, NULL); in xa_context_flush()
44 ctx->pipe->flush(ctx->pipe, &ctx->last_fence, 0); in xa_context_flush()
56 struct xa_context *ctx = calloc(1, sizeof(*ctx)); in xa_context_create() local
58 ctx in xa_context_create()
98 xa_surface_dma(struct xa_context *ctx, struct xa_surface *srf, void *data, unsigned int pitch, int to_surface, struct xa_box *boxes, unsigned int num_boxes) xa_surface_dma() argument
137 xa_surface_map(struct xa_context *ctx, struct xa_surface *srf, unsigned int usage) xa_surface_map() argument
189 xa_ctx_srf_create(struct xa_context *ctx, struct xa_surface *dst) xa_ctx_srf_create() argument
218 xa_ctx_srf_destroy(struct xa_context *ctx) xa_ctx_srf_destroy() argument
227 xa_copy_prepare(struct xa_context *ctx, struct xa_surface *dst, struct xa_surface *src) xa_copy_prepare() argument
252 xa_copy(struct xa_context *ctx, int dx, int dy, int sx, int sy, int width, int height) xa_copy() argument
272 xa_copy_done(struct xa_context *ctx) xa_copy_done() argument
280 bind_solid_blend_state(struct xa_context *ctx) bind_solid_blend_state() argument
297 xa_solid_prepare(struct xa_context *ctx, struct xa_surface *dst, uint32_t fg) xa_solid_prepare() argument
344 xa_solid(struct xa_context *ctx, int x, int y, int width, int height) xa_solid() argument
351 xa_solid_done(struct xa_context *ctx) xa_solid_done() argument
360 xa_fence_get(struct xa_context *ctx) xa_fence_get() argument
413 xa_ctx_sampler_views_destroy(struct xa_context *ctx) xa_ctx_sampler_views_destroy() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/sha/
H A Dsha3.c15 void ossl_sha3_reset(KECCAK1600_CTX *ctx) in ossl_sha3_reset() argument
17 memset(ctx->A, 0, sizeof(ctx->A)); in ossl_sha3_reset()
18 ctx->bufsz = 0; in ossl_sha3_reset()
21 int ossl_sha3_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_sha3_init() argument
25 if (bsz <= sizeof(ctx->buf)) { in ossl_sha3_init()
26 ossl_sha3_reset(ctx); in ossl_sha3_init()
27 ctx->block_size = bsz; in ossl_sha3_init()
28 ctx->md_size = bitlen / 8; in ossl_sha3_init()
29 ctx in ossl_sha3_init()
36 ossl_keccak_kmac_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) ossl_keccak_kmac_init() argument
45 ossl_sha3_update(KECCAK1600_CTX *ctx, const void *_inp, size_t len) ossl_sha3_update() argument
87 ossl_sha3_final(unsigned char *md, KECCAK1600_CTX *ctx) ossl_sha3_final() argument
[all...]
/third_party/openssl/crypto/sha/
H A Dsha3.c15 void ossl_sha3_reset(KECCAK1600_CTX *ctx) in ossl_sha3_reset() argument
17 memset(ctx->A, 0, sizeof(ctx->A)); in ossl_sha3_reset()
18 ctx->bufsz = 0; in ossl_sha3_reset()
21 int ossl_sha3_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_sha3_init() argument
25 if (bsz <= sizeof(ctx->buf)) { in ossl_sha3_init()
26 ossl_sha3_reset(ctx); in ossl_sha3_init()
27 ctx->block_size = bsz; in ossl_sha3_init()
28 ctx->md_size = bitlen / 8; in ossl_sha3_init()
29 ctx in ossl_sha3_init()
36 ossl_keccak_kmac_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) ossl_keccak_kmac_init() argument
45 ossl_sha3_update(KECCAK1600_CTX *ctx, const void *_inp, size_t len) ossl_sha3_update() argument
87 ossl_sha3_final(unsigned char *md, KECCAK1600_CTX *ctx) ossl_sha3_final() argument
[all...]

Completed in 20 milliseconds

1...<<21222324252627282930>>...518