Home
last modified time | relevance | path

Searched refs:ctx (Results 1201 - 1225 of 13396) sorted by relevance

1...<<41424344454647484950>>...536

/third_party/mbedtls/3rdparty/everest/library/
H A Dx25519.c42 void mbedtls_x25519_init( mbedtls_x25519_context *ctx ) in mbedtls_x25519_init()
44 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_x25519_context ) ); in mbedtls_x25519_init()
50 void mbedtls_x25519_free( mbedtls_x25519_context *ctx ) in mbedtls_x25519_free()
52 if( ctx == NULL ) in mbedtls_x25519_free()
55 mbedtls_platform_zeroize( ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_free()
56 mbedtls_platform_zeroize( ctx->peer_point, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_free()
59 int mbedtls_x25519_make_params( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_make_params() argument
68 if( ( ret = f_rng( p_rng, ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ) ) != 0 ) in mbedtls_x25519_make_params()
81 Hacl_Curve25519_crypto_scalarmult( buf, ctx->our_secret, base ); in mbedtls_x25519_make_params()
90 int mbedtls_x25519_read_params( mbedtls_x25519_context *ctx, in mbedtls_x25519_read_params() argument
104 mbedtls_x25519_get_params( mbedtls_x25519_context *ctx, const mbedtls_ecp_keypair *key, mbedtls_x25519_ecdh_side side ) mbedtls_x25519_get_params() argument
119 mbedtls_x25519_calc_secret( mbedtls_x25519_context *ctx, size_t *olen, unsigned char *buf, size_t blen, int( *f_rng )(void *, unsigned char *, size_t), void *p_rng ) mbedtls_x25519_calc_secret() argument
145 mbedtls_x25519_make_public( mbedtls_x25519_context *ctx, size_t *olen, unsigned char *buf, size_t blen, int( *f_rng )(void *, unsigned char *, size_t), void *p_rng ) mbedtls_x25519_make_public() argument
174 mbedtls_x25519_read_public( mbedtls_x25519_context *ctx, const unsigned char *buf, size_t blen ) mbedtls_x25519_read_public() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_query_sw.c44 fd_sw_destroy_query(struct fd_context *ctx, struct fd_query *q) in fd_sw_destroy_query() argument
51 read_counter(struct fd_context *ctx, int type) assert_dt
55 return ctx->stats.prims_generated;
57 return ctx->stats.prims_emitted;
59 return ctx->stats.draw_calls;
61 return ctx->stats.batch_total;
63 return ctx->stats.batch_sysmem;
65 return ctx->stats.batch_gmem;
67 return ctx->stats.batch_nondraw;
69 return ctx
143 fd_sw_get_query_result(struct fd_context *ctx, struct fd_query *q, bool wait, union pipe_query_result *result) fd_sw_get_query_result() argument
171 fd_sw_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) fd_sw_create_query() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Ddsa_ctrl.c17 static int dsa_paramgen_check(EVP_PKEY_CTX *ctx) in dsa_paramgen_check() argument
19 if (ctx == NULL || !EVP_PKEY_CTX_IS_GEN_OP(ctx)) { in dsa_paramgen_check()
25 if (ctx->pmeth != NULL && ctx->pmeth->pkey_id != EVP_PKEY_DSA) in dsa_paramgen_check()
30 int EVP_PKEY_CTX_set_dsa_paramgen_type(EVP_PKEY_CTX *ctx, const char *name) in EVP_PKEY_CTX_set_dsa_paramgen_type() argument
35 if ((ret = dsa_paramgen_check(ctx)) <= 0) in EVP_PKEY_CTX_set_dsa_paramgen_type()
42 return EVP_PKEY_CTX_set_params(ctx, params); in EVP_PKEY_CTX_set_dsa_paramgen_type()
45 int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dsa_paramgen_gindex() argument
50 if ((ret = dsa_paramgen_check(ctx)) < in EVP_PKEY_CTX_set_dsa_paramgen_gindex()
59 EVP_PKEY_CTX_set_dsa_paramgen_seed(EVP_PKEY_CTX *ctx, const unsigned char *seed, size_t seedlen) EVP_PKEY_CTX_set_dsa_paramgen_seed() argument
76 EVP_PKEY_CTX_set_dsa_paramgen_bits(EVP_PKEY_CTX *ctx, int nbits) EVP_PKEY_CTX_set_dsa_paramgen_bits() argument
91 EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits) EVP_PKEY_CTX_set_dsa_paramgen_q_bits() argument
106 EVP_PKEY_CTX_set_dsa_paramgen_md_props(EVP_PKEY_CTX *ctx, const char *md_name, const char *md_properties) EVP_PKEY_CTX_set_dsa_paramgen_md_props() argument
127 EVP_PKEY_CTX_set_dsa_paramgen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_dsa_paramgen_md() argument
[all...]
/third_party/openssl/crypto/evp/
H A Ddsa_ctrl.c17 static int dsa_paramgen_check(EVP_PKEY_CTX *ctx) in dsa_paramgen_check() argument
19 if (ctx == NULL || !EVP_PKEY_CTX_IS_GEN_OP(ctx)) { in dsa_paramgen_check()
25 if (ctx->pmeth != NULL && ctx->pmeth->pkey_id != EVP_PKEY_DSA) in dsa_paramgen_check()
30 int EVP_PKEY_CTX_set_dsa_paramgen_type(EVP_PKEY_CTX *ctx, const char *name) in EVP_PKEY_CTX_set_dsa_paramgen_type() argument
35 if ((ret = dsa_paramgen_check(ctx)) <= 0) in EVP_PKEY_CTX_set_dsa_paramgen_type()
42 return EVP_PKEY_CTX_set_params(ctx, params); in EVP_PKEY_CTX_set_dsa_paramgen_type()
45 int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dsa_paramgen_gindex() argument
50 if ((ret = dsa_paramgen_check(ctx)) < in EVP_PKEY_CTX_set_dsa_paramgen_gindex()
59 EVP_PKEY_CTX_set_dsa_paramgen_seed(EVP_PKEY_CTX *ctx, const unsigned char *seed, size_t seedlen) EVP_PKEY_CTX_set_dsa_paramgen_seed() argument
76 EVP_PKEY_CTX_set_dsa_paramgen_bits(EVP_PKEY_CTX *ctx, int nbits) EVP_PKEY_CTX_set_dsa_paramgen_bits() argument
91 EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits) EVP_PKEY_CTX_set_dsa_paramgen_q_bits() argument
106 EVP_PKEY_CTX_set_dsa_paramgen_md_props(EVP_PKEY_CTX *ctx, const char *md_name, const char *md_properties) EVP_PKEY_CTX_set_dsa_paramgen_md_props() argument
127 EVP_PKEY_CTX_set_dsa_paramgen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_dsa_paramgen_md() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
H A Ddc_helper.c40 const struct dc_context *ctx) in submit_dmub_read_modify_write()
50 gather = ctx->dmub_srv->reg_helper_offload.gather_in_progress; in submit_dmub_read_modify_write()
51 ctx->dmub_srv->reg_helper_offload.gather_in_progress = false; in submit_dmub_read_modify_write()
53 dc_dmub_srv_cmd_queue(ctx->dmub_srv, &offload->cmd_data); in submit_dmub_read_modify_write()
55 ctx->dmub_srv->reg_helper_offload.gather_in_progress = gather; in submit_dmub_read_modify_write()
65 const struct dc_context *ctx) in submit_dmub_burst_write()
73 gather = ctx->dmub_srv->reg_helper_offload.gather_in_progress; in submit_dmub_burst_write()
74 ctx->dmub_srv->reg_helper_offload.gather_in_progress = false; in submit_dmub_burst_write()
76 dc_dmub_srv_cmd_queue(ctx->dmub_srv, &offload->cmd_data); in submit_dmub_burst_write()
78 ctx in submit_dmub_burst_write()
38 submit_dmub_read_modify_write( struct dc_reg_helper_state *offload, const struct dc_context *ctx) submit_dmub_read_modify_write() argument
63 submit_dmub_burst_write( struct dc_reg_helper_state *offload, const struct dc_context *ctx) submit_dmub_burst_write() argument
85 submit_dmub_reg_wait( struct dc_reg_helper_state *offload, const struct dc_context *ctx) submit_dmub_reg_wait() argument
148 dmub_flush_buffer_execute( struct dc_reg_helper_state *offload, const struct dc_context *ctx) dmub_flush_buffer_execute() argument
156 dmub_flush_burst_write_buffer_execute( struct dc_reg_helper_state *offload, const struct dc_context *ctx) dmub_flush_burst_write_buffer_execute() argument
164 dmub_reg_value_burst_set_pack(const struct dc_context *ctx, uint32_t addr, uint32_t reg_val) dmub_reg_value_burst_set_pack() argument
189 dmub_reg_value_pack(const struct dc_context *ctx, uint32_t addr, struct dc_reg_value_masks *field_value_mask) dmub_reg_value_pack() argument
228 dmub_reg_wait_done_pack(const struct dc_context *ctx, uint32_t addr, uint32_t mask, uint32_t shift, uint32_t condition_value, uint32_t time_out_us) dmub_reg_wait_done_pack() argument
242 generic_reg_update_ex(const struct dc_context *ctx, uint32_t addr, int n, uint8_t shift1, uint32_t mask1, uint32_t field_value1, ...) generic_reg_update_ex() argument
270 generic_reg_set_ex(const struct dc_context *ctx, uint32_t addr, uint32_t reg_val, int n, uint8_t shift1, uint32_t mask1, uint32_t field_value1, ...) generic_reg_set_ex() argument
299 dm_read_reg_func( const struct dc_context *ctx, uint32_t address, const char *func_name) dm_read_reg_func() argument
325 generic_reg_get(const struct dc_context *ctx, uint32_t addr, uint8_t shift, uint32_t mask, uint32_t *field_value) generic_reg_get() argument
333 generic_reg_get2(const struct dc_context *ctx, uint32_t addr, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, uint8_t shift2, uint32_t mask2, uint32_t *field_value2) generic_reg_get2() argument
343 generic_reg_get3(const struct dc_context *ctx, uint32_t addr, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, uint8_t shift2, uint32_t mask2, uint32_t *field_value2, uint8_t shift3, uint32_t mask3, uint32_t *field_value3) generic_reg_get3() argument
355 generic_reg_get4(const struct dc_context *ctx, uint32_t addr, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, uint8_t shift2, uint32_t mask2, uint32_t *field_value2, uint8_t shift3, uint32_t mask3, uint32_t *field_value3, uint8_t shift4, uint32_t mask4, uint32_t *field_value4) generic_reg_get4() argument
369 generic_reg_get5(const struct dc_context *ctx, uint32_t addr, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, uint8_t shift2, uint32_t mask2, uint32_t *field_value2, uint8_t shift3, uint32_t mask3, uint32_t *field_value3, uint8_t shift4, uint32_t mask4, uint32_t *field_value4, uint8_t shift5, uint32_t mask5, uint32_t *field_value5) generic_reg_get5() argument
385 generic_reg_get6(const struct dc_context *ctx, uint32_t addr, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, uint8_t shift2, uint32_t mask2, uint32_t *field_value2, uint8_t shift3, uint32_t mask3, uint32_t *field_value3, uint8_t shift4, uint32_t mask4, uint32_t *field_value4, uint8_t shift5, uint32_t mask5, uint32_t *field_value5, uint8_t shift6, uint32_t mask6, uint32_t *field_value6) generic_reg_get6() argument
403 generic_reg_get7(const struct dc_context *ctx, uint32_t addr, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, uint8_t shift2, uint32_t mask2, uint32_t *field_value2, uint8_t shift3, uint32_t mask3, uint32_t *field_value3, uint8_t shift4, uint32_t mask4, uint32_t *field_value4, uint8_t shift5, uint32_t mask5, uint32_t *field_value5, uint8_t shift6, uint32_t mask6, uint32_t *field_value6, uint8_t shift7, uint32_t mask7, uint32_t *field_value7) generic_reg_get7() argument
423 generic_reg_get8(const struct dc_context *ctx, uint32_t addr, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, uint8_t shift2, uint32_t mask2, uint32_t *field_value2, uint8_t shift3, uint32_t mask3, uint32_t *field_value3, uint8_t shift4, uint32_t mask4, uint32_t *field_value4, uint8_t shift5, uint32_t mask5, uint32_t *field_value5, uint8_t shift6, uint32_t mask6, uint32_t *field_value6, uint8_t shift7, uint32_t mask7, uint32_t *field_value7, uint8_t shift8, uint32_t mask8, uint32_t *field_value8) generic_reg_get8() argument
475 generic_reg_wait(const struct dc_context *ctx, uint32_t addr, uint32_t shift, uint32_t mask, uint32_t condition_value, unsigned int delay_between_poll_us, unsigned int time_out_num_tries, const char *func_name, int line) generic_reg_wait() argument
529 generic_write_indirect_reg(const struct dc_context *ctx, uint32_t addr_index, uint32_t addr_data, uint32_t index, uint32_t data) generic_write_indirect_reg() argument
537 generic_read_indirect_reg(const struct dc_context *ctx, uint32_t addr_index, uint32_t addr_data, uint32_t index) generic_read_indirect_reg() argument
555 generic_indirect_reg_get(const struct dc_context *ctx, uint32_t addr_index, uint32_t addr_data, uint32_t index, int n, uint8_t shift1, uint32_t mask1, uint32_t *field_value1, ...) generic_indirect_reg_get() argument
586 generic_indirect_reg_update_ex(const struct dc_context *ctx, uint32_t addr_index, uint32_t addr_data, uint32_t index, uint32_t reg_val, int n, uint8_t shift1, uint32_t mask1, uint32_t field_value1, ...) generic_indirect_reg_update_ex() argument
616 reg_sequence_start_gather(const struct dc_context *ctx) reg_sequence_start_gather() argument
634 reg_sequence_start_execute(const struct dc_context *ctx) reg_sequence_start_execute() argument
664 reg_sequence_wait_done(const struct dc_context *ctx) reg_sequence_wait_done() argument
[all...]
/third_party/node/deps/openssl/openssl/include/crypto/
H A Devp.h25 #define evp_pkey_ctx_is_legacy(ctx) \
26 ((ctx)->keymgmt == NULL)
27 #define evp_pkey_ctx_is_provided(ctx) \
28 (!evp_pkey_ctx_is_legacy(ctx))
52 * Opaque ctx returned from a providers exchange algorithm
61 * Opaque ctx returned from a providers signature algorithm
70 * Opaque ctx returned from a providers asymmetric cipher algorithm
78 * Opaque ctx returned from a providers KEM algorithm
138 int (*init) (EVP_PKEY_CTX *ctx);
140 void (*cleanup) (EVP_PKEY_CTX *ctx);
[all...]
/third_party/openssl/include/crypto/
H A Devp.h25 #define evp_pkey_ctx_is_legacy(ctx) \
26 ((ctx)->keymgmt == NULL)
27 #define evp_pkey_ctx_is_provided(ctx) \
28 (!evp_pkey_ctx_is_legacy(ctx))
52 * Opaque ctx returned from a providers exchange algorithm
61 * Opaque ctx returned from a providers signature algorithm
70 * Opaque ctx returned from a providers asymmetric cipher algorithm
78 * Opaque ctx returned from a providers KEM algorithm
138 int (*init) (EVP_PKEY_CTX *ctx);
140 void (*cleanup) (EVP_PKEY_CTX *ctx);
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e88a0-ams452ef01.c39 static void s6e88a0_ams452ef01_reset(struct s6e88a0_ams452ef01 *ctx) in s6e88a0_ams452ef01_reset() argument
41 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6e88a0_ams452ef01_reset()
43 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6e88a0_ams452ef01_reset()
45 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6e88a0_ams452ef01_reset()
49 static int s6e88a0_ams452ef01_on(struct s6e88a0_ams452ef01 *ctx) in s6e88a0_ams452ef01_on() argument
51 struct mipi_dsi_device *dsi = ctx->dsi; in s6e88a0_ams452ef01_on()
95 static int s6e88a0_ams452ef01_off(struct s6e88a0_ams452ef01 *ctx) in s6e88a0_ams452ef01_off() argument
97 struct mipi_dsi_device *dsi = ctx->dsi; in s6e88a0_ams452ef01_off()
122 struct s6e88a0_ams452ef01 *ctx = to_s6e88a0_ams452ef01(panel); in s6e88a0_ams452ef01_prepare() local
123 struct device *dev = &ctx in s6e88a0_ams452ef01_prepare()
152 struct s6e88a0_ams452ef01 *ctx = to_s6e88a0_ams452ef01(panel); s6e88a0_ams452ef01_unprepare() local
212 struct s6e88a0_ams452ef01 *ctx; s6e88a0_ams452ef01_probe() local
258 struct s6e88a0_ams452ef01 *ctx = mipi_dsi_get_drvdata(dsi); s6e88a0_ams452ef01_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
H A Ddelta-mjpeg-dec.c31 #define to_ctx(ctx) ((struct delta_mjpeg_ctx *)(ctx)->priv)
206 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_ipc_open() local
221 ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); in delta_mjpeg_ipc_open()
232 ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); in delta_mjpeg_ipc_open()
236 ctx->ipc_buf = ipc_buf; in delta_mjpeg_ipc_open()
237 ctx->ipc_hdl = hdl; in delta_mjpeg_ipc_open()
245 struct delta_mjpeg_ctx *ctx in delta_mjpeg_ipc_decode() local
325 struct delta_mjpeg_ctx *ctx; delta_mjpeg_open() local
337 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_close() local
352 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_get_streaminfo() local
375 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_decode() local
432 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_get_frame() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-dec.c31 #define to_ctx(ctx) ((struct delta_mjpeg_ctx *)(ctx)->priv)
206 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_ipc_open() local
221 ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); in delta_mjpeg_ipc_open()
232 ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); in delta_mjpeg_ipc_open()
236 ctx->ipc_buf = ipc_buf; in delta_mjpeg_ipc_open()
237 ctx->ipc_hdl = hdl; in delta_mjpeg_ipc_open()
245 struct delta_mjpeg_ctx *ctx in delta_mjpeg_ipc_decode() local
325 struct delta_mjpeg_ctx *ctx; delta_mjpeg_open() local
337 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_close() local
352 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_get_streaminfo() local
375 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_decode() local
432 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); delta_mjpeg_get_frame() local
[all...]
/third_party/mesa3d/src/gallium/tests/graw/
H A Dtri-instanced.c29 static struct pipe_context *ctx = NULL; variable
104 ctx->set_viewport_states( ctx, 0, 1, &vp ); in set_viewport()
132 handle = ctx->create_vertex_elements_state(ctx, 3, ve); in set_vertices()
133 ctx->bind_vertex_elements_state(ctx, handle); in set_vertices()
140 vbuf[0].buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
149 vbuf[1].buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
155 ctx in set_vertices()
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_compile.c73 create_empty_block(compiler_context *ctx) in create_empty_block() argument
75 midgard_block *blk = rzalloc(ctx, midgard_block); in create_empty_block()
81 blk->base.name = ctx->block_source_count++; in create_empty_block()
87 schedule_barrier(compiler_context *ctx) in schedule_barrier() argument
89 midgard_block *temp = ctx->after_block; in schedule_barrier()
90 ctx->after_block = create_empty_block(ctx); in schedule_barrier()
91 ctx->block_count++; in schedule_barrier()
92 list_addtail(&ctx->after_block->base.link, &ctx in schedule_barrier()
205 attach_constants(compiler_context *ctx, midgard_instruction *ins, void *constants, int name) attach_constants() argument
473 emit_load_const(compiler_context *ctx, nir_load_const_instr *instr) emit_load_const() argument
510 emit_explicit_constant(compiler_context *ctx, unsigned node, unsigned to) emit_explicit_constant() argument
597 mir_accept_dest_mod(compiler_context *ctx, nir_dest **dest, nir_op op) mir_accept_dest_mod() argument
622 mir_determine_float_outmod(compiler_context *ctx, nir_dest **dest, unsigned prior_outmod) mir_determine_float_outmod() argument
730 emit_alu(compiler_context *ctx, nir_alu_instr *instr) emit_alu() argument
1193 emit_ubo_read( compiler_context *ctx, nir_instr *instr, unsigned dest, unsigned offset, nir_src *indirect_offset, unsigned indirect_shift, unsigned index, unsigned nr_comps) emit_ubo_read() argument
1254 emit_global( compiler_context *ctx, nir_instr *instr, bool is_read, unsigned srcdest, nir_src *offset, unsigned seg) emit_global() argument
1348 emit_atomic( compiler_context *ctx, nir_intrinsic_instr *instr, bool is_shared, midgard_load_store_op op, unsigned image_direct_address) emit_atomic() argument
1418 emit_varying_read( compiler_context *ctx, unsigned dest, unsigned offset, unsigned nr_comp, unsigned component, nir_src *indirect_offset, nir_alu_type type, bool flat) emit_varying_read() argument
1483 emit_image_op(compiler_context *ctx, nir_intrinsic_instr *instr, bool is_atomic) emit_image_op() argument
1546 emit_attr_read( compiler_context *ctx, unsigned dest, unsigned offset, unsigned nr_comp, nir_alu_type t) emit_attr_read() argument
1577 emit_sysval_read(compiler_context *ctx, nir_instr *instr, unsigned nr_components, unsigned offset) emit_sysval_read() argument
1616 emit_fragment_store(compiler_context *ctx, unsigned src, unsigned src_z, unsigned src_s, enum midgard_rt_id rt, unsigned sample_iter) emit_fragment_store() argument
1672 emit_compute_builtin(compiler_context *ctx, nir_intrinsic_instr *instr) emit_compute_builtin() argument
1696 emit_vertex_builtin(compiler_context *ctx, nir_intrinsic_instr *instr) emit_vertex_builtin() argument
1703 emit_special(compiler_context *ctx, nir_intrinsic_instr *instr, unsigned idx) emit_special() argument
1719 emit_control_barrier(compiler_context *ctx) emit_control_barrier() argument
1745 output_load_rt_addr(compiler_context *ctx, nir_intrinsic_instr *instr) output_load_rt_addr() argument
1768 emit_intrinsic(compiler_context *ctx, nir_intrinsic_instr *instr) emit_intrinsic() argument
2230 pan_attach_constant_bias( compiler_context *ctx, nir_src lod, midgard_texture_word *word) pan_attach_constant_bias() argument
2273 set_tex_coord(compiler_context *ctx, nir_tex_instr *instr, midgard_instruction *ins) set_tex_coord() argument
2417 emit_texop_native(compiler_context *ctx, nir_tex_instr *instr, unsigned midgard_texop) emit_texop_native() argument
2512 emit_tex(compiler_context *ctx, nir_tex_instr *instr) emit_tex() argument
2538 emit_jump(compiler_context *ctx, nir_jump_instr *instr) emit_jump() argument
2556 emit_instr(compiler_context *ctx, struct nir_instr *instr) emit_instr() argument
2603 inline_alu_constants(compiler_context *ctx, midgard_block *block) inline_alu_constants() argument
2708 embedded_to_inline_constant(compiler_context *ctx, midgard_block *block) embedded_to_inline_constant() argument
2812 midgard_cull_dead_branch(compiler_context *ctx, midgard_block *block) midgard_cull_dead_branch() argument
2834 midgard_legalize_invert(compiler_context *ctx, midgard_block *block) midgard_legalize_invert() argument
2859 emit_fragment_epilogue(compiler_context *ctx, unsigned rt, unsigned sample_iter) emit_fragment_epilogue() argument
2876 emit_block_init(compiler_context *ctx) emit_block_init() argument
2897 emit_block(compiler_context *ctx, nir_block *block) emit_block() argument
2912 emit_if(struct compiler_context *ctx, nir_if *nif) emit_if() argument
2966 emit_loop(struct compiler_context *ctx, nir_loop *nloop) emit_loop() argument
3027 emit_cf_list(struct compiler_context *ctx, struct exec_list *list) emit_cf_list() argument
3064 midgard_get_first_tag_from_block(compiler_context *ctx, unsigned block_idx) midgard_get_first_tag_from_block() argument
3088 mir_add_writeout_loops(compiler_context *ctx) mir_add_writeout_loops() argument
3136 compiler_context *ctx = rzalloc(NULL, compiler_context); midgard_compile_shader_nir() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dqat_algs.c98 struct qat_alg_aead_ctx *ctx, in qat_alg_do_precomputes()
102 SHASH_DESC_ON_STACK(shash, ctx->hash_tfm); in qat_alg_do_precomputes()
103 int block_size = crypto_shash_blocksize(ctx->hash_tfm); in qat_alg_do_precomputes()
104 int digest_size = crypto_shash_digestsize(ctx->hash_tfm); in qat_alg_do_precomputes()
109 memset(ctx->ipad, 0, block_size); in qat_alg_do_precomputes()
110 memset(ctx->opad, 0, block_size); in qat_alg_do_precomputes()
111 shash->tfm = ctx->hash_tfm; in qat_alg_do_precomputes()
115 auth_keylen, ctx->ipad); in qat_alg_do_precomputes()
119 memcpy(ctx->opad, ctx in qat_alg_do_precomputes()
97 qat_alg_do_precomputes(struct icp_qat_hw_auth_algo_blk *hash, struct qat_alg_aead_ctx *ctx, const u8 *auth_key, unsigned int auth_keylen) qat_alg_do_precomputes() argument
244 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); qat_alg_aead_init_enc_session() local
325 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); qat_alg_aead_init_dec_session() local
412 qat_alg_skcipher_init_com(struct qat_alg_skcipher_ctx *ctx, struct icp_qat_fw_la_bulk_req *req, struct icp_qat_hw_cipher_algo_blk *cd, const u8 *key, unsigned int keylen) qat_alg_skcipher_init_com() argument
434 qat_alg_skcipher_init_enc(struct qat_alg_skcipher_ctx *ctx, int alg, const u8 *key, unsigned int keylen, int mode) qat_alg_skcipher_init_enc() argument
447 qat_alg_skcipher_init_dec(struct qat_alg_skcipher_ctx *ctx, int alg, const u8 *key, unsigned int keylen, int mode) qat_alg_skcipher_init_dec() argument
525 qat_alg_skcipher_init_sessions(struct qat_alg_skcipher_ctx *ctx, const u8 *key, unsigned int keylen, int mode) qat_alg_skcipher_init_sessions() argument
543 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); qat_alg_aead_rekey() local
557 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); qat_alg_aead_newkey() local
609 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); qat_alg_aead_setkey() local
802 struct qat_alg_aead_ctx *ctx = qat_req->aead_ctx; qat_aead_alg_callback() local
817 struct qat_alg_skcipher_ctx *ctx = qat_req->skcipher_ctx; qat_skcipher_alg_callback() local
848 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_aead_dec() local
895 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_aead_enc() local
939 qat_alg_skcipher_rekey(struct qat_alg_skcipher_ctx *ctx, const u8 *key, unsigned int keylen, int mode) qat_alg_skcipher_rekey() argument
951 qat_alg_skcipher_newkey(struct qat_alg_skcipher_ctx *ctx, const u8 *key, unsigned int keylen, int mode) qat_alg_skcipher_newkey() argument
1006 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); qat_alg_skcipher_setkey() local
1031 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); qat_alg_skcipher_xts_setkey() local
1058 struct qat_alg_skcipher_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_skcipher_encrypt() local
1117 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); qat_alg_skcipher_xts_encrypt() local
1136 struct qat_alg_skcipher_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_skcipher_decrypt() local
1195 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); qat_alg_skcipher_xts_decrypt() local
1214 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); qat_alg_aead_init() local
1241 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); qat_alg_aead_exit() local
1272 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); qat_alg_skcipher_init_xts_tfm() local
1290 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); qat_alg_skcipher_exit_tfm() local
1317 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); qat_alg_skcipher_exit_xts_tfm() local
[all...]
/kernel/linux/linux-5.10/drivers/edac/
H A Dxgene_edac.c145 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; in xgene_edac_mc_err_inject_write() local
151 ctx->mcu_csr + MCUESRRA0 + i * MCU_RANK_STRIDE); in xgene_edac_mc_err_inject_write()
176 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; in xgene_edac_mc_check() local
185 xgene_edac_pcp_rd(ctx->edac, PCPHPERRINTSTS, &pcp_hp_stat); in xgene_edac_mc_check()
186 xgene_edac_pcp_rd(ctx->edac, PCPLPERRINTSTS, &pcp_lp_stat); in xgene_edac_mc_check()
193 reg = readl(ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
208 bank = readl(ctx->mcu_csr + MCUEBLRR0 + in xgene_edac_mc_check()
210 col_row = readl(ctx->mcu_csr + MCUERCRR0 + in xgene_edac_mc_check()
212 count = readl(ctx->mcu_csr + MCUSBECNT0 + in xgene_edac_mc_check()
226 writel(0x0, ctx in xgene_edac_mc_check()
249 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; xgene_edac_mc_irq_ctl() local
309 xgene_edac_mc_is_active(struct xgene_edac_mc_ctx *ctx, int mc_idx) xgene_edac_mc_is_active() argument
347 struct xgene_edac_mc_ctx *ctx; xgene_edac_mc_add() local
522 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l1_check() local
661 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l2_check() local
736 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_check() local
755 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_cpu_hw_cfg() local
770 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_hw_cfg() local
784 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_hw_ctl() local
811 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l1_inject_ctrl_write() local
837 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l2_inject_ctrl_write() local
863 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_create_debugfs_nodes() local
890 struct xgene_edac_pmd_ctx *ctx; xgene_edac_pmd_add() local
1055 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_check() local
1116 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_hw_init() local
1151 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_inject_ctrl_write() local
1167 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_create_debugfs_nodes() local
1187 struct xgene_edac_dev_ctx *ctx; xgene_edac_l3_add() local
1390 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_iob_gic_report() local
1465 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_rb_report() local
1574 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_pa_report() local
1636 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_soc_check() local
1689 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_soc_hw_init() local
1727 struct xgene_edac_dev_ctx *ctx; xgene_edac_soc_add() local
1813 struct xgene_edac *ctx = dev_id; xgene_edac_isr() local
[all...]
/kernel/linux/linux-6.6/drivers/edac/
H A Dxgene_edac.c145 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; in xgene_edac_mc_err_inject_write() local
151 ctx->mcu_csr + MCUESRRA0 + i * MCU_RANK_STRIDE); in xgene_edac_mc_err_inject_write()
176 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; in xgene_edac_mc_check() local
185 xgene_edac_pcp_rd(ctx->edac, PCPHPERRINTSTS, &pcp_hp_stat); in xgene_edac_mc_check()
186 xgene_edac_pcp_rd(ctx->edac, PCPLPERRINTSTS, &pcp_lp_stat); in xgene_edac_mc_check()
193 reg = readl(ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
208 bank = readl(ctx->mcu_csr + MCUEBLRR0 + in xgene_edac_mc_check()
210 col_row = readl(ctx->mcu_csr + MCUERCRR0 + in xgene_edac_mc_check()
212 count = readl(ctx->mcu_csr + MCUSBECNT0 + in xgene_edac_mc_check()
226 writel(0x0, ctx in xgene_edac_mc_check()
249 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; xgene_edac_mc_irq_ctl() local
309 xgene_edac_mc_is_active(struct xgene_edac_mc_ctx *ctx, int mc_idx) xgene_edac_mc_is_active() argument
347 struct xgene_edac_mc_ctx *ctx; xgene_edac_mc_add() local
522 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l1_check() local
661 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l2_check() local
736 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_check() local
755 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_cpu_hw_cfg() local
770 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_hw_cfg() local
784 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_hw_ctl() local
811 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l1_inject_ctrl_write() local
837 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_l2_inject_ctrl_write() local
863 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; xgene_edac_pmd_create_debugfs_nodes() local
890 struct xgene_edac_pmd_ctx *ctx; xgene_edac_pmd_add() local
1055 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_check() local
1116 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_hw_init() local
1151 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_inject_ctrl_write() local
1167 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_l3_create_debugfs_nodes() local
1187 struct xgene_edac_dev_ctx *ctx; xgene_edac_l3_add() local
1390 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_iob_gic_report() local
1465 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_rb_report() local
1574 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_pa_report() local
1636 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_soc_check() local
1689 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; xgene_edac_soc_hw_init() local
1727 struct xgene_edac_dev_ctx *ctx; xgene_edac_soc_add() local
1813 struct xgene_edac *ctx = dev_id; xgene_edac_isr() local
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_insert_exec_mask.cpp111 mark_block_wqm(wqm_ctx& ctx, unsigned block_idx) in mark_block_wqm() argument
113 if (ctx.branch_wqm[block_idx]) in mark_block_wqm()
116 for (Block& block : ctx.program->blocks) { in mark_block_wqm()
119 ctx.branch_wqm[block.index] = true; in mark_block_wqm()
120 ctx.worklist.insert(block.index); in mark_block_wqm()
125 get_block_needs(wqm_ctx& ctx, exec_ctx& exec_ctx, Block* block) in get_block_needs() argument
131 bool propagate_wqm = ctx.branch_wqm[block->index]; in get_block_needs()
157 mark_block_wqm(ctx, block->index); in get_block_needs()
164 wqm_ctx ctx(exec_ctx.program); in calculate_wqm_needs()
166 while (!ctx in calculate_wqm_needs()
187 transition_to_WQM(exec_ctx& ctx, Builder bld, unsigned idx) transition_to_WQM() argument
213 transition_to_Exact(exec_ctx& ctx, Builder bld, unsigned idx) transition_to_Exact() argument
244 add_coupling_code(exec_ctx& ctx, Block* block, std::vector<aco_ptr<Instruction>>& instructions) add_coupling_code() argument
496 handle_atomic_data(exec_ctx& ctx, Builder& bld, unsigned block_idx, aco_ptr<Instruction>& instr) handle_atomic_data() argument
517 process_instructions(exec_ctx& ctx, Block* block, std::vector<aco_ptr<Instruction>>& instructions, unsigned idx) process_instructions() argument
699 add_branch_code(exec_ctx& ctx, Block* block) add_branch_code() argument
894 process_block(exec_ctx& ctx, Block* block) process_block() argument
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dblend.h47 _mesa_get_clamp_fragment_color(const struct gl_context *ctx,
51 _mesa_get_clamp_vertex_color(const struct gl_context *ctx,
55 _mesa_get_clamp_read_color(const struct gl_context *ctx,
59 _mesa_update_clamp_fragment_color(struct gl_context *ctx,
63 _mesa_update_clamp_vertex_color(struct gl_context *ctx,
67 _mesa_init_color( struct gl_context * ctx );
78 _mesa_advanded_blend_sh_constant_changed(struct gl_context *ctx, in _mesa_advanded_blend_sh_constant_changed() argument
83 _mesa_get_advanced_blend_sh_constant(ctx->Color.BlendEnabled, in _mesa_advanded_blend_sh_constant_changed()
84 ctx->Color._AdvancedBlendMode); in _mesa_advanded_blend_sh_constant_changed()
88 _mesa_flush_vertices_for_blend_state(struct gl_context *ctx) in _mesa_flush_vertices_for_blend_state() argument
95 _mesa_flush_vertices_for_blend_adv(struct gl_context *ctx, GLbitfield new_blend_enabled, enum gl_advanced_blend_mode new_mode) _mesa_flush_vertices_for_blend_adv() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/apei/
H A Derst.c112 static int erst_exec_load_var1(struct apei_exec_context *ctx, in erst_exec_load_var1() argument
115 return __apei_exec_read_register(entry, &ctx->var1); in erst_exec_load_var1()
118 static int erst_exec_load_var2(struct apei_exec_context *ctx, in erst_exec_load_var2() argument
121 return __apei_exec_read_register(entry, &ctx->var2); in erst_exec_load_var2()
124 static int erst_exec_store_var1(struct apei_exec_context *ctx, in erst_exec_store_var1() argument
127 return __apei_exec_write_register(entry, ctx->var1); in erst_exec_store_var1()
130 static int erst_exec_add(struct apei_exec_context *ctx, in erst_exec_add() argument
133 ctx->var1 += ctx->var2; in erst_exec_add()
137 static int erst_exec_subtract(struct apei_exec_context *ctx, in erst_exec_subtract() argument
144 erst_exec_add_value(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_add_value() argument
158 erst_exec_subtract_value(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_subtract_value() argument
172 erst_exec_stall(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_stall() argument
189 erst_exec_stall_while_true(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_stall_while_true() argument
218 erst_exec_skip_next_instruction_if_true( struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_skip_next_instruction_if_true() argument
236 erst_exec_goto(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_goto() argument
243 erst_exec_set_src_address_base(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_set_src_address_base() argument
249 erst_exec_set_dst_address_base(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_set_dst_address_base() argument
255 erst_exec_move_data(struct apei_exec_context *ctx, struct acpi_whea_header *entry) erst_exec_move_data() argument
368 erst_exec_ctx_init(struct apei_exec_context *ctx) erst_exec_ctx_init() argument
376 struct apei_exec_context ctx; erst_get_erange() local
398 struct apei_exec_context ctx; __erst_get_record_count() local
442 struct apei_exec_context ctx; __erst_get_next_record_id() local
623 struct apei_exec_context ctx; __erst_write_to_storage() local
662 struct apei_exec_context ctx; __erst_read_from_storage() local
705 struct apei_exec_context ctx; __erst_clear_from_storage() local
1097 struct apei_exec_context ctx; erst_init() local
[all...]
/third_party/ntfs-3g/src/
H A Dntfs-3g_common.c239 char *parse_mount_options(ntfs_fuse_context_t *ctx, in parse_mount_options() argument
252 ctx->secure_flags = 0; in parse_mount_options()
254 ctx->efs_raw = FALSE; in parse_mount_options()
256 ctx->compression = DEFAULT_COMPRESSION; in parse_mount_options()
299 ctx->ro = TRUE; in parse_mount_options()
302 ctx->rw = TRUE; in parse_mount_options()
305 ctx->atime = ATIME_DISABLED; in parse_mount_options()
308 ctx->atime = ATIME_ENABLED; in parse_mount_options()
311 ctx->atime = ATIME_RELATIVE; in parse_mount_options()
316 ctx in parse_mount_options()
798 register_reparse_plugin(ntfs_fuse_context_t *ctx, le32 tag, const plugin_operations_t *ops, void *handle) global() argument
827 select_reparse_plugin(ntfs_fuse_context_t *ctx, ntfs_inode *ni, REPARSE_POINT **reparse_wanted) global() argument
891 close_reparse_plugins(ntfs_fuse_context_t *ctx) global() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_program.c291 lima_fs_compile_shader(struct lima_context *ctx, in lima_fs_compile_shader() argument
296 struct lima_screen *screen = lima_screen(ctx->base.screen); in lima_fs_compile_shader()
314 if (!ppir_compile_nir(fs, nir, screen->pp_ra, &ctx->debug)) { in lima_fs_compile_shader()
326 lima_fs_upload_shader(struct lima_context *ctx, in lima_fs_upload_shader() argument
329 struct lima_screen *screen = lima_screen(ctx->base.screen); in lima_fs_upload_shader()
343 lima_get_compiled_fs(struct lima_context *ctx, in lima_get_compiled_fs() argument
347 struct lima_screen *screen = lima_screen(ctx->base.screen); in lima_get_compiled_fs()
351 ht = ctx->fs_cache; in lima_get_compiled_fs()
368 if (!lima_fs_compile_shader(ctx, key, ufs, fs)) in lima_get_compiled_fs()
374 if (!lima_fs_upload_shader(ctx, f in lima_get_compiled_fs()
397 struct lima_context *ctx = lima_context(pctx); lima_create_fs_state() local
446 struct lima_context *ctx = lima_context(pctx); lima_bind_fs_state() local
455 struct lima_context *ctx = lima_context(pctx); lima_delete_fs_state() local
478 lima_vs_compile_shader(struct lima_context *ctx, struct lima_vs_key *key, struct lima_vs_uncompiled_shader *uvs, struct lima_vs_compiled_shader *vs) lima_vs_compile_shader() argument
501 lima_vs_upload_shader(struct lima_context *ctx, struct lima_vs_compiled_shader *vs) lima_vs_upload_shader() argument
517 lima_get_compiled_vs(struct lima_context *ctx, struct lima_vs_uncompiled_shader *uvs, struct lima_vs_key *key) lima_get_compiled_vs() argument
566 lima_update_vs_state(struct lima_context *ctx) lima_update_vs_state() argument
594 lima_update_fs_state(struct lima_context *ctx) lima_update_fs_state() argument
644 struct lima_context *ctx = lima_context(pctx); lima_create_vs_state() local
689 struct lima_context *ctx = lima_context(pctx); lima_bind_vs_state() local
698 struct lima_context *ctx = lima_context(pctx); lima_delete_vs_state() local
745 lima_program_init(struct lima_context *ctx) lima_program_init() argument
762 lima_program_fini(struct lima_context *ctx) lima_program_fini() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dir2_assemble.c30 src_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in src_swizzle() argument
43 comps = get_reg_src(ctx, src)->comp; in src_swizzle()
55 alu_swizzle_scalar(struct ir2_context *ctx, struct ir2_src *reg) in alu_swizzle_scalar() argument
58 return swiz_merge(src_swizzle(ctx, reg, 1), IR2_SWIZZLE_XXXX); in alu_swizzle_scalar()
62 alu_swizzle(struct ir2_context *ctx, struct ir2_instr *instr, in alu_swizzle() argument
66 unsigned swiz0 = src_swizzle(ctx, src, src_ncomp(instr)); in alu_swizzle()
72 return alu_swizzle_scalar(ctx, src); in alu_swizzle()
93 alu_swizzle_scalar2(struct ir2_context *ctx, struct ir2_src *src, unsigned s1) in alu_swizzle_scalar2() argument
96 unsigned s0 = swiz_get(src_swizzle(ctx, src, 1), 0); in alu_swizzle_scalar2()
103 alu_write_mask(struct ir2_context *ctx, struc argument
119 fetch_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) fetch_swizzle() argument
129 fetch_dst_swiz(struct ir2_context *ctx, struct ir2_instr *instr) fetch_dst_swiz() argument
142 dst_to_reg(struct ir2_context *ctx, struct ir2_instr *instr) dst_to_reg() argument
152 src_to_reg(struct ir2_context *ctx, struct ir2_src *src) src_to_reg() argument
158 src_reg_byte(struct ir2_context *ctx, struct ir2_src *src) src_reg_byte() argument
169 fill_instr(struct ir2_context *ctx, struct ir2_sched_instr *sched, instr_t *bc, bool *is_fetch) fill_instr() argument
334 write_cfs(struct ir2_context *ctx, instr_cf_t *cfs, unsigned cf_idx, instr_cf_alloc_t *alloc, instr_cf_exec_t *exec) write_cfs() argument
357 assemble(struct ir2_context *ctx, bool binning) assemble() argument
[all...]
/third_party/mbedtls/library/
H A Dnet_sockets.c155 void mbedtls_net_init(mbedtls_net_context *ctx) in mbedtls_net_init() argument
157 ctx->fd = -1; in mbedtls_net_init()
163 int mbedtls_net_connect(mbedtls_net_context *ctx, const char *host, in mbedtls_net_connect() argument
190 ctx->fd = (int) socket(AF_INET, SOCK_STREAM, 0); in mbedtls_net_connect()
192 ctx->fd = (int) socket(cur->ai_family, cur->ai_socktype, in mbedtls_net_connect()
195 if(ctx->fd < 0) in mbedtls_net_connect()
201 if (connect(ctx->fd, cur->ai_addr, MSVC_INT_CAST cur->ai_addrlen) == 0) { in mbedtls_net_connect()
207 lwip_close(ctx->fd); in mbedtls_net_connect()
209 close(ctx->fd); in mbedtls_net_connect()
222 int mbedtls_net_bind(mbedtls_net_context *ctx, cons argument
306 net_would_block(const mbedtls_net_context *ctx) net_would_block() argument
318 net_would_block(const mbedtls_net_context *ctx) global() argument
460 mbedtls_net_set_block(mbedtls_net_context *ctx) global() argument
475 mbedtls_net_set_nonblock(mbedtls_net_context *ctx) global() argument
494 mbedtls_net_poll(mbedtls_net_context *ctx, uint32_t rw, uint32_t timeout) global() argument
581 mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len) global() argument
626 mbedtls_net_recv_timeout(void *ctx, unsigned char *buf, size_t len, uint32_t timeout) global() argument
674 mbedtls_net_send(void *ctx, const unsigned char *buf, size_t len) global() argument
720 mbedtls_net_close(mbedtls_net_context *ctx) global() argument
737 mbedtls_net_free(mbedtls_net_context *ctx) global() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_event.c44 int kbase_event_pending(struct kbase_context *ctx) in kbase_event_pending() argument
46 KBASE_DEBUG_ASSERT(ctx); in kbase_event_pending()
48 return (atomic_read(&ctx->event_count) != 0) || (atomic_read(&ctx->event_closed) != 0); in kbase_event_pending()
53 int kbase_event_dequeue(struct kbase_context *ctx, struct base_jd_event_v2 *uevent) in kbase_event_dequeue() argument
57 KBASE_DEBUG_ASSERT(ctx); in kbase_event_dequeue()
59 mutex_lock(&ctx->event_mutex); in kbase_event_dequeue()
61 if (list_empty(&ctx->event_list)) { in kbase_event_dequeue()
62 if (!atomic_read(&ctx->event_closed)) { in kbase_event_dequeue()
63 mutex_unlock(&ctx in kbase_event_dequeue()
162 kbase_event_post(struct kbase_context *ctx, struct kbase_jd_atom *event) kbase_event_post() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_event.c48 int kbase_event_pending(struct kbase_context *ctx) in kbase_event_pending() argument
50 KBASE_DEBUG_ASSERT(ctx); in kbase_event_pending()
52 return (atomic_read(&ctx->event_count) != 0) || in kbase_event_pending()
53 (atomic_read(&ctx->event_closed) != 0); in kbase_event_pending()
58 int kbase_event_dequeue(struct kbase_context *ctx, struct base_jd_event_v2 *uevent) in kbase_event_dequeue() argument
62 KBASE_DEBUG_ASSERT(ctx); in kbase_event_dequeue()
64 mutex_lock(&ctx->event_mutex); in kbase_event_dequeue()
66 if (list_empty(&ctx->event_list)) { in kbase_event_dequeue()
67 if (!atomic_read(&ctx->event_closed)) { in kbase_event_dequeue()
68 mutex_unlock(&ctx in kbase_event_dequeue()
168 kbase_event_post(struct kbase_context *ctx, struct kbase_jd_atom *atom) kbase_event_post() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/occ/
H A Dp9_sbe.c38 struct p9_sbe_occ *ctx = to_p9_sbe_occ(occ); in ffdc_read() local
40 mutex_lock(&ctx->sbe_error_lock); in ffdc_read()
41 if (ctx->sbe_error) { in ffdc_read()
42 rc = memory_read_from_buffer(buf, count, &pos, ctx->ffdc, in ffdc_read()
43 ctx->ffdc_len); in ffdc_read()
44 if (pos >= ctx->ffdc_len) in ffdc_read()
45 ctx->sbe_error = false; in ffdc_read()
47 mutex_unlock(&ctx->sbe_error_lock); in ffdc_read()
53 static bool p9_sbe_occ_save_ffdc(struct p9_sbe_occ *ctx, const void *resp, in p9_sbe_occ_save_ffdc() argument
58 mutex_lock(&ctx in p9_sbe_occ_save_ffdc()
87 struct p9_sbe_occ *ctx = to_p9_sbe_occ(occ); p9_sbe_occ_send_cmd() local
138 struct p9_sbe_occ *ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx), p9_sbe_occ_probe() local
173 struct p9_sbe_occ *ctx = to_p9_sbe_occ(occ); p9_sbe_occ_remove() local
[all...]

Completed in 19 milliseconds

1...<<41424344454647484950>>...536