Searched refs:ctx (Results 376 - 400 of 3477) sorted by relevance

<<11121314151617181920>>

/linux-master/io_uring/
H A Dsqpoll.h8 /* ctx's that are using this sqd */
24 int io_sq_offload_create(struct io_ring_ctx *ctx, struct io_uring_params *p);
25 void io_sq_thread_finish(struct io_ring_ctx *ctx);
30 void io_sqpoll_wait_sq(struct io_ring_ctx *ctx);
31 int io_sqpoll_wq_cpu_affinity(struct io_ring_ctx *ctx, cpumask_var_t mask);
H A Dtimeout.c72 struct io_ring_ctx *ctx = req->ctx; local
80 spin_lock_irq(&ctx->timeout_lock);
81 list_add(&timeout->list, ctx->timeout_list.prev);
84 spin_unlock_irq(&ctx->timeout_lock);
93 __must_hold(&req->ctx->timeout_lock)
102 atomic_set(&req->ctx->cq_timeouts,
103 atomic_read(&req->ctx->cq_timeouts) + 1);
111 __cold void io_flush_timeouts(struct io_ring_ctx *ctx) argument
116 spin_lock_irq(&ctx
205 struct io_ring_ctx *ctx = req->ctx; variable in typeref:struct:io_ring_ctx
242 struct io_ring_ctx *ctx = req->ctx; local
333 struct io_ring_ctx *ctx = req->ctx; local
466 struct io_ring_ctx *ctx = req->ctx; local
574 struct io_ring_ctx *ctx = req->ctx; local
625 struct io_ring_ctx *ctx = req->ctx; local
664 io_kill_timeouts(struct io_ring_ctx *ctx, struct task_struct *tsk, bool cancel_all) argument
[all...]
H A Dkbuf.c41 static inline struct io_buffer_list *__io_buffer_get_list(struct io_ring_ctx *ctx, argument
44 return xa_load(&ctx->io_bl_xa, bgid);
47 static inline struct io_buffer_list *io_buffer_get_list(struct io_ring_ctx *ctx, argument
50 lockdep_assert_held(&ctx->uring_lock);
52 return __io_buffer_get_list(ctx, bgid);
55 static int io_buffer_add_list(struct io_ring_ctx *ctx, argument
65 return xa_err(xa_store(&ctx->io_bl_xa, bgid, bl, GFP_KERNEL));
70 struct io_ring_ctx *ctx = req->ctx; local
74 io_ring_submit_lock(ctx, issue_flag
101 struct io_ring_ctx *ctx = req->ctx; local
184 struct io_ring_ctx *ctx = req->ctx; local
204 io_kbuf_mark_free(struct io_ring_ctx *ctx, struct io_buffer_list *bl) argument
219 __io_remove_buffers(struct io_ring_ctx *ctx, struct io_buffer_list *bl, unsigned nbufs) argument
269 io_put_bl(struct io_ring_ctx *ctx, struct io_buffer_list *bl) argument
277 io_destroy_buffers(struct io_ring_ctx *ctx) argument
325 struct io_ring_ctx *ctx = req->ctx; local
384 io_refill_buffer_cache(struct io_ring_ctx *ctx) argument
429 io_add_buffers(struct io_ring_ctx *ctx, struct io_provide_buf *pbuf, struct io_buffer_list *bl) argument
458 struct io_ring_ctx *ctx = req->ctx; local
554 io_lookup_buf_free_entry(struct io_ring_ctx *ctx, size_t ring_size) argument
577 io_alloc_pbuf_ring(struct io_ring_ctx *ctx, struct io_uring_buf_reg *reg, struct io_buffer_list *bl) argument
611 io_register_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) argument
671 io_unregister_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) argument
696 io_register_pbuf_status(struct io_ring_ctx *ctx, void __user *arg) argument
722 io_pbuf_get_bl(struct io_ring_ctx *ctx, unsigned long bgid) argument
757 io_kbuf_mmap_list_free(struct io_ring_ctx *ctx) argument
[all...]
/linux-master/tools/testing/selftests/lsm/
H A Dcommon.h9 static inline int lsm_get_self_attr(unsigned int attr, struct lsm_ctx *ctx, argument
12 return syscall(__NR_lsm_get_self_attr, attr, ctx, size, flags);
17 static inline int lsm_set_self_attr(unsigned int attr, struct lsm_ctx *ctx, argument
20 return syscall(__NR_lsm_set_self_attr, attr, ctx, size, flags);
/linux-master/arch/powerpc/crypto/
H A Daes.c32 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); local
46 ctx->fallback = fallback;
53 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); local
55 if (ctx->fallback) {
56 crypto_free_cipher(ctx->fallback);
57 ctx->fallback = NULL;
65 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); local
70 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key);
71 ret |= aes_p8_set_decrypt_key(key, keylen * 8, &ctx->dec_key);
76 ret |= crypto_cipher_setkey(ctx
83 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); local
100 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); local
[all...]
/linux-master/net/6lowpan/
H A Ddebugfs.c19 struct lowpan_iphc_ctx *ctx = data; local
25 set_bit(LOWPAN_IPHC_CTX_FLAG_ACTIVE, &ctx->flags);
27 clear_bit(LOWPAN_IPHC_CTX_FLAG_ACTIVE, &ctx->flags);
44 struct lowpan_iphc_ctx *ctx = data; local
50 set_bit(LOWPAN_IPHC_CTX_FLAG_COMPRESSION, &ctx->flags);
52 clear_bit(LOWPAN_IPHC_CTX_FLAG_COMPRESSION, &ctx->flags);
68 struct lowpan_iphc_ctx *ctx = data; local
70 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]);
76 ctx
84 struct lowpan_iphc_ctx *ctx = data; local
99 struct lowpan_iphc_ctx *ctx = file->private; local
129 struct lowpan_iphc_ctx *ctx = file->private; local
166 lowpan_dev_debugfs_ctx_init(struct net_device *dev, struct dentry *ctx, u8 id) argument
[all...]
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-mem.c11 int hva_mem_alloc(struct hva_ctx *ctx, u32 size, const char *name, argument
14 struct device *dev = ctx_to_dev(ctx);
21 ctx->sys_errors++;
29 ctx->name, __func__, name, size);
30 ctx->sys_errors++;
42 ctx->name, size, b->vaddr, &b->paddr, b->name);
50 void hva_mem_free(struct hva_ctx *ctx, struct hva_buffer *buf) argument
52 struct device *dev = ctx_to_dev(ctx);
56 ctx->name, buf->size, buf->vaddr, &buf->paddr, buf->name);
/linux-master/mm/damon/
H A Dsysfs-test.h15 static unsigned int nr_damon_targets(struct damon_ctx *ctx) argument
20 damon_for_each_target(t, ctx)
45 struct damon_ctx *ctx; local
57 ctx = damon_new_ctx();
59 damon_sysfs_set_targets(ctx, sysfs_targets);
60 KUNIT_EXPECT_EQ(test, 1u, nr_damon_targets(ctx));
64 damon_sysfs_set_targets(ctx, sysfs_targets);
65 KUNIT_EXPECT_EQ(test, 1u, nr_damon_targets(ctx));
67 damon_destroy_ctx(ctx);
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_unseal.c71 gss_krb5_verify_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *message_buffer, argument
74 struct crypto_ahash *tfm = ctx->initiate ?
75 ctx->acceptor_sign : ctx->initiator_sign;
78 .len = ctx->gk5e->cksumlength,
94 if ((!ctx->initiate && (flags & KG2_TOKEN_FLAG_SENTBYACCEPTOR)) ||
95 (ctx->initiate && !(flags & KG2_TOKEN_FLAG_SENTBYACCEPTOR)))
112 ctx->gk5e->cksumlength))
117 if (now > ctx->endtime)
/linux-master/sound/soc/intel/boards/
H A Dsof_cs42l42.c59 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); local
61 struct snd_soc_jack *jack = &ctx->headset_jack;
174 struct sof_card_private *ctx)
178 ret = sof_intel_board_set_dai_link(dev, card, ctx);
182 if (!ctx->codec_link) {
188 ctx->codec_link->codecs = cs42l42_component;
189 ctx->codec_link->num_codecs = ARRAY_SIZE(cs42l42_component);
190 ctx->codec_link->init = sof_cs42l42_init;
191 ctx->codec_link->exit = sof_cs42l42_exit;
192 ctx
173 sof_card_dai_links_create(struct device *dev, struct snd_soc_card *card, struct sof_card_private *ctx) argument
229 struct sof_card_private *ctx; local
[all...]
/linux-master/security/selinux/
H A Dxfrm.c55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) argument
57 return (ctx &&
58 (ctx->ctx_doi == XFRM_SC_DOI_LSM) &&
59 (ctx->ctx_alg == XFRM_SC_ALG_SELINUX));
80 struct xfrm_sec_ctx *ctx = NULL; local
92 ctx = kmalloc(struct_size(ctx, ctx_str, str_len + 1), gfp);
93 if (!ctx)
96 ctx->ctx_doi = XFRM_SC_DOI_LSM;
97 ctx
123 selinux_xfrm_free(struct xfrm_sec_ctx *ctx) argument
135 selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) argument
151 selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid) argument
236 struct xfrm_sec_ctx *ctx = x->security; local
314 selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) argument
322 selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) argument
345 struct xfrm_sec_ctx *ctx; local
414 struct xfrm_sec_ctx *ctx = x->security; local
[all...]
/linux-master/arch/arm64/kvm/hyp/
H A Dpgtable.c70 static bool kvm_pgtable_walk_skip_bbm_tlbi(const struct kvm_pgtable_visit_ctx *ctx) argument
72 return unlikely(ctx->flags & KVM_PGTABLE_WALK_SKIP_BBM_TLBI);
75 static bool kvm_pgtable_walk_skip_cmo(const struct kvm_pgtable_visit_ctx *ctx) argument
77 return unlikely(ctx->flags & KVM_PGTABLE_WALK_SKIP_CMO);
88 static bool kvm_block_mapping_supported(const struct kvm_pgtable_visit_ctx *ctx, u64 phys) argument
90 u64 granule = kvm_granule_size(ctx->level);
92 if (!kvm_level_supports_block_mapping(ctx->level))
95 if (granule > (ctx->end - ctx->addr))
101 return IS_ALIGNED(ctx
178 kvm_pgtable_visitor_cb(struct kvm_pgtable_walk_data *data, const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
217 struct kvm_pgtable_visit_ctx ctx = { local
350 leaf_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
444 hyp_map_walker_try_leaf(const struct kvm_pgtable_visit_ctx *ctx, struct hyp_map_data *data) argument
465 hyp_map_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
512 hyp_unmap_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
591 hyp_free_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
800 stage2_try_set_pte(const struct kvm_pgtable_visit_ctx *ctx, kvm_pte_t new) argument
824 stage2_try_break_pte(const struct kvm_pgtable_visit_ctx *ctx, struct kvm_s2_mmu *mmu) argument
863 stage2_make_pte(const struct kvm_pgtable_visit_ctx *ctx, kvm_pte_t new) argument
888 stage2_unmap_put_pte(const struct kvm_pgtable_visit_ctx *ctx, struct kvm_s2_mmu *mmu, struct kvm_pgtable_mm_ops *mm_ops) argument
925 stage2_map_walker_phys_addr(const struct kvm_pgtable_visit_ctx *ctx, const struct stage2_map_data *data) argument
945 stage2_leaf_mapping_allowed(const struct kvm_pgtable_visit_ctx *ctx, struct stage2_map_data *data) argument
956 stage2_map_walker_try_leaf(const struct kvm_pgtable_visit_ctx *ctx, struct stage2_map_data *data) argument
1000 stage2_map_walk_table_pre(const struct kvm_pgtable_visit_ctx *ctx, struct stage2_map_data *data) argument
1018 stage2_map_walk_leaf(const struct kvm_pgtable_visit_ctx *ctx, struct stage2_map_data *data) argument
1064 stage2_map_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
1135 stage2_unmap_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
1202 stage2_attr_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
1295 stage2_age_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
1367 stage2_flush_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
1470 stage2_split_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
1588 stage2_free_walker(const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) argument
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-xgene-slimpro.c133 struct slimpro_i2c_dev *ctx = to_slimpro_i2c_dev(cl); local
141 if (ctx->resp_msg)
142 *ctx->resp_msg = ((u32 *)mssg)[1];
144 if (ctx->mbox_client.tx_block)
145 complete(&ctx->rd_complete);
150 struct slimpro_i2c_dev *ctx = to_slimpro_i2c_dev(cl); local
151 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr;
163 if (ctx->resp_msg)
164 *ctx->resp_msg = ((u32 *)msg)[1];
166 complete(&ctx
170 slimpro_i2c_pcc_tx_prepare(struct slimpro_i2c_dev *ctx, u32 *msg) argument
192 start_i2c_msg_xfer(struct slimpro_i2c_dev *ctx) argument
207 slimpro_i2c_send_msg(struct slimpro_i2c_dev *ctx, u32 *msg, u32 *data) argument
235 slimpro_i2c_rd(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 readlen, u32 *data) argument
249 slimpro_i2c_wr(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 writelen, u32 data) argument
263 slimpro_i2c_blkrd(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 readlen, u32 with_data_len, void *data) argument
295 slimpro_i2c_blkwr(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 writelen, void *data) argument
336 struct slimpro_i2c_dev *ctx = i2c_get_adapdata(adap); local
438 struct slimpro_i2c_dev *ctx; local
557 struct slimpro_i2c_dev *ctx = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v1.c15 static inline u64 get_hop_pte_addr(struct hl_ctx *ctx, struct hl_mmu_properties *mmu_prop, argument
23 ctx->hdev->asic_prop.mmu_pte_size * ((virt_addr & mask) >> shift);
26 static int dram_default_mapping_init(struct hl_ctx *ctx) argument
28 struct hl_device *hdev = ctx->hdev;
36 (ctx->asid == HL_KERNEL_ASID_ID))
46 ctx->dram_default_hops = kcalloc(total_hops, HL_PTE_SIZE, GFP_KERNEL);
47 if (!ctx->dram_default_hops)
50 hop0_addr = hl_mmu_dr_get_hop0_addr(ctx);
52 hop1_addr = hl_mmu_dr_alloc_hop(ctx);
59 ctx
126 dram_default_mapping_fini(struct hl_ctx *ctx) argument
182 hl_mmu_v1_ctx_init(struct hl_ctx *ctx) argument
198 hl_mmu_v1_ctx_fini(struct hl_ctx *ctx) argument
219 hl_mmu_v1_unmap(struct hl_ctx *ctx, u64 virt_addr, bool is_dram_addr) argument
323 hl_mmu_v1_map(struct hl_ctx *ctx, u64 virt_addr, u64 phys_addr, u32 page_size, bool is_dram_addr) argument
437 hl_mmu_v1_swap_out(struct hl_ctx *ctx) argument
448 hl_mmu_v1_swap_in(struct hl_ctx *ctx) argument
453 hl_mmu_v1_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, struct hl_mmu_hop_info *hops) argument
[all...]
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-sitronix-st7789v.c145 static int st7789v_spi_write(struct st7789v *ctx, enum st7789v_prefix prefix, argument
154 return spi_sync_transfer(ctx->spi, &xfer, 1);
157 static int st7789v_write_command(struct st7789v *ctx, u8 cmd) argument
159 return st7789v_spi_write(ctx, ST7789V_COMMAND, cmd);
162 static int st7789v_write_data(struct st7789v *ctx, u8 cmd) argument
164 return st7789v_spi_write(ctx, ST7789V_DATA, cmd);
167 static int st7789v_read_data(struct st7789v *ctx, u8 cmd, u8 *buf, argument
196 ret = spi_sync(ctx->spi, &msg);
212 struct st7789v *ctx = panel_to_st7789v(panel); local
217 if (ctx
335 struct st7789v *ctx = panel_to_st7789v(panel); local
369 struct st7789v *ctx = panel_to_st7789v(p); local
376 struct st7789v *ctx = panel_to_st7789v(panel); local
573 struct st7789v *ctx = panel_to_st7789v(panel); local
580 struct st7789v *ctx = panel_to_st7789v(panel); local
590 struct st7789v *ctx = panel_to_st7789v(panel); local
612 struct st7789v *ctx; local
655 struct st7789v *ctx = spi_get_drvdata(spi); local
[all...]
H A Dpanel-samsung-s6d27a1.c74 static void s6d27a1_read_mtp_id(struct s6d27a1 *ctx) argument
76 struct mipi_dbi *dbi = &ctx->dbi;
82 dev_err(ctx->dev, "unable to read MTP ID 1\n");
87 dev_err(ctx->dev, "unable to read MTP ID 2\n");
92 dev_err(ctx->dev, "unable to read MTP ID 3\n");
95 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3);
98 static int s6d27a1_power_on(struct s6d27a1 *ctx) argument
100 struct mipi_dbi *dbi = &ctx->dbi;
104 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->regulators),
105 ctx
163 s6d27a1_power_off(struct s6d27a1 *ctx) argument
173 struct s6d27a1 *ctx = to_s6d27a1(panel); local
183 struct s6d27a1 *ctx = to_s6d27a1(panel); local
199 struct s6d27a1 *ctx = to_s6d27a1(panel); local
210 struct s6d27a1 *ctx = to_s6d27a1(panel); local
247 struct s6d27a1 *ctx; local
296 struct s6d27a1 *ctx = spi_get_drvdata(spi); local
[all...]
H A Dpanel-truly-nt35597.c225 struct truly_nt35597 *ctx = panel_to_ctx(panel); local
228 for (i = 0; i < ARRAY_SIZE(ctx->dsi); i++) {
229 ret = mipi_dsi_dcs_write(ctx->dsi[i], command, NULL, 0);
231 dev_err(ctx->dev, "cmd 0x%x failed for dsi = %d\n", command, i);
241 struct truly_nt35597 *ctx = panel_to_ctx(panel); local
245 for (i = 0; i < ARRAY_SIZE(ctx->dsi); i++) {
246 ret = mipi_dsi_dcs_write_buffer(ctx->dsi[i], buf, size);
248 dev_err(ctx->dev, "failed to tx cmd [%d], err: %d\n", i, ret);
256 static int truly_35597_power_on(struct truly_nt35597 *ctx) argument
260 for (i = 0; i < ARRAY_SIZE(ctx
286 truly_nt35597_power_off(struct truly_nt35597 *ctx) argument
311 struct truly_nt35597 *ctx = panel_to_ctx(panel); local
325 struct truly_nt35597 *ctx = panel_to_ctx(panel); local
353 struct truly_nt35597 *ctx = panel_to_ctx(panel); local
409 struct truly_nt35597 *ctx = panel_to_ctx(panel); local
424 struct truly_nt35597 *ctx = panel_to_ctx(panel); local
451 truly_nt35597_panel_add(struct truly_nt35597 *ctx) argument
512 struct truly_nt35597 *ctx; local
601 struct truly_nt35597 *ctx = mipi_dsi_get_drvdata(dsi); local
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_multi_if.c135 * @ctx: point to mtk_vcodec_dec_ctx
155 struct mtk_vcodec_dec_ctx *ctx; member in struct:vdec_h264_slice_inst
183 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_DECODE_PARAMS);
188 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SCALING_MATRIX);
192 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS);
196 pps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_PPS);
201 mtk_vdec_err(inst->ctx, "No support for H.264 field decoding.");
232 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_DECODE_PARAMS);
236 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS);
240 pps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_PP
346 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; local
395 vdec_h264_slice_init(struct mtk_vcodec_dec_ctx *ctx) argument
459 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; local
[all...]
/linux-master/sound/soc/au1x/
H A Di2sc.c70 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) argument
72 return __raw_readl(ctx->mmio + reg);
75 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) argument
77 __raw_writel(v, ctx->mmio + reg);
83 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(cpu_dai); local
88 c = ctx->cfg;
131 ctx->cfg = c;
139 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); local
146 WR(ctx, I2S_ENABLE, EN_D | EN_CE);
147 WR(ctx, I2S_ENABL
185 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); local
200 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); local
237 struct au1xpsc_audio_data *ctx; local
275 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); local
285 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); local
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.c37 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index) argument
39 init_waitqueue_head(&ctx->ready_to_use);
40 INIT_LIST_HEAD(&ctx->ready_queue);
41 spin_lock_init(&ctx->ready_lock);
42 ctx->ready_num = 0;
43 ctx->hardware_index = hardware_index;
80 mtk_v4l2_vdec_err(buf->ctx, "fail to qbuf: %d", msg_ctx->hardware_index);
88 vdec_msg_queue_inc(&buf->ctx->msg_queue, msg_ctx->hardware_index);
92 if (!(buf->ctx->msg_queue.status & CONTEXT_LIST_QUEUED)) {
93 queue_work(buf->ctx
201 vdec_msg_queue_deinit(struct vdec_msg_queue *msg_queue, struct mtk_vcodec_dec_ctx *ctx) argument
242 struct mtk_vcodec_dec_ctx *ctx = local
282 vdec_msg_queue_init(struct vdec_msg_queue *msg_queue, struct mtk_vcodec_dec_ctx *ctx, core_decode_cb_t core_decode, int private_size) argument
[all...]
/linux-master/drivers/crypto/
H A Datmel-sha.c303 static size_t atmel_sha_append_sg(struct atmel_sha_reqctx *ctx) argument
307 while ((ctx->bufcnt < ctx->buflen) && ctx->total) {
308 count = min(ctx->sg->length - ctx->offset, ctx->total);
309 count = min(count, ctx->buflen - ctx->bufcnt);
318 if ((ctx
361 atmel_sha_fill_padding(struct atmel_sha_reqctx *ctx, int length) argument
430 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
475 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
564 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
594 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
640 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
705 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
716 atmel_sha_xmit_dma_map(struct atmel_sha_dev *dd, struct atmel_sha_reqctx *ctx, size_t length, int final) argument
736 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
761 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
856 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); local
878 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
899 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
924 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
955 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
986 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1000 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1058 struct atmel_sha_ctx *ctx; local
1102 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1152 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1163 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1185 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1201 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1229 const struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1237 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1245 struct atmel_sha_ctx *ctx = crypto_tfm_ctx(tfm); local
1393 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1502 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1556 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1588 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1686 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1750 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1767 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1787 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1803 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1816 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1871 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1888 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
1947 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); local
2249 struct atmel_sha_reqctx *ctx = &authctx->base; local
2281 struct atmel_sha_reqctx *ctx = &authctx->base; local
2304 struct atmel_sha_reqctx *ctx = &authctx->base; local
2351 struct atmel_sha_reqctx *ctx = &authctx->base; local
2404 struct atmel_sha_reqctx *ctx = &authctx->base; local
[all...]
/linux-master/drivers/media/test-drivers/visl/
H A Dvisl-video.c20 static void visl_set_current_codec(struct visl_ctx *ctx) argument
22 u32 fourcc = ctx->coded_fmt.fmt.pix_mp.pixelformat;
26 ctx->current_codec = VISL_CODEC_FWHT;
29 ctx->current_codec = VISL_CODEC_MPEG2;
32 ctx->current_codec = VISL_CODEC_VP8;
35 ctx->current_codec = VISL_CODEC_VP9;
38 ctx->current_codec = VISL_CODEC_H264;
41 ctx->current_codec = VISL_CODEC_HEVC;
44 ctx->current_codec = VISL_CODEC_AV1;
47 dprintk(ctx
53 visl_print_fmt(struct visl_ctx *ctx, const struct v4l2_format *f) argument
81 visl_tpg_init(struct visl_ctx *ctx) argument
266 visl_reset_coded_fmt(struct visl_ctx *ctx) argument
287 visl_reset_decoded_fmt(struct visl_ctx *ctx) argument
307 visl_set_default_format(struct visl_ctx *ctx) argument
313 get_q_data(struct visl_ctx *ctx, enum v4l2_buf_type type) argument
343 struct visl_ctx *ctx = visl_file_to_ctx(file); local
365 struct visl_ctx *ctx = visl_file_to_ctx(file); local
374 struct visl_ctx *ctx = visl_file_to_ctx(file); local
384 struct visl_ctx *ctx = visl_file_to_ctx(file); local
439 struct visl_ctx *ctx = visl_file_to_ctx(file); local
479 struct visl_ctx *ctx = visl_file_to_ctx(file); local
502 struct visl_ctx *ctx = visl_file_to_ctx(file); local
559 struct visl_ctx *ctx = vb2_get_drv_priv(vq); local
598 struct visl_ctx *ctx = vb2_get_drv_priv(vq); local
635 struct visl_ctx *ctx = vb2_get_drv_priv(vq); local
657 struct visl_ctx *ctx = vb2_get_drv_priv(vq); local
687 struct visl_ctx *ctx = vb2_get_drv_priv(vq); local
699 struct visl_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
706 struct visl_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
726 struct visl_ctx *ctx = priv; local
759 struct visl_ctx *ctx = NULL; local
[all...]
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c59 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); local
61 return ctx->u.rsa.n_len;
67 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); local
75 rctx->cmd.u.rsa.key_size = ctx->u.rsa.key_len; /* in bits */
77 rctx->cmd.u.rsa.exp = &ctx->u.rsa.e_sg;
78 rctx->cmd.u.rsa.exp_len = ctx->u.rsa.e_len;
80 rctx->cmd.u.rsa.exp = &ctx->u.rsa.d_sg;
81 rctx->cmd.u.rsa.exp_len = ctx->u.rsa.d_len;
83 rctx->cmd.u.rsa.mod = &ctx->u.rsa.n_sg;
84 rctx->cmd.u.rsa.mod_len = ctx
112 ccp_rsa_free_key_bufs(struct ccp_ctx *ctx) argument
129 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); local
195 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); local
205 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); local
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dau1550nd.c43 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); local
48 writeb(p[i], ctx->base + MEM_STNAND_DATA);
64 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); local
69 p[i] = readb(ctx->base + MEM_STNAND_DATA);
85 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); local
91 writew(p[i], ctx->base + MEM_STNAND_DATA);
106 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); local
112 p[i] = readw(ctx->base + MEM_STNAND_DATA);
156 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); local
162 writeb(instr->ctx
214 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); local
257 struct au1550nd_ctx *ctx; local
342 struct au1550nd_ctx *ctx = platform_get_drvdata(pdev); local
[all...]
/linux-master/crypto/asymmetric_keys/
H A Dpkcs8_parser.c37 struct pkcs8_parse_context *ctx = context; local
39 ctx->last_oid = look_up_OID(value, vlen);
40 if (ctx->last_oid == OID__NR) {
45 (unsigned long)value - ctx->data, buffer);
71 struct pkcs8_parse_context *ctx = context; local
73 if (ctx->last_oid != OID_rsaEncryption)
76 ctx->pub->pkey_algo = "rsa";
87 struct pkcs8_parse_context *ctx = context; local
89 ctx->key = value;
90 ctx
99 struct pkcs8_parse_context ctx; local
[all...]

Completed in 256 milliseconds

<<11121314151617181920>>