Home
last modified time | relevance | path

Searched defs:ctx (Results 101 – 125 of 3044) sorted by relevance

12345678910>>...122

/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c49 void bpf_jit_init_reg_mapping(struct codegen_context *ctx) in bpf_jit_init_reg_mapping()
75 static inline bool bpf_has_stack_frame(struct codegen_context *ctx) in bpf_has_stack_frame()
97 static int bpf_jit_stack_local(struct codegen_context *ctx) in bpf_jit_stack_local()
105 static int bpf_jit_stack_tailcallcnt(struct codegen_context *ctx) in bpf_jit_stack_tailcallcnt()
110 static int bpf_jit_stack_offsetof(struct codegen_context *ctx, int reg) in bpf_jit_stack_offsetof()
121 void bpf_jit_realloc_regs(struct codegen_context *ctx) in bpf_jit_realloc_regs()
125 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue()
176 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue()
195 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue()
243 int bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel()
[all …]
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_mixer.c256 static void vp_regs_dump(struct mixer_context *ctx) in vp_regs_dump()
488 static void mixer_run(struct mixer_context *ctx) in mixer_run()
493 static void mixer_stop(struct mixer_context *ctx) in mixer_stop()
504 static void mixer_commit(struct mixer_context *ctx) in mixer_commit()
745 struct mixer_context *ctx = arg; in mixer_irq_handler() local
939 struct mixer_context *ctx = crtc->ctx; in mixer_atomic_begin() local
994 struct mixer_context *ctx = crtc->ctx; in mixer_atomic_enable() local
1028 struct mixer_context *ctx = crtc->ctx; in mixer_atomic_disable() local
1050 struct mixer_context *ctx = crtc->ctx; in mixer_mode_valid() local
1077 struct mixer_context *ctx = crtc->ctx; in mixer_mode_fixup() local
[all …]
/openbmc/linux/drivers/misc/cxl/
H A Dfault.c32 static struct cxl_sste *find_free_sste(struct cxl_context *ctx, in find_free_sste()
63 static void cxl_load_segment(struct cxl_context *ctx, struct copro_slb *slb) in cxl_load_segment()
84 static int cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, in cxl_fault_segment()
97 static void cxl_ack_ae(struct cxl_context *ctx) in cxl_ack_ae()
112 static int cxl_handle_segment_miss(struct cxl_context *ctx, in cxl_handle_segment_miss()
180 static void cxl_handle_page_fault(struct cxl_context *ctx, in cxl_handle_page_fault()
198 static struct mm_struct *get_mem_context(struct cxl_context *ctx) in get_mem_context()
209 static bool cxl_is_segment_miss(struct cxl_context *ctx, u64 dsisr) in cxl_is_segment_miss()
217 static bool cxl_is_page_fault(struct cxl_context *ctx, u64 dsisr) in cxl_is_page_fault()
230 struct cxl_context *ctx = in cxl_handle_fault() local
[all …]
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_postproc.c55 bool hantro_needs_postproc(const struct hantro_ctx *ctx, in hantro_needs_postproc()
67 static void hantro_postproc_g1_enable(struct hantro_ctx *ctx) in hantro_postproc_g1_enable()
108 static int down_scale_factor(struct hantro_ctx *ctx) in down_scale_factor()
116 static void hantro_postproc_g2_enable(struct hantro_ctx *ctx) in hantro_postproc_g2_enable()
177 void hantro_postproc_free(struct hantro_ctx *ctx) in hantro_postproc_free()
193 int hantro_postproc_alloc(struct hantro_ctx *ctx) in hantro_postproc_alloc()
241 static void hantro_postproc_g1_disable(struct hantro_ctx *ctx) in hantro_postproc_g1_disable()
248 static void hantro_postproc_g2_disable(struct hantro_ctx *ctx) in hantro_postproc_g2_disable()
255 void hantro_postproc_disable(struct hantro_ctx *ctx) in hantro_postproc_disable()
263 void hantro_postproc_enable(struct hantro_ctx *ctx) in hantro_postproc_enable()
[all …]
/openbmc/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.c146 struct mtk_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); in vidioc_jpeg_enc_s_ctrl() local
941 struct mtk_jpeg_ctx *ctx = priv; in mtk_jpeg_enc_device_run() local
983 struct mtk_jpeg_ctx *ctx = priv; in mtk_jpeg_multicore_enc_device_run() local
991 struct mtk_jpeg_ctx *ctx = priv; in mtk_jpeg_multicore_dec_device_run() local
999 struct mtk_jpeg_ctx *ctx = priv; in mtk_jpeg_dec_device_run() local
1052 struct mtk_jpeg_ctx *ctx = priv; in mtk_jpeg_dec_job_ready() local
1077 struct mtk_jpeg_ctx *ctx = priv; in mtk_jpeg_queue_init() local
1162 struct mtk_jpeg_ctx *ctx; in mtk_jpeg_open() local
1240 struct mtk_jpeg_ctx *ctx; in mtk_jpeg_job_timeout_work() local
1554 struct mtk_jpeg_ctx *ctx; in mtk_jpeg_enc_done() local
[all …]
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-sst.c33 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status) in skl_check_fw_status()
42 static int skl_transfer_firmware(struct sst_dsp *ctx, in skl_transfer_firmware()
66 static int skl_load_base_firmware(struct sst_dsp *ctx) in skl_load_base_firmware()
160 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D0()
244 static unsigned int skl_get_errorcode(struct sst_dsp *ctx) in skl_get_errorcode()
253 static int skl_get_module(struct sst_dsp *ctx, u16 mod_id) in skl_get_module()
265 static int skl_put_module(struct sst_dsp *ctx, u16 mod_id) in skl_put_module()
314 struct sst_dsp *ctx, u16 mod_id) in skl_module_get_from_id()
442 static int skl_unload_module(struct sst_dsp *ctx, u16 mod_id) in skl_unload_module()
469 void skl_clear_module_cnt(struct sst_dsp *ctx) in skl_clear_module_cnt()
[all …]
/openbmc/linux/io_uring/
H A Dkbuf.c53 static int io_buffer_add_list(struct io_ring_ctx *ctx, in io_buffer_add_list()
68 struct io_ring_ctx *ctx = req->ctx; in io_kbuf_recycle_legacy() local
113 struct io_ring_ctx *ctx = req->ctx; in __io_put_kbuf() local
192 struct io_ring_ctx *ctx = req->ctx; in io_buffer_select() local
227 static int __io_remove_buffers(struct io_ring_ctx *ctx, in __io_remove_buffers()
285 void io_destroy_buffers(struct io_ring_ctx *ctx) in io_destroy_buffers()
326 struct io_ring_ctx *ctx = req->ctx; in io_remove_buffers() local
383 static int io_refill_buffer_cache(struct io_ring_ctx *ctx) in io_refill_buffer_cache()
455 struct io_ring_ctx *ctx = req->ctx; in io_provide_buffers() local
574 static int io_alloc_pbuf_ring(struct io_ring_ctx *ctx, in io_alloc_pbuf_ring()
[all …]
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c137 struct hpre_ctx *ctx; member
183 struct hpre_ctx *ctx; in hpre_add_req_to_ctx() local
204 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_rm_req_from_ctx() local
262 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_prepare_dma_buf() local
290 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_hw_data_init() local
476 struct hpre_ctx *ctx = qp->qp_ctx; in hpre_alg_cb() local
593 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_compute_value() local
1534 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_ecdh_src_data_init() local
1564 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_ecdh_dst_data_init() local
1857 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_curve25519_src_init() local
[all …]
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_bloom_filter_map.c11 static struct ctx { struct
29 } ctx = { argument
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-m2m.c75 struct fimc_ctx *ctx = q->drv_priv; in start_streaming() local
82 struct fimc_ctx *ctx = q->drv_priv; in stop_streaming() local
92 struct fimc_ctx *ctx = priv; in fimc_device_run() local
172 struct fimc_ctx *ctx = vb2_get_drv_priv(vq); in fimc_queue_setup() local
254 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane() local
313 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_try_fmt_mplane() local
341 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_fmt_mplane() local
380 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_selection() local
488 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_selection() local
550 struct fimc_ctx *ctx = priv; in queue_init() local
[all …]
/openbmc/linux/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c91 static void set_default_params(struct hva_ctx *ctx) in set_default_params()
228 static void hva_dbg_summary(struct hva_ctx *ctx) in hva_dbg_summary()
693 static int hva_ctrls_setup(struct hva_ctx *ctx) in hva_ctrls_setup()
857 struct hva_ctx *ctx = priv; in hva_device_run() local
865 struct hva_ctx *ctx = priv; in hva_job_abort() local
875 struct hva_ctx *ctx = priv; in hva_job_ready() local
913 struct hva_ctx *ctx = vb2_get_drv_priv(vq); in hva_queue_setup() local
996 struct hva_ctx *ctx = vb2_get_drv_priv(vq); in hva_start_streaming() local
1067 struct hva_ctx *ctx = vb2_get_drv_priv(vq); in hva_stop_streaming() local
1143 struct hva_ctx *ctx = priv; in hva_queue_init() local
[all …]
/openbmc/linux/drivers/scsi/elx/libefc/
H A Defc_fabric.c131 __efc_fabric_flogi_wait_rsp(struct efc_sm_ctx *ctx, in __efc_fabric_flogi_wait_rsp()
237 __efc_vport_fabric_init(struct efc_sm_ctx *ctx, in __efc_vport_fabric_init()
432 __efc_ns_plogi_wait_rsp(struct efc_sm_ctx *ctx, in __efc_ns_plogi_wait_rsp()
468 __efc_ns_wait_node_attach(struct efc_sm_ctx *ctx, in __efc_ns_wait_node_attach()
566 __efc_ns_rftid_wait_rsp(struct efc_sm_ctx *ctx, in __efc_ns_rftid_wait_rsp()
601 __efc_ns_rffid_wait_rsp(struct efc_sm_ctx *ctx, in __efc_ns_rffid_wait_rsp()
787 __efc_ns_gidpt_wait_rsp(struct efc_sm_ctx *ctx, in __efc_ns_gidpt_wait_rsp()
897 __efc_ns_gidpt_delay(struct efc_sm_ctx *ctx, in __efc_ns_gidpt_delay()
948 __efc_fabctl_init(struct efc_sm_ctx *ctx, in __efc_fabctl_init()
1017 __efc_fabctl_ready(struct efc_sm_ctx *ctx, in __efc_fabctl_ready()
[all …]
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c137 struct rv_jit_context *ctx) in emit_imm64()
186 struct rv_jit_context *ctx) in bpf_get_reg64()
197 struct rv_jit_context *ctx) in bpf_put_reg64()
206 struct rv_jit_context *ctx) in bpf_get_reg32()
216 struct rv_jit_context *ctx) in bpf_put_reg32()
228 struct rv_jit_context *ctx) in emit_jump_and_link()
244 struct rv_jit_context *ctx, const u8 op) in emit_alu_i64()
328 struct rv_jit_context *ctx, const u8 op) in emit_alu_i32()
407 struct rv_jit_context *ctx, const u8 op) in emit_alu_r64()
512 struct rv_jit_context *ctx, const u8 op) in emit_alu_r32()
[all …]
/openbmc/linux/crypto/
H A Ddeflate.c96 static void deflate_comp_exit(struct deflate_ctx *ctx) in deflate_comp_exit()
102 static void deflate_decomp_exit(struct deflate_ctx *ctx) in deflate_decomp_exit()
108 static int __deflate_init(void *ctx, int format) in __deflate_init()
124 struct deflate_ctx *ctx; in gen_deflate_alloc_ctx() local
152 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_init() local
157 static void __deflate_exit(void *ctx) in __deflate_exit()
171 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_exit() local
177 u8 *dst, unsigned int *dlen, void *ctx) in __deflate_compress()
215 void *ctx) in deflate_scompress()
221 u8 *dst, unsigned int *dlen, void *ctx) in __deflate_decompress()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c210 struct dc_context *ctx, in dm_helpers_dp_update_branch_info()
252 struct dc_context *ctx, in dm_helpers_dp_mst_write_payload_allocation_table()
305 struct dc_context *ctx, in dm_helpers_dp_mst_poll_pending_down_reply()
313 struct dc_context *ctx, in dm_helpers_dp_mst_clear_payload_allocation_table()
322 struct dc_context *ctx, in dm_helpers_dp_mst_poll_for_allocation_change_trigger()
348 struct dc_context *ctx, in dm_helpers_dp_mst_send_payload_allocation()
480 struct dc_context *ctx, in dm_helpers_dp_mst_start_top_mgr()
514 struct dc_context *ctx, in dm_helpers_dp_mst_stop_top_mgr()
536 struct dc_context *ctx, in dm_helpers_dp_read_dpcd()
991 struct dc_context *ctx, in dm_helpers_init_panel_settings()
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dcontext.c81 static void hl_ctx_fini(struct hl_ctx *ctx) in hl_ctx_fini()
132 struct hl_ctx *ctx; in hl_ctx_do_release() local
154 struct hl_ctx *ctx; in hl_ctx_create() local
289 static int hl_ctx_get_unless_zero(struct hl_ctx *ctx) in hl_ctx_get_unless_zero()
294 void hl_ctx_get(struct hl_ctx *ctx) in hl_ctx_get()
299 int hl_ctx_put(struct hl_ctx *ctx) in hl_ctx_put()
306 struct hl_ctx *ctx = NULL; in hl_get_compute_ctx() local
340 static struct hl_fence *hl_ctx_get_fence_locked(struct hl_ctx *ctx, u64 seq) in hl_ctx_get_fence_locked()
356 struct hl_fence *hl_ctx_get_fence(struct hl_ctx *ctx, u64 seq) in hl_ctx_get_fence()
379 int hl_ctx_get_fences(struct hl_ctx *ctx, u64 *seq_arr, in hl_ctx_get_fences()
[all …]
/openbmc/linux/drivers/mmc/core/
H A Dslot-gpio.c33 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_cd_irqt() local
44 struct mmc_gpio *ctx; in mmc_gpio_alloc() local
66 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_set_cd_irq() local
77 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_get_ro() local
92 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_get_cd() local
107 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpiod_request_cd_irq() local
168 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_set_cd_isr() local
192 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpiod_request_cd() local
238 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpiod_set_cd_config() local
246 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_can_gpio_cd() local
[all …]
/openbmc/qemu/util/
H A Dfdmon-io_uring.c80 static struct io_uring_sqe *get_sqe(AioContext *ctx) in get_sqe()
135 static void fdmon_io_uring_update(AioContext *ctx, in fdmon_io_uring_update()
169 static void add_poll_add_sqe(AioContext *ctx, AioHandler *node) in add_poll_add_sqe()
178 static void add_poll_remove_sqe(AioContext *ctx, AioHandler *node) in add_poll_remove_sqe()
191 static void add_timeout_sqe(AioContext *ctx, int64_t ns) in add_timeout_sqe()
205 static void fill_sq_ring(AioContext *ctx) in fill_sq_ring()
225 static bool process_cqe(AioContext *ctx, in process_cqe()
255 static int process_cq_ring(AioContext *ctx, AioHandlerList *ready_list) in process_cq_ring()
298 static bool fdmon_io_uring_need_wait(AioContext *ctx) in fdmon_io_uring_need_wait()
324 bool fdmon_io_uring_setup(AioContext *ctx) in fdmon_io_uring_setup()
[all …]
/openbmc/qemu/target/alpha/
H A Dtranslate.c164 static TCGv load_zero(DisasContext *ctx) in load_zero()
172 static TCGv dest_sink(DisasContext *ctx) in dest_sink()
180 static void free_context_temps(DisasContext *ctx) in free_context_temps()
188 static TCGv load_gpr(DisasContext *ctx, unsigned reg) in load_gpr()
197 static TCGv load_gpr_lit(DisasContext *ctx, unsigned reg, in load_gpr_lit()
209 static TCGv dest_gpr(DisasContext *ctx, unsigned reg) in dest_gpr()
218 static TCGv load_fpr(DisasContext *ctx, unsigned reg) in load_fpr()
227 static TCGv dest_fpr(DisasContext *ctx, unsigned reg) in dest_fpr()
689 static void gen_ieee_arith2(DisasContext *ctx, in gen_ieee_arith2()
734 static void gen_ieee_intcvt(DisasContext *ctx, in gen_ieee_intcvt()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dhtab_mem_bench.c29 static int write_htab(unsigned int i, struct update_ctx *ctx, unsigned int flags) in write_htab()
37 static int overwrite_htab(unsigned int i, struct update_ctx *ctx) in overwrite_htab()
42 static int newwrite_htab(unsigned int i, struct update_ctx *ctx) in newwrite_htab()
47 static int del_htab(unsigned int i, struct update_ctx *ctx) in del_htab()
56 int overwrite(void *ctx) in overwrite()
68 int batch_add_batch_del(void *ctx) in batch_add_batch_del()
84 int add_only(void *ctx) in add_only()
96 int del_only(void *ctx) in del_only()
H A Dtest_helper_restricted.c60 int raw_tp_timer(void *ctx) in raw_tp_timer()
68 int tp_timer(void *ctx) in tp_timer()
76 int kprobe_timer(void *ctx) in kprobe_timer()
84 int perf_event_timer(void *ctx) in perf_event_timer()
92 int raw_tp_spin_lock(void *ctx) in raw_tp_spin_lock()
100 int tp_spin_lock(void *ctx) in tp_spin_lock()
108 int kprobe_spin_lock(void *ctx) in kprobe_spin_lock()
116 int perf_event_spin_lock(void *ctx) in perf_event_spin_lock()
H A Dbpf_loop.c37 struct callback_ctx *ctx = data; in callback() local
66 int test_prog(void *ctx) in test_prog()
84 int prog_null_ctx(void *ctx) in prog_null_ctx()
95 int prog_invalid_flags(void *ctx) in prog_invalid_flags()
108 int prog_nested_calls(void *ctx) in prog_nested_calls()
123 static int callback_set_f0(int i, void *ctx) in callback_set_f0()
129 static int callback_set_0f(int i, void *ctx) in callback_set_0f()
139 int prog_non_constant_callback(void *ctx) in prog_non_constant_callback()
158 static int stack_check_inner_callback(void *ctx) in stack_check_inner_callback()
175 static int stack_check_outer_callback(void *ctx) in stack_check_outer_callback()
[all …]
/openbmc/linux/fs/
H A Duserfaultfd.c100 struct userfaultfd_ctx *ctx; member
109 struct userfaultfd_ctx *ctx; member
416 struct userfaultfd_ctx *ctx; in handle_userfault() local
691 struct userfaultfd_ctx *ctx = NULL, *octx; in dup_userfaultfd() local
740 struct userfaultfd_ctx *ctx = fctx->orig; in dup_fctx() local
765 struct userfaultfd_ctx *ctx; in mremap_userfaultfd_prep() local
813 struct userfaultfd_ctx *ctx; in userfaultfd_remove() local
874 struct userfaultfd_unmap_ctx *ctx, *n; in userfaultfd_unmap_complete() local
985 struct userfaultfd_ctx *ctx) in find_userfault()
991 struct userfaultfd_ctx *ctx) in find_userfault_evt()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Docteon_translate.c16 static bool trans_BBIT(DisasContext *ctx, arg_BBIT *a) in trans_BBIT()
44 static bool trans_BADDU(DisasContext *ctx, arg_BADDU *a) in trans_BADDU()
63 static bool trans_DMUL(DisasContext *ctx, arg_DMUL *a) in trans_DMUL()
81 static bool trans_EXTS(DisasContext *ctx, arg_EXTS *a) in trans_EXTS()
97 static bool trans_CINS(DisasContext *ctx, arg_CINS *a) in trans_CINS()
113 static bool trans_POP(DisasContext *ctx, arg_POP *a) in trans_POP()
132 static bool trans_SEQNE(DisasContext *ctx, arg_SEQNE *a) in trans_SEQNE()
155 static bool trans_SEQNEI(DisasContext *ctx, arg_SEQNEI *a) in trans_SEQNEI()
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e63m0.c306 static int s6e63m0_clear_error(struct s6e63m0 *ctx) in s6e63m0_clear_error()
381 static void s6e63m0_init(struct s6e63m0 *ctx) in s6e63m0_init()
468 static int s6e63m0_power_on(struct s6e63m0 *ctx) in s6e63m0_power_on()
487 static int s6e63m0_power_off(struct s6e63m0 *ctx) in s6e63m0_power_off()
503 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); in s6e63m0_disable() local
522 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); in s6e63m0_unprepare() local
541 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); in s6e63m0_prepare() local
574 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); in s6e63m0_enable() local
635 struct s6e63m0 *ctx = bl_get_data(bd); in s6e63m0_set_brightness() local
697 struct s6e63m0 *ctx; in s6e63m0_probe() local
[all …]

12345678910>>...122