Searched refs:ctx (Results 426 - 450 of 3477) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/panel/
H A Dpanel-ilitek-ili9805.c124 static int ili9805_power_on(struct ili9805 *ctx) argument
126 struct mipi_dsi_device *dsi = ctx->dsi;
130 ret = regulator_enable(ctx->avdd);
136 ret = regulator_enable(ctx->dvdd);
139 regulator_disable(ctx->avdd);
143 gpiod_set_value(ctx->reset_gpio, 0);
145 gpiod_set_value(ctx->reset_gpio, 1);
151 static int ili9805_power_off(struct ili9805 *ctx) argument
153 gpiod_set_value(ctx->reset_gpio, 0);
154 regulator_disable(ctx
160 ili9805_activate(struct ili9805 *ctx) argument
196 struct ili9805 *ctx = panel_to_ili9805(panel); local
212 ili9805_deactivate(struct ili9805 *ctx) argument
237 struct ili9805 *ctx = panel_to_ili9805(panel); local
276 struct ili9805 *ctx = panel_to_ili9805(panel); local
307 struct ili9805 *ctx; local
358 struct ili9805 *ctx = mipi_dsi_get_drvdata(dsi); local
[all...]
H A Dpanel-samsung-s6e63j0x03.c119 static inline ssize_t s6e63j0x03_dcs_write_seq(struct s6e63j0x03 *ctx, argument
122 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev);
127 #define s6e63j0x03_dcs_write_seq_static(ctx, seq...) \
130 s6e63j0x03_dcs_write_seq(ctx, d, ARRAY_SIZE(d)); \
133 static inline int s6e63j0x03_enable_lv2_command(struct s6e63j0x03 *ctx) argument
135 return s6e63j0x03_dcs_write_seq_static(ctx, MCS_LEVEL2_KEY, 0x5a, 0x5a);
138 static inline int s6e63j0x03_apply_mtp_key(struct s6e63j0x03 *ctx, bool on) argument
141 return s6e63j0x03_dcs_write_seq_static(ctx,
144 return s6e63j0x03_dcs_write_seq_static(ctx, MCS_MTP_KEY, 0xa5, 0xa5);
147 static int s6e63j0x03_power_on(struct s6e63j0x03 *ctx) argument
165 s6e63j0x03_power_off(struct s6e63j0x03 *ctx) argument
182 s6e63j0x03_update_gamma(struct s6e63j0x03 *ctx, unsigned int brightness) argument
208 struct s6e63j0x03 *ctx = bl_get_data(bl_dev); local
220 struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel); local
241 struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel); local
253 s6e63j0x03_panel_init(struct s6e63j0x03 *ctx) argument
324 struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel); local
346 struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel); local
436 struct s6e63j0x03 *ctx; local
495 struct s6e63j0x03 *ctx = mipi_dsi_get_drvdata(dsi); local
[all...]
/linux-master/drivers/crypto/ccree/
H A Dcc_hash.c103 static void cc_set_desc(struct ahash_req_ctx *areq_ctx, struct cc_hash_ctx *ctx,
136 struct cc_hash_ctx *ctx)
138 bool is_hmac = ctx->is_hmac;
143 if (ctx->hw_mode != DRV_CIPHER_XCBC_MAC &&
144 ctx->hw_mode != DRV_CIPHER_CMAC) {
145 dma_sync_single_for_cpu(dev, ctx->digest_buff_dma_addr,
146 ctx->inter_digestsize,
149 memcpy(state->digest_buff, ctx->digest_buff,
150 ctx->inter_digestsize);
151 if (ctx
135 cc_init_req(struct device *dev, struct ahash_req_ctx *state, struct cc_hash_ctx *ctx) argument
178 cc_map_req(struct device *dev, struct ahash_req_ctx *state, struct cc_hash_ctx *ctx) argument
243 cc_unmap_req(struct device *dev, struct ahash_req_ctx *state, struct cc_hash_ctx *ctx) argument
288 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
306 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
326 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
346 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
369 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
422 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
529 cc_restore_hash(struct cc_hw_desc *desc, struct cc_hash_ctx *ctx, struct ahash_req_ctx *state, unsigned int idx) argument
560 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
636 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
716 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
731 struct cc_hash_ctx *ctx = NULL; local
925 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); local
1010 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); local
1047 cc_free_ctx(struct cc_hash_ctx *ctx) argument
1070 cc_alloc_ctx(struct cc_hash_ctx *ctx) argument
1112 struct cc_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm); local
1122 struct cc_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm); local
1143 struct cc_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm); local
1154 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
1222 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
1343 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
1424 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
1502 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); local
1528 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); local
2078 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
2135 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); local
2162 cc_set_desc(struct ahash_req_ctx *areq_ctx, struct cc_hash_ctx *ctx, unsigned int flow_mode, struct cc_hw_desc desc[], bool is_not_last_data, unsigned int *seq_size) argument
[all...]
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_vidi.c96 struct vidi_context *ctx = crtc->ctx; local
98 if (ctx->suspended)
101 mod_timer(&ctx->timer,
115 struct vidi_context *ctx = crtc->ctx; local
118 if (ctx->suspended)
122 DRM_DEV_DEBUG_KMS(ctx->dev, "dma_addr = %pad\n", &addr);
127 struct vidi_context *ctx = crtc->ctx; local
140 struct vidi_context *ctx = crtc->ctx; local
162 struct vidi_context *ctx = from_timer(ctx, t, timer); local
172 struct vidi_context *ctx = dev_get_drvdata(dev); local
188 struct vidi_context *ctx = dev_get_drvdata(dev); local
227 struct vidi_context *ctx = dev_get_drvdata(drm_dev->dev); local
284 struct vidi_context *ctx = ctx_from_connector(connector); local
309 struct vidi_context *ctx = ctx_from_connector(connector); local
340 struct vidi_context *ctx = encoder_to_vidi(encoder); local
382 struct vidi_context *ctx = dev_get_drvdata(dev); local
435 struct vidi_context *ctx = dev_get_drvdata(dev); local
447 struct vidi_context *ctx; local
467 struct vidi_context *ctx = platform_get_drvdata(pdev); local
[all...]
/linux-master/arch/s390/crypto/
H A Dpaes_s390.c143 static inline int __paes_convert_key(struct s390_paes_ctx *ctx) argument
149 ret = __paes_keyblob2pkey(&ctx->kb, &pkey);
153 spin_lock_bh(&ctx->pk_lock);
154 memcpy(&ctx->pk, &pkey, sizeof(pkey));
155 spin_unlock_bh(&ctx->pk_lock);
162 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
164 ctx->kb.key = NULL;
165 spin_lock_init(&ctx->pk_lock);
172 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
174 _free_kb_keybuf(&ctx
177 __ecb_paes_set_key(struct s390_paes_ctx *ctx) argument
201 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
214 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
277 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
287 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
292 __cbc_paes_set_key(struct s390_paes_ctx *ctx) argument
316 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
329 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
397 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); local
408 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); local
414 __xts_paes_convert_key(struct s390_pxts_ctx *ctx) argument
433 __xts_paes_set_key(struct s390_pxts_ctx *ctx) argument
458 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); local
495 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm); local
577 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
587 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
592 __ctr_paes_set_key(struct s390_paes_ctx *ctx) argument
617 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
645 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm); local
[all...]
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c340 static void dump_format(struct ipu_image_convert_ctx *ctx, argument
343 struct ipu_image_convert_chan *chan = ctx->chan;
347 "task %u: ctx %p: %s format: %dx%d (%dx%d tiles), %c%c%c%c\n",
348 chan->ic_task, ctx,
410 static int calc_image_resize_coefficients(struct ipu_image_convert_ctx *ctx, argument
425 if (ipu_rot_mode_is_irt(ctx->rot_mode)) {
461 dev_dbg(ctx->chan->priv->ipu->dev,
470 ctx->downsize_coeff_h = downsize_coeff_h;
471 ctx->downsize_coeff_v = downsize_coeff_v;
472 ctx
501 find_best_seam(struct ipu_image_convert_ctx *ctx, unsigned int index, unsigned int in_edge, unsigned int out_edge, unsigned int in_align, unsigned int out_align, unsigned int in_burst, unsigned int out_burst, unsigned int downsize_coeff, unsigned int resize_coeff, u32 *_in_seam, u32 *_out_seam) argument
665 fill_tile_column(struct ipu_image_convert_ctx *ctx, unsigned int col, struct ipu_image_convert_image *in, unsigned int in_left, unsigned int in_width, struct ipu_image_convert_image *out, unsigned int out_left, unsigned int out_width) argument
698 fill_tile_row(struct ipu_image_convert_ctx *ctx, unsigned int row, struct ipu_image_convert_image *in, unsigned int in_top, unsigned int in_height, struct ipu_image_convert_image *out, unsigned int out_top, unsigned int out_height) argument
730 find_seams(struct ipu_image_convert_ctx *ctx, struct ipu_image_convert_image *in, struct ipu_image_convert_image *out) argument
854 calc_tile_dimensions(struct ipu_image_convert_ctx *ctx, struct ipu_image_convert_image *image) argument
917 transform_tile_index(struct ipu_image_convert_ctx *ctx, int src_row, int src_col) argument
970 calc_out_tile_map(struct ipu_image_convert_ctx *ctx) argument
984 calc_tile_offsets_planar(struct ipu_image_convert_ctx *ctx, struct ipu_image_convert_image *image) argument
1046 calc_tile_offsets_packed(struct ipu_image_convert_ctx *ctx, struct ipu_image_convert_image *image) argument
1088 calc_tile_offsets(struct ipu_image_convert_ctx *ctx, struct ipu_image_convert_image *image) argument
1123 calc_tile_resize_coefficients(struct ipu_image_convert_ctx *ctx) argument
1250 get_run_count(struct ipu_image_convert_ctx *ctx, struct list_head *q) argument
1268 struct ipu_image_convert_ctx *ctx = run->ctx; local
1289 init_idmac_channel(struct ipu_image_convert_ctx *ctx, struct ipuv3_channel *channel, struct ipu_image_convert_image *image, enum ipu_rotate_mode rot_mode, bool rot_swap_width_height, unsigned int tile) argument
1381 struct ipu_image_convert_ctx *ctx = run->ctx; local
1496 struct ipu_image_convert_ctx *ctx = run->ctx; local
1583 struct ipu_image_convert_ctx *ctx; local
1614 ic_settings_changed(struct ipu_image_convert_ctx *ctx) argument
1635 struct ipu_image_convert_ctx *ctx = run->ctx; local
1732 struct ipu_image_convert_ctx *ctx; local
1785 force_abort(struct ipu_image_convert_ctx *ctx) argument
1921 fill_image(struct ipu_image_convert_ctx *ctx, struct ipu_image_convert_image *ic_image, struct ipu_image *image, enum ipu_image_convert_type type) argument
2078 struct ipu_image_convert_ctx *ctx; local
2269 struct ipu_image_convert_ctx *ctx; local
2306 __ipu_image_convert_abort(struct ipu_image_convert_ctx *ctx) argument
2359 ipu_image_convert_abort(struct ipu_image_convert_ctx *ctx) argument
2367 ipu_image_convert_unprepare(struct ipu_image_convert_ctx *ctx) argument
2410 struct ipu_image_convert_ctx *ctx; local
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c86 struct mtk_vcodec_enc_ctx *ctx; local
92 ctx = dev->curr_ctx;
97 mtk_v4l2_venc_err(ctx, "Invalid core id: %d, ctx id: %d", core_id, ctx->id);
101 mtk_v4l2_venc_dbg(1, ctx, "id: %d, core id: %d", ctx->id, core_id);
105 ctx->irq_status = readl(dev->reg_base[core_id] +
108 clean_irq_status(ctx->irq_status, addr);
110 wake_up_enc_ctx(ctx, MTK_INST_IRQ_RECEIVE
117 struct mtk_vcodec_enc_ctx *ctx = NULL; local
206 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(file->private_data); local
[all...]
/linux-master/arch/arm64/crypto/
H A Daes-ce-setkey.h5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dgang.c52 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) argument
55 ctx->gang = get_spu_gang(gang);
56 list_add(&ctx->gang_list, &gang->list);
61 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) argument
64 WARN_ON(ctx->gang != gang);
65 if (!list_empty(&ctx->aff_list)) {
66 list_del_init(&ctx->aff_list);
69 list_del_init(&ctx->gang_list);
/linux-master/include/crypto/
H A Darc4.h20 int arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len);
21 void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_link_pinning.c12 int raw_tp_prog(const void *ctx) argument
19 int tp_btf_prog(const void *ctx) argument
H A Dtest_get_stack_rawtp_err.c9 int bpf_prog2(void *ctx) argument
15 error = bpf_get_stack(ctx, stack, 0, -1);
H A Dbpf_iter_test_kern_common.h10 int dump_task(struct bpf_iter__task *ctx) argument
12 struct seq_file *seq = ctx->meta->seq;
H A Dfexit_sleep.c15 int nanosleep_fentry(void *ctx) argument
25 int nanosleep_fexit(void *ctx) argument
H A Dtest_xdp_with_cpumap_frags_helpers.c16 int xdp_dummy_cm(struct xdp_md *ctx) argument
22 int xdp_dummy_cm_frags(struct xdp_md *ctx) argument
H A Dtest_xdp_with_devmap_frags_helpers.c16 int xdp_dummy_dm(struct xdp_md *ctx) argument
22 int xdp_dummy_dm_frags(struct xdp_md *ctx) argument
H A Dcgroup_getset_retval_hooks.c6 #define BPF_RETVAL_HOOK(name, section, ctx, expected_err) \
8 int name(struct ctx *_ctx) \
H A Dtest_helper_restricted.c60 int raw_tp_timer(void *ctx) argument
68 int tp_timer(void *ctx) argument
76 int kprobe_timer(void *ctx) argument
84 int perf_event_timer(void *ctx) argument
92 int raw_tp_spin_lock(void *ctx) argument
100 int tp_spin_lock(void *ctx) argument
108 int kprobe_spin_lock(void *ctx) argument
116 int perf_event_spin_lock(void *ctx) argument
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dccg.c41 dccg_dcn->base.ctx
43 dccg->ctx->logger
56 struct dc_context *ctx,
70 base->ctx = ctx;
81 struct dc_context *ctx,
95 base->ctx = ctx;
55 dccg3_create( struct dc_context *ctx, const struct dccg_registers *regs, const struct dccg_shift *dccg_shift, const struct dccg_mask *dccg_mask) argument
80 dccg30_create( struct dc_context *ctx, const struct dccg_registers *regs, const struct dccg_shift *dccg_shift, const struct dccg_mask *dccg_mask) argument
/linux-master/drivers/scsi/elx/libefc/
H A Defc_domain.h20 __efc_domain_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
22 __efc_domain_wait_alloc(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
25 __efc_domain_allocated(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
28 __efc_domain_wait_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
31 __efc_domain_ready(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
33 __efc_domain_wait_nports_free(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
36 __efc_domain_wait_shutdown(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
39 __efc_domain_wait_domain_lost(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
/linux-master/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod-events.h13 TP_PROTO(struct task_struct *task, struct bpf_testmod_test_read_ctx *ctx),
14 TP_ARGS(task, ctx),
24 __entry->off = ctx->off;
25 __entry->len = ctx->len;
33 TP_PROTO(struct task_struct *task, struct bpf_testmod_test_write_ctx *ctx),
34 TP_ARGS(task, ctx)
47 TP_PROTO(struct bpf_testmod_test_writable_ctx *ctx),
48 TP_ARGS(ctx),
/linux-master/drivers/media/platform/st/sti/delta/
H A Ddelta-mem.c10 int hw_alloc(struct delta_ctx *ctx, u32 size, const char *name, argument
13 struct delta_dev *delta = ctx->dev;
23 ctx->name, name, size);
24 ctx->sys_errors++;
36 ctx->name, size, buf->vaddr, &buf->paddr, buf->name);
41 void hw_free(struct delta_ctx *ctx, struct delta_buf *buf) argument
43 struct delta_dev *delta = ctx->dev;
47 ctx->name, buf->size, buf->vaddr, &buf->paddr, buf->name);
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-mem.h26 int hva_mem_alloc(struct hva_ctx *ctx,
31 void hva_mem_free(struct hva_ctx *ctx,
/linux-master/samples/bpf/
H A Dtask_fd_query_kern.c8 int bpf_prog1(struct pt_regs *ctx) argument
14 int bpf_prog2(struct pt_regs *ctx) argument
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.h30 void cedrus_reset_cap_format(struct cedrus_ctx *ctx);
31 void cedrus_reset_out_format(struct cedrus_ctx *ctx);

Completed in 567 milliseconds

<<11121314151617181920>>