Home
last modified time | relevance | path

Searched refs:ctx (Results 3576 - 3600 of 12817) sorted by relevance

1...<<141142143144145146147148149150>>...513

/kernel/linux/linux-6.6/io_uring/
H A During_cmd.c63 if (req->ctx->flags & IORING_SETUP_CQE32) in io_uring_cmd_done()
65 if (req->ctx->flags & IORING_SETUP_IOPOLL) { in io_uring_cmd_done()
81 memcpy(req->async_data, ioucmd->sqe, uring_sqe_size(req->ctx)); in io_uring_cmd_prep_async()
98 struct io_ring_ctx *ctx = req->ctx; in io_uring_cmd_prep() local
102 if (unlikely(req->buf_index >= ctx->nr_user_bufs)) in io_uring_cmd_prep()
104 index = array_index_nospec(req->buf_index, ctx->nr_user_bufs); in io_uring_cmd_prep()
105 req->imu = ctx->user_bufs[index]; in io_uring_cmd_prep()
106 io_req_set_rsrc_node(req, ctx, 0); in io_uring_cmd_prep()
116 struct io_ring_ctx *ctx in io_uring_cmd() local
[all...]
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Daria_aesni_avx_glue.c19 asmlinkage void aria_aesni_avx_encrypt_16way(const void *ctx, u8 *dst,
22 asmlinkage void aria_aesni_avx_decrypt_16way(const void *ctx, u8 *dst,
25 asmlinkage void aria_aesni_avx_ctr_crypt_16way(const void *ctx, u8 *dst,
30 asmlinkage void aria_aesni_avx_gfni_encrypt_16way(const void *ctx, u8 *dst,
33 asmlinkage void aria_aesni_avx_gfni_decrypt_16way(const void *ctx, u8 *dst,
36 asmlinkage void aria_aesni_avx_gfni_ctr_crypt_16way(const void *ctx, u8 *dst,
67 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx_ecb_encrypt() local
69 return ecb_do_encrypt(req, ctx->enc_key[0]); in aria_avx_ecb_encrypt()
75 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx_ecb_decrypt() local
77 return ecb_do_decrypt(req, ctx in aria_avx_ecb_decrypt()
90 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); aria_avx_ctr_encrypt() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Dbench_trigger.c10 } ctx; variable
45 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in trigger_measure()
52 ctx.skel = trigger_bench__open_and_load(); in setup_ctx()
53 if (!ctx.skel) { in setup_ctx()
73 attach_bpf(ctx.skel->progs.bench_trigger_tp); in trigger_tp_setup()
79 attach_bpf(ctx.skel->progs.bench_trigger_raw_tp); in trigger_rawtp_setup()
85 attach_bpf(ctx.skel->progs.bench_trigger_kprobe); in trigger_kprobe_setup()
91 attach_bpf(ctx.skel->progs.bench_trigger_fentry); in trigger_fentry_setup()
97 attach_bpf(ctx.skel->progs.bench_trigger_fentry_sleep); in trigger_fentry_sleep_setup()
103 attach_bpf(ctx in trigger_fmodret_setup()
[all...]
/third_party/ffmpeg/libavutil/tests/
H A Dxtea.c63 static void test_xtea(AVXTEA *ctx, uint8_t *dst, const uint8_t *src, in test_xtea() argument
68 crypt(ctx, dst, src, len, iv, dir); in test_xtea()
89 AVXTEA *ctx = av_xtea_alloc(); in main() local
90 if (!ctx) in main()
94 av_xtea_init(ctx, xtea_test_key[i]); in main()
96 test_xtea(ctx, buf, xtea_test_pt[i], xtea_test_ct[i], 1, NULL, 0, "encryption", av_xtea_crypt); in main()
97 test_xtea(ctx, buf, xtea_test_ct[i], xtea_test_pt[i], 1, NULL, 1, "decryption", av_xtea_crypt); in main()
101 av_xtea_le_init(ctx, buf); in main()
106 test_xtea(ctx, buf, pl, ct, 1, NULL, 0, "encryption", av_xtea_le_crypt); in main()
107 test_xtea(ctx, bu in main()
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-lecp.h218 typedef signed char (*lecp_callback)(struct lecp_ctx *ctx, char reason);
354 lws_lec_int(lws_lec_pctx_t *ctx, uint8_t opcode, uint8_t indet, uint64_t num);
357 lws_lec_scratch(lws_lec_pctx_t *ctx);
362 * \param ctx: the cbor writing context to prepare
370 lws_lec_init(lws_lec_pctx_t *ctx, uint8_t *buf, size_t len);
373 * lws_lec_setbuf() - update the output buffer for an initialized cbor writing ctx
375 * \param ctx: the cbor writing context to prepare
383 lws_lec_setbuf(lws_lec_pctx_t *ctx, uint8_t *buf, size_t len);
388 * \param ctx: the cbor writing context to prepare
403 * The number of bytes placed in the output buffer is available in ctx
[all...]
/third_party/libcoap/tests/
H A Dtest_wellknown.c27 static coap_context_t *ctx; /* Holds the coap context for most tests */ variable
51 coap_add_resource(ctx, r); in t_wellknown1()
98 coap_add_resource(ctx, r); in t_wellknown2()
152 coap_add_resource(ctx, r); in t_wellknown3()
161 result = coap_print_wellknown(ctx, buf, &buflen, offset, NULL); in t_wellknown3()
182 result = coap_print_wellknown(ctx, buf, &buflen, 0, query); in t_wellknown4()
202 ctx = coap_new_context(&addr); in t_wkc_tests_create()
205 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in t_wkc_tests_create()
210 if (ctx && pdu) { in t_wkc_tests_create()
221 coap_add_resource(ctx, in t_wkc_tests_create()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_fence.c161 fence_create(struct fd_context *ctx, struct fd_batch *batch, int fence_fd, in fence_create() argument
174 fence->ctx = ctx; in fence_create()
176 fence->pipe = fd_pipe_ref(ctx->pipe); in fence_create()
177 fence->screen = ctx->screen; in fence_create()
189 struct fd_context *ctx = fd_context(pctx); in fd_create_fence_fd() local
200 assert(ctx->screen->has_syncobj); in fd_create_fence_fd()
201 ret = drmSyncobjFDToHandle(fd_device_fd(ctx->screen->dev), fd, &syncobj); in fd_create_fence_fd()
216 struct fd_context *ctx = fd_context(pctx); in fd_fence_server_sync() local
232 if (sync_accumulate("freedreno", &ctx in fd_fence_server_sync()
241 struct fd_context *ctx = fd_context(pctx); fd_fence_server_signal() local
[all...]
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_canvas/
H A Dperf_puppeteer_canvas_test.go28 res := td.RunTestSteps(t, false, func(ctx context.Context) error {
30 ctx = td.WithExecRunFn(ctx, mock.Run)
31 err := setup(ctx, benchmarkPath, fakeNodeBinPath)
61 res := td.RunTestSteps(t, false, func(ctx context.Context) error {
63 ctx = td.WithExecRunFn(ctx, mock.Run)
64 err := benchCanvas(ctx, perfObj, fakeBenchmarkPath, fakeCanvasKitPath, fakeNodeBinPath)
97 res := td.RunTestSteps(t, false, func(ctx context.Context) error {
99 ctx
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c636 static void assemble_hw_pps(struct rkvdec_ctx *ctx, in assemble_hw_pps() argument
639 struct rkvdec_h264_ctx *h264_ctx = ctx->priv; in assemble_hw_pps()
675 WRITE_PPS(DIV_ROUND_UP(ctx->coded_fmt.fmt.pix_mp.width, 16), PIC_WIDTH_IN_MBS); in assemble_hw_pps()
676 WRITE_PPS(DIV_ROUND_UP(ctx->coded_fmt.fmt.pix_mp.height, 16), PIC_HEIGHT_IN_MBS); in assemble_hw_pps()
729 static void lookup_ref_buf_idx(struct rkvdec_ctx *ctx, in lookup_ref_buf_idx() argument
736 struct v4l2_m2m_ctx *m2m_ctx = ctx->fh.m2m_ctx; in lookup_ref_buf_idx()
749 static void assemble_hw_rps(struct rkvdec_ctx *ctx, in assemble_hw_rps() argument
754 struct rkvdec_h264_ctx *h264_ctx = ctx->priv; in assemble_hw_rps()
810 static void assemble_hw_scaling_list(struct rkvdec_ctx *ctx, in assemble_hw_scaling_list() argument
815 struct rkvdec_h264_ctx *h264_ctx = ctx in assemble_hw_scaling_list()
877 get_ref_buf(struct rkvdec_ctx *ctx, struct rkvdec_h264_run *run, unsigned int dpb_idx) get_ref_buf() argument
894 config_registers(struct rkvdec_ctx *ctx, struct rkvdec_h264_run *run) config_registers() argument
1026 rkvdec_h264_adjust_fmt(struct rkvdec_ctx *ctx, struct v4l2_format *f) rkvdec_h264_adjust_fmt() argument
1038 rkvdec_h264_start(struct rkvdec_ctx *ctx) rkvdec_h264_start() argument
1069 rkvdec_h264_stop(struct rkvdec_ctx *ctx) rkvdec_h264_stop() argument
1079 rkvdec_h264_run_preamble(struct rkvdec_ctx *ctx, struct rkvdec_h264_run *run) rkvdec_h264_run_preamble() argument
1100 rkvdec_h264_run(struct rkvdec_ctx *ctx) rkvdec_h264_run() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_signature.c87 AVFilterContext *ctx = inlink->dst; in config_input() local
88 SignatureContext *sic = ctx->priv; in config_input()
95 av_log(ctx, AV_LOG_WARNING, "Input dimension too high for precise calculation, numbers will be rounded.\n"); in config_input()
147 AVFilterContext *ctx = inlink->dst; in filter_frame() local
148 SignatureContext *sic = ctx->priv; in filter_frame()
355 av_log(ctx, AV_LOG_DEBUG, "input %d, confidence: %d\n", FF_INLINK_IDX(inlink), fs->confidence); in filter_frame()
357 av_log(ctx, AV_LOG_DEBUG, "words:"); in filter_frame()
359 av_log(ctx, AV_LOG_DEBUG, " %d:", fs->words[i] ); in filter_frame()
360 av_log(ctx, AV_LOG_DEBUG, " %d", fs->words[i] / pot3[0] ); in filter_frame()
362 av_log(ctx, AV_LOG_DEBU in filter_frame()
381 xml_export(AVFilterContext *ctx, StreamContext *sc, const char* filename) xml_export() argument
490 binary_export(AVFilterContext *ctx, StreamContext *sc, const char* filename) binary_export() argument
568 export(AVFilterContext *ctx, StreamContext *sc, int input) export() argument
589 AVFilterContext *ctx = outlink->src; request_frame() local
643 init(AVFilterContext *ctx) init() argument
696 uninit(AVFilterContext *ctx) uninit() argument
733 AVFilterContext *ctx = outlink->src; config_output() local
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_query.c439 iris_create_query(struct pipe_context *ctx, in iris_create_query() argument
458 iris_create_batch_query(struct pipe_context *ctx, in iris_create_batch_query() argument
462 struct iris_context *ice = (void *) ctx; in iris_create_batch_query()
478 iris_destroy_query(struct pipe_context *ctx, struct pipe_query *p_query) in iris_destroy_query() argument
481 struct iris_screen *screen = (void *) ctx->screen; in iris_destroy_query()
483 iris_destroy_monitor_object(ctx, query->monitor); in iris_destroy_query()
487 screen->base.fence_reference(ctx->screen, &query->fence, NULL); in iris_destroy_query()
495 iris_begin_query(struct pipe_context *ctx, struct pipe_query *query) in iris_begin_query() argument
497 struct iris_context *ice = (void *) ctx; in iris_begin_query()
501 return iris_begin_monitor(ctx, in iris_begin_query()
544 iris_end_query(struct pipe_context *ctx, struct pipe_query *query) iris_end_query() argument
601 iris_get_query_result(struct pipe_context *ctx, struct pipe_query *query, bool wait, union pipe_query_result *result) iris_get_query_result() argument
652 iris_get_query_result_resource(struct pipe_context *ctx, struct pipe_query *query, enum pipe_query_flags flags, enum pipe_query_value_type result_type, int index, struct pipe_resource *p_res, unsigned offset) iris_get_query_result_resource() argument
732 iris_set_active_query_state(struct pipe_context *ctx, bool enable) iris_set_active_query_state() argument
822 iris_render_condition(struct pipe_context *ctx, struct pipe_query *query, bool condition, enum pipe_render_cond_flag mode) iris_render_condition() argument
855 struct pipe_context *ctx = &ice->ctx; init_query() local
[all...]
/base/security/crypto_framework/interfaces/kits/native/include/
H A Dcrypto_digest.h56 * @param ctx Indicates the pointer to the md context.
64 OH_Crypto_ErrCode OH_CryptoDigest_Create(const char *algoName, OH_CryptoDigest **ctx);
69 * @param ctx Indicates the digest context.
79 OH_Crypto_ErrCode OH_CryptoDigest_Update(OH_CryptoDigest *ctx, Crypto_DataBlob *in);
84 * @param ctx Indicates the digest context.
94 OH_Crypto_ErrCode OH_CryptoDigest_Final(OH_CryptoDigest *ctx, Crypto_DataBlob *out);
99 * @param ctx Indicates the digest context.
107 uint32_t OH_CryptoDigest_GetLength(OH_CryptoDigest *ctx);
112 * @param ctx Indicates the digest context.
116 const char *OH_CryptoDigest_GetAlgoName(OH_CryptoDigest *ctx);
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_services.c39 dm_get_elapse_time_in_ns(struct dc_context *ctx, in dm_get_elapse_time_in_ns() argument
46 void dm_perf_trace_timestamp(const char *func_name, unsigned int line, struct dc_context *ctx) in dm_perf_trace_timestamp() argument
48 trace_amdgpu_dc_performance(ctx->perf_trace->read_count, in dm_perf_trace_timestamp()
49 ctx->perf_trace->write_count, in dm_perf_trace_timestamp()
50 &ctx->perf_trace->last_entry_read, in dm_perf_trace_timestamp()
51 &ctx->perf_trace->last_entry_write, in dm_perf_trace_timestamp()
/third_party/ffmpeg/libavcodec/
H A Dbsf_internal.h34 int (*init)(AVBSFContext *ctx);
35 int (*filter)(AVBSFContext *ctx, AVPacket *pkt);
36 void (*close)(AVBSFContext *ctx);
37 void (*flush)(AVBSFContext *ctx);
45 int ff_bsf_get_packet(AVBSFContext *ctx, AVPacket **pkt);
51 * @param ctx pointer to AVBSFContext of filter
56 int ff_bsf_get_packet_ref(AVBSFContext *ctx, AVPacket *pkt);
/third_party/mesa3d/src/gallium/frontends/va/
H A Ddisplay.c32 vlVaQueryDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int *num_attributes) in vlVaQueryDisplayAttributes() argument
34 if (!ctx) in vlVaQueryDisplayAttributes()
46 vlVaGetDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int num_attributes) in vlVaGetDisplayAttributes() argument
48 if (!ctx) in vlVaGetDisplayAttributes()
55 vlVaSetDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int num_attributes) in vlVaSetDisplayAttributes() argument
57 if (!ctx) in vlVaSetDisplayAttributes()
/third_party/mesa3d/src/mesa/main/
H A Dmatrix.h37 _mesa_load_identity_matrix(struct gl_context *ctx, struct gl_matrix_stack *s);
40 _mesa_load_matrix(struct gl_context *ctx, struct gl_matrix_stack *s,
44 _mesa_init_matrix( struct gl_context * ctx );
47 _mesa_init_transform( struct gl_context *ctx );
50 _mesa_free_matrix_data( struct gl_context *ctx );
53 _mesa_update_modelview_project( struct gl_context *ctx, GLuint newstate );
/third_party/skia/include/gpu/gl/
H A DGrGLAssembleInterface.h10 typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]);
14 * get() to get each function address. ctx is a generic ptr passed to and interpreted by get().
16 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledInterface(void *ctx, GrGLGetProc get);
20 * get() to get each function address. ctx is a generic ptr passed to and interpreted by get().
22 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc get);
26 * calls get() to get each function address. ctx is a generic ptr passed to and interpreted by
29 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get);
33 * calls get() to get each function address. ctx is a generic ptr passed to and interpreted by
36 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledWebGLInterface(void *ctx, GrGLGetProc get);
39 SK_API const GrGLInterface* GrGLAssembleInterface(void *ctx, GrGLGetPro
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/
H A Dbench_trigger.c9 } ctx; variable
44 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in trigger_measure()
51 ctx.skel = trigger_bench__open_and_load(); in setup_ctx()
52 if (!ctx.skel) { in setup_ctx()
72 attach_bpf(ctx.skel->progs.bench_trigger_tp); in trigger_tp_setup()
78 attach_bpf(ctx.skel->progs.bench_trigger_raw_tp); in trigger_rawtp_setup()
84 attach_bpf(ctx.skel->progs.bench_trigger_kprobe); in trigger_kprobe_setup()
90 attach_bpf(ctx.skel->progs.bench_trigger_fentry); in trigger_fentry_setup()
96 attach_bpf(ctx.skel->progs.bench_trigger_fentry_sleep); in trigger_fentry_sleep_setup()
102 attach_bpf(ctx in trigger_fmodret_setup()
[all...]
/kernel/linux/linux-5.10/drivers/iio/chemical/
H A Dbme680_spi.c26 struct bme680_spi_bus_context *ctx, u8 reg) in bme680_regmap_spi_select_page()
28 struct spi_device *spi = ctx->spi; in bme680_regmap_spi_select_page()
33 if (page == ctx->current_page) in bme680_regmap_spi_select_page()
59 ctx->current_page = page; in bme680_regmap_spi_select_page()
67 struct bme680_spi_bus_context *ctx = context; in bme680_regmap_spi_write() local
68 struct spi_device *spi = ctx->spi; in bme680_regmap_spi_write()
74 ret = bme680_regmap_spi_select_page(ctx, buf[0]); in bme680_regmap_spi_write()
90 struct bme680_spi_bus_context *ctx = context; in bme680_regmap_spi_read() local
91 struct spi_device *spi = ctx->spi; in bme680_regmap_spi_read()
95 ret = bme680_regmap_spi_select_page(ctx, add in bme680_regmap_spi_read()
25 bme680_regmap_spi_select_page( struct bme680_spi_bus_context *ctx, u8 reg) bme680_regmap_spi_select_page() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/samsung/
H A Dclk-exynos4412-isp.c95 struct samsung_clk_provider *ctx = dev_get_drvdata(dev); in exynos4x12_isp_clk_suspend() local
97 samsung_clk_save(ctx->reg_base, exynos4x12_save_isp, in exynos4x12_isp_clk_suspend()
104 struct samsung_clk_provider *ctx = dev_get_drvdata(dev); in exynos4x12_isp_clk_resume() local
106 samsung_clk_restore(ctx->reg_base, exynos4x12_save_isp, in exynos4x12_isp_clk_resume()
113 struct samsung_clk_provider *ctx; in exynos4x12_isp_clk_probe() local
127 ctx = samsung_clk_init(dev, reg_base, CLKS_NR_ISP); in exynos4x12_isp_clk_probe()
129 platform_set_drvdata(pdev, ctx); in exynos4x12_isp_clk_probe()
135 samsung_clk_register_div(ctx, exynos4x12_isp_div_clks, in exynos4x12_isp_clk_probe()
137 samsung_clk_register_gate(ctx, exynos4x12_isp_gate_clks, in exynos4x12_isp_clk_probe()
140 samsung_clk_of_add_provider(np, ctx); in exynos4x12_isp_clk_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_fw_vpu.c49 struct mtk_vcodec_dec_ctx *ctx; in mtk_vcodec_vpu_reset_dec_handler() local
54 list_for_each_entry(ctx, &dev->ctx_list, list) { in mtk_vcodec_vpu_reset_dec_handler()
55 ctx->state = MTK_STATE_ABORT; in mtk_vcodec_vpu_reset_dec_handler()
56 mtk_v4l2_vdec_dbg(0, ctx, "[%d] Change to state MTK_STATE_ABORT", ctx->id); in mtk_vcodec_vpu_reset_dec_handler()
64 struct mtk_vcodec_enc_ctx *ctx; in mtk_vcodec_vpu_reset_enc_handler() local
69 list_for_each_entry(ctx, &dev->ctx_list, list) { in mtk_vcodec_vpu_reset_enc_handler()
70 ctx->state = MTK_STATE_ABORT; in mtk_vcodec_vpu_reset_enc_handler()
71 mtk_v4l2_vdec_dbg(0, ctx, "[%d] Change to state MTK_STATE_ABORT", ctx in mtk_vcodec_vpu_reset_enc_handler()
[all...]
/kernel/linux/linux-6.6/crypto/
H A Dsig.c84 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm); in crypto_sig_maxsize() local
86 return crypto_akcipher_maxsize(*ctx); in crypto_sig_maxsize()
94 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm); in crypto_sig_sign() local
96 .tfm = *ctx, in crypto_sig_sign()
113 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm); in crypto_sig_verify() local
115 .tfm = *ctx, in crypto_sig_verify()
136 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm); in crypto_sig_set_pubkey() local
138 return crypto_akcipher_set_pub_key(*ctx, key, keylen); in crypto_sig_set_pubkey()
145 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm); in crypto_sig_set_privkey() local
147 return crypto_akcipher_set_priv_key(*ctx, ke in crypto_sig_set_privkey()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.h213 * @ctx: Pointer to pipe context
216 void (*setup_pe)(struct dpu_hw_sspp *ctx,
224 void (*setup_sourceaddress)(struct dpu_sw_pipe *ctx,
229 * @ctx: Pointer to pipe context
232 void (*setup_csc)(struct dpu_hw_sspp *ctx, const struct dpu_csc_cfg *data);
251 * @ctx: Pointer to pipe context
254 void (*setup_sharpening)(struct dpu_hw_sspp *ctx,
260 * @ctx: Pointer to pipe context
263 void (*setup_qos_lut)(struct dpu_hw_sspp *ctx,
268 * @ctx
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_deps.c76 const struct ttm_operation_ctx *ctx) in i915_deps_grow()
100 if (ctx->no_wait_gpu && !dma_fence_is_signaled(fence)) { in i915_deps_grow()
105 ret = dma_fence_wait(fence, ctx->interruptible); in i915_deps_grow()
123 * @ctx: Pointer to a struct ttm_operation_ctx indicating how the waits
132 int i915_deps_sync(const struct i915_deps *deps, const struct ttm_operation_ctx *ctx) in i915_deps_sync() argument
139 if (ctx->no_wait_gpu && !dma_fence_is_signaled(*fences)) { in i915_deps_sync()
144 ret = dma_fence_wait(*fences, ctx->interruptible); in i915_deps_sync()
158 * @ctx: Pointer to a struct ttm_operation_ctx indicating how waits are to
170 * be returned; depending on the value of @ctx, or if there was a fence
178 const struct ttm_operation_ctx *ctx) in i915_deps_add_dependency()
75 i915_deps_grow(struct i915_deps *deps, struct dma_fence *fence, const struct ttm_operation_ctx *ctx) i915_deps_grow() argument
176 i915_deps_add_dependency(struct i915_deps *deps, struct dma_fence *fence, const struct ttm_operation_ctx *ctx) i915_deps_add_dependency() argument
222 i915_deps_add_resv(struct i915_deps *deps, struct dma_resv *resv, const struct ttm_operation_ctx *ctx) i915_deps_add_resv() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/chemical/
H A Dbme680_spi.c25 struct bme680_spi_bus_context *ctx, u8 reg) in bme680_regmap_spi_select_page()
27 struct spi_device *spi = ctx->spi; in bme680_regmap_spi_select_page()
32 if (page == ctx->current_page) in bme680_regmap_spi_select_page()
58 ctx->current_page = page; in bme680_regmap_spi_select_page()
66 struct bme680_spi_bus_context *ctx = context; in bme680_regmap_spi_write() local
67 struct spi_device *spi = ctx->spi; in bme680_regmap_spi_write()
73 ret = bme680_regmap_spi_select_page(ctx, buf[0]); in bme680_regmap_spi_write()
89 struct bme680_spi_bus_context *ctx = context; in bme680_regmap_spi_read() local
90 struct spi_device *spi = ctx->spi; in bme680_regmap_spi_read()
94 ret = bme680_regmap_spi_select_page(ctx, add in bme680_regmap_spi_read()
24 bme680_regmap_spi_select_page( struct bme680_spi_bus_context *ctx, u8 reg) bme680_regmap_spi_select_page() argument
[all...]

Completed in 16 milliseconds

1...<<141142143144145146147148149150>>...513