/third_party/ffmpeg/libavfilter/ |
H A D | vf_multiply.c | 64 AVFilterContext *ctx = inlink->dst; in config_input() local 65 MultiplyContext *s = ctx->priv; in config_input() 89 static int multiply_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in multiply_slice() argument 91 MultiplyContext *s = ctx->priv; in multiply_slice() 128 AVFilterContext *ctx = fs->parent; in process_frame() local 130 AVFilterLink *outlink = ctx->outputs[0]; in process_frame() 138 if (ctx->is_disabled) { in process_frame() 154 ff_filter_execute(ctx, multiply_slice, &td, NULL, in process_frame() 155 FFMIN(outlink->h, ff_filter_get_nb_threads(ctx))); in process_frame() 164 AVFilterContext *ctx in config_output() local 206 activate(AVFilterContext *ctx) activate() argument 212 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_fieldhint.c | 67 static av_cold int init(AVFilterContext *ctx) in init() argument 69 FieldHintContext *s = ctx->priv; in init() 73 av_log(ctx, AV_LOG_ERROR, "Hint file must be set.\n"); in init() 79 av_log(ctx, AV_LOG_ERROR, "%s: %s\n", s->hint_file_str, av_err2str(ret)); in init() 86 static int query_formats(AVFilterContext *ctx) in query_formats() argument 92 return ff_set_common_formats(ctx, ff_formats_pixdesc_filter(0, reject_flags)); in query_formats() 114 AVFilterContext *ctx = inlink->dst; in filter_frame() local 115 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 116 FieldHintContext *s = ctx->priv; in filter_frame() 148 av_log(ctx, AV_LOG_ERRO in filter_frame() 260 AVFilterContext *ctx = outlink->src; request_frame() local 279 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_maskedthreshold.c | 98 AVFilterContext *ctx = inlink->dst; in config_input() local 99 MaskedThresholdContext *s = ctx->priv; in config_input() 125 static int threshold_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in threshold_slice() argument 127 MaskedThresholdContext *s = ctx->priv; in threshold_slice() 163 AVFilterContext *ctx = fs->parent; in process_frame() local 165 AVFilterLink *outlink = ctx->outputs[0]; in process_frame() 173 if (ctx->is_disabled) { in process_frame() 189 ff_filter_execute(ctx, threshold_slice, &td, NULL, in process_frame() 190 FFMIN(s->planeheight[2], ff_filter_get_nb_threads(ctx))); in process_frame() 199 AVFilterContext *ctx in config_output() local 241 activate(AVFilterContext *ctx) activate() argument 247 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_sharpen_npp.c | 34 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x) 51 static int nppsharpen_init(AVFilterContext* ctx) in nppsharpen_init() argument 53 NPPSharpenContext* s = ctx->priv; in nppsharpen_init() 71 static int nppsharpen_config(AVFilterContext* ctx, int width, int height) in nppsharpen_config() argument 73 NPPSharpenContext* s = ctx->priv; in nppsharpen_config() 77 if (!ctx->inputs[0]->hw_frames_ctx) { in nppsharpen_config() 78 av_log(ctx, AV_LOG_ERROR, "No hw context provided on input\n"); in nppsharpen_config() 82 in_ctx = (AVHWFramesContext*)ctx->inputs[0]->hw_frames_ctx->data; in nppsharpen_config() 102 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format\n"); in nppsharpen_config() 114 ctx in nppsharpen_config() 125 nppsharpen_uninit(AVFilterContext* ctx) nppsharpen_uninit() argument 153 nppsharpen_sharpen(AVFilterContext* ctx, AVFrame* out, AVFrame* in) nppsharpen_sharpen() argument 179 AVFilterContext* ctx = link->dst; nppsharpen_filter_frame() local [all...] |
H A D | af_aiir.c | 75 int (*iir_channel)(AVFilterContext *ctx, void *arg, int ch, int nb_jobs); 78 static int query_formats(AVFilterContext *ctx) in query_formats() argument 80 AudioIIRContext *s = ctx->priv; in query_formats() 93 AVFilterLink *videolink = ctx->outputs[1]; in query_formats() 100 ret = ff_set_common_all_channel_counts(ctx); in query_formats() 105 ret = ff_set_common_formats_from_list(ctx, sample_fmts); in query_formats() 109 return ff_set_common_all_samplerates(ctx); in query_formats() 113 static int iir_ch_## name(AVFilterContext *ctx, void *arg, int ch, int nb_jobs) \ 115 AudioIIRContext *s = ctx->priv; \ 169 static int iir_ch_serial_## name(AVFilterContext *ctx, voi 362 read_gains(AVFilterContext *ctx, char *item_str, int nb_items) read_gains() argument 395 read_tf_coefficients(AVFilterContext *ctx, char *item_str, int nb_items, double *dst) read_tf_coefficients() argument 420 read_zp_coefficients(AVFilterContext *ctx, char *item_str, int nb_items, double *dst, const char *format) read_zp_coefficients() argument 447 read_channels(AVFilterContext *ctx, int channels, uint8_t *item_str, int ab) read_channels() argument 500 expand(AVFilterContext *ctx, double *pz, int n, double *coefs) expand() argument 527 normalize_coeffs(AVFilterContext *ctx, int ch) normalize_coeffs() argument 555 convert_zp2tf(AVFilterContext *ctx, int channels) convert_zp2tf() argument 603 decompose_zp2biquads(AVFilterContext *ctx, int channels) decompose_zp2biquads() argument 817 convert_serial2parallel(AVFilterContext *ctx, int channels) convert_serial2parallel() argument 887 convert_pr2zp(AVFilterContext *ctx, int channels) convert_pr2zp() argument 914 convert_sp2zp(AVFilterContext *ctx, int channels) convert_sp2zp() argument 967 convert_sf2tf(AVFilterContext *ctx, int channels) convert_sf2tf() argument 995 convert_pd2zp(AVFilterContext *ctx, int channels) convert_pd2zp() argument 1022 check_stability(AVFilterContext *ctx, int channels) check_stability() argument 1142 draw_response(AVFilterContext *ctx, AVFrame *out, int sample_rate) draw_response() argument 1261 AVFilterContext *ctx = outlink->src; config_output() local 1384 AVFilterContext *ctx = inlink->dst; filter_frame() local 1439 AVFilterContext *ctx = outlink->src; config_video() local 1451 init(AVFilterContext *ctx) init() argument 1495 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_yadif_cuda.c | 55 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, s->hwctx->internal->cuda_dl, x) 57 static CUresult call_kernel(AVFilterContext *ctx, CUfunction func, in call_kernel() argument 69 DeintCUDAContext *s = ctx->priv; in call_kernel() 125 static void filter(AVFilterContext *ctx, AVFrame *dst, in filter() argument 128 DeintCUDAContext *s = ctx->priv; in filter() 153 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format: %s\n", y->csp->name); in filter() 166 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format: %s\n", y->csp->name); in filter() 169 av_log(ctx, AV_LOG_TRACE, in filter() 172 call_kernel(ctx, func, in filter() 192 static av_cold void deint_cuda_uninit(AVFilterContext *ctx) in deint_cuda_uninit() argument 217 AVFilterContext *ctx = inlink->dst; config_input() local 240 AVFilterContext *ctx = link->src; config_output() local [all...] |
/third_party/curl/lib/ |
H A D | http_proxy.c | 171 struct cf_proxy_ctx *ctx = cf->ctx; in http_proxy_cf_connect() local 186 if(!ctx->cf_protocol) { in http_proxy_cf_connect() 220 ctx->cf_protocol = cf_protocol; in http_proxy_cf_connect() 230 DEBUGASSERT(ctx->cf_protocol); in http_proxy_cf_connect() 262 struct cf_proxy_ctx *ctx = cf->ctx; in http_proxy_cf_destroy() local 266 free(ctx); in http_proxy_cf_destroy() 272 struct cf_proxy_ctx *ctx = cf->ctx; in http_proxy_cf_close() local 316 struct cf_proxy_ctx *ctx = NULL; Curl_cf_http_proxy_insert_after() local [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_transfer.c | 48 static void r300_copy_from_tiled_texture(struct pipe_context *ctx, in r300_copy_from_tiled_texture() argument 56 ctx->resource_copy_region(ctx, dst, 0, 0, 0, 0, in r300_copy_from_tiled_texture() 75 ctx->blit(ctx, &blit); in r300_copy_from_tiled_texture() 80 static void r300_copy_into_tiled_texture(struct pipe_context *ctx, in r300_copy_into_tiled_texture() argument 91 ctx->resource_copy_region(ctx, tex, transfer->level, in r300_copy_into_tiled_texture() 96 r300_flush(ctx, 0, NULL); in r300_copy_into_tiled_texture() 100 r300_texture_transfer_map(struct pipe_context *ctx, in r300_texture_transfer_map() argument 243 r300_texture_transfer_unmap(struct pipe_context *ctx, struct pipe_transfer *transfer) r300_texture_transfer_unmap() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | cost_enc.c | 61 int ctype, band, ctx; in VP8CalculateLevelCosts() local 68 for (ctx = 0; ctx < NUM_CTX; ++ctx) { in VP8CalculateLevelCosts() 69 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; in VP8CalculateLevelCosts() 70 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; in VP8CalculateLevelCosts() 71 const int cost0 = (ctx > 0) ? VP8BitCost(1, p[0]) : 0; in VP8CalculateLevelCosts() 83 for (ctx = 0; ctx < NUM_CTX; ++ctx) { in VP8CalculateLevelCosts() 223 int ctx; VP8GetCostLuma4() local 249 const int ctx = it->top_nz_[x] + it->left_nz_[y]; VP8GetCostLuma16() local 270 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; VP8GetCostUV() local 289 VP8RecordCoeffs(int ctx, const VP8Residual* const res) VP8RecordCoeffs() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 420 * @ctx: pointer to codec's context 447 struct mtk_vcodec_dec_ctx *ctx; member 508 struct mtk_vcodec_dec_ctx *ctx; in vdec_vp9_slice_init_default_frame_ctx() local 512 ctx = instance->ctx; in vdec_vp9_slice_init_default_frame_ctx() 514 if (!ctx || !vsi) in vdec_vp9_slice_init_default_frame_ctx() 517 remote_frame_ctx = mtk_vcodec_fw_map_dm_addr(ctx->dev->fw_handler, in vdec_vp9_slice_init_default_frame_ctx() 520 mtk_vdec_err(ctx, "failed to map default frame ctx\n"); in vdec_vp9_slice_init_default_frame_ctx() 545 struct mtk_vcodec_dec_ctx *ctx in vdec_vp9_slice_alloc_working_buffer() local 637 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; vdec_vp9_slice_free_working_buffer() local 1852 vdec_vp9_slice_init(struct mtk_vcodec_dec_ctx *ctx) vdec_vp9_slice_init() argument 1935 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; vdec_vp9_slice_get_pic_info() local 1986 struct mtk_vcodec_dec_ctx *ctx; vdec_vp9_slice_single_decode() local 2044 struct mtk_vcodec_dec_ctx *ctx; vdec_vp9_slice_lat_decode() local 2139 struct mtk_vcodec_dec_ctx *ctx = NULL; vdec_vp9_slice_core_decode() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 25 * devlink info versions. The ctx parameter is used to provide the storage 31 * should leave the buffer in the ctx structure empty. 34 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() argument 41 snprintf(ctx->buf, sizeof(ctx->buf), "%8phD", dsn); in ice_info_get_dsn() 44 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() argument 49 status = ice_read_pba_string(hw, (u8 *)ctx->buf, sizeof(ctx->buf)); in ice_info_pba() 56 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() argument 60 snprintf(ctx in ice_info_fw_mgmt() 64 ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_fw_api() argument 72 ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_fw_build() argument 79 ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_orom_ver() argument 88 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) ice_info_pending_orom_ver() argument 98 ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_nvm_ver() argument 106 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) ice_info_pending_nvm_ver() argument 116 ice_info_eetrack(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_eetrack() argument 124 ice_info_pending_eetrack(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_pending_eetrack() argument 132 ice_info_ddp_pkg_name(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_ddp_pkg_name() argument 140 ice_info_ddp_pkg_version(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_ddp_pkg_version() argument 149 ice_info_ddp_pkg_bundle_id(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_ddp_pkg_bundle_id() argument 154 ice_info_netlist_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_netlist_ver() argument 165 ice_info_netlist_build(struct ice_pf *pf, struct ice_info_ctx *ctx) ice_info_netlist_build() argument 173 ice_info_pending_netlist_ver(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) ice_info_pending_netlist_ver() argument 187 ice_info_pending_netlist_build(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) ice_info_pending_netlist_build() argument 258 struct ice_info_ctx *ctx; ice_devlink_info_get() local 1282 ice_devlink_enable_roce_get(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) ice_devlink_enable_roce_get() argument 1293 ice_devlink_enable_roce_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) ice_devlink_enable_roce_set() argument 1333 ice_devlink_enable_iw_get(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) ice_devlink_enable_iw_get() argument 1344 ice_devlink_enable_iw_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) ice_devlink_enable_iw_set() argument [all...] |
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
H A D | command_submission.c | 18 struct hl_ctx *ctx, u64 timeout_us, u64 seq); 152 parser.ctx_id = job->cs->ctx->asid; in cs_parser() 245 static void cs_counters_aggregate(struct hl_device *hdev, struct hl_ctx *ctx) in cs_counters_aggregate() argument 248 ctx->cs_counters.device_in_reset_drop_cnt; in cs_counters_aggregate() 250 ctx->cs_counters.out_of_mem_drop_cnt; in cs_counters_aggregate() 252 ctx->cs_counters.parsing_drop_cnt; in cs_counters_aggregate() 254 ctx->cs_counters.queue_full_drop_cnt; in cs_counters_aggregate() 256 ctx->cs_counters.max_cs_in_flight_drop_cnt; in cs_counters_aggregate() 263 struct hl_device *hdev = cs->ctx->hdev; in cs_do_release() 341 * Must be called before hl_ctx_put because inside we use ctx t in cs_do_release() 397 allocate_cs(struct hl_device *hdev, struct hl_ctx *ctx, enum hl_cs_type cs_type, struct hl_cs **cs_new) allocate_cs() argument 772 struct hl_ctx *ctx = hpriv->ctx; cs_ioctl_signal_wait() local 1000 struct hl_ctx *ctx = hpriv->ctx; hl_cs_ioctl() local 1161 _hl_cs_wait_ioctl(struct hl_device *hdev, struct hl_ctx *ctx, u64 timeout_us, u64 seq) _hl_cs_wait_ioctl() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 57 dc->ctx->logger 456 #define CTX ctx 492 struct dc_context *ctx, in read_dce_straps() 503 struct dc_context *ctx, unsigned int inst) in create_audio() 505 return dce_audio_create(ctx, inst, in create_audio() 510 struct dc_context *ctx, in dce110_timing_generator_create() 520 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce110_timing_generator_create() 526 struct dc_context *ctx) in dce110_stream_encoder_create() 534 dce110_stream_encoder_construct(enc110, ctx, ctx in dce110_stream_encoder_create() 491 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument 502 create_audio( struct dc_context *ctx, unsigned int inst) create_audio() argument 509 dce110_timing_generator_create( struct dc_context *ctx, uint32_t instance, const struct dce110_timing_generator_offsets *offsets) dce110_timing_generator_create() argument 524 dce110_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dce110_stream_encoder_create() argument 559 dce110_hwseq_create( struct dc_context *ctx) dce110_hwseq_create() argument 603 dce110_mem_input_create( struct dc_context *ctx, uint32_t inst) dce110_mem_input_create() argument 626 dce110_transform_create( struct dc_context *ctx, uint32_t inst) dce110_transform_create() argument 641 dce110_ipp_create( struct dc_context *ctx, uint32_t inst) dce110_ipp_create() argument 663 dce110_link_encoder_create( struct dc_context *ctx, const struct encoder_init_data *enc_init_data) dce110_link_encoder_create() argument 703 dce110_opp_create( struct dc_context *ctx, uint32_t inst) dce110_opp_create() argument 718 dce110_aux_engine_create( struct dc_context *ctx, uint32_t inst) dce110_aux_engine_create() argument 756 dce110_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dce110_i2c_hw_create() argument 771 dce110_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dce110_clock_source_create() argument 1244 underlay_create(struct dc_context *ctx, struct resource_pool *pool) underlay_create() argument 1355 struct dc_context *ctx = dc->ctx; dce110_resource_construct() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | caampkc.c | 66 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_pub_unmap() local 67 struct caam_rsa_key *key = &ctx->key; in rsa_pub_unmap() 78 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f1_unmap() local 79 struct caam_rsa_key *key = &ctx->key; in rsa_priv_f1_unmap() 90 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f2_unmap() local 91 struct caam_rsa_key *key = &ctx->key; in rsa_priv_f2_unmap() 107 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f3_unmap() local 108 struct caam_rsa_key *key = &ctx->key; in rsa_priv_f3_unmap() 158 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f_done() local 159 struct caam_rsa_key *key = &ctx in rsa_priv_f_done() 253 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); rsa_edesc_alloc() local 381 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); akcipher_do_one_req() local 409 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); set_rsa_pub_pdb() local 454 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); set_rsa_priv_f1_pdb() local 501 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); set_rsa_priv_f2_pdb() local 578 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); set_rsa_priv_f3_pdb() local 674 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); akcipher_enqueue_req() local 717 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_enc() local 756 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_dec_priv_f1() local 785 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_dec_priv_f2() local 814 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_dec_priv_f3() local 843 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_dec() local 946 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_set_pub_key() local 987 caam_rsa_set_priv_key_form(struct caam_rsa_ctx *ctx, struct rsa_key *raw_key) caam_rsa_set_priv_key_form() argument 1051 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_set_priv_key() local 1102 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_max_size() local 1110 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_init_tfm() local 1136 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); caam_rsa_exit_tfm() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_emit.c | 152 emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring, in emit_textures() argument 167 struct fd3_context *fd3_ctx = fd3_context(ctx); in emit_textures() 505 fd3_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd3_emit_state() argument 518 A3XX_RB_MSAA_CONTROL_SAMPLE_MASK(ctx->sample_mask)); in fd3_emit_state() 524 uint32_t val = fd3_zsa_stateobj(ctx->zsa)->rb_render_control | in fd3_emit_state() 525 fd3_blend_stateobj(ctx->blend)->rb_render_control; in fd3_emit_state() 530 val |= COND(ctx->rasterizer->rasterizer_discard, in fd3_emit_state() 540 OUT_RINGP(ring, val, &ctx->batch->rbrc_patches); in fd3_emit_state() 544 struct fd3_zsa_stateobj *zsa = fd3_zsa_stateobj(ctx->zsa); in fd3_emit_state() 545 struct pipe_stencil_ref *sr = &ctx in fd3_emit_state() 836 struct fd_context *ctx = batch->ctx; fd3_emit_restore() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 63 struct key2any_ctx_st *ctx); 104 struct key2any_ctx_st *ctx) in p8info_to_encp8() 109 OSSL_LIB_CTX *libctx = PROV_LIBCTX_OF(ctx->provctx); in p8info_to_encp8() 111 if (ctx->cipher == NULL) in p8info_to_encp8() 115 &ctx->pwdata)) { in p8info_to_encp8() 120 p8 = PKCS8_encrypt_ex(-1, ctx->cipher, kstr, klen, NULL, 0, 0, p8info, libctx, NULL); in p8info_to_encp8() 127 i2d_of_void *k2d, struct key2any_ctx_st *ctx) in key_to_encp8() 136 p8 = p8info_to_encp8(p8info, ctx); in key_to_encp8() 190 struct key2any_ctx_st *ctx) in key_to_epki_der_priv_bio() 197 if (!ctx in key_to_epki_der_priv_bio() 103 p8info_to_encp8(PKCS8_PRIV_KEY_INFO *p8info, struct key2any_ctx_st *ctx) p8info_to_encp8() argument 125 key_to_encp8(const void *key, int key_nid, void *params, int params_type, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_encp8() argument 185 key_to_epki_der_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_epki_der_priv_bio() argument 213 key_to_epki_pem_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_epki_pem_priv_bio() argument 241 key_to_pki_der_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_pki_der_priv_bio() argument 273 key_to_pki_pem_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_pki_pem_priv_bio() argument 305 key_to_spki_der_pub_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_spki_der_pub_bio() argument 331 key_to_spki_pem_pub_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_spki_pem_pub_bio() argument 371 key_to_type_specific_der_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_der_bio() argument 395 key_to_type_specific_pem_bio_cb(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx, pem_password_cb *cb, void *cbarg) key_to_type_specific_pem_bio_cb() argument 407 key_to_type_specific_pem_priv_bio(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_pem_priv_bio() argument 418 key_to_type_specific_pem_pub_bio(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_pem_pub_bio() argument 429 key_to_type_specific_pem_param_bio(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_pem_param_bio() argument 947 struct key2any_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx)); key2any_newctx() local 959 struct key2any_ctx_st *ctx = vctx; key2any_freectx() local 979 struct key2any_ctx_st *ctx = vctx; key2any_set_ctx_params() local 1046 key2any_encode(struct key2any_ctx_st *ctx, OSSL_CORE_BIO *cout, const void *key, int type, const char *pemname, check_key_type_fn *checker, key_to_der_fn *writer, OSSL_PASSPHRASE_CALLBACK *pwcb, void *pwcbarg, key_to_paramstring_fn *key2paramstring, i2d_of_void *key2der) key2any_encode() argument [all...] |
/third_party/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 63 struct key2any_ctx_st *ctx); 104 struct key2any_ctx_st *ctx) in p8info_to_encp8() 109 OSSL_LIB_CTX *libctx = PROV_LIBCTX_OF(ctx->provctx); in p8info_to_encp8() 111 if (ctx->cipher == NULL) in p8info_to_encp8() 115 &ctx->pwdata)) { in p8info_to_encp8() 120 p8 = PKCS8_encrypt_ex(-1, ctx->cipher, kstr, klen, NULL, 0, 0, p8info, libctx, NULL); in p8info_to_encp8() 127 i2d_of_void *k2d, struct key2any_ctx_st *ctx) in key_to_encp8() 136 p8 = p8info_to_encp8(p8info, ctx); in key_to_encp8() 190 struct key2any_ctx_st *ctx) in key_to_epki_der_priv_bio() 197 if (!ctx in key_to_epki_der_priv_bio() 103 p8info_to_encp8(PKCS8_PRIV_KEY_INFO *p8info, struct key2any_ctx_st *ctx) p8info_to_encp8() argument 125 key_to_encp8(const void *key, int key_nid, void *params, int params_type, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_encp8() argument 185 key_to_epki_der_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_epki_der_priv_bio() argument 213 key_to_epki_pem_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_epki_pem_priv_bio() argument 241 key_to_pki_der_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_pki_der_priv_bio() argument 273 key_to_pki_pem_priv_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_pki_pem_priv_bio() argument 305 key_to_spki_der_pub_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_spki_der_pub_bio() argument 331 key_to_spki_pem_pub_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_spki_pem_pub_bio() argument 371 key_to_type_specific_der_bio(BIO *out, const void *key, int key_nid, ossl_unused const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_der_bio() argument 395 key_to_type_specific_pem_bio_cb(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx, pem_password_cb *cb, void *cbarg) key_to_type_specific_pem_bio_cb() argument 407 key_to_type_specific_pem_priv_bio(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_pem_priv_bio() argument 418 key_to_type_specific_pem_pub_bio(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_pem_pub_bio() argument 429 key_to_type_specific_pem_param_bio(BIO *out, const void *key, int key_nid, const char *pemname, key_to_paramstring_fn *p2s, i2d_of_void *k2d, struct key2any_ctx_st *ctx) key_to_type_specific_pem_param_bio() argument 936 struct key2any_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx)); key2any_newctx() local 948 struct key2any_ctx_st *ctx = vctx; key2any_freectx() local 968 struct key2any_ctx_st *ctx = vctx; key2any_set_ctx_params() local 1035 key2any_encode(struct key2any_ctx_st *ctx, OSSL_CORE_BIO *cout, const void *key, int type, const char *pemname, check_key_type_fn *checker, key_to_der_fn *writer, OSSL_PASSPHRASE_CALLBACK *pwcb, void *pwcbarg, key_to_paramstring_fn *key2paramstring, i2d_of_void *key2der) key2any_encode() argument [all...] |
/foundation/communication/dsoftbus/adapter/common/mbedtls/ |
H A D | softbus_adapter_crypto.c | 152 static int32_t HandleError(mbedtls_cipher_context_t *ctx, const char *buf) in HandleError() argument 157 if (ctx != NULL) { in HandleError() 158 mbedtls_cipher_free(ctx); in HandleError() 189 mbedtls_md_context_t ctx; in SoftBusGenerateStrHash() local 191 mbedtls_md_init(&ctx); in SoftBusGenerateStrHash() 195 mbedtls_md_free(&ctx); in SoftBusGenerateStrHash() 198 if (mbedtls_md_setup(&ctx, info, 0) != 0) { in SoftBusGenerateStrHash() 199 mbedtls_md_free(&ctx); in SoftBusGenerateStrHash() 202 if (mbedtls_md_starts(&ctx) != 0) { in SoftBusGenerateStrHash() 203 mbedtls_md_free(&ctx); in SoftBusGenerateStrHash() 369 mbedtls_cipher_context_t ctx; SoftBusEncryptDataByCtr() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_dir2_readdir.c | 47 struct dir_context *ctx) in xfs_dir2_sf_getdents() 69 if (xfs_dir2_dataptr_to_db(geo, ctx->pos) > geo->datablk) in xfs_dir2_sf_getdents() 86 if (ctx->pos <= dot_offset) { in xfs_dir2_sf_getdents() 87 ctx->pos = dot_offset & 0x7fffffff; in xfs_dir2_sf_getdents() 88 if (!dir_emit(ctx, ".", 1, dp->i_ino, DT_DIR)) in xfs_dir2_sf_getdents() 95 if (ctx->pos <= dotdot_offset) { in xfs_dir2_sf_getdents() 97 ctx->pos = dotdot_offset & 0x7fffffff; in xfs_dir2_sf_getdents() 98 if (!dir_emit(ctx, "..", 2, ino, DT_DIR)) in xfs_dir2_sf_getdents() 112 if (ctx->pos > off) { in xfs_dir2_sf_getdents() 119 ctx in xfs_dir2_sf_getdents() 45 xfs_dir2_sf_getdents( struct xfs_da_args *args, struct dir_context *ctx) xfs_dir2_sf_getdents() argument 139 xfs_dir2_block_getdents( struct xfs_da_args *args, struct dir_context *ctx) xfs_dir2_block_getdents() argument 346 xfs_dir2_leaf_getdents( struct xfs_da_args *args, struct dir_context *ctx, size_t bufsize) xfs_dir2_leaf_getdents() argument 505 xfs_readdir( struct xfs_trans *tp, struct xfs_inode *dp, struct dir_context *ctx, size_t bufsize) xfs_readdir() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_dir2_readdir.c | 47 struct dir_context *ctx) in xfs_dir2_sf_getdents() 69 if (xfs_dir2_dataptr_to_db(geo, ctx->pos) > geo->datablk) in xfs_dir2_sf_getdents() 86 if (ctx->pos <= dot_offset) { in xfs_dir2_sf_getdents() 87 ctx->pos = dot_offset & 0x7fffffff; in xfs_dir2_sf_getdents() 88 if (!dir_emit(ctx, ".", 1, dp->i_ino, DT_DIR)) in xfs_dir2_sf_getdents() 95 if (ctx->pos <= dotdot_offset) { in xfs_dir2_sf_getdents() 97 ctx->pos = dotdot_offset & 0x7fffffff; in xfs_dir2_sf_getdents() 98 if (!dir_emit(ctx, "..", 2, ino, DT_DIR)) in xfs_dir2_sf_getdents() 112 if (ctx->pos > off) { in xfs_dir2_sf_getdents() 119 ctx in xfs_dir2_sf_getdents() 45 xfs_dir2_sf_getdents( struct xfs_da_args *args, struct dir_context *ctx) xfs_dir2_sf_getdents() argument 139 xfs_dir2_block_getdents( struct xfs_da_args *args, struct dir_context *ctx, unsigned int *lock_mode) xfs_dir2_block_getdents() argument 345 xfs_dir2_leaf_getdents( struct xfs_da_args *args, struct dir_context *ctx, size_t bufsize, unsigned int *lock_mode) xfs_dir2_leaf_getdents() argument 507 xfs_readdir( struct xfs_trans *tp, struct xfs_inode *dp, struct dir_context *ctx, size_t bufsize) xfs_readdir() argument [all...] |
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | mir.c | 54 mir_rewrite_index_src(compiler_context *ctx, unsigned old, unsigned new) in mir_rewrite_index_src() argument 56 mir_foreach_instr_global(ctx, ins) { in mir_rewrite_index_src() 62 mir_rewrite_index_src_swizzle(compiler_context *ctx, unsigned old, unsigned new, unsigned *swizzle) in mir_rewrite_index_src_swizzle() argument 64 mir_foreach_instr_global(ctx, ins) { in mir_rewrite_index_src_swizzle() 70 mir_rewrite_index_dst(compiler_context *ctx, unsigned old, unsigned new) in mir_rewrite_index_dst() argument 72 mir_foreach_instr_global(ctx, ins) { in mir_rewrite_index_dst() 77 if (ctx->blend_input == old) in mir_rewrite_index_dst() 78 ctx->blend_input = new; in mir_rewrite_index_dst() 80 if (ctx->blend_src1 == old) in mir_rewrite_index_dst() 81 ctx in mir_rewrite_index_dst() 85 mir_rewrite_index(compiler_context *ctx, unsigned old, unsigned new) mir_rewrite_index() argument 92 mir_use_count(compiler_context *ctx, unsigned value) mir_use_count() argument 114 mir_single_use(compiler_context *ctx, unsigned value) mir_single_use() argument 340 mir_bundle_for_op(compiler_context *ctx, midgard_instruction ins) mir_bundle_for_op() argument 382 mir_insert_instruction_before_scheduled( compiler_context *ctx, midgard_block *block, midgard_instruction *tag, midgard_instruction ins) mir_insert_instruction_before_scheduled() argument 406 mir_insert_instruction_after_scheduled( compiler_context *ctx, midgard_block *block, midgard_instruction *tag, midgard_instruction ins) mir_insert_instruction_after_scheduled() argument 469 mir_compute_temp_count(compiler_context *ctx) mir_compute_temp_count() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_helpers.c | 256 util_begin_pipestat_query(struct pipe_context *ctx) in util_begin_pipestat_query() argument 259 ctx->create_query(ctx, PIPE_QUERY_PIPELINE_STATISTICS, 0); in util_begin_pipestat_query() 263 ctx->begin_query(ctx, q); in util_begin_pipestat_query() 269 util_end_pipestat_query(struct pipe_context *ctx, struct pipe_query *q, in util_end_pipestat_query() argument 275 ctx->end_query(ctx, q); in util_end_pipestat_query() 276 ctx->get_query_result(ctx, in util_end_pipestat_query() 308 util_begin_time_query(struct pipe_context *ctx) util_begin_time_query() argument 321 util_end_time_query(struct pipe_context *ctx, struct pipe_query *q, FILE *f, const char *name) util_end_time_query() argument 335 util_wait_for_idle(struct pipe_context *ctx) util_wait_for_idle() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 103 void ossl_cipher_generic_reset_ctx(PROV_CIPHER_CTX *ctx); 195 PROV_##UCALG##_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx))\ 197 if (ctx != NULL) { \ 198 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, \ 203 return ctx; \ 236 static int cipher_hw_##NAME##_##MODE##_cipher(PROV_CIPHER_CTX *ctx, \ 240 int num = ctx->num; \ 241 KEY_NAME *key = &(((CTX_NAME *)ctx)->ks.ks); \ 244 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx [all...] |
/third_party/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 102 void ossl_cipher_generic_reset_ctx(PROV_CIPHER_CTX *ctx); 194 PROV_##UCALG##_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx))\ 196 if (ctx != NULL) { \ 197 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, \ 202 return ctx; \ 235 static int cipher_hw_##NAME##_##MODE##_cipher(PROV_CIPHER_CTX *ctx, \ 239 int num = ctx->num; \ 240 KEY_NAME *key = &(((CTX_NAME *)ctx)->ks.ks); \ 243 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-ilitek-ili9881c.c | 472 static int ili9881c_switch_page(struct ili9881c *ctx, u8 page) in ili9881c_switch_page() argument 477 ret = mipi_dsi_dcs_write_buffer(ctx->dsi, buf, sizeof(buf)); in ili9881c_switch_page() 484 static int ili9881c_send_cmd_data(struct ili9881c *ctx, u8 cmd, u8 data) in ili9881c_send_cmd_data() argument 489 ret = mipi_dsi_dcs_write_buffer(ctx->dsi, buf, sizeof(buf)); in ili9881c_send_cmd_data() 498 struct ili9881c *ctx = panel_to_ili9881c(panel); in ili9881c_prepare() local 503 ret = regulator_enable(ctx->power); in ili9881c_prepare() 509 gpiod_set_value(ctx->reset, 1); in ili9881c_prepare() 512 gpiod_set_value(ctx->reset, 0); in ili9881c_prepare() 515 for (i = 0; i < ctx->desc->init_length; i++) { in ili9881c_prepare() 516 const struct ili9881c_instr *instr = &ctx in ili9881c_prepare() 545 struct ili9881c *ctx = panel_to_ili9881c(panel); ili9881c_enable() local 556 struct ili9881c *ctx = panel_to_ili9881c(panel); ili9881c_disable() local 563 struct ili9881c *ctx = panel_to_ili9881c(panel); ili9881c_unprepare() local 609 struct ili9881c *ctx = panel_to_ili9881c(panel); ili9881c_get_modes() local 642 struct ili9881c *ctx; ili9881c_dsi_probe() local 682 struct ili9881c *ctx = mipi_dsi_get_drvdata(dsi); ili9881c_dsi_remove() local [all...] |