Home
last modified time | relevance | path

Searched defs:ctx (Results 251 – 275 of 3044) sorted by relevance

1...<<11121314151617181920>>...122

/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c105 int hl_mmu_ctx_init(struct hl_ctx *ctx) in hl_mmu_ctx_init()
144 void hl_mmu_ctx_fini(struct hl_ctx *ctx) in hl_mmu_ctx_fini()
381 int hl_mmu_map_contiguous(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_map_contiguous()
531 int hl_mmu_va_to_pa(struct hl_ctx *ctx, u64 virt_addr, u64 *phys_addr) in hl_mmu_va_to_pa()
547 int hl_mmu_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_get_tlb_info()
668 struct hl_ctx *ctx = pfw->ctx; in hl_mmu_prefetch_work_function() local
714 u64 hl_mmu_get_next_hop_addr(struct hl_ctx *ctx, u64 curr_pte) in hl_mmu_get_next_hop_addr()
755 void hl_mmu_hr_flush(struct hl_ctx *ctx) in hl_mmu_hr_flush()
998 int hl_mmu_hr_put_pte(struct hl_ctx *ctx, struct pgt_info *pgt_info, in hl_mmu_hr_put_pte()
1036 struct pgt_info *hl_mmu_hr_get_next_hop_pgt_info(struct hl_ctx *ctx, in hl_mmu_hr_get_next_hop_pgt_info()
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Dcaampkc.c66 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_pub_unmap() local
78 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f1_unmap() local
90 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f2_unmap() local
107 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f3_unmap() local
158 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f_done() local
253 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_edesc_alloc() local
381 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in akcipher_do_one_req() local
409 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in set_rsa_pub_pdb() local
454 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in set_rsa_priv_f1_pdb() local
501 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in set_rsa_priv_f2_pdb() local
[all …]
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_aead.c66 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_exit() local
120 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_aead_hash_len() local
128 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_init() local
213 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_complete() local
252 struct cc_aead_ctx *ctx) in xcbc_setkey()
293 struct cc_aead_ctx *ctx) in hmac_setkey()
414 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_plain_hmac_key() local
544 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_setkey() local
658 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_rfc4309_ccm_setkey() local
725 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_set_assoc_desc() local
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-sony-tulip-truly-nt35521.c36 static void truly_nt35521_reset(struct truly_nt35521 *ctx) in truly_nt35521_reset()
46 static int truly_nt35521_on(struct truly_nt35521 *ctx) in truly_nt35521_on()
268 static int truly_nt35521_off(struct truly_nt35521 *ctx) in truly_nt35521_off()
295 struct truly_nt35521 *ctx = to_truly_nt35521(panel); in truly_nt35521_prepare() local
323 struct truly_nt35521 *ctx = to_truly_nt35521(panel); in truly_nt35521_unprepare() local
344 struct truly_nt35521 *ctx = to_truly_nt35521(panel); in truly_nt35521_enable() local
357 struct truly_nt35521 *ctx = to_truly_nt35521(panel); in truly_nt35521_disable() local
457 struct truly_nt35521 *ctx; in truly_nt35521_probe() local
514 struct truly_nt35521 *ctx = mipi_dsi_get_drvdata(dsi); in truly_nt35521_remove() local
H A Dpanel-jdi-fhd-r63452.c32 static void jdi_fhd_r63452_reset(struct jdi_fhd_r63452 *ctx) in jdi_fhd_r63452_reset()
42 static int jdi_fhd_r63452_on(struct jdi_fhd_r63452 *ctx) in jdi_fhd_r63452_on()
122 static int jdi_fhd_r63452_off(struct jdi_fhd_r63452 *ctx) in jdi_fhd_r63452_off()
156 struct jdi_fhd_r63452 *ctx = to_jdi_fhd_r63452(panel); in jdi_fhd_r63452_prepare() local
178 struct jdi_fhd_r63452 *ctx = to_jdi_fhd_r63452(panel); in jdi_fhd_r63452_unprepare() local
237 struct jdi_fhd_r63452 *ctx; in jdi_fhd_r63452_probe() local
277 struct jdi_fhd_r63452 *ctx = mipi_dsi_get_drvdata(dsi); in jdi_fhd_r63452_remove() local
H A Dpanel-feiyang-fy07024di26a30d.c49 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_prepare() local
96 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_enable() local
108 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_disable() local
115 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_unprepare() local
160 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_get_modes() local
189 struct feiyang *ctx; in feiyang_dsi_probe() local
238 struct feiyang *ctx = mipi_dsi_get_drvdata(dsi); in feiyang_dsi_remove() local
H A Dpanel-ronbo-rb070d30.c47 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_prepare() local
66 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_unprepare() local
77 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_enable() local
84 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_disable() local
108 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_get_modes() local
143 struct rb070d30_panel *ctx; in rb070d30_panel_dsi_probe() local
213 struct rb070d30_panel *ctx = mipi_dsi_get_drvdata(dsi); in rb070d30_panel_dsi_remove() local
H A Dpanel-elida-kd35t133.c54 static int kd35t133_init_sequence(struct kd35t133 *ctx) in kd35t133_init_sequence()
90 struct kd35t133 *ctx = panel_to_kd35t133(panel); in kd35t133_unprepare() local
119 struct kd35t133 *ctx = panel_to_kd35t133(panel); in kd35t133_prepare() local
197 struct kd35t133 *ctx = panel_to_kd35t133(panel); in kd35t133_get_modes() local
225 struct kd35t133 *ctx = panel_to_kd35t133(panel); in kd35t133_get_orientation() local
240 struct kd35t133 *ctx; in kd35t133_probe() local
306 struct kd35t133 *ctx = mipi_dsi_get_drvdata(dsi); in kd35t133_shutdown() local
320 struct kd35t133 *ctx = mipi_dsi_get_drvdata(dsi); in kd35t133_remove() local
H A Dpanel-samsung-sofef00.c35 static void sofef00_panel_reset(struct sofef00_panel *ctx) in sofef00_panel_reset()
45 static int sofef00_panel_on(struct sofef00_panel *ctx) in sofef00_panel_on()
85 static int sofef00_panel_off(struct sofef00_panel *ctx) in sofef00_panel_off()
112 struct sofef00_panel *ctx = to_sofef00_panel(panel); in sofef00_panel_prepare() local
140 struct sofef00_panel *ctx = to_sofef00_panel(panel); in sofef00_panel_unprepare() local
188 struct sofef00_panel *ctx = to_sofef00_panel(panel); in sofef00_panel_get_modes() local
244 struct sofef00_panel *ctx; in sofef00_panel_probe() local
296 struct sofef00_panel *ctx = mipi_dsi_get_drvdata(dsi); in sofef00_panel_remove() local
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dlontium-lt9211.c104 struct lt9211 *ctx = bridge_to_lt9211(bridge); in lt9211_attach() local
110 static int lt9211_read_chipid(struct lt9211 *ctx) in lt9211_read_chipid()
133 static int lt9211_system_init(struct lt9211 *ctx) in lt9211_system_init()
152 static int lt9211_configure_rx(struct lt9211 *ctx) in lt9211_configure_rx()
218 static int lt9211_autodetect_rx(struct lt9211 *ctx, in lt9211_autodetect_rx()
460 struct lt9211 *ctx = bridge_to_lt9211(bridge); in lt9211_atomic_enable() local
558 struct lt9211 *ctx = bridge_to_lt9211(bridge); in lt9211_atomic_disable() local
626 static int lt9211_parse_dt(struct lt9211 *ctx) in lt9211_parse_dt()
673 static int lt9211_host_attach(struct lt9211 *ctx) in lt9211_host_attach()
727 struct lt9211 *ctx; in lt9211_probe() local
[all …]
/openbmc/qemu/hw/9pfs/
H A D9p-proxy.c659 static int proxy_close(FsContext *ctx, V9fsFidOpenState *fs) in proxy_close()
669 static int proxy_open(FsContext *ctx, V9fsPath *fs_path, in proxy_open()
680 static int proxy_opendir(FsContext *ctx, in proxy_opendir()
883 static int proxy_link(FsContext *ctx, V9fsPath *oldpath, in proxy_link()
913 static int proxy_rename(FsContext *ctx, const char *oldpath, in proxy_rename()
957 static int proxy_remove(FsContext *ctx, const char *path) in proxy_remove()
971 static int proxy_fsync(FsContext *ctx, int fid_type, in proxy_fsync()
1079 static int proxy_renameat(FsContext *ctx, V9fsPath *olddir, in proxy_renameat()
1098 static int proxy_unlinkat(FsContext *ctx, V9fsPath *dir, in proxy_unlinkat()
1192 static int proxy_init(FsContext *ctx, Error **errp) in proxy_init()
[all …]
/openbmc/phosphor-host-ipmid/
H A Ddcmihandler.cpp107 std::optional<uint32_t> getPcap(ipmi::Context::ptr& ctx) in getPcap()
128 std::optional<bool> getPcapEnabled(ipmi::Context::ptr& ctx) in getPcapEnabled()
149 bool setPcap(ipmi::Context::ptr& ctx, const uint32_t powerCap) in setPcap()
170 bool setPcapEnable(ipmi::Context::ptr& ctx, bool enabled) in setPcapEnable()
192 std::optional<std::string> readAssetTag(ipmi::Context::ptr& ctx) in readAssetTag()
244 std::optional<std::string> getHostName(ipmi::Context::ptr& ctx) in getHostName()
266 getDHCPEnabled(ipmi::Context::ptr& ctx) in getDHCPEnabled()
293 std::optional<bool> getDHCPOption(ipmi::Context::ptr& ctx, in getDHCPOption()
356 getPowerLimit(ipmi::Context::ptr ctx, uint16_t reserved) in getPowerLimit()
839 getTempReadings(ipmi::Context::ptr& ctx, uint8_t sensorType, in getTempReadings()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c57 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey() local
99 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update() local
131 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush()
152 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final() local
182 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init() local
196 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update() local
214 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final() local
254 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest() local
275 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey() local
287 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm() local
[all …]
/openbmc/linux/crypto/
H A Decdsa.c94 static int _ecdsa_verify(struct ecc_ctx *ctx, const u64 *hash, const u64 *r, const u64 *s) in _ecdsa_verify()
140 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_verify() local
188 static int ecdsa_ecc_ctx_init(struct ecc_ctx *ctx, unsigned int curve_id) in ecdsa_ecc_ctx_init()
199 static void ecdsa_ecc_ctx_deinit(struct ecc_ctx *ctx) in ecdsa_ecc_ctx_deinit()
204 static int ecdsa_ecc_ctx_reset(struct ecc_ctx *ctx) in ecdsa_ecc_ctx_reset()
224 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_set_pub_key() local
256 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_exit_tfm() local
263 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_max_size() local
270 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_nist_p384_init_tfm() local
292 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_nist_p256_init_tfm() local
[all …]
H A Dlzo.c20 void *ctx; in lzo_alloc_ctx() local
31 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init() local
40 static void lzo_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzo_free_ctx()
47 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_exit() local
53 u8 *dst, unsigned int *dlen, void *ctx) in __lzo_compress()
70 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_compress() local
77 void *ctx) in lzo_scompress()
105 void *ctx) in lzo_sdecompress()
H A Dlzo-rle.c20 void *ctx; in lzorle_alloc_ctx() local
31 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); in lzorle_init() local
40 static void lzorle_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzorle_free_ctx()
47 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); in lzorle_exit() local
53 u8 *dst, unsigned int *dlen, void *ctx) in __lzorle_compress()
70 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); in lzorle_compress() local
77 void *ctx) in lzorle_scompress()
105 void *ctx) in lzorle_sdecompress()
/openbmc/qemu/target/avr/
H A Ddisas.c30 static int to_regs_16_31_by_one(DisasContext *ctx, int indx) in to_regs_16_31_by_one()
35 static int to_regs_16_23_by_one(DisasContext *ctx, int indx) in to_regs_16_23_by_one()
40 static int to_regs_24_30_by_two(DisasContext *ctx, int indx) in to_regs_24_30_by_two()
45 static int to_regs_00_30_by_two(DisasContext *ctx, int indx) in to_regs_00_30_by_two()
50 static uint16_t next_word(DisasContext *ctx) in next_word()
56 static int append_16(DisasContext *ctx, int x) in append_16()
71 DisasContext ctx; in avr_print_insn() local
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_lm.c39 static inline int _stage_offset(struct dpu_hw_mixer *ctx, enum dpu_stage stage) in _stage_offset()
48 static void dpu_hw_lm_setup_out(struct dpu_hw_mixer *ctx, in dpu_hw_lm_setup_out()
68 static void dpu_hw_lm_setup_border_color(struct dpu_hw_mixer *ctx, in dpu_hw_lm_setup_border_color()
84 static void dpu_hw_lm_setup_misr(struct dpu_hw_mixer *ctx) in dpu_hw_lm_setup_misr()
89 static int dpu_hw_lm_collect_misr(struct dpu_hw_mixer *ctx, u32 *misr_value) in dpu_hw_lm_collect_misr()
94 static void dpu_hw_lm_setup_blend_config_combined_alpha(struct dpu_hw_mixer *ctx, in dpu_hw_lm_setup_blend_config_combined_alpha()
113 static void dpu_hw_lm_setup_blend_config(struct dpu_hw_mixer *ctx, in dpu_hw_lm_setup_blend_config()
131 static void dpu_hw_lm_setup_color3(struct dpu_hw_mixer *ctx, in dpu_hw_lm_setup_color3()
/openbmc/linux/arch/arm/crypto/
H A Dghash-ce-glue.c72 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_init() local
114 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_update() local
146 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_final() local
385 struct gcm_key *ctx = crypto_aead_ctx(tfm); in gcm_aes_setkey() local
422 int *buf_count, struct gcm_key *ctx) in gcm_update_mac()
454 struct gcm_key *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac() local
493 struct gcm_key *ctx = crypto_aead_ctx(aead); in gcm_encrypt() local
583 struct gcm_key *ctx = crypto_aead_ctx(aead); in gcm_decrypt() local
676 struct gcm_key *ctx = crypto_aead_ctx(tfm); in rfc4106_setkey() local
696 struct gcm_key *ctx = crypto_aead_ctx(aead); in rfc4106_encrypt() local
[all …]
/openbmc/linux/drivers/hwmon/
H A Dxgene-hwmon.c190 static int xgene_hwmon_rd(struct xgene_hwmon_dev *ctx, u32 *msg) in xgene_hwmon_rd()
323 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in temp1_input_show() local
347 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in temp1_critical_alarm_show() local
370 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in power1_input_show() local
385 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in power2_input_show() local
417 static int xgene_hwmon_tpc_alarm(struct xgene_hwmon_dev *ctx, in xgene_hwmon_tpc_alarm()
440 struct xgene_hwmon_dev *ctx; in xgene_hwmon_evt_work() local
481 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl); in xgene_hwmon_rx_cb() local
531 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl); in xgene_hwmon_pcc_rx_cb() local
617 struct xgene_hwmon_dev *ctx; in xgene_hwmon_probe() local
[all …]
/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dhgsmi_base.c18 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) in hgsmi_report_flags_location()
43 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) in hgsmi_send_caps_info()
63 int hgsmi_test_query_conf(struct gen_pool *ctx) in hgsmi_test_query_conf()
83 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) in hgsmi_query_conf()
117 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, in hgsmi_update_pointer_shape()
190 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, in hgsmi_cursor_position()
/openbmc/linux/samples/bpf/
H A Dsyscall_tp_kern.c49 int trace_enter_open(struct syscalls_enter_open_args *ctx) in trace_enter_open()
57 int trace_enter_open_at(struct syscalls_enter_open_args *ctx) in trace_enter_open_at()
64 int trace_enter_open_at2(struct syscalls_enter_open_args *ctx) in trace_enter_open_at2()
72 int trace_enter_exit(struct syscalls_exit_open_args *ctx) in trace_enter_exit()
80 int trace_enter_exit_at(struct syscalls_exit_open_args *ctx) in trace_enter_exit_at()
87 int trace_enter_exit_at2(struct syscalls_exit_open_args *ctx) in trace_enter_exit_at2()
/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga.c36 struct rga_ctx *ctx = prv; in device_run() local
67 struct rga_ctx *ctx = rga->curr; in rga_isr() local
96 struct rga_ctx *ctx = priv; in queue_init() local
128 struct rga_ctx *ctx = container_of(ctrl->handler, struct rga_ctx, in rga_s_ctrl() local
155 static int rga_setup_ctrls(struct rga_ctx *ctx) in rga_setup_ctrls()
361 struct rga_ctx *ctx = NULL; in rga_open() local
400 struct rga_ctx *ctx = in rga_release() local
452 struct rga_ctx *ctx = prv; in vidioc_g_fmt() local
509 struct rga_ctx *ctx = prv; in vidioc_s_fmt() local
552 struct rga_ctx *ctx = prv; in vidioc_g_selection() local
[all …]
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c101 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i()
130 struct jit_ctx *ctx) in emit_a64_mov_i64()
166 struct jit_ctx *ctx) in emit_addr_mov_i64()
188 const struct jit_ctx *ctx) in bpf2a64_offset()
638 static void build_plt(struct jit_ctx *ctx) in build_plt()
707 struct jit_ctx *ctx, in add_exception_handler()
1483 static int validate_code(struct jit_ctx *ctx) in validate_code()
1496 static int validate_ctx(struct jit_ctx *ctx) in validate_ctx()
1515 struct jit_ctx ctx; member
1527 struct jit_ctx ctx; in bpf_int_jit_compile() local
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Duprobe_multi.c37 static void uprobe_multi_check(void *ctx, bool is_return, bool is_sleep) in uprobe_multi_check()
70 int uprobe(struct pt_regs *ctx) in uprobe()
77 int uretprobe(struct pt_regs *ctx) in uretprobe()
84 int uprobe_sleep(struct pt_regs *ctx) in uprobe_sleep()
91 int uretprobe_sleep(struct pt_regs *ctx) in uretprobe_sleep()
98 int uprobe_extra(struct pt_regs *ctx) in uprobe_extra()

1...<<11121314151617181920>>...122