/third_party/mesa3d/src/mesa/main/ |
H A D | glthread_varray.c | 72 lookup_vao(struct gl_context *ctx, GLuint id) in lookup_vao() argument 74 struct glthread_state *glthread = &ctx->GLThread; in lookup_vao() 94 _mesa_glthread_BindVertexArray(struct gl_context *ctx, GLuint id) in _mesa_glthread_BindVertexArray() argument 96 struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_BindVertexArray() 101 struct glthread_vao *vao = lookup_vao(ctx, id); in _mesa_glthread_BindVertexArray() 109 _mesa_glthread_DeleteVertexArrays(struct gl_context *ctx, in _mesa_glthread_DeleteVertexArrays() argument 112 struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_DeleteVertexArrays() 122 struct glthread_vao *vao = lookup_vao(ctx, ids[i]); in _mesa_glthread_DeleteVertexArrays() 143 _mesa_glthread_GenVertexArrays(struct gl_context *ctx, in _mesa_glthread_GenVertexArrays() argument 146 struct glthread_state *glthread = &ctx in _mesa_glthread_GenVertexArrays() 168 get_vao(struct gl_context *ctx, const GLuint *vaobj) get_vao() argument 177 update_primitive_restart(struct gl_context *ctx) update_primitive_restart() argument 195 _mesa_glthread_set_prim_restart(struct gl_context *ctx, GLenum cap, bool value) _mesa_glthread_set_prim_restart() argument 210 _mesa_glthread_PrimitiveRestartIndex(struct gl_context *ctx, GLuint index) _mesa_glthread_PrimitiveRestartIndex() argument 241 _mesa_glthread_ClientState(struct gl_context *ctx, GLuint *vaobj, gl_vert_attrib attrib, bool enable) _mesa_glthread_ClientState() argument 315 _mesa_glthread_AttribDivisor(struct gl_context *ctx, const GLuint *vaobj, gl_vert_attrib attrib, GLuint divisor) _mesa_glthread_AttribDivisor() argument 369 _mesa_glthread_AttribPointer(struct gl_context *ctx, gl_vert_attrib attrib, GLint size, GLenum type, GLsizei stride, const void *pointer) _mesa_glthread_AttribPointer() argument 381 _mesa_glthread_DSAAttribPointer(struct gl_context *ctx, GLuint vaobj, GLuint buffer, gl_vert_attrib attrib, GLint size, GLenum type, GLsizei stride, GLintptr offset) _mesa_glthread_DSAAttribPointer() argument 413 _mesa_glthread_AttribFormat(struct gl_context *ctx, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) _mesa_glthread_AttribFormat() argument 423 _mesa_glthread_DSAAttribFormat(struct gl_context *ctx, GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) _mesa_glthread_DSAAttribFormat() argument 453 _mesa_glthread_VertexBuffer(struct gl_context *ctx, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) _mesa_glthread_VertexBuffer() argument 463 _mesa_glthread_DSAVertexBuffer(struct gl_context *ctx, GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) _mesa_glthread_DSAVertexBuffer() argument 475 _mesa_glthread_DSAVertexBuffers(struct gl_context *ctx, GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides) _mesa_glthread_DSAVertexBuffers() argument 511 _mesa_glthread_BindingDivisor(struct gl_context *ctx, GLuint bindingindex, GLuint divisor) _mesa_glthread_BindingDivisor() argument 520 _mesa_glthread_DSABindingDivisor(struct gl_context *ctx, GLuint vaobj, GLuint bindingindex, GLuint divisor) _mesa_glthread_DSABindingDivisor() argument 531 _mesa_glthread_AttribBinding(struct gl_context *ctx, GLuint attribindex, GLuint bindingindex) _mesa_glthread_AttribBinding() argument 546 _mesa_glthread_DSAAttribBinding(struct gl_context *ctx, GLuint vaobj, GLuint attribindex, GLuint bindingindex) _mesa_glthread_DSAAttribBinding() argument 564 _mesa_glthread_DSAElementBuffer(struct gl_context *ctx, GLuint vaobj, GLuint buffer) _mesa_glthread_DSAElementBuffer() argument 574 _mesa_glthread_PushClientAttrib(struct gl_context *ctx, GLbitfield mask, bool set_default) _mesa_glthread_PushClientAttrib() argument 604 _mesa_glthread_PopClientAttrib(struct gl_context *ctx) _mesa_glthread_PopClientAttrib() argument 643 _mesa_glthread_ClientAttribDefault(struct gl_context *ctx, GLbitfield mask) _mesa_glthread_ClientAttribDefault() argument 660 _mesa_glthread_InterleavedArrays(struct gl_context *ctx, GLenum format, GLsizei stride, const GLvoid *pointer) _mesa_glthread_InterleavedArrays() argument [all...] |
/kernel/linux/linux-5.10/security/selinux/ |
H A D | xfrm.c | 55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx() argument 57 return (ctx && in selinux_authorizable_ctx() 58 (ctx->ctx_doi == XFRM_SC_DOI_LSM) && in selinux_authorizable_ctx() 59 (ctx->ctx_alg == XFRM_SC_ALG_SELINUX)); in selinux_authorizable_ctx() 80 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user() local 92 ctx = kmalloc(sizeof(*ctx) + str_len + 1, gfp); in selinux_xfrm_alloc_user() 93 if (!ctx) in selinux_xfrm_alloc_user() 96 ctx->ctx_doi = XFRM_SC_DOI_LSM; in selinux_xfrm_alloc_user() 97 ctx in selinux_xfrm_alloc_user() 124 selinux_xfrm_free(struct xfrm_sec_ctx *ctx) selinux_xfrm_free() argument 136 selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) selinux_xfrm_delete() argument 153 selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) selinux_xfrm_policy_lookup() argument 239 struct xfrm_sec_ctx *ctx = x->security; selinux_xfrm_skb_sid_ingress() local 317 selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) selinux_xfrm_policy_free() argument 325 selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) selinux_xfrm_policy_delete() argument 348 struct xfrm_sec_ctx *ctx; selinux_xfrm_state_alloc_acquire() local 417 struct xfrm_sec_ctx *ctx = x->security; selinux_xfrm_sock_rcv_skb() local [all...] |
/kernel/linux/linux-5.10/sound/soc/xilinx/ |
H A D | xlnx_spdif.c | 58 struct spdif_dev_data *ctx = arg; in xlnx_spdifrx_irq_handler() local 60 val = readl(ctx->base + XSPDIF_IRQ_STS_REG); in xlnx_spdifrx_irq_handler() 63 ctx->base + XSPDIF_IRQ_STS_REG); in xlnx_spdifrx_irq_handler() 64 val = readl(ctx->base + in xlnx_spdifrx_irq_handler() 67 ctx->base + XSPDIF_IRQ_ENABLE_REG); in xlnx_spdifrx_irq_handler() 69 ctx->rx_chsts_updated = true; in xlnx_spdifrx_irq_handler() 70 wake_up_interruptible(&ctx->chsts_q); in xlnx_spdifrx_irq_handler() 81 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); in xlnx_spdif_startup() local 83 val = readl(ctx->base + XSPDIF_CONTROL_REG); in xlnx_spdif_startup() 85 writel(val, ctx in xlnx_spdif_startup() 100 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); xlnx_spdif_shutdown() local 110 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); xlnx_spdif_hw_params() local 152 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); rx_stream_detect() local 173 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); xlnx_spdif_trigger() local 242 struct spdif_dev_data *ctx; xlnx_spdif_probe() local 320 struct spdif_dev_data *ctx = dev_get_drvdata(&pdev->dev); xlnx_spdif_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | hantro_hw.h | 352 void (*enable)(struct hantro_ctx *ctx); 353 void (*disable)(struct hantro_ctx *ctx); 354 int (*enum_framesizes)(struct hantro_ctx *ctx, struct v4l2_frmsizeenum *fsize); 372 int (*init)(struct hantro_ctx *ctx); 373 void (*exit)(struct hantro_ctx *ctx); 374 int (*run)(struct hantro_ctx *ctx); 375 void (*done)(struct hantro_ctx *ctx); 376 void (*reset)(struct hantro_ctx *ctx); 417 void hantro_run(struct hantro_ctx *ctx); 420 void hantro_start_prepare_run(struct hantro_ctx *ctx); [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-asus-z00t-tm5p5-n35596.c | 27 static void tm5p5_nt35596_reset(struct tm5p5_nt35596 *ctx) in tm5p5_nt35596_reset() argument 29 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in tm5p5_nt35596_reset() 31 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in tm5p5_nt35596_reset() 33 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in tm5p5_nt35596_reset() 37 static int tm5p5_nt35596_on(struct tm5p5_nt35596 *ctx) in tm5p5_nt35596_on() argument 39 struct mipi_dsi_device *dsi = ctx->dsi; in tm5p5_nt35596_on() 85 static int tm5p5_nt35596_off(struct tm5p5_nt35596 *ctx) in tm5p5_nt35596_off() argument 87 struct mipi_dsi_device *dsi = ctx->dsi; in tm5p5_nt35596_off() 111 struct tm5p5_nt35596 *ctx = to_tm5p5_nt35596(panel); in tm5p5_nt35596_prepare() local 112 struct device *dev = &ctx in tm5p5_nt35596_prepare() 141 struct tm5p5_nt35596 *ctx = to_tm5p5_nt35596(panel); tm5p5_nt35596_unprepare() local 255 struct tm5p5_nt35596 *ctx; tm5p5_nt35596_probe() local 310 struct tm5p5_nt35596 *ctx = mipi_dsi_get_drvdata(dsi); tm5p5_nt35596_remove() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ |
H A D | xfrm.c | 55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx() argument 57 return (ctx && in selinux_authorizable_ctx() 58 (ctx->ctx_doi == XFRM_SC_DOI_LSM) && in selinux_authorizable_ctx() 59 (ctx->ctx_alg == XFRM_SC_ALG_SELINUX)); in selinux_authorizable_ctx() 80 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user() local 92 ctx = kmalloc(struct_size(ctx, ctx_str, str_len + 1), gfp); in selinux_xfrm_alloc_user() 93 if (!ctx) in selinux_xfrm_alloc_user() 96 ctx->ctx_doi = XFRM_SC_DOI_LSM; in selinux_xfrm_alloc_user() 97 ctx in selinux_xfrm_alloc_user() 123 selinux_xfrm_free(struct xfrm_sec_ctx *ctx) selinux_xfrm_free() argument 135 selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) selinux_xfrm_delete() argument 151 selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid) selinux_xfrm_policy_lookup() argument 236 struct xfrm_sec_ctx *ctx = x->security; selinux_xfrm_skb_sid_ingress() local 314 selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) selinux_xfrm_policy_free() argument 322 selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) selinux_xfrm_policy_delete() argument 345 struct xfrm_sec_ctx *ctx; selinux_xfrm_state_alloc_acquire() local 414 struct xfrm_sec_ctx *ctx = x->security; selinux_xfrm_sock_rcv_skb() local [all...] |
/kernel/linux/linux-6.6/sound/soc/xilinx/ |
H A D | xlnx_spdif.c | 58 struct spdif_dev_data *ctx = arg; in xlnx_spdifrx_irq_handler() local 60 val = readl(ctx->base + XSPDIF_IRQ_STS_REG); in xlnx_spdifrx_irq_handler() 63 ctx->base + XSPDIF_IRQ_STS_REG); in xlnx_spdifrx_irq_handler() 64 val = readl(ctx->base + in xlnx_spdifrx_irq_handler() 67 ctx->base + XSPDIF_IRQ_ENABLE_REG); in xlnx_spdifrx_irq_handler() 69 ctx->rx_chsts_updated = true; in xlnx_spdifrx_irq_handler() 70 wake_up_interruptible(&ctx->chsts_q); in xlnx_spdifrx_irq_handler() 81 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); in xlnx_spdif_startup() local 83 val = readl(ctx->base + XSPDIF_CONTROL_REG); in xlnx_spdif_startup() 85 writel(val, ctx in xlnx_spdif_startup() 100 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); xlnx_spdif_shutdown() local 110 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); xlnx_spdif_hw_params() local 152 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); rx_stream_detect() local 173 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); xlnx_spdif_trigger() local 242 struct spdif_dev_data *ctx; xlnx_spdif_probe() local 317 struct spdif_dev_data *ctx = dev_get_drvdata(&pdev->dev); xlnx_spdif_remove() local [all...] |
/test/xts/acts/security/crypto_framework_napi_BasicTest/src/ |
H A D | crypto_framework_digest_test.cpp | 58 EXPECT_EQ(OH_CryptoDigest_Update(in->ctx, in->in), CRYPTO_SUCCESS); in OH_CryptoDigestMultUpdate() 93 OH_CryptoDigest *ctx = nullptr; in HWTEST_P() local 103 ret = OH_CryptoDigest_Create((const char *)mdData.algName, &ctx); in HWTEST_P() 105 ret = OH_CryptoDigest_Update(ctx, &in); in HWTEST_P() 107 ret = OH_CryptoDigest_Final(ctx, &out); in HWTEST_P() 109 mdLen = OH_CryptoDigest_GetLength(ctx); in HWTEST_P() 111 OH_DigestCrypto_Destroy(ctx); in HWTEST_P() 125 OH_CryptoDigest *ctx = nullptr; in HWTEST_F() local 127 EXPECT_EQ(OH_CryptoDigest_Create("MD9", &ctx), CRYPTO_INVALID_PARAMS); in HWTEST_F() 129 EXPECT_EQ(OH_CryptoDigest_Create(nullptr, &ctx), CRYPTO_INVALID_PARAM in HWTEST_F() 142 OH_CryptoDigest *ctx = nullptr; HWTEST_F() local 170 OH_CryptoDigest *ctx = nullptr; HWTEST_F() local 199 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local 233 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local 267 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local 309 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local 334 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | sshkdf.c | 55 KDF_SSHKDF *ctx; in kdf_sshkdf_new() local 60 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) in kdf_sshkdf_new() 63 ctx->provctx = provctx; in kdf_sshkdf_new() 64 return ctx; in kdf_sshkdf_new() 69 KDF_SSHKDF *ctx = (KDF_SSHKDF *)vctx; in kdf_sshkdf_free() local 71 if (ctx != NULL) { in kdf_sshkdf_free() 72 kdf_sshkdf_reset(ctx); in kdf_sshkdf_free() 73 OPENSSL_free(ctx); in kdf_sshkdf_free() 79 KDF_SSHKDF *ctx in kdf_sshkdf_reset() local 102 KDF_SSHKDF *ctx = (KDF_SSHKDF *)vctx; kdf_sshkdf_derive() local 138 KDF_SSHKDF *ctx = vctx; kdf_sshkdf_set_ctx_params() local 179 kdf_sshkdf_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *p_ctx) kdf_sshkdf_settable_ctx_params() argument 203 kdf_sshkdf_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *p_ctx) kdf_sshkdf_gettable_ctx_params() argument [all...] |
/third_party/openssl/providers/implementations/kdfs/ |
H A D | sshkdf.c | 55 KDF_SSHKDF *ctx; in kdf_sshkdf_new() local 60 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) in kdf_sshkdf_new() 63 ctx->provctx = provctx; in kdf_sshkdf_new() 64 return ctx; in kdf_sshkdf_new() 69 KDF_SSHKDF *ctx = (KDF_SSHKDF *)vctx; in kdf_sshkdf_free() local 71 if (ctx != NULL) { in kdf_sshkdf_free() 72 kdf_sshkdf_reset(ctx); in kdf_sshkdf_free() 73 OPENSSL_free(ctx); in kdf_sshkdf_free() 79 KDF_SSHKDF *ctx in kdf_sshkdf_reset() local 102 KDF_SSHKDF *ctx = (KDF_SSHKDF *)vctx; kdf_sshkdf_derive() local 138 KDF_SSHKDF *ctx = vctx; kdf_sshkdf_set_ctx_params() local 179 kdf_sshkdf_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *p_ctx) kdf_sshkdf_settable_ctx_params() argument 203 kdf_sshkdf_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *p_ctx) kdf_sshkdf_gettable_ctx_params() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | rcar_fdp1.c | 638 static struct fdp1_q_data *get_q_data(struct fdp1_ctx *ctx, in get_q_data() argument 642 return &ctx->out_q; in get_q_data() 644 return &ctx->cap_q; in get_q_data() 719 static void fdp1_field_complete(struct fdp1_ctx *ctx, in fdp1_field_complete() argument 730 static void fdp1_queue_field(struct fdp1_ctx *ctx, in fdp1_queue_field() argument 735 spin_lock_irqsave(&ctx->fdp1->irqlock, flags); in fdp1_queue_field() 736 list_add_tail(&fbuf->list, &ctx->fields_queue); in fdp1_queue_field() 737 spin_unlock_irqrestore(&ctx->fdp1->irqlock, flags); in fdp1_queue_field() 739 ctx->buffers_queued++; in fdp1_queue_field() 742 static struct fdp1_field_buffer *fdp1_dequeue_field(struct fdp1_ctx *ctx) in fdp1_dequeue_field() argument 763 fdp1_peek_queued_field(struct fdp1_ctx *ctx) fdp1_peek_queued_field() argument 795 fdp1_set_ipc_dli(struct fdp1_ctx *ctx) fdp1_set_ipc_dli() argument 812 fdp1_set_ipc_sensor(struct fdp1_ctx *ctx) fdp1_set_ipc_sensor() argument 879 fdp1_configure_rpf(struct fdp1_ctx *ctx, struct fdp1_job *job) fdp1_configure_rpf() argument 938 fdp1_configure_wpf(struct fdp1_ctx *ctx, struct fdp1_job *job) fdp1_configure_wpf() argument 999 fdp1_configure_deint_mode(struct fdp1_ctx *ctx, struct fdp1_job *job) fdp1_configure_deint_mode() argument 1066 fdp1_device_process(struct fdp1_ctx *ctx) fdp1_device_process() argument 1138 struct fdp1_ctx *ctx = priv; fdp1_m2m_job_ready() local 1162 struct fdp1_ctx *ctx = priv; fdp1_m2m_job_abort() local 1180 fdp1_prepare_job(struct fdp1_ctx *ctx) fdp1_prepare_job() argument 1264 struct fdp1_ctx *ctx = priv; fdp1_m2m_device_run() local 1308 struct fdp1_ctx *ctx; device_frame_end() local 1410 struct fdp1_ctx *ctx = fh_to_ctx(priv); fdp1_g_fmt() local 1456 fdp1_try_fmt_output(struct fdp1_ctx *ctx, const struct fdp1_fmt **fmtinfo, struct v4l2_pix_format_mplane *pix) fdp1_try_fmt_output() argument 1512 fdp1_try_fmt_capture(struct fdp1_ctx *ctx, const struct fdp1_fmt **fmtinfo, struct v4l2_pix_format_mplane *pix) fdp1_try_fmt_capture() argument 1591 struct fdp1_ctx *ctx = fh_to_ctx(priv); fdp1_try_fmt() local 1606 fdp1_set_format(struct fdp1_ctx *ctx, struct v4l2_pix_format_mplane *pix, enum v4l2_buf_type type) fdp1_set_format() argument 1662 struct fdp1_ctx *ctx = fh_to_ctx(priv); fdp1_s_fmt() local 1683 struct fdp1_ctx *ctx = fdp1_g_ctrl() local 1701 struct fdp1_ctx *ctx = fdp1_s_ctrl() local 1768 struct fdp1_ctx *ctx = vb2_get_drv_priv(vq); fdp1_queue_setup() local 1853 struct fdp1_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); fdp1_buf_prepare() local 1921 struct fdp1_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); fdp1_buf_queue() local 1928 struct fdp1_ctx *ctx = vb2_get_drv_priv(q); fdp1_start_streaming() local 1967 struct fdp1_ctx *ctx = vb2_get_drv_priv(q); fdp1_stop_streaming() local 2046 struct fdp1_ctx *ctx = priv; queue_init() local 2083 struct fdp1_ctx *ctx = NULL; fdp1_open() local 2167 struct fdp1_ctx *ctx = fh_to_ctx(file->private_data); fdp1_release() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/ |
H A D | rcar_fdp1.c | 638 static struct fdp1_q_data *get_q_data(struct fdp1_ctx *ctx, in get_q_data() argument 642 return &ctx->out_q; in get_q_data() 644 return &ctx->cap_q; in get_q_data() 719 static void fdp1_field_complete(struct fdp1_ctx *ctx, in fdp1_field_complete() argument 730 static void fdp1_queue_field(struct fdp1_ctx *ctx, in fdp1_queue_field() argument 735 spin_lock_irqsave(&ctx->fdp1->irqlock, flags); in fdp1_queue_field() 736 list_add_tail(&fbuf->list, &ctx->fields_queue); in fdp1_queue_field() 737 spin_unlock_irqrestore(&ctx->fdp1->irqlock, flags); in fdp1_queue_field() 739 ctx->buffers_queued++; in fdp1_queue_field() 742 static struct fdp1_field_buffer *fdp1_dequeue_field(struct fdp1_ctx *ctx) in fdp1_dequeue_field() argument 763 fdp1_peek_queued_field(struct fdp1_ctx *ctx) fdp1_peek_queued_field() argument 795 fdp1_set_ipc_dli(struct fdp1_ctx *ctx) fdp1_set_ipc_dli() argument 812 fdp1_set_ipc_sensor(struct fdp1_ctx *ctx) fdp1_set_ipc_sensor() argument 879 fdp1_configure_rpf(struct fdp1_ctx *ctx, struct fdp1_job *job) fdp1_configure_rpf() argument 938 fdp1_configure_wpf(struct fdp1_ctx *ctx, struct fdp1_job *job) fdp1_configure_wpf() argument 999 fdp1_configure_deint_mode(struct fdp1_ctx *ctx, struct fdp1_job *job) fdp1_configure_deint_mode() argument 1066 fdp1_device_process(struct fdp1_ctx *ctx) fdp1_device_process() argument 1138 struct fdp1_ctx *ctx = priv; fdp1_m2m_job_ready() local 1162 struct fdp1_ctx *ctx = priv; fdp1_m2m_job_abort() local 1180 fdp1_prepare_job(struct fdp1_ctx *ctx) fdp1_prepare_job() argument 1264 struct fdp1_ctx *ctx = priv; fdp1_m2m_device_run() local 1308 struct fdp1_ctx *ctx; device_frame_end() local 1410 struct fdp1_ctx *ctx = fh_to_ctx(priv); fdp1_g_fmt() local 1452 fdp1_try_fmt_output(struct fdp1_ctx *ctx, const struct fdp1_fmt **fmtinfo, struct v4l2_pix_format_mplane *pix) fdp1_try_fmt_output() argument 1508 fdp1_try_fmt_capture(struct fdp1_ctx *ctx, const struct fdp1_fmt **fmtinfo, struct v4l2_pix_format_mplane *pix) fdp1_try_fmt_capture() argument 1587 struct fdp1_ctx *ctx = fh_to_ctx(priv); fdp1_try_fmt() local 1602 fdp1_set_format(struct fdp1_ctx *ctx, struct v4l2_pix_format_mplane *pix, enum v4l2_buf_type type) fdp1_set_format() argument 1658 struct fdp1_ctx *ctx = fh_to_ctx(priv); fdp1_s_fmt() local 1679 struct fdp1_ctx *ctx = fdp1_g_ctrl() local 1697 struct fdp1_ctx *ctx = fdp1_s_ctrl() local 1764 struct fdp1_ctx *ctx = vb2_get_drv_priv(vq); fdp1_queue_setup() local 1849 struct fdp1_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); fdp1_buf_prepare() local 1917 struct fdp1_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); fdp1_buf_queue() local 1924 struct fdp1_ctx *ctx = vb2_get_drv_priv(q); fdp1_start_streaming() local 1963 struct fdp1_ctx *ctx = vb2_get_drv_priv(q); fdp1_stop_streaming() local 2042 struct fdp1_ctx *ctx = priv; queue_init() local 2079 struct fdp1_ctx *ctx = NULL; fdp1_open() local 2163 struct fdp1_ctx *ctx = fh_to_ctx(file->private_data); fdp1_release() local [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_program.c | 92 get_shader_module_for_stage(struct zink_context *ctx, struct zink_screen *screen, in get_shader_module_for_stage() argument 107 if (ctx && zs->nir->info.num_inlinable_uniforms && in get_shader_module_for_stage() 108 ctx->inlinable_uniforms_valid_mask & BITFIELD64_BIT(pstage)) { in get_shader_module_for_stage() 133 assert(ctx); //TODO async in get_shader_module_for_stage() 189 update_gfx_shader_modules(struct zink_context *ctx, in update_gfx_shader_modules() argument 200 struct zink_shader_module *zm = get_shader_module_for_stage(ctx, screen, prog->shaders[pstage], prog, state); in update_gfx_shader_modules() 283 zink_update_gfx_program(struct zink_context *ctx, struct zink_gfx_program *prog) in zink_update_gfx_program() argument 285 update_gfx_shader_modules(ctx, zink_screen(ctx->base.screen), prog, ctx in zink_update_gfx_program() 289 update_cs_shader_module(struct zink_context *ctx, struct zink_compute_program *comp) update_cs_shader_module() argument 358 zink_update_compute_program(struct zink_context *ctx) zink_update_compute_program() argument 430 zink_create_gfx_program(struct zink_context *ctx, struct zink_shader *stages[ZINK_SHADER_COUNT], unsigned vertices_per_patch) zink_create_gfx_program() argument 512 zink_program_update_compute_pipeline_state(struct zink_context *ctx, struct zink_compute_program *comp, const uint block[3]) zink_program_update_compute_pipeline_state() argument 544 zink_create_compute_program(struct zink_context *ctx, struct zink_shader *shader) zink_create_compute_program() argument 582 zink_program_get_descriptor_usage(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_descriptor_type type) zink_program_get_descriptor_usage() argument 618 zink_program_descriptor_is_buffer(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_descriptor_type type, unsigned i) zink_program_descriptor_is_buffer() argument 683 zink_destroy_gfx_program(struct zink_context *ctx, struct zink_gfx_program *prog) zink_destroy_gfx_program() argument 731 zink_destroy_compute_program(struct zink_context *ctx, struct zink_compute_program *comp) zink_destroy_compute_program() argument 794 check_vertex_strides(struct zink_context *ctx) check_vertex_strides() argument 807 zink_get_gfx_pipeline(struct zink_context *ctx, struct zink_gfx_program *prog, struct zink_gfx_pipeline_state *state, enum pipe_prim_type mode) zink_get_gfx_pipeline() argument 930 bind_stage(struct zink_context *ctx, enum pipe_shader_type stage, struct zink_shader *shader) bind_stage() argument 985 bind_last_vertex_stage(struct zink_context *ctx) bind_last_vertex_stage() argument 1029 struct zink_context *ctx = zink_context(pctx); zink_bind_vs_state() local 1049 zink_update_fs_key_samples(struct zink_context *ctx) zink_update_fs_key_samples() argument 1066 zink_update_fs_key_samples(struct zink_context *ctx) zink_update_fs_key_samples() argument 1082 struct zink_context *ctx = zink_context(pctx); zink_bind_fs_state() local 1104 struct zink_context *ctx = zink_context(pctx); zink_bind_gs_state() local 1130 struct zink_context *ctx = zink_context(pctx); zink_bind_tes_state() local 1198 zink_program_init(struct zink_context *ctx) zink_program_init() argument 1226 zink_set_rasterizer_discard(struct zink_context *ctx, bool disable) zink_set_rasterizer_discard() argument [all...] |
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_save_api.c | 149 copy_vertices(struct gl_context *ctx, in copy_vertices() argument 153 struct vbo_save_context *save = &vbo_context(ctx)->save; in copy_vertices() 164 unsigned r = vbo_copy_vertices(ctx, prim->mode, prim->start, &prim->count, in copy_vertices() 191 reset_counters(struct gl_context *ctx) in reset_counters() argument 193 struct vbo_save_context *save = &vbo_context(ctx)->save; in reset_counters() 205 merge_prims(struct gl_context *ctx, struct _mesa_prim *prim_list, in merge_prims() argument 216 if (vbo_merge_draws(ctx, true, in merge_prims() 338 update_vao(struct gl_context *ctx, in update_vao() argument 359 _mesa_reference_vao(ctx, vao, NULL); in update_vao() 360 *vao = _mesa_new_vao(ctx, ~((GLuin in update_vao() 399 grow_vertex_storage(struct gl_context *ctx, int vertex_count) grow_vertex_storage() argument 512 compile_vertex_list(struct gl_context *ctx) compile_vertex_list() argument 1007 wrap_buffers(struct gl_context *ctx) wrap_buffers() argument 1041 wrap_filled_vertex(struct gl_context *ctx) wrap_filled_vertex() argument 1070 copy_to_current(struct gl_context *ctx) copy_to_current() argument 1090 copy_from_current(struct gl_context *ctx) copy_from_current() argument 1125 upgrade_vertex(struct gl_context *ctx, GLuint attr, GLuint newsz) upgrade_vertex() argument 1243 fixup_vertex(struct gl_context *ctx, GLuint attr, GLuint sz, GLenum newType) fixup_vertex() argument 1278 reset_vertex(struct gl_context *ctx) reset_vertex() argument 1299 is_vertex_position(const struct gl_context *ctx, GLuint index) is_vertex_position() argument 1424 dlist_fallback(struct gl_context *ctx) dlist_fallback() argument 1530 vbo_save_NotifyBegin(struct gl_context *ctx, GLenum mode, bool no_current_update) vbo_save_NotifyBegin() argument 1745 array_element(struct gl_context *ctx, GLint basevertex, GLuint elt, unsigned index_size_shift) array_element() argument 1928 vbo_install_save_vtxfmt(struct gl_context *ctx) vbo_install_save_vtxfmt() argument 1941 vbo_save_SaveFlushVertices(struct gl_context *ctx) vbo_save_SaveFlushVertices() argument 1963 vbo_save_NewList(struct gl_context *ctx, GLuint list, GLenum mode) vbo_save_NewList() argument 1985 vbo_save_EndList(struct gl_context *ctx) vbo_save_EndList() argument 2019 current_init(struct gl_context *ctx) current_init() argument 2046 struct gl_context *ctx = gl_context_from_vbo_save(save); vbo_save_api_init() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shader.c | 199 static void declare_streamout_params(struct si_shader_context *ctx, in declare_streamout_params() argument 202 if (ctx->screen->use_ngg_streamout) { in declare_streamout_params() 203 if (ctx->stage == MESA_SHADER_TESS_EVAL) in declare_streamout_params() 204 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in declare_streamout_params() 210 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.streamout_config); in declare_streamout_params() 211 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.streamout_write_index); in declare_streamout_params() 212 } else if (ctx->stage == MESA_SHADER_TESS_EVAL) { in declare_streamout_params() 213 ac_add_arg(&ctx in declare_streamout_params() 259 declare_const_and_shader_buffers(struct si_shader_context *ctx, bool assign_params) declare_const_and_shader_buffers() argument 274 declare_samplers_and_images(struct si_shader_context *ctx, bool assign_params) declare_samplers_and_images() argument 280 declare_per_stage_desc_pointers(struct si_shader_context *ctx, bool assign_params) declare_per_stage_desc_pointers() argument 286 declare_global_desc_pointers(struct si_shader_context *ctx) declare_global_desc_pointers() argument 293 declare_vb_descriptor_input_sgprs(struct si_shader_context *ctx) declare_vb_descriptor_input_sgprs() argument 315 declare_vs_input_vgprs(struct si_shader_context *ctx, unsigned *num_prolog_vgprs) declare_vs_input_vgprs() argument 356 declare_vs_blit_inputs(struct si_shader_context *ctx, unsigned vs_blit_property) declare_vs_blit_inputs() argument 377 declare_tes_input_vgprs(struct si_shader_context *ctx) declare_tes_input_vgprs() argument 399 si_init_shader_args(struct si_shader_context *ctx, bool ngg_cull_shader) si_init_shader_args() argument 2039 struct si_shader_context ctx; si_get_shader_part() local [all...] |
H A D | si_fence.c | 47 struct si_context *ctx; member 67 void si_cp_release_mem(struct si_context *ctx, struct radeon_cmdbuf *cs, unsigned event, in si_cp_release_mem() argument 76 bool compute_ib = !ctx->has_graphics; in si_cp_release_mem() 80 if (ctx->gfx_level >= GFX9 || (compute_ib && ctx->gfx_level >= GFX7)) { in si_cp_release_mem() 88 if (ctx->gfx_level == GFX9 && !compute_ib && query_type != PIPE_QUERY_OCCLUSION_COUNTER && in si_cp_release_mem() 91 struct si_screen *sscreen = ctx->screen; in si_cp_release_mem() 94 if (!ctx->ws->cs_is_secure(&ctx->gfx_cs)) { in si_cp_release_mem() 95 scratch = ctx in si_cp_release_mem() 174 si_cp_wait_mem(struct si_context *ctx, struct radeon_cmdbuf *cs, uint64_t va, uint32_t ref, uint32_t mask, unsigned flags) si_cp_wait_mem() argument 228 si_create_fence(struct pipe_context *ctx, struct tc_unflushed_batch_token *tc_token) si_create_fence() argument 252 si_fine_fence_set(struct si_context *ctx, struct si_fine_fence *fine, unsigned flags) si_fine_fence_set() argument 282 si_fence_finish(struct pipe_screen *screen, struct pipe_context *ctx, struct pipe_fence_handle *fence, uint64_t timeout) si_fence_finish() argument 381 si_create_fence_fd(struct pipe_context *ctx, struct pipe_fence_handle **pfence, int fd, enum pipe_fd_type type) si_create_fence_fd() argument 454 si_flush_all_queues(struct pipe_context *ctx, struct pipe_fence_handle **fence, unsigned flags, bool force_flush) si_flush_all_queues() argument 547 si_flush_from_st(struct pipe_context *ctx, struct pipe_fence_handle **fence, unsigned flags) si_flush_from_st() argument 553 si_fence_server_signal(struct pipe_context *ctx, struct pipe_fence_handle *fence) si_fence_server_signal() argument 581 si_fence_server_sync(struct pipe_context *ctx, struct pipe_fence_handle *fence) si_fence_server_sync() argument 606 si_init_fence_functions(struct si_context *ctx) si_init_fence_functions() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | stat-shadow.c | 29 int ctx; member 51 * are cpu/type/ctx/stat (evsel is NULL). For generic metrics in saved_value_cmp() 52 * case, the keys are still evsel/cpu (type/ctx/stat are 0 or NULL). in saved_value_cmp() 57 if (a->ctx != b->ctx) in saved_value_cmp() 58 return a->ctx - b->ctx; in saved_value_cmp() 102 int ctx, in saved_value_lookup() 111 .ctx = ctx, in saved_value_lookup() 98 saved_value_lookup(struct evsel *evsel, int cpu, bool create, enum stat_type type, int ctx, struct runtime_stat *st) saved_value_lookup() argument 151 int ctx = 0; evsel_context() local 194 update_runtime_stat(struct runtime_stat *st, enum stat_type type, int ctx, int cpu, u64 count) update_runtime_stat() argument 213 int ctx = evsel_context(counter); perf_stat__update_shadow_stats() local 338 struct expr_parse_ctx ctx; perf_stat__collect_metric_expr() local 424 runtime_stat_avg(struct runtime_stat *st, enum stat_type type, int ctx, int cpu) runtime_stat_avg() argument 436 runtime_stat_n(struct runtime_stat *st, enum stat_type type, int ctx, int cpu) runtime_stat_n() argument 456 int ctx = evsel_context(evsel); print_stalled_cycles_frontend() local 480 int ctx = evsel_context(evsel); print_stalled_cycles_backend() local 501 int ctx = evsel_context(evsel); print_branch_misses() local 523 int ctx = evsel_context(evsel); print_l1_dcache_misses() local 545 int ctx = evsel_context(evsel); print_l1_icache_misses() local 565 int ctx = evsel_context(evsel); print_dtlb_cache_misses() local 585 int ctx = evsel_context(evsel); print_itlb_cache_misses() local 605 int ctx = evsel_context(evsel); print_ll_cache_misses() local 665 td_total_slots(int ctx, int cpu, struct runtime_stat *st) td_total_slots() argument 670 td_bad_spec(int ctx, int cpu, struct runtime_stat *st) td_bad_spec() argument 686 td_retiring(int ctx, int cpu, struct runtime_stat *st) td_retiring() argument 698 td_fe_bound(int ctx, int cpu, struct runtime_stat *st) td_fe_bound() argument 710 td_be_bound(int ctx, int cpu, struct runtime_stat *st) td_be_bound() argument 725 td_metric_ratio(int ctx, int cpu, enum stat_type type, struct runtime_stat *stat) td_metric_ratio() argument 745 full_td(int ctx, int cpu, struct runtime_stat *stat) full_td() argument 767 int ctx = evsel_context(evsel); print_smi_cost() local 933 int ctx = evsel_context(evsel); perf_stat__print_shadow_stats() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-samsung-ld9040.c | 118 static int ld9040_clear_error(struct ld9040 *ctx) in ld9040_clear_error() argument 120 int ret = ctx->error; in ld9040_clear_error() 122 ctx->error = 0; in ld9040_clear_error() 126 static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data) in ld9040_spi_write_word() argument 128 struct spi_device *spi = to_spi_device(ctx->dev); in ld9040_spi_write_word() 141 static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len) in ld9040_dcs_write() argument 145 if (ctx->error < 0 || len == 0) in ld9040_dcs_write() 148 dev_dbg(ctx->dev, "writing dcs seq: %*ph\n", (int)len, data); in ld9040_dcs_write() 149 ret = ld9040_spi_write_word(ctx, *data); in ld9040_dcs_write() 153 ret = ld9040_spi_write_word(ctx, *dat in ld9040_dcs_write() 171 ld9040_brightness_set(struct ld9040 *ctx) ld9040_brightness_set() argument 179 ld9040_init(struct ld9040 *ctx) ld9040_init() argument 198 ld9040_power_on(struct ld9040 *ctx) ld9040_power_on() argument 215 ld9040_power_off(struct ld9040 *ctx) ld9040_power_off() argument 227 struct ld9040 *ctx = panel_to_ld9040(panel); ld9040_unprepare() local 241 struct ld9040 *ctx = panel_to_ld9040(panel); ld9040_prepare() local 266 struct ld9040 *ctx = panel_to_ld9040(panel); ld9040_get_modes() local 295 ld9040_parse_dt(struct ld9040 *ctx) ld9040_parse_dt() argument 316 struct ld9040 *ctx; ld9040_probe() local 363 struct ld9040 *ctx = spi_get_drvdata(spi); ld9040_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 149 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_do_fallback() local 152 akcipher_request_set_tfm(req, ctx->fallback_tfm); in aspeed_acry_do_fallback() 154 if (ctx->enc) in aspeed_acry_do_fallback() 167 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_need_fallback() local 169 return ctx->key.n_sz > ASPEED_ACRY_RSA_MAX_KEY_LEN; in aspeed_acry_need_fallback() 187 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_do_request() local 188 struct aspeed_acry_dev *acry_dev = ctx->acry_dev; in aspeed_acry_do_request() 193 return ctx->trigger(acry_dev); in aspeed_acry_do_request() 351 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_rsa_trigger() local 354 if (!ctx in aspeed_acry_rsa_trigger() 416 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); aspeed_acry_rsa_enc() local 428 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); aspeed_acry_rsa_dec() local 442 aspeed_rsa_set_n(struct aspeed_acry_ctx *ctx, u8 *value, size_t len) aspeed_rsa_set_n() argument 453 aspeed_rsa_set_e(struct aspeed_acry_ctx *ctx, u8 *value, size_t len) aspeed_rsa_set_e() argument 464 aspeed_rsa_set_d(struct aspeed_acry_ctx *ctx, u8 *value, size_t len) aspeed_rsa_set_d() argument 475 aspeed_rsa_key_free(struct aspeed_acry_ctx *ctx) aspeed_rsa_key_free() argument 488 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); aspeed_acry_rsa_setkey() local 536 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); aspeed_acry_rsa_set_pub_key() local 550 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); aspeed_acry_rsa_set_priv_key() local 562 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); aspeed_acry_rsa_max_size() local 572 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); aspeed_acry_rsa_init_tfm() local 594 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); aspeed_acry_rsa_exit_tfm() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_colorchannelmixer.c | 56 int (*filter_slice[2])(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); 136 static int filter_slice_gbrp(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_slice_gbrp() argument 138 return filter_slice_rgba_planar_8(ctx, arg, jobnr, nb_jobs, 0, 8, 0); in filter_slice_gbrp() 141 static int filter_slice_gbrap(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_slice_gbrap() argument 143 return filter_slice_rgba_planar_8(ctx, arg, jobnr, nb_jobs, 1, 8, 0); in filter_slice_gbrap() 146 static int filter_slice_gbrp_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_slice_gbrp_pl() argument 148 return filter_slice_rgba_planar_8(ctx, arg, jobnr, nb_jobs, 0, 8, 1); in filter_slice_gbrp_pl() 151 static int filter_slice_gbrap_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_slice_gbrap_pl() argument 153 return filter_slice_rgba_planar_8(ctx, arg, jobnr, nb_jobs, 1, 8, 1); in filter_slice_gbrap_pl() 156 static int filter_slice_gbrp9(AVFilterContext *ctx, voi argument 161 filter_slice_gbrp10(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp10() argument 166 filter_slice_gbrap10(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap10() argument 171 filter_slice_gbrp12(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp12() argument 176 filter_slice_gbrap12(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap12() argument 181 filter_slice_gbrp14(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp14() argument 186 filter_slice_gbrp16(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp16() argument 191 filter_slice_gbrap16(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap16() argument 196 filter_slice_gbrp9_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp9_pl() argument 201 filter_slice_gbrp10_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp10_pl() argument 206 filter_slice_gbrap10_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap10_pl() argument 211 filter_slice_gbrp12_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp12_pl() argument 216 filter_slice_gbrap12_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap12_pl() argument 221 filter_slice_gbrp14_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp14_pl() argument 226 filter_slice_gbrp16_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp16_pl() argument 231 filter_slice_gbrap16_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap16_pl() argument 236 filter_slice_rgba64(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgba64() argument 241 filter_slice_rgb48(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgb48() argument 246 filter_slice_rgba64_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgba64_pl() argument 251 filter_slice_rgb48_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgb48_pl() argument 256 filter_slice_rgba(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgba() argument 261 filter_slice_rgb24(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgb24() argument 266 filter_slice_rgb0(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgb0() argument 271 filter_slice_rgba_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgba_pl() argument 276 filter_slice_rgb24_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgb24_pl() argument 281 filter_slice_rgb0_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_rgb0_pl() argument 286 filter_slice_gbrp32(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp32() argument 291 filter_slice_gbrap32(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap32() argument 296 filter_slice_gbrp32_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrp32_pl() argument 301 filter_slice_gbrap32_pl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_slice_gbrap32_pl() argument 308 AVFilterContext *ctx = outlink->src; config_output() local 434 AVFilterContext *ctx = inlink->dst; filter_frame() local 462 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument 473 uninit(AVFilterContext *ctx) uninit() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_context.c | 129 struct stw_context *ctx = stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0, in DrvCreateLayerContext() local 132 if (!ctx) in DrvCreateLayerContext() 135 DHGLRC ret = stw_create_context_handle(ctx, 0); in DrvCreateLayerContext() 137 stw_destroy_context(ctx); in DrvCreateLayerContext() 174 struct stw_context *ctx = NULL; in stw_create_context_attribs() local 212 ctx = CALLOC_STRUCT( stw_context ); in stw_create_context_attribs() 213 if (ctx == NULL) in stw_create_context_attribs() 216 ctx->hDrawDC = hdc; in stw_create_context_attribs() 217 ctx->hReadDC = hdc; in stw_create_context_attribs() 218 ctx in stw_create_context_attribs() 301 stw_create_context_handle(struct stw_context *ctx, DHGLRC handle) stw_create_context_handle() argument 332 stw_destroy_context(struct stw_context *ctx) stw_destroy_context() argument 346 struct stw_context *ctx ; DrvDeleteContext() local 372 stw_unbind_context(struct stw_context *ctx) stw_unbind_context() argument 393 struct stw_context *ctx; DrvReleaseContext() local 409 struct stw_context *ctx; stw_get_current_context() local 422 struct stw_context *ctx; stw_get_current_dc() local 434 struct stw_context *ctx; stw_get_current_read_dc() local 462 stw_make_current(struct stw_framebuffer *fb, struct stw_framebuffer *fbRead, struct stw_context *ctx) stw_make_current() argument 590 struct stw_context *ctx = stw_lookup_context(dhglrc); stw_make_current_by_handles() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_video.c | 171 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_enum_fmt() local 172 struct cedrus_dev *dev = ctx->dev; in cedrus_enum_fmt() 221 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_cap() local 223 f->fmt.pix = ctx->dst_fmt; in cedrus_g_fmt_vid_cap() 230 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_out() local 232 f->fmt.pix = ctx->src_fmt; in cedrus_g_fmt_vid_out() 239 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_try_fmt_vid_cap() local 240 struct cedrus_dev *dev = ctx->dev; in cedrus_try_fmt_vid_cap() 250 pix_fmt->width = ctx->src_fmt.width; in cedrus_try_fmt_vid_cap() 251 pix_fmt->height = ctx in cedrus_try_fmt_vid_cap() 260 struct cedrus_ctx *ctx = cedrus_file2ctx(file); cedrus_try_fmt_vid_out() local 279 struct cedrus_ctx *ctx = cedrus_file2ctx(file); cedrus_s_fmt_vid_cap() local 299 struct cedrus_ctx *ctx = cedrus_file2ctx(file); cedrus_s_fmt_vid_out() local 391 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); cedrus_queue_setup() local 412 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); cedrus_queue_cleanup() local 441 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); cedrus_buf_prepare() local 465 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); cedrus_start_streaming() local 512 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); cedrus_stop_streaming() local 528 struct cedrus_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); cedrus_buf_queue() local 535 struct cedrus_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); cedrus_buf_request_complete() local 555 struct cedrus_ctx *ctx = priv; cedrus_queue_init() local [all...] |
/third_party/mesa3d/src/gallium/tests/graw/ |
H A D | gs-test.c | 45 static struct pipe_context *ctx = NULL; variable 171 ctx->buffer_subdata(ctx, constbuf1, in init_fs_constbuf() 175 pipe_set_constant_buffer(ctx, in init_fs_constbuf() 180 ctx->buffer_subdata(ctx, constbuf2, in init_fs_constbuf() 184 pipe_set_constant_buffer(ctx, in init_fs_constbuf() 214 ctx->set_viewport_states( ctx, 0, 1, &vp ); in set_viewport() 234 handle = ctx in set_vertices() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha.c | 49 static int aes_einit(void *ctx, const unsigned char *key, size_t keylen, in aes_einit() argument 53 if (!ossl_cipher_generic_einit(ctx, key, keylen, iv, ivlen, NULL)) in aes_einit() 55 return aes_set_ctx_params(ctx, params); in aes_einit() 58 static int aes_dinit(void *ctx, const unsigned char *key, size_t keylen, in aes_dinit() argument 62 if (!ossl_cipher_generic_dinit(ctx, key, keylen, iv, ivlen, NULL)) in aes_dinit() 64 return aes_set_ctx_params(ctx, params); in aes_dinit() 88 PROV_AES_HMAC_SHA_CTX *ctx = (PROV_AES_HMAC_SHA_CTX *)vctx; in aes_set_ctx_params() local 90 (PROV_CIPHER_HW_AES_HMAC_SHA *)ctx->hw; in aes_set_ctx_params() 106 hw->init_mac_key(ctx, p->data, p->data_size); in aes_set_ctx_params() 113 && !OSSL_PARAM_get_size_t(p, &ctx in aes_set_ctx_params() 222 PROV_AES_HMAC_SHA_CTX *ctx = (PROV_AES_HMAC_SHA_CTX *)vctx; aes_get_ctx_params() local 309 base_init(void *provctx, PROV_AES_HMAC_SHA_CTX *ctx, const PROV_CIPHER_HW_AES_HMAC_SHA *meths, size_t kbits, size_t blkbits, size_t ivbits, uint64_t flags) base_init() argument 324 PROV_AES_HMAC_SHA1_CTX *ctx; aes_cbc_hmac_sha1_newctx() local 339 PROV_AES_HMAC_SHA1_CTX *ctx = provctx; aes_cbc_hmac_sha1_dupctx() local 349 PROV_AES_HMAC_SHA1_CTX *ctx = (PROV_AES_HMAC_SHA1_CTX *)vctx; aes_cbc_hmac_sha1_freectx() local 361 PROV_AES_HMAC_SHA256_CTX *ctx; aes_cbc_hmac_sha256_newctx() local 376 PROV_AES_HMAC_SHA256_CTX *ctx = provctx; aes_cbc_hmac_sha256_dupctx() local 383 PROV_AES_HMAC_SHA256_CTX *ctx = (PROV_AES_HMAC_SHA256_CTX *)vctx; aes_cbc_hmac_sha256_freectx() local [all...] |
/third_party/openssl/ohos_lite/include/crypto/ |
H A D | evp.h | 46 int (*init) (EVP_PKEY_CTX *ctx); 48 void (*cleanup) (EVP_PKEY_CTX *ctx); 49 int (*paramgen_init) (EVP_PKEY_CTX *ctx); 50 int (*paramgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 51 int (*keygen_init) (EVP_PKEY_CTX *ctx); 52 int (*keygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 53 int (*sign_init) (EVP_PKEY_CTX *ctx); 54 int (*sign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 56 int (*verify_init) (EVP_PKEY_CTX *ctx); 57 int (*verify) (EVP_PKEY_CTX *ctx, [all...] |