Home
last modified time | relevance | path

Searched refs:ctx (Results 676 - 700 of 12583) sorted by relevance

1...<<21222324252627282930>>...504

/third_party/skia/modules/svg/src/
H A DSkSVGFeLighting.cpp38 sk_sp<SkImageFilter> SkSVGFeLighting::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument
44 ctx, fctx, static_cast<const SkSVGFeDistantLight*>(child.get())); in onMakeImageFilter()
47 ctx, fctx, static_cast<const SkSVGFePointLight*>(child.get())); in onMakeImageFilter()
50 ctx, fctx, static_cast<const SkSVGFeSpotLight*>(child.get())); in onMakeImageFilter()
61 SkColor SkSVGFeLighting::resolveLightingColor(const SkSVGRenderContext& ctx) const { in resolveLightingColor()
69 return ctx.resolveSvgColor(*color); in resolveLightingColor()
72 SkPoint3 SkSVGFeLighting::resolveXYZ(const SkSVGRenderContext& ctx, in resolveXYZ() argument
77 const auto obbt = ctx.transformForCurrentOBB(fctx.primitiveUnits()); in resolveXYZ()
94 const SkSVGRenderContext& ctx, in makeDistantLight()
99 this->resolveXYZ(ctx, fct in makeDistantLight()
93 makeDistantLight( const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeDistantLight* light) const makeDistantLight() argument
108 makePointLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFePointLight* light) const makePointLight() argument
121 makeSpotLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeSpotLight* light) const makeSpotLight() argument
147 makeDistantLight( const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeDistantLight* light) const makeDistantLight() argument
161 makePointLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFePointLight* light) const makePointLight() argument
173 makeSpotLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeSpotLight* light) const makeSpotLight() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibrav1e.c41 RaContext *ctx; member
113 librav1eContext *ctx = avctx->priv_data; in get_stats() local
114 RaData* buf = rav1e_twopass_out(ctx->ctx); in get_stats()
119 uint8_t *tmp = av_fast_realloc(ctx->pass_data, &ctx->pass_size, in get_stats()
120 ctx->pass_pos + buf->len); in get_stats()
126 ctx->pass_data = tmp; in get_stats()
127 memcpy(ctx->pass_data + ctx in get_stats()
152 librav1eContext *ctx = avctx->priv_data; set_stats() local
167 librav1eContext *ctx = avctx->priv_data; librav1e_encode_close() local
187 librav1eContext *ctx = avctx->priv_data; librav1e_encode_init() local
435 librav1eContext *ctx = avctx->priv_data; librav1e_receive_packet() local
[all...]
H A Dg729dec.c353 G729ChannelContext *ctx; in decoder_init() local
366 ctx = in decoder_init()
368 if (!ctx) in decoder_init()
372 ctx->gain_coeff = 16384; // 1.0 in (1.14) in decoder_init()
375 ctx->past_quantizer_outputs[k] = ctx->past_quantizer_output_buf[k]; in decoder_init()
377 ctx->past_quantizer_outputs[k][i - 1] = (18717 * i) >> 3; in decoder_init()
380 ctx->lsp[0] = ctx->lsp_buf[0]; in decoder_init()
381 ctx in decoder_init()
416 G729ChannelContext *ctx = s->channel_context; decode_frame() local
[all...]
H A Dapedec.c193 void (*entropy_decode_mono)(struct APEContext *ctx, int blockstodecode);
194 void (*entropy_decode_stereo)(struct APEContext *ctx, int blockstodecode);
195 void (*predictor_decode_mono)(struct APEContext *ctx, int count);
196 void (*predictor_decode_stereo)(struct APEContext *ctx, int count);
199 static void ape_apply_filters(APEContext *ctx, int32_t *decoded0,
202 static void entropy_decode_mono_0000(APEContext *ctx, int blockstodecode);
203 static void entropy_decode_stereo_0000(APEContext *ctx, int blockstodecode);
204 static void entropy_decode_mono_3860(APEContext *ctx, int blockstodecode);
205 static void entropy_decode_stereo_3860(APEContext *ctx, int blockstodecode);
206 static void entropy_decode_mono_3900(APEContext *ctx, in
337 range_start_decoding(APEContext *ctx) range_start_decoding() argument
345 range_dec_normalize(APEContext *ctx) range_dec_normalize() argument
366 range_decode_culfreq(APEContext *ctx, int tot_f) range_decode_culfreq() argument
378 range_decode_culshift(APEContext *ctx, int shift) range_decode_culshift() argument
392 range_decode_update(APEContext *ctx, int sy_f, int lt_f) range_decode_update() argument
399 range_decode_bits(APEContext *ctx, int n) range_decode_bits() argument
451 range_get_symbol(APEContext *ctx, const uint16_t counts[], const uint16_t counts_diff[]) range_get_symbol() argument
498 ape_decode_value_3860(APEContext *ctx, GetBitContext *gb, APERice *rice) ape_decode_value_3860() argument
531 ape_decode_value_3900(APEContext *ctx, APERice *rice) ape_decode_value_3900() argument
565 ape_decode_value_3990(APEContext *ctx, APERice *rice) ape_decode_value_3990() argument
611 decode_array_0000(APEContext *ctx, GetBitContext *gb, int32_t *out, APERice *rice, int blockstodecode) decode_array_0000() argument
669 entropy_decode_mono_0000(APEContext *ctx, int blockstodecode) entropy_decode_mono_0000() argument
675 entropy_decode_stereo_0000(APEContext *ctx, int blockstodecode) entropy_decode_stereo_0000() argument
683 entropy_decode_mono_3860(APEContext *ctx, int blockstodecode) entropy_decode_mono_3860() argument
691 entropy_decode_stereo_3860(APEContext *ctx, int blockstodecode) entropy_decode_stereo_3860() argument
703 entropy_decode_mono_3900(APEContext *ctx, int blockstodecode) entropy_decode_mono_3900() argument
711 entropy_decode_stereo_3900(APEContext *ctx, int blockstodecode) entropy_decode_stereo_3900() argument
727 entropy_decode_stereo_3930(APEContext *ctx, int blockstodecode) entropy_decode_stereo_3930() argument
738 entropy_decode_mono_3990(APEContext *ctx, int blockstodecode) entropy_decode_mono_3990() argument
746 entropy_decode_stereo_3990(APEContext *ctx, int blockstodecode) entropy_decode_stereo_3990() argument
757 init_entropy_decoder(APEContext *ctx) init_entropy_decoder() argument
815 init_predictor_decoder(APEContext *ctx) init_predictor_decoder() argument
990 predictor_decode_stereo_3800(APEContext *ctx, int count) predictor_decode_stereo_3800() argument
1045 predictor_decode_mono_3800(APEContext *ctx, int count) predictor_decode_mono_3800() argument
1120 predictor_decode_stereo_3930(APEContext *ctx, int count) predictor_decode_stereo_3930() argument
1148 predictor_decode_mono_3930(APEContext *ctx, int count) predictor_decode_mono_3930() argument
1225 predictor_decode_stereo_3950(APEContext *ctx, int count) predictor_decode_stereo_3950() argument
1256 predictor_decode_mono_3950(APEContext *ctx, int count) predictor_decode_mono_3950() argument
1316 init_filter(APEContext *ctx, APEFilter *f, int16_t *buf, int order) init_filter() argument
1322 do_apply_filter(APEContext *ctx, int version, APEFilter *f, int32_t *data, int count, int order, int fracbits) do_apply_filter() argument
1384 apply_filter(APEContext *ctx, APEFilter *f, int32_t *data0, int32_t *data1, int count, int order, int fracbits) apply_filter() argument
1393 ape_apply_filters(APEContext *ctx, int32_t *decoded0, int32_t *decoded1, int count) ape_apply_filters() argument
1407 init_frame_decoder(APEContext *ctx) init_frame_decoder() argument
1423 ape_unpack_mono(APEContext *ctx, int count) ape_unpack_mono() argument
1444 ape_unpack_stereo(APEContext *ctx, int count) ape_unpack_stereo() argument
[all...]
H A Drscc.c74 RsccContext *ctx = avctx->priv_data; in rscc_init() local
85 ctx->reference = av_frame_alloc(); in rscc_init()
86 if (!ctx->reference) in rscc_init()
94 ctx->component_size = 4; in rscc_init()
97 ctx->component_size = 3; in rscc_init()
101 ctx->component_size = 4; in rscc_init()
104 ctx->component_size = avctx->bits_per_coded_sample / 8; in rscc_init()
125 ctx->component_size = 4; in rscc_init()
130 ctx->inflated_size = avctx->width * avctx->height * ctx in rscc_init()
142 RsccContext *ctx = avctx->priv_data; rscc_close() local
154 RsccContext *ctx = avctx->priv_data; rscc_decode_frame() local
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dasn1.c98 asn1_open(struct asn1_ctx *ctx, unsigned char *buf, unsigned int len) in asn1_open() argument
100 ctx->begin = buf; in asn1_open()
101 ctx->end = buf + len; in asn1_open()
102 ctx->pointer = buf; in asn1_open()
103 ctx->error = ASN1_ERR_NOERROR; in asn1_open()
107 asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode() argument
109 if (ctx->pointer >= ctx->end) { in asn1_octet_decode()
110 ctx->error = ASN1_ERR_DEC_EMPTY; in asn1_octet_decode()
113 *ch = *(ctx in asn1_octet_decode()
140 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) asn1_tag_decode() argument
156 asn1_id_decode(struct asn1_ctx *ctx, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_id_decode() argument
176 asn1_length_decode(struct asn1_ctx *ctx, unsigned int *def, unsigned int *len) asn1_length_decode() argument
212 asn1_header_decode(struct asn1_ctx *ctx, unsigned char **eoc, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_header_decode() argument
237 asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) asn1_eoc_decode() argument
390 asn1_subid_decode(struct asn1_ctx *ctx, unsigned long *subid) asn1_subid_decode() argument
407 asn1_oid_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned long **oid, unsigned int *len) asn1_oid_decode() argument
486 struct asn1_ctx ctx; decode_negTokenInit() local
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_encode.h84 extern int virgl_encode_blend_state(struct virgl_context *ctx,
87 extern int virgl_encode_rasterizer_state(struct virgl_context *ctx,
91 extern int virgl_encode_shader_state(struct virgl_context *ctx,
98 int virgl_encode_stream_output_info(struct virgl_context *ctx,
103 int virgl_encoder_set_so_targets(struct virgl_context *ctx,
108 int virgl_encoder_create_so_target(struct virgl_context *ctx,
114 int virgl_encode_clear(struct virgl_context *ctx,
119 int virgl_encode_clear_texture(struct virgl_context *ctx,
125 int virgl_encode_bind_object(struct virgl_context *ctx,
127 int virgl_encode_delete_object(struct virgl_context *ctx,
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeSampleVariablesTests.cpp45 void verifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) in verifyShader() argument
49 tcu::TestLog& log = ctx.getLog(); in verifyShader()
53 glu::Shader shader (ctx.getRenderContext(), shaderType); in verifyShader()
75 ctx.fail(message); in verifyShader()
79 std::string getVersionAndExtension (NegativeTestContext& ctx) in getVersionAndExtension() argument
81 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in getVersionAndExtension()
93 void checkSupported (NegativeTestContext& ctx) in checkSupported() argument
95 const bool isES32orGL45 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)) || in checkSupported()
96 contextSupports(ctx.getRenderContext().getType(), glu::ApiType::core(4, 5)); in checkSupported()
98 if (!isES32orGL45 && !ctx in checkSupported()
102 write_to_read_only_types(NegativeTestContext& ctx) write_to_read_only_types() argument
137 access_built_in_types_inside_other_shaders(NegativeTestContext& ctx) access_built_in_types_inside_other_shaders() argument
228 index_outside_sample_mask_range(NegativeTestContext& ctx) index_outside_sample_mask_range() argument
278 access_built_in_types_without_extension(NegativeTestContext& ctx) access_built_in_types_without_extension() argument
314 redeclare_built_in_types(NegativeTestContext& ctx) redeclare_built_in_types() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Datmel-sha.c302 static size_t atmel_sha_append_sg(struct atmel_sha_reqctx *ctx) in atmel_sha_append_sg() argument
306 while ((ctx->bufcnt < ctx->buflen) && ctx->total) { in atmel_sha_append_sg()
307 count = min(ctx->sg->length - ctx->offset, ctx->total); in atmel_sha_append_sg()
308 count = min(count, ctx->buflen - ctx->bufcnt); in atmel_sha_append_sg()
317 if ((ctx in atmel_sha_append_sg()
360 atmel_sha_fill_padding(struct atmel_sha_reqctx *ctx, int length) atmel_sha_fill_padding() argument
429 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_init() local
475 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_write_ctrl() local
564 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_xmit_cpu() local
594 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_xmit_pdc() local
640 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_xmit_dma() local
705 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_update_cpu() local
716 atmel_sha_xmit_dma_map(struct atmel_sha_dev *dd, struct atmel_sha_reqctx *ctx, size_t length, int final) atmel_sha_xmit_dma_map() argument
736 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_update_dma_slow() local
761 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_update_dma_start() local
856 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); atmel_sha_update_dma_stop() local
878 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_update_req() local
899 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_final_req() local
924 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_copy_hash() local
955 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_copy_ready_hash() local
986 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_finish() local
1000 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_finish_req() local
1058 struct atmel_sha_ctx *ctx; atmel_sha_handle_queue() local
1102 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_start() local
1152 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_enqueue() local
1163 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_update() local
1185 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_final() local
1201 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_finup() local
1229 const struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_export() local
1237 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_import() local
1245 struct atmel_sha_ctx *ctx = crypto_tfm_ctx(tfm); atmel_sha_cra_init() local
1395 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_dma_check_aligned() local
1504 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_cpu_transfer() local
1558 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_cpu_start() local
1590 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_cpu_hash() local
1688 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_setup() local
1752 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_prehash_key_done() local
1769 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_compute_ipad_hash() local
1788 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_compute_opad_hash() local
1804 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_setup_done() local
1817 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_start() local
1872 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_init_done() local
1889 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_final() local
1948 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); atmel_sha_hmac_digest2() local
2225 struct atmel_sha_reqctx *ctx = &authctx->base; atmel_sha_authenc_schedule() local
2257 struct atmel_sha_reqctx *ctx = &authctx->base; atmel_sha_authenc_init() local
2280 struct atmel_sha_reqctx *ctx = &authctx->base; atmel_sha_authenc_init2() local
2327 struct atmel_sha_reqctx *ctx = &authctx->base; atmel_sha_authenc_final() local
2380 struct atmel_sha_reqctx *ctx = &authctx->base; atmel_sha_authenc_abort() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/s5p-jpeg/
H A Djpeg-core.c526 struct s5p_jpeg_ctx *ctx) in s5p_jpeg_adjust_fourcc_to_subsampling()
530 if (ctx->subsampling != V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY) { in s5p_jpeg_adjust_fourcc_to_subsampling()
537 switch (ctx->subsampling) { in s5p_jpeg_adjust_fourcc_to_subsampling()
588 static int s5p_jpeg_to_user_subsampling(struct s5p_jpeg_ctx *ctx) in s5p_jpeg_to_user_subsampling() argument
590 switch (ctx->jpeg->variant->version) { in s5p_jpeg_to_user_subsampling()
592 WARN_ON(ctx->subsampling > 3); in s5p_jpeg_to_user_subsampling()
593 if (ctx->subsampling > 2) in s5p_jpeg_to_user_subsampling()
595 return ctx->subsampling; in s5p_jpeg_to_user_subsampling()
598 WARN_ON(ctx->subsampling > 6); in s5p_jpeg_to_user_subsampling()
599 if (ctx in s5p_jpeg_to_user_subsampling()
522 s5p_jpeg_adjust_fourcc_to_subsampling( enum v4l2_jpeg_chroma_subsampling subs, u32 in_fourcc, u32 *out_fourcc, struct s5p_jpeg_ctx *ctx) s5p_jpeg_adjust_fourcc_to_subsampling() argument
765 exynos4_jpeg_parse_decode_h_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_decode_h_tbl() argument
802 exynos4_jpeg_parse_huff_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_huff_tbl() argument
861 exynos4_jpeg_parse_decode_q_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_decode_q_tbl() argument
892 exynos4_jpeg_parse_q_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_q_tbl() argument
949 struct s5p_jpeg_ctx *ctx; s5p_jpeg_open() local
1012 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); s5p_jpeg_release() local
1073 s5p_jpeg_subsampling_decode(struct s5p_jpeg_ctx *ctx, unsigned int subsampling) s5p_jpeg_subsampling_decode() argument
1111 s5p_jpeg_parse_hdr(struct s5p_jpeg_q_data *result, unsigned long buffer, unsigned long size, struct s5p_jpeg_ctx *ctx) s5p_jpeg_parse_hdr() argument
1247 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_querycap() local
1265 enum_fmt(struct s5p_jpeg_ctx *ctx, struct s5p_jpeg_fmt *sjpeg_formats, int n, struct v4l2_fmtdesc *f, u32 type) enum_fmt() argument
1297 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_enum_fmt_vid_cap() local
1310 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_enum_fmt_vid_out() local
1320 get_q_data(struct s5p_jpeg_ctx *ctx, enum v4l2_buf_type type) get_q_data() argument
1365 s5p_jpeg_find_format(struct s5p_jpeg_ctx *ctx, u32 pixelformat, unsigned int fmt_type) s5p_jpeg_find_format() argument
1392 jpeg_bound_align_image(struct s5p_jpeg_ctx *ctx, u32 *w, unsigned int wmin, unsigned int wmax, unsigned int walign, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int halign) jpeg_bound_align_image() argument
1428 vidioc_try_fmt(struct v4l2_format *f, struct s5p_jpeg_fmt *fmt, struct s5p_jpeg_ctx *ctx, int q_type) vidioc_try_fmt() argument
1476 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_try_fmt_vid_cap() local
1535 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_try_fmt_vid_out() local
1550 exynos4_jpeg_get_output_buffer_size(struct s5p_jpeg_ctx *ctx, struct v4l2_format *f, int fmt_depth) exynos4_jpeg_get_output_buffer_size() argument
1706 exynos3250_jpeg_try_downscale(struct s5p_jpeg_ctx *ctx, struct v4l2_rect *r) exynos3250_jpeg_try_downscale() argument
1739 exynos3250_jpeg_try_crop(struct s5p_jpeg_ctx *ctx, struct v4l2_rect *r) exynos3250_jpeg_try_crop() argument
1791 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_g_selection() local
1828 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); s5p_jpeg_s_selection() local
1852 struct s5p_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); s5p_jpeg_g_volatile_ctrl() local
1867 s5p_jpeg_adjust_subs_ctrl(struct s5p_jpeg_ctx *ctx, int *ctrl_val) s5p_jpeg_adjust_subs_ctrl() argument
1906 struct s5p_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); s5p_jpeg_try_ctrl() local
1921 struct s5p_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); s5p_jpeg_s_ctrl() local
1948 s5p_jpeg_controls_create(struct s5p_jpeg_ctx *ctx) s5p_jpeg_controls_create() argument
2031 struct s5p_jpeg_ctx *ctx = priv; s5p_jpeg_device_run() local
2110 exynos4_jpeg_set_img_addr(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_set_img_addr() argument
2148 exynos4_jpeg_set_jpeg_addr(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_set_jpeg_addr() argument
2192 struct s5p_jpeg_ctx *ctx = priv; exynos4_jpeg_device_run() local
2271 exynos3250_jpeg_set_img_addr(struct s5p_jpeg_ctx *ctx) exynos3250_jpeg_set_img_addr() argument
2304 exynos3250_jpeg_set_jpeg_addr(struct s5p_jpeg_ctx *ctx) exynos3250_jpeg_set_jpeg_addr() argument
2321 struct s5p_jpeg_ctx *ctx = priv; exynos3250_jpeg_device_run() local
2412 struct s5p_jpeg_ctx *ctx = priv; s5p_jpeg_job_ready() local
2453 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vq); s5p_jpeg_queue_setup() local
2478 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); s5p_jpeg_buf_prepare() local
2496 s5p_jpeg_set_capture_queue_data(struct s5p_jpeg_ctx *ctx) s5p_jpeg_set_capture_queue_data() argument
2523 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); s5p_jpeg_buf_queue() local
2568 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(q); s5p_jpeg_start_streaming() local
2575 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(q); s5p_jpeg_stop_streaming() local
2604 struct s5p_jpeg_ctx *ctx = priv; queue_init() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c526 struct s5p_jpeg_ctx *ctx) in s5p_jpeg_adjust_fourcc_to_subsampling()
530 if (ctx->subsampling != V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY) { in s5p_jpeg_adjust_fourcc_to_subsampling()
537 switch (ctx->subsampling) { in s5p_jpeg_adjust_fourcc_to_subsampling()
588 static int s5p_jpeg_to_user_subsampling(struct s5p_jpeg_ctx *ctx) in s5p_jpeg_to_user_subsampling() argument
590 switch (ctx->jpeg->variant->version) { in s5p_jpeg_to_user_subsampling()
592 WARN_ON(ctx->subsampling > 3); in s5p_jpeg_to_user_subsampling()
593 if (ctx->subsampling > 2) in s5p_jpeg_to_user_subsampling()
595 return ctx->subsampling; in s5p_jpeg_to_user_subsampling()
598 WARN_ON(ctx->subsampling > 6); in s5p_jpeg_to_user_subsampling()
599 if (ctx in s5p_jpeg_to_user_subsampling()
522 s5p_jpeg_adjust_fourcc_to_subsampling( enum v4l2_jpeg_chroma_subsampling subs, u32 in_fourcc, u32 *out_fourcc, struct s5p_jpeg_ctx *ctx) s5p_jpeg_adjust_fourcc_to_subsampling() argument
765 exynos4_jpeg_parse_decode_h_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_decode_h_tbl() argument
802 exynos4_jpeg_parse_huff_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_huff_tbl() argument
861 exynos4_jpeg_parse_decode_q_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_decode_q_tbl() argument
892 exynos4_jpeg_parse_q_tbl(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_parse_q_tbl() argument
949 struct s5p_jpeg_ctx *ctx; s5p_jpeg_open() local
1012 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); s5p_jpeg_release() local
1073 s5p_jpeg_subsampling_decode(struct s5p_jpeg_ctx *ctx, unsigned int subsampling) s5p_jpeg_subsampling_decode() argument
1111 s5p_jpeg_parse_hdr(struct s5p_jpeg_q_data *result, unsigned long buffer, unsigned long size, struct s5p_jpeg_ctx *ctx) s5p_jpeg_parse_hdr() argument
1247 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_querycap() local
1263 enum_fmt(struct s5p_jpeg_ctx *ctx, struct s5p_jpeg_fmt *sjpeg_formats, int n, struct v4l2_fmtdesc *f, u32 type) enum_fmt() argument
1295 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_enum_fmt_vid_cap() local
1308 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_enum_fmt_vid_out() local
1318 get_q_data(struct s5p_jpeg_ctx *ctx, enum v4l2_buf_type type) get_q_data() argument
1363 s5p_jpeg_find_format(struct s5p_jpeg_ctx *ctx, u32 pixelformat, unsigned int fmt_type) s5p_jpeg_find_format() argument
1390 jpeg_bound_align_image(struct s5p_jpeg_ctx *ctx, u32 *w, unsigned int wmin, unsigned int wmax, unsigned int walign, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int halign) jpeg_bound_align_image() argument
1426 vidioc_try_fmt(struct v4l2_format *f, struct s5p_jpeg_fmt *fmt, struct s5p_jpeg_ctx *ctx, int q_type) vidioc_try_fmt() argument
1474 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_try_fmt_vid_cap() local
1533 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_try_fmt_vid_out() local
1548 exynos4_jpeg_get_output_buffer_size(struct s5p_jpeg_ctx *ctx, struct v4l2_format *f, int fmt_depth) exynos4_jpeg_get_output_buffer_size() argument
1704 exynos3250_jpeg_try_downscale(struct s5p_jpeg_ctx *ctx, struct v4l2_rect *r) exynos3250_jpeg_try_downscale() argument
1737 exynos3250_jpeg_try_crop(struct s5p_jpeg_ctx *ctx, struct v4l2_rect *r) exynos3250_jpeg_try_crop() argument
1789 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); s5p_jpeg_g_selection() local
1826 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); s5p_jpeg_s_selection() local
1850 struct s5p_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); s5p_jpeg_g_volatile_ctrl() local
1865 s5p_jpeg_adjust_subs_ctrl(struct s5p_jpeg_ctx *ctx, int *ctrl_val) s5p_jpeg_adjust_subs_ctrl() argument
1904 struct s5p_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); s5p_jpeg_try_ctrl() local
1919 struct s5p_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); s5p_jpeg_s_ctrl() local
1946 s5p_jpeg_controls_create(struct s5p_jpeg_ctx *ctx) s5p_jpeg_controls_create() argument
2029 struct s5p_jpeg_ctx *ctx = priv; s5p_jpeg_device_run() local
2108 exynos4_jpeg_set_img_addr(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_set_img_addr() argument
2146 exynos4_jpeg_set_jpeg_addr(struct s5p_jpeg_ctx *ctx) exynos4_jpeg_set_jpeg_addr() argument
2190 struct s5p_jpeg_ctx *ctx = priv; exynos4_jpeg_device_run() local
2269 exynos3250_jpeg_set_img_addr(struct s5p_jpeg_ctx *ctx) exynos3250_jpeg_set_img_addr() argument
2302 exynos3250_jpeg_set_jpeg_addr(struct s5p_jpeg_ctx *ctx) exynos3250_jpeg_set_jpeg_addr() argument
2319 struct s5p_jpeg_ctx *ctx = priv; exynos3250_jpeg_device_run() local
2410 struct s5p_jpeg_ctx *ctx = priv; s5p_jpeg_job_ready() local
2451 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vq); s5p_jpeg_queue_setup() local
2476 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); s5p_jpeg_buf_prepare() local
2494 s5p_jpeg_set_capture_queue_data(struct s5p_jpeg_ctx *ctx) s5p_jpeg_set_capture_queue_data() argument
2521 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); s5p_jpeg_buf_queue() local
2566 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(q); s5p_jpeg_start_streaming() local
2573 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(q); s5p_jpeg_stop_streaming() local
2602 struct s5p_jpeg_ctx *ctx = priv; queue_init() local
[all...]
/kernel/linux/linux-5.10/arch/s390/crypto/
H A Dpaes_s390.c139 static inline int __paes_convert_key(struct s390_paes_ctx *ctx) in __paes_convert_key() argument
143 if (__paes_keyblob2pkey(&ctx->kb, &pkey)) in __paes_convert_key()
146 spin_lock_bh(&ctx->pk_lock); in __paes_convert_key()
147 memcpy(&ctx->pk, &pkey, sizeof(pkey)); in __paes_convert_key()
148 spin_unlock_bh(&ctx->pk_lock); in __paes_convert_key()
155 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_init() local
157 ctx->kb.key = NULL; in ecb_paes_init()
158 spin_lock_init(&ctx->pk_lock); in ecb_paes_init()
165 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_exit() local
167 _free_kb_keybuf(&ctx in ecb_paes_exit()
170 __ecb_paes_set_key(struct s390_paes_ctx *ctx) __ecb_paes_set_key() argument
192 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ecb_paes_set_key() local
205 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ecb_paes_crypt() local
268 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_init() local
278 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_exit() local
283 __cbc_paes_set_key(struct s390_paes_ctx *ctx) __cbc_paes_set_key() argument
305 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_set_key() local
318 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_crypt() local
386 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_init() local
397 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_exit() local
403 __xts_paes_convert_key(struct s390_pxts_ctx *ctx) __xts_paes_convert_key() argument
419 __xts_paes_set_key(struct s390_pxts_ctx *ctx) __xts_paes_set_key() argument
444 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_set_key() local
481 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_crypt() local
563 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_init() local
573 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_exit() local
578 __ctr_paes_set_key(struct s390_paes_ctx *ctx) __ctr_paes_set_key() argument
601 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_set_key() local
629 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_crypt() local
[all...]
/kernel/linux/linux-6.6/arch/s390/crypto/
H A Dpaes_s390.c144 static inline int __paes_convert_key(struct s390_paes_ctx *ctx) in __paes_convert_key() argument
150 ret = __paes_keyblob2pkey(&ctx->kb, &pkey); in __paes_convert_key()
154 spin_lock_bh(&ctx->pk_lock); in __paes_convert_key()
155 memcpy(&ctx->pk, &pkey, sizeof(pkey)); in __paes_convert_key()
156 spin_unlock_bh(&ctx->pk_lock); in __paes_convert_key()
163 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_init() local
165 ctx->kb.key = NULL; in ecb_paes_init()
166 spin_lock_init(&ctx->pk_lock); in ecb_paes_init()
173 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_exit() local
175 _free_kb_keybuf(&ctx in ecb_paes_exit()
178 __ecb_paes_set_key(struct s390_paes_ctx *ctx) __ecb_paes_set_key() argument
202 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ecb_paes_set_key() local
215 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ecb_paes_crypt() local
278 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_init() local
288 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_exit() local
293 __cbc_paes_set_key(struct s390_paes_ctx *ctx) __cbc_paes_set_key() argument
317 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_set_key() local
330 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); cbc_paes_crypt() local
398 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_init() local
409 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_exit() local
415 __xts_paes_convert_key(struct s390_pxts_ctx *ctx) __xts_paes_convert_key() argument
434 __xts_paes_set_key(struct s390_pxts_ctx *ctx) __xts_paes_set_key() argument
459 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_set_key() local
496 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); xts_paes_crypt() local
578 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_init() local
588 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_exit() local
593 __ctr_paes_set_key(struct s390_paes_ctx *ctx) __ctr_paes_set_key() argument
618 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_set_key() local
646 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); ctr_paes_crypt() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Dhantro_g2_vp9_dec.c29 static int start_prepare_run(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame **dec_params) in start_prepare_run() argument
32 struct hantro_vp9_dec_hw_ctx *vp9_ctx = &ctx->vp9_dec; in start_prepare_run()
37 hantro_start_prepare_run(ctx); in start_prepare_run()
39 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, V4L2_CID_STATELESS_VP9_FRAME); in start_prepare_run()
44 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, V4L2_CID_STATELESS_VP9_COMPRESSED_HDR); in start_prepare_run()
93 static size_t chroma_offset(const struct hantro_ctx *ctx, in chroma_offset() argument
98 return ctx->src_fmt.width * ctx->src_fmt.height * bytes_per_pixel; in chroma_offset()
101 static size_t mv_offset(const struct hantro_ctx *ctx, in mv_offset() argument
104 size_t cr_offset = chroma_offset(ctx, dec_param in mv_offset()
110 get_ref_buf(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *dst, u64 timestamp) get_ref_buf() argument
146 config_output(struct hantro_ctx *ctx, struct hantro_decoded_buffer *dst, const struct v4l2_ctrl_vp9_frame *dec_params) config_output() argument
175 config_ref(struct hantro_ctx *ctx, struct hantro_decoded_buffer *dst, const struct hantro_vp9_ref_reg *ref_reg, const struct v4l2_ctrl_vp9_frame *dec_params, u64 ref_ts) config_ref() argument
202 config_ref_registers(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params, struct hantro_decoded_buffer *dst, struct hantro_decoded_buffer *mv_ref) config_ref_registers() argument
268 recompute_tile_rc_info(struct hantro_ctx *ctx, unsigned int tile_r, unsigned int tile_c, unsigned int sbs_r, unsigned int sbs_c) recompute_tile_rc_info() argument
295 fill_tile_info(struct hantro_ctx *ctx, unsigned int tile_r, unsigned int tile_c, unsigned int sbs_r, unsigned int sbs_c, unsigned short *tile_mem) fill_tile_info() argument
322 config_tiles(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params, struct hantro_decoded_buffer *dst) config_tiles() argument
403 config_segment(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params) config_segment() argument
486 config_loop_filter(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params) config_loop_filter() argument
502 config_picture_dimensions(struct hantro_ctx *ctx, struct hantro_decoded_buffer *dst) config_picture_dimensions() argument
515 config_bit_depth(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params) config_bit_depth() argument
534 config_quant(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params) config_quant() argument
562 config_others(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params, bool intra_only, bool resolution_change) config_others() argument
593 config_compound_reference(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params) config_compound_reference() argument
648 config_probs(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params) config_probs() argument
756 config_counts(struct hantro_ctx *ctx) config_counts() argument
765 config_seg_map(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params, bool intra_only, bool update_map) config_seg_map() argument
791 config_source(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params, struct vb2_v4l2_buffer *vb2_src) config_source() argument
825 config_registers(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params, struct vb2_v4l2_buffer *vb2_src, struct vb2_v4l2_buffer *vb2_dst) config_registers() argument
905 hantro_g2_vp9_dec_run(struct hantro_ctx *ctx) hantro_g2_vp9_dec_run() argument
940 hantro_g2_vp9_dec_done(struct hantro_ctx *ctx) hantro_g2_vp9_dec_done() argument
[all...]
/kernel/linux/linux-5.10/fs/
H A Duserfaultfd.c82 struct userfaultfd_ctx *ctx; member
91 struct userfaultfd_ctx *ctx; member
103 static bool userfaultfd_is_initialized(struct userfaultfd_ctx *ctx) in userfaultfd_is_initialized() argument
105 return ctx->features & UFFD_FEATURE_INITIALIZED; in userfaultfd_is_initialized()
151 * @ctx: [in] Pointer to the userfaultfd context.
153 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get() argument
155 refcount_inc(&ctx->refcount); in userfaultfd_ctx_get()
161 * @ctx: [in] Pointer to userfaultfd context.
166 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put() argument
168 if (refcount_dec_and_test(&ctx in userfaultfd_ctx_put()
229 userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, struct vm_area_struct *vma, unsigned long address, unsigned long flags, unsigned long reason) userfaultfd_huge_must_wait() argument
261 userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, struct vm_area_struct *vma, unsigned long address, unsigned long flags, unsigned long reason) userfaultfd_huge_must_wait() argument
278 userfaultfd_must_wait(struct userfaultfd_ctx *ctx, unsigned long address, unsigned long flags, unsigned long reason) userfaultfd_must_wait() argument
373 struct userfaultfd_ctx *ctx; handle_userfault() local
548 userfaultfd_event_wait_completion(struct userfaultfd_ctx *ctx, struct userfaultfd_wait_queue *ewq) userfaultfd_event_wait_completion() argument
625 userfaultfd_event_complete(struct userfaultfd_ctx *ctx, struct userfaultfd_wait_queue *ewq) userfaultfd_event_complete() argument
635 struct userfaultfd_ctx *ctx = NULL, *octx; dup_userfaultfd() local
683 struct userfaultfd_ctx *ctx = fctx->orig; dup_fctx() local
708 struct userfaultfd_ctx *ctx; mremap_userfaultfd_prep() local
730 struct userfaultfd_ctx *ctx = vm_ctx->ctx; mremap_userfaultfd_complete() local
755 struct userfaultfd_ctx *ctx; userfaultfd_remove() local
777 has_unmap_ctx(struct userfaultfd_ctx *ctx, struct list_head *unmaps, unsigned long start, unsigned long end) has_unmap_ctx() argument
796 struct userfaultfd_ctx *ctx = vma->vm_userfaultfd_ctx.ctx; userfaultfd_unmap_prep() local
819 struct userfaultfd_unmap_ctx *ctx, *n; userfaultfd_unmap_complete() local
838 struct userfaultfd_ctx *ctx = file->private_data; userfaultfd_release() local
921 find_userfault( struct userfaultfd_ctx *ctx) find_userfault() argument
927 find_userfault_evt( struct userfaultfd_ctx *ctx) find_userfault_evt() argument
935 struct userfaultfd_ctx *ctx = file->private_data; userfaultfd_poll() local
971 resolve_userfault_fork(struct userfaultfd_ctx *ctx, struct userfaultfd_ctx *new, struct uffd_msg *msg) resolve_userfault_fork() argument
987 userfaultfd_ctx_read(struct userfaultfd_ctx *ctx, int no_wait, struct uffd_msg *msg) userfaultfd_ctx_read() argument
1155 struct userfaultfd_ctx *ctx = file->private_data; userfaultfd_read() local
1182 __wake_userfault(struct userfaultfd_ctx *ctx, struct userfaultfd_wake_range *range) __wake_userfault() argument
1195 wake_userfault(struct userfaultfd_ctx *ctx, struct userfaultfd_wake_range *range) wake_userfault() argument
1255 userfaultfd_register(struct userfaultfd_ctx *ctx, unsigned long arg) userfaultfd_register() argument
1472 userfaultfd_unregister(struct userfaultfd_ctx *ctx, unsigned long arg) userfaultfd_unregister() argument
1625 userfaultfd_wake(struct userfaultfd_ctx *ctx, unsigned long arg) userfaultfd_wake() argument
1657 userfaultfd_copy(struct userfaultfd_ctx *ctx, unsigned long arg) userfaultfd_copy() argument
1714 userfaultfd_zeropage(struct userfaultfd_ctx *ctx, unsigned long arg) userfaultfd_zeropage() argument
1766 userfaultfd_writeprotect(struct userfaultfd_ctx *ctx, unsigned long arg) userfaultfd_writeprotect() argument
1833 userfaultfd_api(struct userfaultfd_ctx *ctx, unsigned long arg) userfaultfd_api() argument
1879 struct userfaultfd_ctx *ctx = file->private_data; userfaultfd_ioctl() local
1913 struct userfaultfd_ctx *ctx = f->private_data; userfaultfd_show_fdinfo() local
1952 struct userfaultfd_ctx *ctx = (struct userfaultfd_ctx *) mem; init_once_userfaultfd_ctx() local
1963 struct userfaultfd_ctx *ctx; SYSCALL_DEFINE1() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_viewport.c154 struct si_context *ctx = (struct si_context *)pctx; in si_set_scissor_states() local
158 ctx->scissors[start_slot + i] = state[i]; in si_set_scissor_states()
160 if (!ctx->queued.named.rasterizer->scissor_enable) in si_set_scissor_states()
163 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_set_scissor_states()
169 static void si_get_scissor_from_viewport(struct si_context *ctx, in si_get_scissor_from_viewport() argument
200 static void si_clamp_scissor(struct si_context *ctx, struct pipe_scissor_state *out, in si_clamp_scissor() argument
226 static void si_emit_one_scissor(struct si_context *ctx, struct radeon_cmdbuf *cs, in si_emit_one_scissor() argument
232 if (ctx->vs_disables_clipping_viewport) { in si_emit_one_scissor()
236 si_clamp_scissor(ctx, in si_emit_one_scissor()
262 si_emit_guardband(struct si_context *ctx) si_emit_guardband() argument
399 si_emit_scissors(struct si_context *ctx) si_emit_scissors() argument
433 struct si_context *ctx = (struct si_context *)pctx; si_set_viewport_states() local
495 si_emit_one_viewport(struct si_context *ctx, struct pipe_viewport_state *state) si_emit_one_viewport() argument
509 si_emit_viewports(struct si_context *ctx) si_emit_viewports() argument
546 si_emit_depth_ranges(struct si_context *ctx) si_emit_depth_ranges() argument
579 si_emit_viewport_states(struct si_context *ctx) si_emit_viewport_states() argument
595 si_update_vs_viewport_state(struct si_context *ctx) si_update_vs_viewport_state() argument
682 si_set_window_rectangles(struct pipe_context *ctx, bool include, unsigned num_rectangles, const struct pipe_scissor_state *rects) si_set_window_rectangles() argument
697 si_init_viewport_functions(struct si_context *ctx) si_init_viewport_functions() argument
[all...]
/kernel/linux/linux-6.6/drivers/fpga/tests/
H A Dfpga-region-test.c91 struct test_ctx *ctx = test->priv; in fpga_region_test_class_find() local
94 region = fpga_region_class_find(NULL, &ctx->region_pdev->dev, fake_region_match); in fpga_region_test_class_find()
95 KUNIT_EXPECT_PTR_EQ(test, region, ctx->region); in fpga_region_test_class_find()
106 struct test_ctx *ctx = test->priv; in fpga_region_test_program_fpga() local
111 img_info = fpga_image_info_alloc(&ctx->mgr_pdev->dev); in fpga_region_test_program_fpga()
117 ctx->region->info = img_info; in fpga_region_test_program_fpga()
118 ret = fpga_region_program_fpga(ctx->region); in fpga_region_test_program_fpga()
121 KUNIT_EXPECT_EQ(test, 1, ctx->mgr_stats.write_count); in fpga_region_test_program_fpga()
122 KUNIT_EXPECT_EQ(test, 1, ctx->bridge_stats.cycles_count); in fpga_region_test_program_fpga()
124 fpga_bridges_put(&ctx in fpga_region_test_program_fpga()
145 struct test_ctx *ctx; fpga_region_test_init() local
186 struct test_ctx *ctx = test->priv; fpga_region_test_exit() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dact.c67 ACTContext* ctx = s->priv_data; in read_header() local
107 ctx->bytes_left_in_chunk=CHUNK_SIZE; in read_header()
118 ACTContext *ctx = s->priv_data; in read_packet() local
132 if(s->streams[0]->codecpar->sample_rate==4400 && !ctx->second_packet) in read_packet()
134 ret = ffio_read_size(pb, ctx->audio_buffer, frame_size); in read_packet()
139 pkt->data[0]=ctx->audio_buffer[11]; in read_packet()
140 pkt->data[1]=ctx->audio_buffer[0]; in read_packet()
141 pkt->data[2]=ctx->audio_buffer[12]; in read_packet()
142 pkt->data[3]=ctx->audio_buffer[1]; in read_packet()
143 pkt->data[4]=ctx in read_packet()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dprogram_resource.c36 supported_interface_enum(struct gl_context *ctx, GLenum iface) in supported_interface_enum() argument
53 return _mesa_has_ARB_shader_subroutine(ctx); in supported_interface_enum()
56 return _mesa_has_geometry_shaders(ctx) && _mesa_has_ARB_shader_subroutine(ctx); in supported_interface_enum()
59 return _mesa_has_compute_shaders(ctx) && _mesa_has_ARB_shader_subroutine(ctx); in supported_interface_enum()
64 return _mesa_has_tessellation(ctx) && _mesa_has_ARB_shader_subroutine(ctx); in supported_interface_enum()
73 GET_CURRENT_CONTEXT(ctx); in lookup_linked_program()
75 _mesa_lookup_shader_program_err(ctx, progra in lookup_linked_program()
[all...]
H A Dformatquery.c44 _is_renderable(struct gl_context *ctx, GLenum internalformat) in _is_renderable() argument
55 _mesa_base_fbo_format(ctx, internalformat) == 0) in _is_renderable()
65 _legal_parameters(struct gl_context *ctx, GLenum target, GLenum internalformat, in _legal_parameters() argument
69 bool query2 = _mesa_has_ARB_internalformat_query2(ctx); in _legal_parameters()
93 _mesa_error(ctx, GL_INVALID_ENUM, in _legal_parameters()
110 !(_mesa_has_ARB_texture_multisample(ctx) || _mesa_is_gles31(ctx))) { in _legal_parameters()
111 _mesa_error(ctx, GL_INVALID_ENUM, in _legal_parameters()
120 _mesa_error(ctx, GL_INVALID_ENUM, in _legal_parameters()
138 if (!_mesa_has_ARB_texture_filter_minmax(ctx)) { in _legal_parameters()
416 _is_target_supported(struct gl_context *ctx, GLenum target) _is_target_supported() argument
483 _is_resource_supported(struct gl_context *ctx, GLenum target, GLenum internalformat, GLenum pname) _is_resource_supported() argument
570 _is_internalformat_supported(struct gl_context *ctx, GLenum target, GLenum internalformat) _is_internalformat_supported() argument
621 _legal_target_for_framebuffer_texture_layer(struct gl_context *ctx, GLenum target) _legal_target_for_framebuffer_texture_layer() argument
652 _mesa_query_internal_format_default(struct gl_context *ctx, GLenum target, GLenum internalFormat, GLenum pname, GLint *params) _mesa_query_internal_format_default() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c63 struct rotate_ctx *ctx = priv; in rotate_device_run() local
64 struct rotate_dev *dev = ctx->dev; in rotate_device_run()
70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in rotate_device_run()
71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in rotate_device_run()
76 if (ctx->hflip) in rotate_device_run()
78 if (ctx->vflip) in rotate_device_run()
80 val |= ROTATE_GLB_CTL_ROTATION(ctx->rotate / 90); in rotate_device_run()
81 if (ctx->rotate != 90 && ctx->rotate != 270) in rotate_device_run()
87 fmt = rotate_find_format(ctx in rotate_device_run()
143 struct rotate_ctx *ctx; rotate_irq() local
258 rotate_set_cap_format(struct rotate_ctx *ctx, struct v4l2_pix_format *f, u32 rotate) rotate_set_cap_format() argument
291 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_g_fmt_vid_cap() local
301 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_g_fmt_vid_out() local
311 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_try_fmt_vid_cap() local
342 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_s_fmt_vid_cap() local
362 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_s_fmt_vid_out() local
428 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_queue_setup() local
450 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_buf_prepare() local
469 struct rotate_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); rotate_buf_queue() local
476 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_queue_cleanup() local
493 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_start_streaming() local
511 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_stop_streaming() local
532 struct rotate_ctx *ctx = priv; rotate_queue_init() local
570 struct rotate_ctx *ctx = container_of(ctrl->handler, rotate_s_ctrl() local
613 rotate_setup_ctrls(struct rotate_ctx *ctx) rotate_setup_ctrls() argument
641 struct rotate_ctx *ctx = NULL; rotate_open() local
696 struct rotate_ctx *ctx = container_of(file->private_data, rotate_release() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c63 struct rotate_ctx *ctx = priv; in rotate_device_run() local
64 struct rotate_dev *dev = ctx->dev; in rotate_device_run()
70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in rotate_device_run()
71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in rotate_device_run()
76 if (ctx->hflip) in rotate_device_run()
78 if (ctx->vflip) in rotate_device_run()
80 val |= ROTATE_GLB_CTL_ROTATION(ctx->rotate / 90); in rotate_device_run()
81 if (ctx->rotate != 90 && ctx->rotate != 270) in rotate_device_run()
87 fmt = rotate_find_format(ctx in rotate_device_run()
143 struct rotate_ctx *ctx; rotate_irq() local
258 rotate_set_cap_format(struct rotate_ctx *ctx, struct v4l2_pix_format *f, u32 rotate) rotate_set_cap_format() argument
291 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_g_fmt_vid_cap() local
301 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_g_fmt_vid_out() local
311 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_try_fmt_vid_cap() local
342 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_s_fmt_vid_cap() local
362 struct rotate_ctx *ctx = rotate_file2ctx(file); rotate_s_fmt_vid_out() local
428 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_queue_setup() local
450 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_buf_prepare() local
469 struct rotate_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); rotate_buf_queue() local
476 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_queue_cleanup() local
493 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_start_streaming() local
511 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); rotate_stop_streaming() local
532 struct rotate_ctx *ctx = priv; rotate_queue_init() local
570 struct rotate_ctx *ctx = container_of(ctrl->handler, rotate_s_ctrl() local
613 rotate_setup_ctrls(struct rotate_ctx *ctx) rotate_setup_ctrls() argument
641 struct rotate_ctx *ctx = NULL; rotate_open() local
696 struct rotate_ctx *ctx = container_of(file->private_data, rotate_release() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c69 static struct ipu_csc_scaler_q_data *get_q_data(struct ipu_csc_scaler_ctx *ctx, in get_q_data() argument
73 return &ctx->q_data[V4L2_M2M_SRC]; in get_q_data()
75 return &ctx->q_data[V4L2_M2M_DST]; in get_q_data()
84 struct ipu_csc_scaler_ctx *ctx = _ctx; in job_abort() local
86 if (ctx->icc) in job_abort()
87 ipu_image_convert_abort(ctx->icc); in job_abort()
92 struct ipu_csc_scaler_ctx *ctx = _ctx; in ipu_ic_pp_complete() local
93 struct ipu_csc_scaler_priv *priv = ctx->priv; in ipu_ic_pp_complete()
96 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in ipu_ic_pp_complete()
97 dst_buf = v4l2_m2m_dst_buf_remove(ctx in ipu_ic_pp_complete()
115 struct ipu_csc_scaler_ctx *ctx = _ctx; device_run() local
182 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_g_fmt() local
195 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_try_fmt() local
244 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_s_fmt() local
299 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_g_selection() local
337 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); ipu_csc_scaler_s_selection() local
424 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vq); ipu_csc_scaler_queue_setup() local
450 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vq); ipu_csc_scaler_buf_prepare() local
483 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); ipu_csc_scaler_buf_queue() local
505 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(q); ipu_csc_scaler_start_streaming() local
552 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(q); ipu_csc_scaler_stop_streaming() local
584 struct ipu_csc_scaler_ctx *ctx = priv; ipu_csc_scaler_queue_init() local
618 struct ipu_csc_scaler_ctx *ctx = container_of(ctrl->handler, ipu_csc_scaler_s_ctrl() local
709 ipu_csc_scaler_init_controls(struct ipu_csc_scaler_ctx *ctx) ipu_csc_scaler_init_controls() argument
755 struct ipu_csc_scaler_ctx *ctx = NULL; ipu_csc_scaler_open() local
802 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(file->private_data); ipu_csc_scaler_release() local
[all...]
/third_party/curl/lib/vquic/
H A Dcurl_ngtcp2.c140 ((struct cf_ngtcp2_ctx *)(cf)->ctx)->call_data
173 struct cf_ngtcp2_ctx *ctx = cf->ctx; in h3_data_setup() local
190 Curl_bufq_initp(&stream->sendbuf, &ctx->stream_bufcp, in h3_data_setup()
195 Curl_bufq_initp(&stream->recvbuf, &ctx->stream_bufcp, in h3_data_setup()
206 struct cf_ngtcp2_ctx *ctx = cf->ctx; in h3_data_done() local
212 if(ctx->h3conn && !stream->closed) { in h3_data_done()
213 nghttp3_conn_shutdown_stream_read(ctx->h3conn, stream->id); in h3_data_done()
214 nghttp3_conn_close_stream(ctx in h3_data_done()
281 struct cf_ngtcp2_ctx *ctx = cf->ctx; pktx_update_time() local
312 struct cf_ngtcp2_ctx *ctx = cf->ctx; get_conn() local
320 struct cf_ngtcp2_ctx *ctx = cf->ctx; quic_printf() local
335 struct cf_ngtcp2_ctx *ctx = cf->ctx; qlog_callback() local
348 quic_settings(struct cf_ngtcp2_ctx *ctx, struct Curl_easy *data, struct pkt_io_ctx *pktx) quic_settings() argument
395 struct cf_ngtcp2_ctx *ctx = cf->ctx; report_consumed_data() local
426 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_recv_stream_data() local
465 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_acked_stream_data_offset() local
487 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_stream_close() local
516 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_stream_reset() local
538 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_stream_stop_sending() local
568 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_extend_max_stream_data() local
696 struct cf_ngtcp2_ctx *ctx = cf->ctx; check_and_set_expiry() local
744 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_adjust_pollset() local
865 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_h3_deferred_consume() local
972 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_h3_stop_sending() local
990 struct cf_ngtcp2_ctx *ctx = cf->ctx; cb_h3_reset_stream() local
1026 struct cf_ngtcp2_ctx *ctx = cf->ctx; init_ngh3_conn() local
1117 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_recv() local
1305 struct cf_ngtcp2_ctx *ctx = cf->ctx; h3_stream_open() local
1430 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_send() local
1537 struct cf_ngtcp2_ctx *ctx = cf->ctx; qng_verify_peer() local
1552 struct cf_ngtcp2_ctx *ctx = pktx->cf->ctx; recv_pkt() local
1593 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_progress_ingress() local
1636 struct cf_ngtcp2_ctx *ctx = x->cf->ctx; read_pkt_to_send() local
1745 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_progress_egress() local
1882 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_data_event() local
1927 cf_ngtcp2_ctx_clear(struct cf_ngtcp2_ctx *ctx) cf_ngtcp2_ctx_clear() argument
1950 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_close() local
1979 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_destroy() local
1993 tls_ctx_setup(struct quic_tls_ctx *ctx, struct Curl_cfilter *cf, struct Curl_easy *data) tls_ctx_setup() argument
2031 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_connect_start() local
2115 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_connect() local
2211 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_query() local
2262 struct cf_ngtcp2_ctx *ctx = cf->ctx; cf_ngtcp2_conn_is_alive() local
2333 struct cf_ngtcp2_ctx *ctx = NULL; Curl_cf_ngtcp2_create() local
[all...]
/kernel/linux/linux-5.10/sound/soc/au1x/
H A Dac97c.c72 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD() argument
74 return __raw_readl(ctx->mmio + reg); in RD()
77 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() argument
79 __raw_writel(v, ctx->mmio + reg); in WR()
86 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_read() local
93 mutex_lock(&ctx->lock); in au1xac97c_ac97_read()
96 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read()
103 WR(ctx, AC97_CMDRESP, CMD_IDX(r) | CMD_READ); in au1xac97c_ac97_read()
109 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read()
111 data = RD(ctx, AC97_CMDRES in au1xac97c_ac97_read()
128 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); au1xac97c_ac97_write() local
157 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); au1xac97c_ac97_warm_reset() local
167 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); au1xac97c_ac97_cold_reset() local
193 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); alchemy_ac97c_startup() local
233 struct au1xpsc_audio_data *ctx; au1xac97c_drvprobe() local
289 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); au1xac97c_drvremove() local
303 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); au1xac97c_drvsuspend() local
312 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); au1xac97c_drvresume() local
[all...]

Completed in 24 milliseconds

1...<<21222324252627282930>>...504