Home
last modified time | relevance | path

Searched refs:ctx (Results 201 - 225 of 12581) sorted by relevance

12345678910>>...504

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_internal.c42 struct crypto_hash *ctx; in crypto_hash_init() local
47 ctx = os_zalloc(sizeof(*ctx)); in crypto_hash_init()
48 if (ctx == NULL) in crypto_hash_init()
51 ctx->alg = alg; in crypto_hash_init()
55 MD5Init(&ctx->u.md5); in crypto_hash_init()
58 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
62 sha256_init(&ctx->u.sha256); in crypto_hash_init()
67 sha384_init(&ctx->u.sha384); in crypto_hash_init()
72 sha512_init(&ctx in crypto_hash_init()
143 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) crypto_hash_update() argument
179 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) crypto_hash_finish() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_internal.c42 struct crypto_hash *ctx; in crypto_hash_init() local
47 ctx = os_zalloc(sizeof(*ctx)); in crypto_hash_init()
48 if (ctx == NULL) in crypto_hash_init()
51 ctx->alg = alg; in crypto_hash_init()
55 MD5Init(&ctx->u.md5); in crypto_hash_init()
58 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
62 sha256_init(&ctx->u.sha256); in crypto_hash_init()
67 sha384_init(&ctx->u.sha384); in crypto_hash_init()
72 sha512_init(&ctx in crypto_hash_init()
143 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) crypto_hash_update() argument
179 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) crypto_hash_finish() argument
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dshaderapi.c196 _mesa_init_shader_state(struct gl_context *ctx) in _mesa_init_shader_state() argument
209 memcpy(&ctx->Const.ShaderCompilerOptions[sh], &options, sizeof(options)); in _mesa_init_shader_state()
211 ctx->Shader.Flags = _mesa_get_shader_flags(); in _mesa_init_shader_state()
213 if (ctx->Shader.Flags != 0) in _mesa_init_shader_state()
214 ctx->Const.GenerateTemporaryNames = true; in _mesa_init_shader_state()
217 ctx->Shader.RefCount = 1; in _mesa_init_shader_state()
218 ctx->TessCtrlProgram.patch_vertices = 3; in _mesa_init_shader_state()
220 ctx->TessCtrlProgram.patch_default_outer_level[i] = 1.0; in _mesa_init_shader_state()
222 ctx->TessCtrlProgram.patch_default_inner_level[i] = 1.0; in _mesa_init_shader_state()
230 _mesa_free_shader_state(struct gl_context *ctx) in _mesa_free_shader_state() argument
280 _mesa_validate_shader_target(const struct gl_context *ctx, GLenum type) _mesa_validate_shader_target() argument
308 is_program(struct gl_context *ctx, GLuint name) is_program() argument
316 is_shader(struct gl_context *ctx, GLuint name) is_shader() argument
327 attach_shader(struct gl_context *ctx, struct gl_shader_program *shProg, struct gl_shader *sh) attach_shader() argument
346 attach_shader_err(struct gl_context *ctx, GLuint program, GLuint shader, const char *caller) attach_shader_err() argument
394 attach_shader_no_error(struct gl_context *ctx, GLuint program, GLuint shader) attach_shader_no_error() argument
406 create_shader(struct gl_context *ctx, GLenum type) create_shader() argument
423 create_shader_err(struct gl_context *ctx, GLenum type, const char *caller) create_shader_err() argument
436 create_shader_program(struct gl_context *ctx) create_shader_program() argument
463 delete_shader_program(struct gl_context *ctx, GLuint name) delete_shader_program() argument
489 delete_shader(struct gl_context *ctx, GLuint shader) delete_shader() argument
507 detach_shader(struct gl_context *ctx, GLuint program, GLuint shader, bool no_error) detach_shader() argument
581 detach_shader_error(struct gl_context *ctx, GLuint program, GLuint shader) detach_shader_error() argument
588 detach_shader_no_error(struct gl_context *ctx, GLuint program, GLuint shader) detach_shader_no_error() argument
600 get_attached_shaders(struct gl_context *ctx, GLuint program, GLsizei maxCount, GLsizei *countOut, GLuint *objOut, GLhandleARB *handleOut) get_attached_shaders() argument
634 get_handle(struct gl_context *ctx, GLenum pname) get_handle() argument
661 check_gs_query(struct gl_context *ctx, const struct gl_shader_program *shProg) check_gs_query() argument
686 check_tcs_query(struct gl_context *ctx, const struct gl_shader_program *shProg) check_tcs_query() argument
712 check_tes_query(struct gl_context *ctx, const struct gl_shader_program *shProg) check_tes_query() argument
725 get_shader_program_completion_status(struct gl_context *ctx, struct gl_shader_program *shprog) get_shader_program_completion_status() argument
758 get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *params) get_programiv() argument
1032 get_shaderiv(struct gl_context *ctx, GLuint name, GLenum pname, GLint *params) get_shaderiv() argument
1073 get_program_info_log(struct gl_context *ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) get_program_info_log() argument
1100 get_shader_info_log(struct gl_context *ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) get_shader_info_log() argument
1129 get_shader_source(struct gl_context *ctx, GLuint shader, GLsizei maxLength, GLsizei *length, GLchar *sourceOut) get_shader_source() argument
1184 ensure_builtin_types(struct gl_context *ctx) ensure_builtin_types() argument
1196 _mesa_compile_shader(struct gl_context *ctx, struct gl_shader *sh) _mesa_compile_shader() argument
1274 struct gl_context *ctx; global() member
1299 link_program(struct gl_context *ctx, struct gl_shader_program *shProg, bool no_error) link_program() argument
1439 link_program_error(struct gl_context *ctx, struct gl_shader_program *shProg) link_program_error() argument
1446 link_program_no_error(struct gl_context *ctx, struct gl_shader_program *shProg) link_program_no_error() argument
1453 _mesa_link_program(struct gl_context *ctx, struct gl_shader_program *shProg) _mesa_link_program() argument
1495 _mesa_active_program(struct gl_context *ctx, struct gl_shader_program *shProg, const char *caller) _mesa_active_program() argument
1515 _mesa_use_shader_program(struct gl_context *ctx, struct gl_shader_program *shProg) _mesa_use_shader_program() argument
1571 validate_program(struct gl_context *ctx, GLuint program) validate_program() argument
2072 shader_source(struct gl_context *ctx, GLuint shaderObj, GLsizei count, const GLchar *const *string, const GLint *length, bool no_error) shader_source() argument
2507 program_parameteri(struct gl_context *ctx, struct gl_shader_program *shProg, GLuint pname, GLint value, bool no_error) program_parameteri() argument
2605 _mesa_use_program(struct gl_context *ctx, gl_shader_stage stage, struct gl_shader_program *shProg, struct gl_program *prog, struct gl_pipeline_object *shTarget) _mesa_use_program() argument
2731 set_patch_vertices(struct gl_context *ctx, GLint value) set_patch_vertices() argument
3331 validate_and_tokenise_sh_incl(struct gl_context *ctx, void *mem_ctx, struct sh_incl_path_entry **path_list, char *full_path, bool error_check) validate_and_tokenise_sh_incl() argument
3382 lookup_shader_include(struct gl_context *ctx, char *path, bool error_check) lookup_shader_include() argument
3483 _mesa_lookup_shader_include(struct gl_context *ctx, char *path, bool error_check) _mesa_lookup_shader_include() argument
3493 copy_string(struct gl_context *ctx, const char *str, int str_len, const char *caller) copy_string() argument
3769 _mesa_shader_write_subroutine_index(struct gl_context *ctx, struct gl_program *p) _mesa_shader_write_subroutine_index() argument
3800 _mesa_shader_write_subroutine_indices(struct gl_context *ctx, gl_shader_stage stage) _mesa_shader_write_subroutine_indices() argument
3809 _mesa_program_init_subroutine_defaults(struct gl_context *ctx, struct gl_program *p) _mesa_program_init_subroutine_defaults() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dindeo5.c56 * @param[in,out] ctx ptr to the decoder context
60 static int decode_gop_header(IVI45DecContext *ctx, AVCodecContext *avctx) in decode_gop_header() argument
67 ctx->gop_flags = get_bits(&ctx->gb, 8); in decode_gop_header()
69 ctx->gop_hdr_size = (ctx->gop_flags & 1) ? get_bits(&ctx->gb, 16) : 0; in decode_gop_header()
71 if (ctx->gop_flags & IVI5_IS_PROTECTED) in decode_gop_header()
72 ctx->lock_word = get_bits_long(&ctx in decode_gop_header()
315 decode_pic_hdr(IVI45DecContext *ctx, AVCodecContext *avctx) decode_pic_hdr() argument
383 decode_band_hdr(IVI45DecContext *ctx, IVIBandDesc *band, AVCodecContext *avctx) decode_band_hdr() argument
455 decode_mb_info(IVI45DecContext *ctx, IVIBandDesc *band, IVITile *tile, AVCodecContext *avctx) decode_mb_info() argument
594 switch_buffers(IVI45DecContext *ctx) switch_buffers() argument
632 is_nonnull_frame(IVI45DecContext *ctx) is_nonnull_frame() argument
643 IVI45DecContext *ctx = avctx->priv_data; decode_init() local
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
H A Dregalloc.c80 static bool propagate_liveness_block(gpir_block *block, struct regalloc_ctx *ctx) in propagate_liveness_block() argument
84 for (unsigned j = 0; j < ctx->bitset_words; j++) in propagate_liveness_block()
89 memcpy(ctx->live, block->live_out, ctx->bitset_words * sizeof(BITSET_WORD)); in propagate_liveness_block()
92 propagate_liveness_node(node, ctx->live, block->comp); in propagate_liveness_block()
96 for (unsigned i = 0; i < ctx->bitset_words; i++) { in propagate_liveness_block()
97 changed |= (block->live_in[i] != ctx->live[i]); in propagate_liveness_block()
98 block->live_in[i] = ctx->live[i]; in propagate_liveness_block()
113 static void calc_liveness(struct regalloc_ctx *ctx) in calc_liveness() argument
118 list_for_each_entry_rev(gpir_block, block, &ctx in calc_liveness()
148 add_interference(struct regalloc_ctx *ctx, unsigned i, unsigned j) add_interference() argument
171 add_all_interferences(struct regalloc_ctx *ctx, unsigned i, BITSET_WORD *live_regs) add_all_interferences() argument
182 print_liveness(struct regalloc_ctx *ctx, BITSET_WORD *live_reg) print_liveness() argument
195 calc_interference(struct regalloc_ctx *ctx) calc_interference() argument
238 can_simplify(struct regalloc_ctx *ctx, unsigned i) can_simplify() argument
244 push_stack(struct regalloc_ctx *ctx, unsigned i) push_stack() argument
263 do_regalloc(struct regalloc_ctx *ctx) do_regalloc() argument
344 assign_regs(struct regalloc_ctx *ctx) assign_regs() argument
394 find_free_value_reg(struct value_regalloc_ctx *ctx) find_free_value_reg() argument
415 add_fake_dep(gpir_node *node, gpir_node *src, struct value_regalloc_ctx *ctx) add_fake_dep() argument
442 handle_value_read(gpir_node *node, gpir_node *src, struct value_regalloc_ctx *ctx) handle_value_read() argument
465 handle_reg_read(gpir_load_node *load, struct value_regalloc_ctx *ctx) handle_reg_read() argument
498 handle_reg_write(gpir_store_node *store, struct value_regalloc_ctx *ctx) handle_reg_write() argument
507 handle_value_write(gpir_node *node, struct value_regalloc_ctx *ctx) handle_value_write() argument
521 struct value_regalloc_ctx ctx = { { 0 } }; regalloc_value_regs() local
538 handle_reg_write(gpir_node_to_store(node), &ctx); regalloc_value_regs() local
600 struct regalloc_ctx ctx; gpir_regalloc_prog() local
[all...]
/third_party/libwebsockets/lib/drivers/spi/bitbang/
H A Dlws-bb-spi.c29 lws_bb_spi_t *ctx = (lws_bb_spi_t *)octx; in lws_bb_spi_init() local
33 if (ctx->flags & (1 << n)) in lws_bb_spi_init()
34 ctx->gpio->mode(ctx->ncs[n], LWSGGPIO_FL_WRITE); in lws_bb_spi_init()
35 if (ctx->flags & (1 << (n + 4))) in lws_bb_spi_init()
36 ctx->gpio->mode(ctx->ncmd[n], LWSGGPIO_FL_WRITE); in lws_bb_spi_init()
39 ctx->gpio->mode(ctx->clk, LWSGGPIO_FL_WRITE | in lws_bb_spi_init()
42 ctx in lws_bb_spi_init()
51 lws_bb_spi_write(lws_bb_spi_t *ctx, const uint8_t *buf, size_t len) lws_bb_spi_write() argument
75 lws_bb_spi_read(lws_bb_spi_t *ctx, uint8_t *buf, size_t len) lws_bb_spi_read() argument
98 lws_bb_spi_t *ctx = (lws_bb_spi_t *)octx; lws_bb_spi_queue() local
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c67 struct gl_context *ctx = st->ctx; in st_update_rasterizer() local
69 const struct gl_program *fragProg = ctx->FragmentProgram._Current; in st_update_rasterizer()
76 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); in st_update_rasterizer()
79 if (ctx->Transform.ClipOrigin == GL_UPPER_LEFT) { in st_update_rasterizer()
97 ctx->Light.ShadeModel == GL_FLAT; in st_update_rasterizer()
99 raster->flatshade_first = ctx->Light.ProvokingVertex == in st_update_rasterizer()
104 raster->light_twoside = _mesa_vertex_program_two_side_enabled(ctx); in st_update_rasterizer()
108 ctx->Light._ClampVertexColor; in st_update_rasterizer()
112 if (ctx in st_update_rasterizer()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dwpa_i.h58 struct wpa_sm_ctx *ctx; member
230 WPA_ASSERT(sm->ctx->set_state); in wpa_sm_set_state()
231 sm->ctx->set_state(sm->ctx->ctx, state); in wpa_sm_set_state()
236 WPA_ASSERT(sm->ctx->get_state); in wpa_sm_get_state()
237 return sm->ctx->get_state(sm->ctx->ctx); in wpa_sm_get_state()
242 WPA_ASSERT(sm->ctx in wpa_sm_deauthenticate()
[all...]
/kernel/linux/linux-6.6/io_uring/
H A Dio_uring.h48 bool io_cqe_cache_refill(struct io_ring_ctx *ctx, bool overflow);
50 int io_run_task_work_sig(struct io_ring_ctx *ctx);
53 bool io_post_aux_cqe(struct io_ring_ctx *ctx, u64 user_data, s32 res, u32 cflags);
55 void __io_commit_cqring_flush(struct io_ring_ctx *ctx);
73 struct io_ring_ctx *ctx);
79 int io_submit_sqes(struct io_ring_ctx *ctx, unsigned int nr);
80 int io_do_iopoll(struct io_ring_ctx *ctx, bool force_nonspin);
81 void __io_submit_flush_completions(struct io_ring_ctx *ctx);
90 bool __io_alloc_req_refill(struct io_ring_ctx *ctx);
99 static inline void io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) in io_lockdep_assert_cq_locked() argument
121 io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) io_lockdep_assert_cq_locked() argument
134 io_get_cqe_overflow(struct io_ring_ctx *ctx, struct io_uring_cqe **ret, bool overflow) io_get_cqe_overflow() argument
152 io_get_cqe(struct io_ring_ctx *ctx, struct io_uring_cqe **ret) io_get_cqe() argument
157 io_fill_cqe_req(struct io_ring_ctx *ctx, struct io_kiocb *req) io_fill_cqe_req() argument
209 io_ring_submit_unlock(struct io_ring_ctx *ctx, unsigned issue_flags) io_ring_submit_unlock() argument
217 io_ring_submit_lock(struct io_ring_ctx *ctx, unsigned issue_flags) io_ring_submit_lock() argument
231 io_commit_cqring(struct io_ring_ctx *ctx) io_commit_cqring() argument
237 io_poll_wq_wake(struct io_ring_ctx *ctx) io_poll_wq_wake() argument
244 io_cqring_wake(struct io_ring_ctx *ctx) io_cqring_wake() argument
261 io_sqring_full(struct io_ring_ctx *ctx) io_sqring_full() argument
268 io_sqring_entries(struct io_ring_ctx *ctx) io_sqring_entries() argument
305 io_task_work_pending(struct io_ring_ctx *ctx) io_task_work_pending() argument
310 io_tw_lock(struct io_ring_ctx *ctx, struct io_tw_state *ts) io_tw_lock() argument
333 io_commit_cqring_flush(struct io_ring_ctx *ctx) io_commit_cqring_flush() argument
349 io_req_cache_empty(struct io_ring_ctx *ctx) io_req_cache_empty() argument
356 io_extract_req(struct io_ring_ctx *ctx) io_extract_req() argument
365 io_alloc_req(struct io_ring_ctx *ctx, struct io_kiocb **req) io_alloc_req() argument
375 io_allowed_defer_tw_run(struct io_ring_ctx *ctx) io_allowed_defer_tw_run() argument
380 io_allowed_run_tw(struct io_ring_ctx *ctx) io_allowed_run_tw() argument
397 uring_sqe_size(struct io_ring_ctx *ctx) uring_sqe_size() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dbrowser.c31 static void win_cb_destroy(GtkWidget *win, struct browser_context *ctx) in win_cb_destroy() argument
34 if (ctx->gtk_main_started) in win_cb_destroy()
39 static void browser_update_title(struct browser_context *ctx) in browser_update_title() argument
43 if (ctx->hover_link) { in browser_update_title()
44 gtk_window_set_title(GTK_WINDOW(ctx->win), ctx->hover_link); in browser_update_title()
48 if (ctx->progress == 100) { in browser_update_title()
49 gtk_window_set_title(GTK_WINDOW(ctx->win), in browser_update_title()
50 ctx->title ? ctx in browser_update_title()
61 process_request_starting_uri(struct browser_context *ctx, const char *uri) process_request_starting_uri() argument
91 view_cb_notify_estimated_load_progress(WebKitWebView *view, GParamSpec *pspec, struct browser_context *ctx) view_cb_notify_estimated_load_progress() argument
102 view_cb_resource_load_starting(WebKitWebView *view, WebKitWebResource *res, WebKitURIRequest *req, struct browser_context *ctx) view_cb_resource_load_starting() argument
114 view_cb_decide_policy(WebKitWebView *view, WebKitPolicyDecision *policy, WebKitPolicyDecisionType type, struct browser_context *ctx) view_cb_decide_policy() argument
157 view_cb_mouse_target_changed(WebKitWebView *view, WebKitHitTestResult *h, guint modifiers, struct browser_context *ctx) view_cb_mouse_target_changed() argument
183 view_cb_notify_title(WebKitWebView *view, GParamSpec *ps, struct browser_context *ctx) view_cb_notify_title() argument
197 view_cb_notify_progress(WebKitWebView *view, GParamSpec *pspec, struct browser_context *ctx) view_cb_notify_progress() argument
207 view_cb_notify_load_status(WebKitWebView *view, GParamSpec *pspec, struct browser_context *ctx) view_cb_notify_load_status() argument
220 view_cb_resource_request_starting(WebKitWebView *view, WebKitWebFrame *frame, WebKitWebResource *res, WebKitNetworkRequest *req, WebKitNetworkResponse *resp, struct browser_context *ctx) view_cb_resource_request_starting() argument
237 view_cb_mime_type_policy_decision( WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, gchar *mime, WebKitWebPolicyDecision *policy, struct browser_context *ctx) view_cb_mime_type_policy_decision() argument
253 view_cb_download_requested(WebKitWebView *view, WebKitDownload *dl, struct browser_context *ctx) view_cb_download_requested() argument
264 view_cb_hovering_over_link(WebKitWebView *view, gchar *title, gchar *uri, struct browser_context *ctx) view_cb_hovering_over_link() argument
279 view_cb_title_changed(WebKitWebView *view, WebKitWebFrame *frame, const char *title, struct browser_context *ctx) view_cb_title_changed() argument
302 struct browser_context ctx; hs20_web_browser() local
325 G_CALLBACK(win_cb_destroy), &ctx); hs20_web_browser() local
332 &ctx); hs20_web_browser() local
334 G_CALLBACK(view_cb_resource_load_starting), &ctx); hs20_web_browser() local
336 G_CALLBACK(view_cb_decide_policy), &ctx); hs20_web_browser() local
338 G_CALLBACK(view_cb_mouse_target_changed), &ctx); hs20_web_browser() local
340 G_CALLBACK(view_cb_notify_title), &ctx); hs20_web_browser() local
343 G_CALLBACK(view_cb_notify_load_status), &ctx); hs20_web_browser() local
345 G_CALLBACK(view_cb_notify_progress), &ctx); hs20_web_browser() local
347 G_CALLBACK(view_cb_resource_request_starting), &ctx); hs20_web_browser() local
349 G_CALLBACK(view_cb_mime_type_policy_decision), &ctx); hs20_web_browser() local
351 G_CALLBACK(view_cb_download_requested), &ctx); hs20_web_browser() local
353 G_CALLBACK(view_cb_hovering_over_link), &ctx); hs20_web_browser() local
355 G_CALLBACK(view_cb_title_changed), &ctx); hs20_web_browser() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_nlmeans_opencl.c76 NLMeansOpenCLContext *ctx = avctx->priv; in nlmeans_opencl_init() local
81 ctx->h = ctx->sigma * 10; in nlmeans_opencl_init()
82 if (!(ctx->research_size & 1)) { in nlmeans_opencl_init()
83 ctx->research_size |= 1; in nlmeans_opencl_init()
86 ctx->research_size); in nlmeans_opencl_init()
89 if (!(ctx->patch_size & 1)) { in nlmeans_opencl_init()
90 ctx->patch_size |= 1; in nlmeans_opencl_init()
93 ctx->patch_size); in nlmeans_opencl_init()
96 if (!ctx in nlmeans_opencl_init()
173 NLMeansOpenCLContext *ctx = avctx->priv; nlmeans_plane() local
290 NLMeansOpenCLContext *ctx = avctx->priv; nlmeans_opencl_filter_frame() local
382 NLMeansOpenCLContext *ctx = avctx->priv; nlmeans_opencl_uninit() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimd.c237 static inline void fimd_set_bits(struct fimd_context *ctx, u32 reg, u32 mask, in fimd_set_bits() argument
240 val = (val & mask) | (readl(ctx->regs + reg) & ~mask); in fimd_set_bits()
241 writel(val, ctx->regs + reg); in fimd_set_bits()
246 struct fimd_context *ctx = crtc->ctx; in fimd_enable_vblank() local
249 if (ctx->suspended) in fimd_enable_vblank()
252 if (!test_and_set_bit(0, &ctx->irq_flags)) { in fimd_enable_vblank()
253 val = readl(ctx->regs + VIDINTCON0); in fimd_enable_vblank()
257 if (ctx->i80_if) { in fimd_enable_vblank()
270 writel(val, ctx in fimd_enable_vblank()
278 struct fimd_context *ctx = crtc->ctx; fimd_disable_vblank() local
302 struct fimd_context *ctx = crtc->ctx; fimd_wait_for_vblank() local
319 fimd_enable_video_output(struct fimd_context *ctx, unsigned int win, bool enable) fimd_enable_video_output() argument
332 fimd_enable_shadow_channel_path(struct fimd_context *ctx, unsigned int win, bool enable) fimd_enable_shadow_channel_path() argument
348 struct fimd_context *ctx = crtc->ctx; fimd_clear_channels() local
394 struct fimd_context *ctx = crtc->ctx; fimd_atomic_check() local
434 fimd_setup_trigger(struct fimd_context *ctx) fimd_setup_trigger() argument
456 struct fimd_context *ctx = crtc->ctx; fimd_commit() local
570 fimd_win_set_bldeq(struct fimd_context *ctx, unsigned int win, unsigned int alpha, unsigned int pixel_alpha) fimd_win_set_bldeq() argument
596 fimd_win_set_bldmod(struct fimd_context *ctx, unsigned int win, unsigned int alpha, unsigned int pixel_alpha) fimd_win_set_bldmod() argument
637 fimd_win_set_pixfmt(struct fimd_context *ctx, unsigned int win, struct drm_framebuffer *fb, int width) fimd_win_set_pixfmt() argument
712 fimd_win_set_colkey(struct fimd_context *ctx, unsigned int win) fimd_win_set_colkey() argument
731 fimd_shadow_protect_win(struct fimd_context *ctx, unsigned int win, bool protect) fimd_shadow_protect_win() argument
764 struct fimd_context *ctx = crtc->ctx; fimd_atomic_begin() local
776 struct fimd_context *ctx = crtc->ctx; fimd_atomic_flush() local
793 struct fimd_context *ctx = crtc->ctx; fimd_update_plane() local
886 struct fimd_context *ctx = crtc->ctx; fimd_disable_plane() local
900 struct fimd_context *ctx = crtc->ctx; fimd_atomic_enable() local
918 struct fimd_context *ctx = crtc->ctx; fimd_atomic_disable() local
944 struct fimd_context *ctx = dev_get_drvdata(dev); fimd_trigger() local
973 struct fimd_context *ctx = crtc->ctx; fimd_te_handler() local
1003 struct fimd_context *ctx = container_of(clk, struct fimd_context, fimd_dp_clock_enable() local
1024 struct fimd_context *ctx = (struct fimd_context *)dev_id; fimd_irq_handler() local
1057 struct fimd_context *ctx = dev_get_drvdata(dev); fimd_bind() local
1100 struct fimd_context *ctx = dev_get_drvdata(dev); fimd_unbind() local
1118 struct fimd_context *ctx; fimd_probe() local
1244 struct fimd_context *ctx = dev_get_drvdata(dev); exynos_fimd_suspend() local
1254 struct fimd_context *ctx = dev_get_drvdata(dev); exynos_fimd_resume() local
[all...]
/third_party/mbedtls/library/
H A Dcipher.c201 void mbedtls_cipher_init(mbedtls_cipher_context_t *ctx) in mbedtls_cipher_init() argument
203 memset(ctx, 0, sizeof(mbedtls_cipher_context_t)); in mbedtls_cipher_init()
206 void mbedtls_cipher_free(mbedtls_cipher_context_t *ctx) in mbedtls_cipher_free() argument
208 if (ctx == NULL) { in mbedtls_cipher_free()
213 if (ctx->psa_enabled == 1) { in mbedtls_cipher_free()
214 if (ctx->cipher_ctx != NULL) { in mbedtls_cipher_free()
216 (mbedtls_cipher_context_psa *) ctx->cipher_ctx; in mbedtls_cipher_free()
226 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_cipher_context_t)); in mbedtls_cipher_free()
232 if (ctx->cmac_ctx) { in mbedtls_cipher_free()
233 mbedtls_zeroize_and_free(ctx in mbedtls_cipher_free()
245 mbedtls_cipher_setup(mbedtls_cipher_context_t *ctx, const mbedtls_cipher_info_t *cipher_info) mbedtls_cipher_setup() argument
267 mbedtls_cipher_setup_psa(mbedtls_cipher_context_t *ctx, const mbedtls_cipher_info_t *cipher_info, size_t taglen) mbedtls_cipher_setup_psa() argument
302 mbedtls_cipher_setkey(mbedtls_cipher_context_t *ctx, const unsigned char *key, int key_bitlen, const mbedtls_operation_t operation) mbedtls_cipher_setkey() argument
412 mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len) mbedtls_cipher_set_iv() argument
511 mbedtls_cipher_reset(mbedtls_cipher_context_t *ctx) mbedtls_cipher_reset() argument
531 mbedtls_cipher_update_ad(mbedtls_cipher_context_t *ctx, const unsigned char *ad, size_t ad_len) mbedtls_cipher_update_ad() argument
579 mbedtls_cipher_update(mbedtls_cipher_context_t *ctx, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen) mbedtls_cipher_update() argument
1011 mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx, unsigned char *output, size_t *olen) mbedtls_cipher_finish() argument
1119 mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx, mbedtls_cipher_padding_t mode) mbedtls_cipher_set_padding_mode() argument
1179 mbedtls_cipher_write_tag(mbedtls_cipher_context_t *ctx, unsigned char *tag, size_t tag_len) mbedtls_cipher_write_tag() argument
1225 mbedtls_cipher_check_tag(mbedtls_cipher_context_t *ctx, const unsigned char *tag, size_t tag_len) mbedtls_cipher_check_tag() argument
1306 mbedtls_cipher_crypt(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen) mbedtls_cipher_crypt() argument
1402 mbedtls_cipher_aead_encrypt(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, unsigned char *tag, size_t tag_len) mbedtls_cipher_aead_encrypt() argument
1479 mbedtls_cipher_aead_decrypt(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, const unsigned char *tag, size_t tag_len) mbedtls_cipher_aead_decrypt() argument
1582 mbedtls_cipher_auth_encrypt_ext(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t output_len, size_t *olen, size_t tag_len) mbedtls_cipher_auth_encrypt_ext() argument
1633 mbedtls_cipher_auth_decrypt_ext(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t output_len, size_t *olen, size_t tag_len) mbedtls_cipher_auth_decrypt_ext() argument
[all...]
H A Dmd.c255 void mbedtls_md_init(mbedtls_md_context_t *ctx) in mbedtls_md_init() argument
258 memset(ctx, 0, sizeof(mbedtls_md_context_t)); in mbedtls_md_init()
261 void mbedtls_md_free(mbedtls_md_context_t *ctx) in mbedtls_md_free() argument
263 if (ctx == NULL || ctx->md_info == NULL) { in mbedtls_md_free()
267 if (ctx->md_ctx != NULL) { in mbedtls_md_free()
269 if (ctx->engine == MBEDTLS_MD_ENGINE_PSA) { in mbedtls_md_free()
270 psa_hash_abort(ctx->md_ctx); in mbedtls_md_free()
273 switch (ctx->md_info->type) { in mbedtls_md_free()
276 mbedtls_md5_free(ctx in mbedtls_md_free()
418 mbedtls_md_setup(mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac) mbedtls_md_setup() argument
510 mbedtls_md_starts(mbedtls_md_context_t *ctx) mbedtls_md_starts() argument
571 mbedtls_md_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen) mbedtls_md_update() argument
627 mbedtls_md_finish(mbedtls_md_context_t *ctx, unsigned char *output) mbedtls_md_finish() argument
908 mbedtls_md_info_from_ctx( const mbedtls_md_context_t *ctx) mbedtls_md_info_from_ctx() argument
924 mbedtls_md_context_t ctx; mbedtls_md_file() local
969 mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen) mbedtls_md_hmac_starts() argument
1017 mbedtls_md_hmac_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen) mbedtls_md_hmac_update() argument
1026 mbedtls_md_hmac_finish(mbedtls_md_context_t *ctx, unsigned char *output) mbedtls_md_hmac_finish() argument
1055 mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx) mbedtls_md_hmac_reset() argument
1077 mbedtls_md_context_t ctx; mbedtls_md_hmac() local
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_emit.c97 required_stream_size(struct etna_context *ctx) in required_stream_size() argument
105 size += ctx->vertex_elements->num_elements + 1; in required_stream_size()
108 size += ctx->shader.vs->uniforms.count * 2; in required_stream_size()
109 size += ctx->shader.fs->uniforms.count * 2; in required_stream_size()
112 size += ctx->shader_state.vs_inst_mem_size + 1; in required_stream_size()
113 size += ctx->shader_state.ps_inst_mem_size + 1; in required_stream_size()
126 emit_halti5_only_state(struct etna_context *ctx, int vs_output_count) in emit_halti5_only_state() argument
128 struct etna_cmd_stream *stream = ctx->stream; in emit_halti5_only_state()
129 uint32_t dirty = ctx->dirty; in emit_halti5_only_state()
135 /*007C4*/ EMIT_STATE(FE_HALTI5_ID_CONFIG, ctx in emit_halti5_only_state()
160 emit_pre_halti5_state(struct etna_context *ctx) emit_pre_halti5_state() argument
218 etna_emit_state(struct etna_context *ctx) etna_emit_state() argument
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dstandalone_scaffolding.cpp40 _mesa_warning(struct gl_context *ctx, const char *fmt, ...) in _mesa_warning() argument
43 (void) ctx; in _mesa_warning()
58 _mesa_problem(struct gl_context *ctx, const char *fmt, ...) in _mesa_problem() argument
61 (void) ctx; in _mesa_problem()
76 _mesa_reference_shader_program_data(struct gl_context *ctx, in _mesa_reference_shader_program_data() argument
80 (void) ctx; in _mesa_reference_shader_program_data()
85 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, in _mesa_reference_shader() argument
88 (void) ctx; in _mesa_reference_shader()
93 _mesa_reference_program_(struct gl_context *ctx, struct gl_program **ptr, in _mesa_reference_program_() argument
96 (void) ctx; in _mesa_reference_program_()
150 _mesa_clear_shader_program_data(struct gl_context *ctx, struct gl_shader_program *shProg) _mesa_clear_shader_program_data() argument
182 initialize_context_to_defaults(struct gl_context *ctx, gl_api api) initialize_context_to_defaults() argument
[all...]
/third_party/libdrm/tests/ttmtest/src/
H A Dttmtest.c135 releaseContext(TinyDRIContext * ctx) in releaseContext() argument
137 switch (ctx->state) { in releaseContext()
139 uniDRIDestroyContext(ctx->display, ctx->screen, ctx->id); in releaseContext()
141 drmClose(ctx->drmFD); in releaseContext()
143 XFree(ctx->driPriv); in releaseContext()
145 XFree(ctx->driverName); in releaseContext()
147 XFree(ctx->curBusID); in releaseContext()
148 uniDRICloseConnection(ctx in releaseContext()
169 benchmarkBuffer(TinyDRIContext * ctx, unsigned long size, unsigned long *ticks) benchmarkBuffer() argument
305 testAGP(TinyDRIContext * ctx) testAGP() argument
352 TinyDRIContext ctx; main() local
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dkbkdf.c101 static void init(KBKDF *ctx) in init() argument
103 ctx->use_l = 1; in init()
104 ctx->use_separator = 1; in init()
109 KBKDF *ctx; in kbkdf_new() local
114 ctx = OPENSSL_zalloc(sizeof(*ctx)); in kbkdf_new()
115 if (ctx == NULL) { in kbkdf_new()
120 ctx->provctx = provctx; in kbkdf_new()
121 init(ctx); in kbkdf_new()
122 return ctx; in kbkdf_new()
127 KBKDF *ctx = (KBKDF *)vctx; kbkdf_free() local
137 KBKDF *ctx = (KBKDF *)vctx; kbkdf_reset() local
158 EVP_MAC_CTX *ctx = NULL; derive() local
215 KBKDF *ctx = (KBKDF *)vctx; kbkdf_derive() local
281 KBKDF *ctx = (KBKDF *)vctx; kbkdf_set_ctx_params() local
343 kbkdf_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) kbkdf_settable_ctx_params() argument
375 kbkdf_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) kbkdf_gettable_ctx_params() argument
[all...]
/third_party/openssl/providers/implementations/kdfs/
H A Dkbkdf.c101 static void init(KBKDF *ctx) in init() argument
103 ctx->use_l = 1; in init()
104 ctx->use_separator = 1; in init()
109 KBKDF *ctx; in kbkdf_new() local
114 ctx = OPENSSL_zalloc(sizeof(*ctx)); in kbkdf_new()
115 if (ctx == NULL) { in kbkdf_new()
120 ctx->provctx = provctx; in kbkdf_new()
121 init(ctx); in kbkdf_new()
122 return ctx; in kbkdf_new()
127 KBKDF *ctx = (KBKDF *)vctx; kbkdf_free() local
137 KBKDF *ctx = (KBKDF *)vctx; kbkdf_reset() local
158 EVP_MAC_CTX *ctx = NULL; derive() local
215 KBKDF *ctx = (KBKDF *)vctx; kbkdf_derive() local
281 KBKDF *ctx = (KBKDF *)vctx; kbkdf_set_ctx_params() local
343 kbkdf_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) kbkdf_settable_ctx_params() argument
375 kbkdf_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) kbkdf_gettable_ctx_params() argument
[all...]
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dpkcs7_parser.c117 struct pkcs7_parse_context *ctx; in pkcs7_parse_message() local
121 ctx = kzalloc(sizeof(struct pkcs7_parse_context), GFP_KERNEL); in pkcs7_parse_message()
122 if (!ctx) in pkcs7_parse_message()
124 ctx->msg = kzalloc(sizeof(struct pkcs7_message), GFP_KERNEL); in pkcs7_parse_message()
125 if (!ctx->msg) in pkcs7_parse_message()
127 ctx->sinfo = kzalloc(sizeof(struct pkcs7_signed_info), GFP_KERNEL); in pkcs7_parse_message()
128 if (!ctx->sinfo) in pkcs7_parse_message()
130 ctx->sinfo->sig = kzalloc(sizeof(struct public_key_signature), in pkcs7_parse_message()
132 if (!ctx->sinfo->sig) in pkcs7_parse_message()
135 ctx in pkcs7_parse_message()
208 struct pkcs7_parse_context *ctx = context; pkcs7_note_OID() local
227 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_digest_algo() local
265 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_pkey_algo() local
294 struct pkcs7_parse_context *ctx = context; pkcs7_check_content_type() local
311 struct pkcs7_parse_context *ctx = context; pkcs7_note_signeddata_version() local
345 struct pkcs7_parse_context *ctx = context; pkcs7_note_signerinfo_version() local
388 struct pkcs7_parse_context *ctx = context; pkcs7_extract_cert() local
428 struct pkcs7_parse_context *ctx = context; pkcs7_note_certificate_list() local
446 struct pkcs7_parse_context *ctx = context; pkcs7_note_content() local
466 struct pkcs7_parse_context *ctx = context; pkcs7_note_data() local
483 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_authenticated_attr() local
577 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_set_of_authattrs() local
605 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_serial() local
618 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_issuer() local
631 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_skid() local
647 struct pkcs7_parse_context *ctx = context; pkcs7_sig_note_signature() local
664 struct pkcs7_parse_context *ctx = context; pkcs7_note_signed_info() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
H A Dbacking_ops.c34 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event() argument
40 ch0_cnt = ctx->csa.spu_chnlcnt_RW[0]; in gen_spu_event()
41 ch0_data = ctx->csa.spu_chnldata_RW[0]; in gen_spu_event()
42 ch1_data = ctx->csa.spu_chnldata_RW[1]; in gen_spu_event()
43 ctx->csa.spu_chnldata_RW[0] |= event; in gen_spu_event()
45 ctx->csa.spu_chnlcnt_RW[0] = 1; in gen_spu_event()
49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read() argument
54 spin_lock(&ctx->csa.register_lock); in spu_backing_mbox_read()
55 mbox_stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_read()
61 *data = ctx in spu_backing_mbox_read()
71 spu_backing_mbox_stat_read(struct spu_context *ctx) spu_backing_mbox_stat_read() argument
76 spu_backing_mbox_stat_poll(struct spu_context *ctx, __poll_t events) spu_backing_mbox_stat_poll() argument
115 spu_backing_ibox_read(struct spu_context *ctx, u32 * data) spu_backing_ibox_read() argument
139 spu_backing_wbox_write(struct spu_context *ctx, u32 data) spu_backing_wbox_write() argument
170 spu_backing_signal1_read(struct spu_context *ctx) spu_backing_signal1_read() argument
175 spu_backing_signal1_write(struct spu_context *ctx, u32 data) spu_backing_signal1_write() argument
187 spu_backing_signal2_read(struct spu_context *ctx) spu_backing_signal2_read() argument
192 spu_backing_signal2_write(struct spu_context *ctx, u32 data) spu_backing_signal2_write() argument
204 spu_backing_signal1_type_set(struct spu_context *ctx, u64 val) spu_backing_signal1_type_set() argument
218 spu_backing_signal1_type_get(struct spu_context *ctx) spu_backing_signal1_type_get() argument
223 spu_backing_signal2_type_set(struct spu_context *ctx, u64 val) spu_backing_signal2_type_set() argument
237 spu_backing_signal2_type_get(struct spu_context *ctx) spu_backing_signal2_type_get() argument
242 spu_backing_npc_read(struct spu_context *ctx) spu_backing_npc_read() argument
247 spu_backing_npc_write(struct spu_context *ctx, u32 val) spu_backing_npc_write() argument
252 spu_backing_status_read(struct spu_context *ctx) spu_backing_status_read() argument
257 spu_backing_get_ls(struct spu_context *ctx) spu_backing_get_ls() argument
262 spu_backing_privcntl_write(struct spu_context *ctx, u64 val) spu_backing_privcntl_write() argument
267 spu_backing_runcntl_read(struct spu_context *ctx) spu_backing_runcntl_read() argument
272 spu_backing_runcntl_write(struct spu_context *ctx, u32 val) spu_backing_runcntl_write() argument
290 spu_backing_runcntl_stop(struct spu_context *ctx) spu_backing_runcntl_stop() argument
295 spu_backing_master_start(struct spu_context *ctx) spu_backing_master_start() argument
306 spu_backing_master_stop(struct spu_context *ctx) spu_backing_master_stop() argument
317 spu_backing_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) spu_backing_set_mfc_query() argument
343 spu_backing_read_mfc_tagstatus(struct spu_context * ctx) spu_backing_read_mfc_tagstatus() argument
348 spu_backing_get_mfc_free_elements(struct spu_context *ctx) spu_backing_get_mfc_free_elements() argument
353 spu_backing_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command *cmd) spu_backing_send_mfc_command() argument
366 spu_backing_restart_dma(struct spu_context *ctx) spu_backing_restart_dma() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/
H A Dbacking_ops.c34 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event() argument
40 ch0_cnt = ctx->csa.spu_chnlcnt_RW[0]; in gen_spu_event()
41 ch0_data = ctx->csa.spu_chnldata_RW[0]; in gen_spu_event()
42 ch1_data = ctx->csa.spu_chnldata_RW[1]; in gen_spu_event()
43 ctx->csa.spu_chnldata_RW[0] |= event; in gen_spu_event()
45 ctx->csa.spu_chnlcnt_RW[0] = 1; in gen_spu_event()
49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read() argument
54 spin_lock(&ctx->csa.register_lock); in spu_backing_mbox_read()
55 mbox_stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_read()
61 *data = ctx in spu_backing_mbox_read()
71 spu_backing_mbox_stat_read(struct spu_context *ctx) spu_backing_mbox_stat_read() argument
76 spu_backing_mbox_stat_poll(struct spu_context *ctx, __poll_t events) spu_backing_mbox_stat_poll() argument
115 spu_backing_ibox_read(struct spu_context *ctx, u32 * data) spu_backing_ibox_read() argument
139 spu_backing_wbox_write(struct spu_context *ctx, u32 data) spu_backing_wbox_write() argument
170 spu_backing_signal1_read(struct spu_context *ctx) spu_backing_signal1_read() argument
175 spu_backing_signal1_write(struct spu_context *ctx, u32 data) spu_backing_signal1_write() argument
187 spu_backing_signal2_read(struct spu_context *ctx) spu_backing_signal2_read() argument
192 spu_backing_signal2_write(struct spu_context *ctx, u32 data) spu_backing_signal2_write() argument
204 spu_backing_signal1_type_set(struct spu_context *ctx, u64 val) spu_backing_signal1_type_set() argument
218 spu_backing_signal1_type_get(struct spu_context *ctx) spu_backing_signal1_type_get() argument
223 spu_backing_signal2_type_set(struct spu_context *ctx, u64 val) spu_backing_signal2_type_set() argument
237 spu_backing_signal2_type_get(struct spu_context *ctx) spu_backing_signal2_type_get() argument
242 spu_backing_npc_read(struct spu_context *ctx) spu_backing_npc_read() argument
247 spu_backing_npc_write(struct spu_context *ctx, u32 val) spu_backing_npc_write() argument
252 spu_backing_status_read(struct spu_context *ctx) spu_backing_status_read() argument
257 spu_backing_get_ls(struct spu_context *ctx) spu_backing_get_ls() argument
262 spu_backing_privcntl_write(struct spu_context *ctx, u64 val) spu_backing_privcntl_write() argument
267 spu_backing_runcntl_read(struct spu_context *ctx) spu_backing_runcntl_read() argument
272 spu_backing_runcntl_write(struct spu_context *ctx, u32 val) spu_backing_runcntl_write() argument
290 spu_backing_runcntl_stop(struct spu_context *ctx) spu_backing_runcntl_stop() argument
295 spu_backing_master_start(struct spu_context *ctx) spu_backing_master_start() argument
306 spu_backing_master_stop(struct spu_context *ctx) spu_backing_master_stop() argument
317 spu_backing_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) spu_backing_set_mfc_query() argument
343 spu_backing_read_mfc_tagstatus(struct spu_context * ctx) spu_backing_read_mfc_tagstatus() argument
348 spu_backing_get_mfc_free_elements(struct spu_context *ctx) spu_backing_get_mfc_free_elements() argument
353 spu_backing_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command *cmd) spu_backing_send_mfc_command() argument
366 spu_backing_restart_dma(struct spu_context *ctx) spu_backing_restart_dma() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_encode.c311 static int virgl_encoder_write_cmd_dword(struct virgl_context *ctx, in virgl_encoder_write_cmd_dword() argument
316 if ((ctx->cbuf->cdw + len + 1) > VIRGL_MAX_CMDBUF_DWORDS) in virgl_encoder_write_cmd_dword()
317 ctx->base.flush(&ctx->base, NULL, 0); in virgl_encoder_write_cmd_dword()
319 virgl_encoder_write_dword(ctx->cbuf, dword); in virgl_encoder_write_cmd_dword()
335 static void virgl_encoder_write_res(struct virgl_context *ctx, in virgl_encoder_write_res() argument
338 struct virgl_screen *vs = virgl_screen(ctx->base.screen); in virgl_encoder_write_res()
339 virgl_encoder_emit_resource(vs, ctx->cbuf, res); in virgl_encoder_write_res()
342 int virgl_encode_bind_object(struct virgl_context *ctx, in virgl_encode_bind_object() argument
345 virgl_encoder_write_cmd_dword(ctx, VIRGL_CMD in virgl_encode_bind_object()
350 virgl_encode_delete_object(struct virgl_context *ctx, uint32_t handle, uint32_t object) virgl_encode_delete_object() argument
358 virgl_encode_blend_state(struct virgl_context *ctx, uint32_t handle, const struct pipe_blend_state *blend_state) virgl_encode_blend_state() argument
401 virgl_encode_dsa_state(struct virgl_context *ctx, uint32_t handle, const struct pipe_depth_stencil_alpha_state *dsa_state) virgl_encode_dsa_state() argument
431 virgl_encode_rasterizer_state(struct virgl_context *ctx, uint32_t handle, const struct pipe_rasterizer_state *state) virgl_encode_rasterizer_state() argument
484 virgl_emit_shader_header(struct virgl_context *ctx, uint32_t handle, uint32_t len, uint32_t type, uint32_t offlen, uint32_t num_tokens) virgl_emit_shader_header() argument
496 virgl_emit_shader_streamout(struct virgl_context *ctx, const struct pipe_stream_output_info *so_info) virgl_emit_shader_streamout() argument
524 virgl_encode_shader_state(struct virgl_context *ctx, uint32_t handle, uint32_t type, const struct pipe_stream_output_info *so_info, uint32_t cs_req_local_mem, const struct tgsi_token *tokens) virgl_encode_shader_state() argument
615 virgl_encode_clear(struct virgl_context *ctx, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) virgl_encode_clear() argument
635 virgl_encode_clear_texture(struct virgl_context *ctx, struct virgl_resource *res, unsigned int level, const struct pipe_box *box, const void *data) virgl_encode_clear_texture() argument
667 virgl_encoder_set_framebuffer_state(struct virgl_context *ctx, const struct pipe_framebuffer_state *state) virgl_encoder_set_framebuffer_state() argument
690 virgl_encoder_set_viewport_states(struct virgl_context *ctx, int start_slot, int num_viewports, const struct pipe_viewport_state *states) virgl_encoder_set_viewport_states() argument
707 virgl_encoder_create_vertex_elements(struct virgl_context *ctx, uint32_t handle, unsigned num_elements, const struct pipe_vertex_element *element) virgl_encoder_create_vertex_elements() argument
724 virgl_encoder_set_vertex_buffers(struct virgl_context *ctx, unsigned num_buffers, const struct pipe_vertex_buffer *buffers) virgl_encoder_set_vertex_buffers() argument
739 virgl_encoder_set_index_buffer(struct virgl_context *ctx, const struct virgl_indexbuf *ib) virgl_encoder_set_index_buffer() argument
756 virgl_encoder_draw_vbo(struct virgl_context *ctx, const struct pipe_draw_info *info, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draw) virgl_encoder_draw_vbo() argument
801 virgl_encoder_create_surface_common(struct virgl_context *ctx, uint32_t handle, struct virgl_resource *res, const struct pipe_surface *templat) virgl_encoder_create_surface_common() argument
817 virgl_encoder_create_surface(struct virgl_context *ctx, uint32_t handle, struct virgl_resource *res, const struct pipe_surface *templat) virgl_encoder_create_surface() argument
837 virgl_encoder_create_so_target(struct virgl_context *ctx, uint32_t handle, struct virgl_resource *res, unsigned buffer_offset, unsigned buffer_size) virgl_encoder_create_so_target() argument
897 virgl_encoder_inline_write(struct virgl_context *ctx, struct virgl_resource *res, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) virgl_encoder_inline_write() argument
944 virgl_encoder_flush_frontbuffer(struct virgl_context *ctx, struct virgl_resource *res) virgl_encoder_flush_frontbuffer() argument
952 virgl_encode_sampler_state(struct virgl_context *ctx, uint32_t handle, const struct pipe_sampler_state *state) virgl_encode_sampler_state() argument
982 virgl_encode_sampler_view(struct virgl_context *ctx, uint32_t handle, struct virgl_resource *res, const struct pipe_sampler_view *state) virgl_encode_sampler_view() argument
1017 virgl_encode_set_sampler_views(struct virgl_context *ctx, uint32_t shader_type, uint32_t start_slot, uint32_t num_views, struct virgl_sampler_view **views) virgl_encode_set_sampler_views() argument
1034 virgl_encode_bind_sampler_states(struct virgl_context *ctx, uint32_t shader_type, uint32_t start_slot, uint32_t num_handles, uint32_t *handles) virgl_encode_bind_sampler_states() argument
1049 virgl_encoder_write_constant_buffer(struct virgl_context *ctx, uint32_t shader, uint32_t index, uint32_t size, const void *data) virgl_encoder_write_constant_buffer() argument
1063 virgl_encoder_set_uniform_buffer(struct virgl_context *ctx, uint32_t shader, uint32_t index, uint32_t offset, uint32_t length, struct virgl_resource *res) virgl_encoder_set_uniform_buffer() argument
1080 virgl_encoder_set_stencil_ref(struct virgl_context *ctx, const struct pipe_stencil_ref *ref) virgl_encoder_set_stencil_ref() argument
1088 virgl_encoder_set_blend_color(struct virgl_context *ctx, const struct pipe_blend_color *color) virgl_encoder_set_blend_color() argument
1098 virgl_encoder_set_scissor_state(struct virgl_context *ctx, unsigned start_slot, int num_scissors, const struct pipe_scissor_state *ss) virgl_encoder_set_scissor_state() argument
1113 virgl_encoder_set_polygon_stipple(struct virgl_context *ctx, const struct pipe_poly_stipple *ps) virgl_encoder_set_polygon_stipple() argument
1123 virgl_encoder_set_sample_mask(struct virgl_context *ctx, unsigned sample_mask) virgl_encoder_set_sample_mask() argument
1130 virgl_encoder_set_min_samples(struct virgl_context *ctx, unsigned min_samples) virgl_encoder_set_min_samples() argument
1137 virgl_encoder_set_clip_state(struct virgl_context *ctx, const struct pipe_clip_state *clip) virgl_encoder_set_clip_state() argument
1149 virgl_encode_resource_copy_region(struct virgl_context *ctx, struct virgl_resource *dst_res, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct virgl_resource *src_res, unsigned src_level, const struct pipe_box *src_box) virgl_encode_resource_copy_region() argument
1174 virgl_encode_blit(struct virgl_context *ctx, struct virgl_resource *dst_res, struct virgl_resource *src_res, const struct pipe_blit_info *blit) virgl_encode_blit() argument
1212 virgl_encoder_create_query(struct virgl_context *ctx, uint32_t handle, uint query_type, uint query_index, struct virgl_resource *res, uint32_t offset) virgl_encoder_create_query() argument
1227 virgl_encoder_begin_query(struct virgl_context *ctx, uint32_t handle) virgl_encoder_begin_query() argument
1235 virgl_encoder_end_query(struct virgl_context *ctx, uint32_t handle) virgl_encoder_end_query() argument
1243 virgl_encoder_get_query_result(struct virgl_context *ctx, uint32_t handle, boolean wait) virgl_encoder_get_query_result() argument
1252 virgl_encoder_render_condition(struct virgl_context *ctx, uint32_t handle, boolean condition, enum pipe_render_cond_flag mode) virgl_encoder_render_condition() argument
1263 virgl_encoder_set_so_targets(struct virgl_context *ctx, unsigned num_targets, struct pipe_stream_output_target **targets, unsigned append_bitmask) virgl_encoder_set_so_targets() argument
1280 virgl_encoder_set_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) virgl_encoder_set_sub_ctx() argument
1287 virgl_encoder_create_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) virgl_encoder_create_sub_ctx() argument
1294 virgl_encoder_destroy_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) virgl_encoder_destroy_sub_ctx() argument
1301 virgl_encode_link_shader(struct virgl_context *ctx, uint32_t *handles) virgl_encode_link_shader() argument
1313 virgl_encode_bind_shader(struct virgl_context *ctx, uint32_t handle, uint32_t type) virgl_encode_bind_shader() argument
1322 virgl_encode_set_tess_state(struct virgl_context *ctx, const float outer[4], const float inner[2]) virgl_encode_set_tess_state() argument
1335 virgl_encode_set_shader_buffers(struct virgl_context *ctx, enum pipe_shader_type shader, unsigned start_slot, unsigned count, const struct pipe_shader_buffer *buffers) virgl_encode_set_shader_buffers() argument
1364 virgl_encode_set_hw_atomic_buffers(struct virgl_context *ctx, unsigned start_slot, unsigned count, const struct pipe_shader_buffer *buffers) virgl_encode_set_hw_atomic_buffers() argument
1391 virgl_encode_set_shader_images(struct virgl_context *ctx, enum pipe_shader_type shader, unsigned start_slot, unsigned count, const struct pipe_image_view *images) virgl_encode_set_shader_images() argument
1426 virgl_encode_memory_barrier(struct virgl_context *ctx, unsigned flags) virgl_encode_memory_barrier() argument
1434 virgl_encode_launch_grid(struct virgl_context *ctx, const struct pipe_grid_info *grid_info) virgl_encode_launch_grid() argument
1453 virgl_encode_texture_barrier(struct virgl_context *ctx, unsigned flags) virgl_encode_texture_barrier() argument
1461 virgl_encode_host_debug_flagstring(struct virgl_context *ctx, const char *flagstring) virgl_encode_host_debug_flagstring() argument
1484 virgl_encode_tweak(struct virgl_context *ctx, enum vrend_tweak_type tweak, uint32_t value) virgl_encode_tweak() argument
1493 virgl_encode_get_query_result_qbo(struct virgl_context *ctx, uint32_t handle, struct virgl_resource *res, boolean wait, uint32_t result_type, uint32_t offset, uint32_t index) virgl_encode_get_query_result_qbo() argument
1530 virgl_encode_copy_transfer(struct virgl_context *ctx, struct virgl_transfer *trans) virgl_encode_copy_transfer() argument
1571 virgl_encode_get_memory_info(struct virgl_context *ctx, struct virgl_resource *res) virgl_encode_get_memory_info() argument
1577 virgl_encode_emit_string_marker(struct virgl_context *ctx, const char *message, int len) virgl_encode_emit_string_marker() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c33 static LLVMValueRef si_llvm_bound_index(struct si_shader_context *ctx, LLVMValueRef index, in si_llvm_bound_index() argument
36 LLVMBuilderRef builder = ctx->ac.builder; in si_llvm_bound_index()
37 LLVMValueRef c_max = LLVMConstInt(ctx->ac.i32, num - 1, 0); in si_llvm_bound_index()
56 static LLVMValueRef load_const_buffer_desc_fast_path(struct si_shader_context *ctx) in load_const_buffer_desc_fast_path() argument
58 LLVMValueRef ptr = ac_get_arg(&ctx->ac, ctx->const_and_shader_buffers); in load_const_buffer_desc_fast_path()
59 struct si_shader_selector *sel = ctx->shader->selector; in load_const_buffer_desc_fast_path()
66 ptr = LLVMBuildPtrToInt(ctx->ac.builder, ptr, ctx->ac.intptr, ""); in load_const_buffer_desc_fast_path()
70 desc1 = LLVMConstInt(ctx in load_const_buffer_desc_fast_path()
94 struct si_shader_context *ctx = si_shader_context_from_abi(abi); load_ubo() local
112 struct si_shader_context *ctx = si_shader_context_from_abi(abi); load_ssbo() local
139 force_dcc_off(struct si_shader_context *ctx, LLVMValueRef rsrc) force_dcc_off() argument
154 force_write_compress_off(struct si_shader_context *ctx, LLVMValueRef rsrc) force_write_compress_off() argument
165 fixup_image_desc(struct si_shader_context *ctx, LLVMValueRef rsrc, bool uses_store) fixup_image_desc() argument
180 si_load_image_desc(struct si_shader_context *ctx, LLVMValueRef list, LLVMValueRef index, enum ac_descriptor_type desc_type, bool uses_store, bool bindless) si_load_image_desc() argument
208 si_load_sampler_desc(struct si_shader_context *ctx, LLVMValueRef list, LLVMValueRef index, enum ac_descriptor_type type) si_load_sampler_desc() argument
252 struct si_shader_context *ctx = si_shader_context_from_abi(abi); si_nir_load_sampler_desc() local
337 si_llvm_init_resource_callbacks(struct si_shader_context *ctx) si_llvm_init_resource_callbacks() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/hmac/
H A Dhmac.c25 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, in HMAC_Init_ex() argument
35 if (md != NULL && md != ctx->md && (key == NULL || len < 0)) in HMAC_Init_ex()
39 ctx->md = md; in HMAC_Init_ex()
40 else if (ctx->md != NULL) in HMAC_Init_ex()
41 md = ctx->md; in HMAC_Init_ex()
61 if (!EVP_DigestInit_ex(ctx->md_ctx, md, impl) in HMAC_Init_ex()
62 || !EVP_DigestUpdate(ctx->md_ctx, key, len) in HMAC_Init_ex()
63 || !EVP_DigestFinal_ex(ctx->md_ctx, keytmp, in HMAC_Init_ex()
78 if (!EVP_DigestInit_ex(ctx->i_ctx, md, impl) in HMAC_Init_ex()
79 || !EVP_DigestUpdate(ctx in HMAC_Init_ex()
102 HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) HMAC_Init() argument
110 HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) HMAC_Update() argument
117 HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) HMAC_Final() argument
138 HMAC_size(const HMAC_CTX *ctx) HMAC_size() argument
147 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX)); HMAC_CTX_new() local
158 hmac_ctx_cleanup(HMAC_CTX *ctx) hmac_ctx_cleanup() argument
166 HMAC_CTX_free(HMAC_CTX *ctx) HMAC_CTX_free() argument
177 hmac_ctx_alloc_mds(HMAC_CTX *ctx) hmac_ctx_alloc_mds() argument
194 HMAC_CTX_reset(HMAC_CTX *ctx) HMAC_CTX_reset() argument
240 HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags) HMAC_CTX_set_flags() argument
247 HMAC_CTX_get_md(const HMAC_CTX *ctx) HMAC_CTX_get_md() argument
[all...]

Completed in 17 milliseconds

12345678910>>...504