Home
last modified time | relevance | path

Searched defs:ctx (Results 201 – 225 of 3058) sorted by relevance

12345678910>>...123

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_list.c281 int map_list_push_pop(void *ctx) in map_list_push_pop()
292 int inner_map_list_push_pop(void *ctx) in inner_map_list_push_pop()
307 int global_list_push_pop(void *ctx) in global_list_push_pop()
313 int map_list_push_pop_multiple(void *ctx) in map_list_push_pop_multiple()
324 int inner_map_list_push_pop_multiple(void *ctx) in inner_map_list_push_pop_multiple()
339 int global_list_push_pop_multiple(void *ctx) in global_list_push_pop_multiple()
350 int map_list_in_list(void *ctx) in map_list_in_list()
361 int inner_map_list_in_list(void *ctx) in inner_map_list_in_list()
376 int global_list_in_list(void *ctx) in global_list_in_list()
H A Dkprobe_multi.c39 static void kprobe_multi_check(void *ctx, bool is_return) in kprobe_multi_check()
87 int test_kprobe(struct pt_regs *ctx) in test_kprobe()
94 int test_kretprobe(struct pt_regs *ctx) in test_kretprobe()
101 int test_kprobe_manual(struct pt_regs *ctx) in test_kprobe_manual()
108 int test_kretprobe_manual(struct pt_regs *ctx) in test_kretprobe_manual()
126 static void kprobe_multi_testmod_check(void *ctx, bool is_return) in kprobe_multi_testmod_check()
151 int test_kprobe_testmod(struct pt_regs *ctx) in test_kprobe_testmod()
158 int test_kretprobe_testmod(struct pt_regs *ctx) in test_kretprobe_testmod()
H A Dtest_attach_probe_manual.c18 int handle_kprobe(struct pt_regs *ctx) in handle_kprobe()
25 int handle_kretprobe(struct pt_regs *ctx) in handle_kretprobe()
32 int handle_uprobe(struct pt_regs *ctx) in handle_uprobe()
39 int handle_uretprobe(struct pt_regs *ctx) in handle_uretprobe()
46 int handle_uprobe_byname(struct pt_regs *ctx) in handle_uprobe_byname()
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-mantix-mlaf057we51.c48 static int mantix_init_sequence(struct mantix *ctx) in mantix_init_sequence()
76 struct mantix *ctx = panel_to_mantix(panel); in mantix_enable() local
110 struct mantix *ctx = panel_to_mantix(panel); in mantix_disable() local
128 struct mantix *ctx = panel_to_mantix(panel); in mantix_unprepare() local
147 struct mantix *ctx = panel_to_mantix(panel); in mantix_prepare() local
223 struct mantix *ctx = panel_to_mantix(panel); in mantix_get_modes() local
259 struct mantix *ctx; in mantix_probe() local
325 struct mantix *ctx = mipi_dsi_get_drvdata(dsi); in mantix_shutdown() local
333 struct mantix *ctx = mipi_dsi_get_drvdata(dsi); in mantix_remove() local
H A Dpanel-visionox-r66451.c33 static void visionox_r66451_reset(struct visionox_r66451 *ctx) in visionox_r66451_reset()
43 static int visionox_r66451_on(struct visionox_r66451 *ctx) in visionox_r66451_on()
114 static int visionox_r66451_off(struct visionox_r66451 *ctx) in visionox_r66451_off()
122 struct visionox_r66451 *ctx = to_visionox_r66451(panel); in visionox_r66451_prepare() local
153 struct visionox_r66451 *ctx = to_visionox_r66451(panel); in visionox_r66451_unprepare() local
188 struct visionox_r66451 *ctx = to_visionox_r66451(panel); in visionox_r66451_enable() local
229 struct visionox_r66451 *ctx = to_visionox_r66451(panel); in visionox_r66451_disable() local
297 struct visionox_r66451 *ctx; in visionox_r66451_probe() local
361 struct visionox_r66451 *ctx = mipi_dsi_get_drvdata(dsi); in visionox_r66451_remove() local
H A Dpanel-samsung-s6d27a1.c74 static void s6d27a1_read_mtp_id(struct s6d27a1 *ctx) in s6d27a1_read_mtp_id()
98 static int s6d27a1_power_on(struct s6d27a1 *ctx) in s6d27a1_power_on()
163 static int s6d27a1_power_off(struct s6d27a1 *ctx) in s6d27a1_power_off()
173 struct s6d27a1 *ctx = to_s6d27a1(panel); in s6d27a1_unprepare() local
183 struct s6d27a1 *ctx = to_s6d27a1(panel); in s6d27a1_disable() local
199 struct s6d27a1 *ctx = to_s6d27a1(panel); in s6d27a1_enable() local
210 struct s6d27a1 *ctx = to_s6d27a1(panel); in s6d27a1_get_modes() local
247 struct s6d27a1 *ctx; in s6d27a1_probe() local
296 struct s6d27a1 *ctx = spi_get_drvdata(spi); in s6d27a1_remove() local
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_g2_vp9_dec.c101 static size_t mv_offset(const struct hantro_ctx *ctx, in mv_offset()
146 static void config_output(struct hantro_ctx *ctx, in config_output()
175 static void config_ref(struct hantro_ctx *ctx, in config_ref()
268 recompute_tile_rc_info(struct hantro_ctx *ctx, in recompute_tile_rc_info()
295 fill_tile_info(struct hantro_ctx *ctx, in fill_tile_info()
322 config_tiles(struct hantro_ctx *ctx, in config_tiles()
593 config_compound_reference(struct hantro_ctx *ctx, in config_compound_reference()
756 static void config_counts(struct hantro_ctx *ctx) in config_counts()
765 static void config_seg_map(struct hantro_ctx *ctx, in config_seg_map()
905 int hantro_g2_vp9_dec_run(struct hantro_ctx *ctx) in hantro_g2_vp9_dec_run()
[all …]
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_ctx.c11 struct lima_ctx *ctx; in lima_ctx_create() local
44 struct lima_ctx *ctx = container_of(ref, struct lima_ctx, refcnt); in lima_ctx_do_release() local
54 struct lima_ctx *ctx; in lima_ctx_free() local
69 struct lima_ctx *ctx; in lima_ctx_get() local
79 void lima_ctx_put(struct lima_ctx *ctx) in lima_ctx_put()
92 struct lima_ctx *ctx; in lima_ctx_mgr_fini() local
/openbmc/linux/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c74 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher); in crypto4xx_crypt() local
127 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher); in crypto4xx_setkey_aes() local
208 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher); in crypto4xx_setkey_rfc3686() local
225 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher); in crypto4xx_rfc3686_encrypt() local
240 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher); in crypto4xx_rfc3686_decrypt() local
352 struct crypto4xx_ctx *ctx, bool do_decrypt) in crypto4xx_aead_fallback()
385 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setkey_aes_ccm() local
487 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setauthsize_aead() local
511 struct crypto_aes_ctx ctx; in crypto4xx_compute_gcm_hash_key_sw() local
531 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setkey_aes_gcm() local
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Daes-glue.c140 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in skcipher_aes_setkey() local
182 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt() local
202 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() local
223 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk() local
803 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cbcmac_setkey() local
820 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_setkey() local
850 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in xcbc_setkey() local
869 struct mac_desc_ctx *ctx = shash_desc_ctx(desc); in mac_init() local
911 struct mac_desc_ctx *ctx = shash_desc_ctx(desc); in mac_update() local
951 struct mac_desc_ctx *ctx = shash_desc_ctx(desc); in cbcmac_final() local
[all …]
/openbmc/linux/drivers/media/platform/amlogic/meson-ge2d/
H A Dge2d.c172 struct ge2d_ctx *ctx = ge2d->curr; in ge2d_hw_start() local
277 struct ge2d_ctx *ctx = priv; in device_run() local
401 struct ge2d_ctx *ctx = priv; in queue_init() local
457 struct ge2d_ctx *ctx = priv; in vidioc_g_selection() local
507 struct ge2d_ctx *ctx = priv; in vidioc_s_selection() local
575 struct ge2d_ctx *ctx = priv; in vidioc_try_fmt_cap() local
595 struct ge2d_ctx *ctx = priv; in vidioc_s_fmt_cap() local
631 struct ge2d_ctx *ctx = priv; in vidioc_g_fmt() local
670 struct ge2d_ctx *ctx = priv; in vidioc_s_fmt_out() local
836 struct ge2d_ctx *ctx = NULL; in ge2d_open() local
[all …]
/openbmc/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_regs.c48 void mtk_mdp_hw_set_input_addr(struct mtk_mdp_ctx *ctx, in mtk_mdp_hw_set_input_addr()
58 void mtk_mdp_hw_set_output_addr(struct mtk_mdp_ctx *ctx, in mtk_mdp_hw_set_output_addr()
68 void mtk_mdp_hw_set_in_size(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_in_size()
88 void mtk_mdp_hw_set_in_image_format(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_in_image_format()
104 void mtk_mdp_hw_set_out_size(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_out_size()
119 void mtk_mdp_hw_set_out_image_format(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_out_image_format()
134 void mtk_mdp_hw_set_rotation(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_rotation()
143 void mtk_mdp_hw_set_global_alpha(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_global_alpha()
/openbmc/linux/drivers/misc/cxl/
H A Dnative.c404 static void slb_invalid(struct cxl_context *ctx) in slb_invalid()
426 static int do_process_element_cmd(struct cxl_context *ctx, in do_process_element_cmd()
477 static int add_process_element(struct cxl_context *ctx) in add_process_element()
513 static int remove_process_element(struct cxl_context *ctx) in remove_process_element()
536 void cxl_assign_psn_space(struct cxl_context *ctx) in cxl_assign_psn_space()
623 static u64 calculate_sr(struct cxl_context *ctx) in calculate_sr()
629 static void update_ivtes_directed(struct cxl_context *ctx) in update_ivtes_directed()
1048 static void native_update_ivtes(struct cxl_context *ctx) in native_update_ivtes()
1070 static int native_detach_process(struct cxl_context *ctx) in native_detach_process()
1172 struct cxl_context *ctx; in native_irq_multiplexed() local
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v2_hr.c13 static struct pgt_info *hl_mmu_v2_hr_get_pgt_info(struct hl_ctx *ctx, u64 phys_hop_addr) in hl_mmu_v2_hr_get_pgt_info()
25 static void hl_mmu_v2_hr_add_pgt_info(struct hl_ctx *ctx, struct pgt_info *pgt_info, in hl_mmu_v2_hr_add_pgt_info()
31 static struct pgt_info *hl_mmu_v2_hr_get_hop0_pgt_info(struct hl_ctx *ctx) in hl_mmu_v2_hr_get_hop0_pgt_info()
79 static int hl_mmu_v2_hr_ctx_init(struct hl_ctx *ctx) in hl_mmu_v2_hr_ctx_init()
95 static void hl_mmu_v2_hr_ctx_fini(struct hl_ctx *ctx) in hl_mmu_v2_hr_ctx_fini()
115 static int _hl_mmu_v2_hr_unmap(struct hl_ctx *ctx, in _hl_mmu_v2_hr_unmap()
205 static int _hl_mmu_v2_hr_map(struct hl_ctx *ctx, in _hl_mmu_v2_hr_map()
317 static void hl_mmu_v2_hr_swap_out(struct hl_ctx *ctx) in hl_mmu_v2_hr_swap_out()
328 static void hl_mmu_v2_hr_swap_in(struct hl_ctx *ctx) in hl_mmu_v2_hr_swap_in()
370 static int hl_mmu_v2_hr_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_v2_hr_get_tlb_info()
/openbmc/linux/drivers/media/platform/sunxi/sun8i-di/
H A Dsun8i-di.c63 struct deinterlace_ctx *ctx = priv; in deinterlace_device_run() local
203 struct deinterlace_ctx *ctx = priv; in deinterlace_job_ready() local
211 struct deinterlace_ctx *ctx = priv; in deinterlace_job_abort() local
222 struct deinterlace_ctx *ctx; in deinterlace_irq() local
520 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); in deinterlace_queue_setup() local
542 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); in deinterlace_buf_prepare() local
568 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); in deinterlace_queue_cleanup() local
587 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); in deinterlace_start_streaming() local
640 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); in deinterlace_stop_streaming() local
669 struct deinterlace_ctx *ctx = priv; in deinterlace_queue_init() local
[all …]
/openbmc/qemu/hw/9pfs/
H A D9p-synth.c173 static int synth_opendir(FsContext *ctx, in synth_opendir()
273 static int synth_open(FsContext *ctx, V9fsPath *fs_path, in synth_open()
294 static int synth_close(FsContext *ctx, V9fsFidOpenState *fs) in synth_close()
400 static int synth_rename(FsContext *ctx, const char *oldpath, in synth_rename()
420 static int synth_remove(FsContext *ctx, const char *path) in synth_remove()
426 static int synth_fsync(FsContext *ctx, int fid_type, in synth_fsync()
460 static int synth_lsetxattr(FsContext *ctx, V9fsPath *path, in synth_lsetxattr()
468 static int synth_lremovexattr(FsContext *ctx, in synth_lremovexattr()
517 static int synth_renameat(FsContext *ctx, V9fsPath *olddir, in synth_renameat()
525 static int synth_unlinkat(FsContext *ctx, V9fsPath *dir, in synth_unlinkat()
[all …]
H A D9p-posix-acl.c30 static ssize_t mp_pacl_getxattr(FsContext *ctx, const char *path, in mp_pacl_getxattr()
36 static ssize_t mp_pacl_listxattr(FsContext *ctx, const char *path, in mp_pacl_listxattr()
55 static int mp_pacl_setxattr(FsContext *ctx, const char *path, const char *name, in mp_pacl_setxattr()
62 static int mp_pacl_removexattr(FsContext *ctx, in mp_pacl_removexattr()
84 static ssize_t mp_dacl_getxattr(FsContext *ctx, const char *path, in mp_dacl_getxattr()
90 static ssize_t mp_dacl_listxattr(FsContext *ctx, const char *path, in mp_dacl_listxattr()
109 static int mp_dacl_setxattr(FsContext *ctx, const char *path, const char *name, in mp_dacl_setxattr()
116 static int mp_dacl_removexattr(FsContext *ctx, in mp_dacl_removexattr()
/openbmc/linux/arch/s390/crypto/
H A Dpaes_s390.c163 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_init() local
173 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_exit() local
202 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_set_key() local
215 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_paes_crypt() local
278 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_paes_init() local
288 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_paes_exit() local
317 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_paes_set_key() local
330 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_paes_crypt() local
398 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_paes_init() local
409 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_paes_exit() local
[all …]
/openbmc/linux/drivers/soundwire/
H A Dintel_init.c32 struct sdw_intel_ctx *ctx, in intel_link_dev_register()
117 static int sdw_intel_cleanup(struct sdw_intel_ctx *ctx) in sdw_intel_cleanup()
143 struct sdw_intel_ctx *ctx = dev_id; in sdw_intel_thread() local
158 struct sdw_intel_ctx *ctx; in sdw_intel_probe_controller() local
284 sdw_intel_startup_controller(struct sdw_intel_ctx *ctx) in sdw_intel_startup_controller()
346 int sdw_intel_startup(struct sdw_intel_ctx *ctx) in sdw_intel_startup()
357 void sdw_intel_exit(struct sdw_intel_ctx *ctx) in sdw_intel_exit()
366 void sdw_intel_process_wakeen_event(struct sdw_intel_ctx *ctx) in sdw_intel_process_wakeen_event()
/openbmc/linux/drivers/misc/ocxl/
H A Dfile.c53 struct ocxl_context *ctx; in afu_open() local
72 static long afu_ioctl_attach(struct ocxl_context *ctx, in afu_ioctl_attach()
91 static long afu_ioctl_get_metadata(struct ocxl_context *ctx, in afu_ioctl_get_metadata()
202 struct ocxl_context *ctx = file->private_data; in afu_ioctl() local
295 struct ocxl_context *ctx = file->private_data; in afu_mmap() local
301 static bool has_xsl_error(struct ocxl_context *ctx) in has_xsl_error()
317 static bool afu_events_pending(struct ocxl_context *ctx) in afu_events_pending()
326 struct ocxl_context *ctx = file->private_data; in afu_poll() local
354 static ssize_t append_xsl_error(struct ocxl_context *ctx, in append_xsl_error()
398 struct ocxl_context *ctx = file->private_data; in afu_read() local
[all …]
/openbmc/linux/crypto/asymmetric_keys/
H A Dx509_cert_parser.c64 struct x509_parse_context *ctx; in x509_cert_parse() local
157 struct x509_parse_context *ctx = context; in x509_note_OID() local
177 struct x509_parse_context *ctx = context; in x509_note_tbs_certificate() local
193 struct x509_parse_context *ctx = context; in x509_note_sig_algo() local
289 struct x509_parse_context *ctx = context; in x509_note_signature() local
328 struct x509_parse_context *ctx = context; in x509_note_serial() local
341 struct x509_parse_context *ctx = context; in x509_extract_name_segment() local
445 struct x509_parse_context *ctx = context; in x509_note_issuer() local
465 struct x509_parse_context *ctx = context; in x509_note_subject() local
478 struct x509_parse_context *ctx = context; in x509_note_params() local
[all …]
H A Dpkcs7_parser.c117 struct pkcs7_parse_context *ctx; in pkcs7_parse_message() local
208 struct pkcs7_parse_context *ctx = context; in pkcs7_note_OID() local
227 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_digest_algo() local
274 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_pkey_algo() local
312 struct pkcs7_parse_context *ctx = context; in pkcs7_check_content_type() local
329 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signeddata_version() local
363 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signerinfo_version() local
406 struct pkcs7_parse_context *ctx = context; in pkcs7_extract_cert() local
446 struct pkcs7_parse_context *ctx = context; in pkcs7_note_certificate_list() local
464 struct pkcs7_parse_context *ctx = context; in pkcs7_note_content() local
[all …]
/openbmc/linux/drivers/net/phy/mscc/
H A Dmscc_macsec.c507 struct crypto_aes_ctx ctx; in vsc8584_macsec_derive_key() local
742 static int vsc8584_macsec_dev_open(struct macsec_context *ctx) in vsc8584_macsec_dev_open()
753 static int vsc8584_macsec_dev_stop(struct macsec_context *ctx) in vsc8584_macsec_dev_stop()
764 static int vsc8584_macsec_add_secy(struct macsec_context *ctx) in vsc8584_macsec_add_secy()
782 static int vsc8584_macsec_del_secy(struct macsec_context *ctx) in vsc8584_macsec_del_secy()
797 static int vsc8584_macsec_upd_secy(struct macsec_context *ctx) in vsc8584_macsec_upd_secy()
803 static int vsc8584_macsec_add_rxsc(struct macsec_context *ctx) in vsc8584_macsec_add_rxsc()
809 static int vsc8584_macsec_upd_rxsc(struct macsec_context *ctx) in vsc8584_macsec_upd_rxsc()
814 static int vsc8584_macsec_del_rxsc(struct macsec_context *ctx) in vsc8584_macsec_del_rxsc()
828 static int vsc8584_macsec_add_rxsa(struct macsec_context *ctx) in vsc8584_macsec_add_rxsa()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_helper.c41 const struct dc_context *ctx) in submit_dmub_read_modify_write()
60 const struct dc_context *ctx) in submit_dmub_burst_write()
76 const struct dc_context *ctx) in submit_dmub_reg_wait()
133 const struct dc_context *ctx) in dmub_flush_buffer_execute()
140 const struct dc_context *ctx) in dmub_flush_burst_write_buffer_execute()
223 uint32_t generic_reg_update_ex(const struct dc_context *ctx, in generic_reg_update_ex()
251 uint32_t generic_reg_set_ex(const struct dc_context *ctx, in generic_reg_set_ex()
430 void generic_reg_wait(const struct dc_context *ctx, in generic_reg_wait()
482 void generic_write_indirect_reg(const struct dc_context *ctx, in generic_write_indirect_reg()
629 void reg_sequence_start_gather(const struct dc_context *ctx) in reg_sequence_start_gather()
[all …]
/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga-buf.c23 struct rga_ctx *ctx = vb2_get_drv_priv(vq); in rga_queue_setup() local
40 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare() local
54 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_queue() local
62 struct rga_ctx *ctx = vb2_get_drv_priv(q); in rga_buf_return_buffers() local
78 struct rga_ctx *ctx = vb2_get_drv_priv(q); in rga_buf_start_streaming() local
93 struct rga_ctx *ctx = vb2_get_drv_priv(q); in rga_buf_stop_streaming() local
115 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_map() local

12345678910>>...123