Searched refs:ctx (Results 126 - 150 of 3532) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v6.c46 static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx) argument
54 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx) argument
60 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) argument
62 struct s5p_mfc_dev *dev = ctx->dev;
67 mb_width = MB_WIDTH(ctx->img_width);
68 mb_height = MB_HEIGHT(ctx->img_height);
69 width64 = ALIGN(ctx->img_width, 64);
70 height32 = ALIGN(ctx->img_height, 32);
72 if (ctx->type == MFCINST_DECODER) {
74 ctx
377 s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) argument
383 s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) argument
438 s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) argument
486 s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) argument
539 s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) argument
584 s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, int buf_addr, unsigned int start_num_byte, unsigned int strm_size) argument
606 s5p_mfc_set_dec_frame_buffer_v6(struct s5p_mfc_ctx *ctx) argument
715 s5p_mfc_set_enc_stream_buffer_v6(struct s5p_mfc_ctx *ctx, unsigned long addr, unsigned int size) argument
730 s5p_mfc_set_enc_frame_buffer_v6(struct s5p_mfc_ctx *ctx, unsigned long y_addr, unsigned long c_addr, unsigned long c_1_addr) argument
746 s5p_mfc_get_enc_frame_buffer_v6(struct s5p_mfc_ctx *ctx, unsigned long *y_addr, unsigned long *c_addr, unsigned long *c_1_addr) argument
770 s5p_mfc_set_enc_ref_buffer_v6(struct s5p_mfc_ctx *ctx) argument
841 s5p_mfc_set_slice_mode(struct s5p_mfc_ctx *ctx) argument
862 s5p_mfc_set_enc_params(struct s5p_mfc_ctx *ctx) argument
1055 s5p_mfc_set_enc_params_h264(struct s5p_mfc_ctx *ctx) argument
1348 s5p_mfc_set_enc_params_mpeg4(struct s5p_mfc_ctx *ctx) argument
1430 s5p_mfc_set_enc_params_h263(struct s5p_mfc_ctx *ctx) argument
1500 s5p_mfc_set_enc_params_vp8(struct s5p_mfc_ctx *ctx) argument
1593 s5p_mfc_set_enc_params_hevc(struct s5p_mfc_ctx *ctx) argument
1750 s5p_mfc_init_decode_v6(struct s5p_mfc_ctx *ctx) argument
1815 s5p_mfc_set_flush(struct s5p_mfc_ctx *ctx, int flush) argument
1829 s5p_mfc_decode_one_frame_v6(struct s5p_mfc_ctx *ctx, enum s5p_mfc_decode_arg last_frame) argument
1859 s5p_mfc_init_encode_v6(struct s5p_mfc_ctx *ctx) argument
1896 s5p_mfc_h264_set_aso_slice_order_v6(struct s5p_mfc_ctx *ctx) argument
1914 s5p_mfc_encode_one_frame_v6(struct s5p_mfc_ctx *ctx) argument
1942 s5p_mfc_run_dec_last_frames(struct s5p_mfc_ctx *ctx) argument
1951 s5p_mfc_run_dec_frame(struct s5p_mfc_ctx *ctx) argument
1990 s5p_mfc_run_enc_frame(struct s5p_mfc_ctx *ctx) argument
2053 s5p_mfc_run_init_dec(struct s5p_mfc_ctx *ctx) argument
2069 s5p_mfc_run_init_enc(struct s5p_mfc_ctx *ctx) argument
2084 s5p_mfc_run_init_dec_buffers(struct s5p_mfc_ctx *ctx) argument
2108 s5p_mfc_run_init_enc_buffers(struct s5p_mfc_ctx *ctx) argument
2132 struct s5p_mfc_ctx *ctx; local
2260 s5p_mfc_read_info_v6(struct s5p_mfc_ctx *ctx, unsigned long ofs) argument
2297 s5p_mfc_get_disp_frame_type_v6(struct s5p_mfc_ctx *ctx) argument
2375 s5p_mfc_get_pic_type_top_v6(struct s5p_mfc_ctx *ctx) argument
2381 s5p_mfc_get_pic_type_bot_v6(struct s5p_mfc_ctx *ctx) argument
2387 s5p_mfc_get_crop_info_h_v6(struct s5p_mfc_ctx *ctx) argument
2393 s5p_mfc_get_crop_info_v_v6(struct s5p_mfc_ctx *ctx) argument
[all...]
/linux-master/drivers/thermal/
H A Dkhadas_mcu_fan.c25 static int khadas_mcu_fan_set_level(struct khadas_mcu_fan_ctx *ctx, argument
30 ret = regmap_write(ctx->mcu->regmap, KHADAS_MCU_CMD_FAN_STATUS_CTRL_REG,
35 ctx->level = level;
51 struct khadas_mcu_fan_ctx *ctx = cdev->devdata; local
53 *state = ctx->level;
62 struct khadas_mcu_fan_ctx *ctx = cdev->devdata; local
67 if (state == ctx->level)
70 return khadas_mcu_fan_set_level(ctx, state);
84 struct khadas_mcu_fan_ctx *ctx; local
87 ctx
109 struct khadas_mcu_fan_ctx *ctx = platform_get_drvdata(pdev); local
117 struct khadas_mcu_fan_ctx *ctx = dev_get_drvdata(dev); local
132 struct khadas_mcu_fan_ctx *ctx = dev_get_drvdata(dev); local
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.h100 * @ctx: The validation context
104 vmw_validation_has_bos(struct vmw_validation_context *ctx) argument
106 return !list_empty(&ctx->bo_list);
112 * @ctx: The validation context
119 vmw_validation_bo_reserve(struct vmw_validation_context *ctx, argument
122 return ttm_eu_reserve_buffers(&ctx->ticket, &ctx->bo_list, intr,
129 * @ctx: The validation context
135 vmw_validation_bo_fence(struct vmw_validation_context *ctx, argument
138 ttm_eu_fence_buffer_objects(&ctx
[all...]
/linux-master/include/linux/
H A Dww_mutex.h49 struct ww_acquire_ctx *ctx; member in struct:ww_mutex
102 lock->ctx = NULL;
110 * @ctx: w/w acquire context to initialize
132 static inline void ww_acquire_init(struct ww_acquire_ctx *ctx, argument
135 ctx->task = current;
136 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp);
137 ctx->acquired = 0;
138 ctx->wounded = false;
139 ctx->is_wait_die = ww_class->is_wait_die;
141 ctx
168 ww_acquire_done(struct ww_acquire_ctx *ctx) argument
185 ww_acquire_fini(struct ww_acquire_ctx *ctx) argument
293 ww_mutex_lock_slow(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
329 ww_mutex_lock_slow_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
[all...]
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-sharp-ls060t1sx01.c34 static void sharp_ls060_reset(struct sharp_ls060 *ctx) argument
36 gpiod_set_value_cansleep(ctx->reset_gpio, 0);
38 gpiod_set_value_cansleep(ctx->reset_gpio, 1);
40 gpiod_set_value_cansleep(ctx->reset_gpio, 0);
44 static int sharp_ls060_on(struct sharp_ls060 *ctx) argument
46 struct mipi_dsi_device *dsi = ctx->dsi;
72 static int sharp_ls060_off(struct sharp_ls060 *ctx) argument
74 struct mipi_dsi_device *dsi = ctx->dsi;
99 struct sharp_ls060 *ctx = to_sharp_ls060(panel); local
100 struct device *dev = &ctx
156 struct sharp_ls060 *ctx = to_sharp_ls060(panel); local
220 struct sharp_ls060 *ctx; local
278 struct sharp_ls060 *ctx = mipi_dsi_get_drvdata(dsi); local
[all...]
/linux-master/tools/testing/selftests/lsm/
H A Dlsm_set_self_attr_test.c27 struct lsm_ctx *ctx = calloc(page_size, 1); local
30 ASSERT_NE(NULL, ctx);
32 ASSERT_LE(1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size,
35 ASSERT_EQ(-1, lsm_set_self_attr(LSM_ATTR_CURRENT, ctx, 1, 0));
37 free(ctx);
43 struct lsm_ctx *ctx = calloc(page_size, 1); local
46 ASSERT_NE(NULL, ctx);
48 ASSERT_LE(1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size,
51 ASSERT_EQ(-1, lsm_set_self_attr(LSM_ATTR_CURRENT, ctx, size, 1));
53 free(ctx);
59 char *ctx = calloc(page_size, 1); local
[all...]
/linux-master/arch/mips/net/
H A Dbpf_jit_comp.c127 int push_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth) argument
135 emit(ctx, sw, reg, depth, MIPS_R_SP);
137 emit(ctx, sd, reg, depth, MIPS_R_SP);
142 ctx->stack_used = max((int)ctx->stack_used, depth);
150 int pop_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth) argument
158 emit(ctx, lw, reg, depth, MIPS_R_SP);
160 emit(ctx, ld, reg, depth, MIPS_R_SP);
169 int get_target(struct jit_context *ctx, u32 loc) argument
171 u32 index = INDEX(ctx
185 get_offset(const struct jit_context *ctx, int off) argument
192 emit_mov_i(struct jit_context *ctx, u8 dst, s32 imm) argument
204 emit_mov_r(struct jit_context *ctx, u8 dst, u8 src) argument
298 emit_alu_i(struct jit_context *ctx, u8 dst, s32 imm, u8 op) argument
342 emit_alu_r(struct jit_context *ctx, u8 dst, u8 src, u8 op) argument
409 emit_atomic_r(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) argument
445 emit_cmpxchg_r(struct jit_context *ctx, u8 dst, u8 src, u8 res, s16 off) argument
458 emit_bswap_r(struct jit_context *ctx, u8 dst, u32 width) argument
553 setup_jmp(struct jit_context *ctx, u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off) argument
605 setup_jmp_i(struct jit_context *ctx, s32 imm, u8 width, u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off) argument
650 setup_jmp_r(struct jit_context *ctx, bool same_reg, u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off) argument
677 finish_jmp(struct jit_context *ctx, u8 jit_op, s16 bpf_off) argument
698 emit_jmp_i(struct jit_context *ctx, u8 dst, s32 imm, s32 off, u8 op) argument
758 emit_jmp_r(struct jit_context *ctx, u8 dst, u8 src, s32 off, u8 op) argument
826 emit_ja(struct jit_context *ctx, s16 off) argument
838 emit_exit(struct jit_context *ctx) argument
850 build_body(struct jit_context *ctx) argument
888 set_convert_flag(struct jit_context *ctx, bool enable) argument
916 struct jit_context ctx; local
[all...]
/linux-master/include/media/
H A Ddvb_vb2.h117 static inline int dvb_vb2_init(struct dvb_vb2_ctx *ctx, argument
122 static inline int dvb_vb2_release(struct dvb_vb2_ctx *ctx) argument
126 #define dvb_vb2_is_streaming(ctx) (0)
127 #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0)
129 static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, argument
139 * @ctx: control struct for VB2 handler
144 int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int non_blocking);
148 * put @ctx at DVB_VB2_STATE_NONE state.
149 * @ctx: control struct for VB2 handler
151 int dvb_vb2_release(struct dvb_vb2_ctx *ctx);
[all...]
/linux-master/drivers/misc/cxl/
H A Dfault.c32 static struct cxl_sste *find_free_sste(struct cxl_context *ctx, argument
36 unsigned int mask = (ctx->sst_size >> 7) - 1; /* SSTP0[SegTableSize] */
45 primary = ctx->sstp + (hash << 3);
57 ret = primary + ctx->sst_lru;
58 ctx->sst_lru = (ctx->sst_lru + 1) & 0x7;
63 static void cxl_load_segment(struct cxl_context *ctx, struct copro_slb *slb) argument
69 spin_lock_irqsave(&ctx->sste_lock, flags);
70 sste = find_free_sste(ctx, slb);
75 sste - ctx
84 cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, u64 ea) argument
97 cxl_ack_ae(struct cxl_context *ctx) argument
112 cxl_handle_segment_miss(struct cxl_context *ctx, struct mm_struct *mm, u64 ea) argument
180 cxl_handle_page_fault(struct cxl_context *ctx, struct mm_struct *mm, u64 dsisr, u64 dar) argument
198 get_mem_context(struct cxl_context *ctx) argument
209 cxl_is_segment_miss(struct cxl_context *ctx, u64 dsisr) argument
217 cxl_is_page_fault(struct cxl_context *ctx, u64 dsisr) argument
230 struct cxl_context *ctx = local
293 cxl_prefault_vma(struct cxl_context *ctx, struct mm_struct *mm) argument
319 cxl_prefault(struct cxl_context *ctx, u64 wed) argument
[all...]
/linux-master/io_uring/
H A Dio_uring.h40 struct io_ring_ctx *ctx; member in struct:io_wait_queue
53 struct io_ring_ctx *ctx = iowq->ctx; local
54 int dist = READ_ONCE(ctx->rings->cq.tail) - (int) iowq->cq_tail;
61 return dist >= 0 || atomic_read(&ctx->cq_timeouts) != iowq->nr_timeouts;
64 bool io_cqe_cache_refill(struct io_ring_ctx *ctx, bool overflow);
65 int io_run_task_work_sig(struct io_ring_ctx *ctx);
67 bool io_post_aux_cqe(struct io_ring_ctx *ctx, u64 user_data, s32 res, u32 cflags);
69 void __io_commit_cqring_flush(struct io_ring_ctx *ctx);
86 struct io_ring_ctx *ctx);
115 io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) argument
144 io_submit_flush_completions(struct io_ring_ctx *ctx) argument
154 io_get_cqe_overflow(struct io_ring_ctx *ctx, struct io_uring_cqe **ret, bool overflow) argument
172 io_get_cqe(struct io_ring_ctx *ctx, struct io_uring_cqe **ret) argument
177 io_fill_cqe_req(struct io_ring_ctx *ctx, struct io_kiocb *req) argument
229 io_ring_submit_unlock(struct io_ring_ctx *ctx, unsigned issue_flags) argument
237 io_ring_submit_lock(struct io_ring_ctx *ctx, unsigned issue_flags) argument
251 io_commit_cqring(struct io_ring_ctx *ctx) argument
257 io_poll_wq_wake(struct io_ring_ctx *ctx) argument
264 io_cqring_wake(struct io_ring_ctx *ctx) argument
281 io_sqring_full(struct io_ring_ctx *ctx) argument
288 io_sqring_entries(struct io_ring_ctx *ctx) argument
335 io_task_work_pending(struct io_ring_ctx *ctx) argument
340 io_tw_lock(struct io_ring_ctx *ctx, struct io_tw_state *ts) argument
360 io_commit_cqring_flush(struct io_ring_ctx *ctx) argument
376 io_req_cache_empty(struct io_ring_ctx *ctx) argument
384 io_extract_req(struct io_ring_ctx *ctx) argument
393 io_alloc_req(struct io_ring_ctx *ctx, struct io_kiocb **req) argument
403 io_allowed_defer_tw_run(struct io_ring_ctx *ctx) argument
408 io_allowed_run_tw(struct io_ring_ctx *ctx) argument
425 uring_sqe_size(struct io_ring_ctx *ctx) argument
448 io_has_work(struct io_ring_ctx *ctx) argument
[all...]
H A Dnapi.c36 void __io_napi_add(struct io_ring_ctx *ctx, struct socket *sock) argument
53 hash_list = &ctx->napi_ht[hash_min(napi_id, HASH_BITS(ctx->napi_ht))];
71 spin_lock(&ctx->napi_lock);
73 spin_unlock(&ctx->napi_lock);
79 list_add_tail(&e->list, &ctx->napi_list);
80 spin_unlock(&ctx->napi_lock);
83 static void __io_napi_remove_stale(struct io_ring_ctx *ctx) argument
88 spin_lock(&ctx->napi_lock);
89 hash_for_each(ctx
99 io_napi_remove_stale(struct io_ring_ctx *ctx, bool is_stale) argument
133 __io_napi_do_busy_loop(struct io_ring_ctx *ctx, void *loop_end_arg) argument
154 io_napi_blocking_busy_loop(struct io_ring_ctx *ctx, struct io_wait_queue *iowq) argument
182 io_napi_init(struct io_ring_ctx *ctx) argument
196 io_napi_free(struct io_ring_ctx *ctx) argument
217 io_register_napi(struct io_ring_ctx *ctx, void __user *arg) argument
247 io_unregister_napi(struct io_ring_ctx *ctx, void __user *arg) argument
271 __io_napi_adjust_timeout(struct io_ring_ctx *ctx, struct io_wait_queue *iowq, struct timespec64 *ts) argument
300 __io_napi_busy_loop(struct io_ring_ctx *ctx, struct io_wait_queue *iowq) argument
314 io_napi_sqpoll_busy_poll(struct io_ring_ctx *ctx) argument
[all...]
/linux-master/crypto/
H A Dzstd.c32 static int zstd_comp_init(struct zstd_ctx *ctx) argument
38 ctx->cwksp = vzalloc(wksp_size);
39 if (!ctx->cwksp) {
44 ctx->cctx = zstd_init_cctx(ctx->cwksp, wksp_size);
45 if (!ctx->cctx) {
52 vfree(ctx->cwksp);
56 static int zstd_decomp_init(struct zstd_ctx *ctx) argument
61 ctx->dwksp = vzalloc(wksp_size);
62 if (!ctx
79 zstd_comp_exit(struct zstd_ctx *ctx) argument
86 zstd_decomp_exit(struct zstd_ctx *ctx) argument
93 __zstd_init(void *ctx) argument
109 struct zstd_ctx *ctx; local
126 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
131 __zstd_exit(void *ctx) argument
137 zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) argument
145 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
150 __zstd_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
167 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
172 zstd_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
179 __zstd_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
195 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); local
200 zstd_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument
[all...]
H A Dansi_cprng.c81 static int _get_more_prng_bytes(struct prng_context *ctx, int cont_test) argument
89 ctx);
91 hexdump("Input DT: ", ctx->DT, DEFAULT_BLK_SZ);
92 hexdump("Input I: ", ctx->I, DEFAULT_BLK_SZ);
93 hexdump("Input V: ", ctx->V, DEFAULT_BLK_SZ);
106 memcpy(tmp, ctx->DT, DEFAULT_BLK_SZ);
107 output = ctx->I;
117 xor_vectors(ctx->I, ctx->V, tmp, DEFAULT_BLK_SZ);
119 output = ctx
181 get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, int do_cont_test) argument
271 free_prng_context(struct prng_context *ctx) argument
276 reset_prng_context(struct prng_context *ctx, const unsigned char *key, size_t klen, const unsigned char *V, const unsigned char *DT) argument
322 struct prng_context *ctx = crypto_tfm_ctx(tfm); local
[all...]
/linux-master/arch/loongarch/net/
H A Dbpf_jit.h27 struct jit_ctx ctx; member in struct:jit_data
30 #define emit_insn(ctx, func, ...) \
32 if (ctx->image != NULL) { \
33 union loongarch_instruction *insn = &ctx->image[ctx->idx]; \
36 ctx->idx++; \
47 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) argument
56 return (ctx->offset[bpf_insn + off] - (ctx->offset[bpf_insn] - 1));
59 static inline int epilogue_offset(const struct jit_ctx *ctx) argument
68 emit_zext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) argument
77 emit_sext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) argument
85 move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) argument
106 move_imm(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm, bool is32) argument
169 move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, enum loongarch_gpr rj) argument
203 cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
251 cond_jmp_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
259 uncond_jmp_offs26(struct jit_ctx *ctx, int jmp_offset) argument
264 emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
286 emit_uncond_jmp(struct jit_ctx *ctx, int jmp_offset) argument
296 emit_tailcall_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
[all...]
/linux-master/drivers/media/platform/chips-media/coda/
H A Dtrace.h14 TP_PROTO(struct coda_ctx *ctx, int cmd),
16 TP_ARGS(ctx, cmd),
20 __field(int, ctx)
25 __entry->minor = ctx->fh.vdev->minor;
26 __entry->ctx = ctx->idx;
30 TP_printk("minor = %d, ctx = %d, cmd = %d",
31 __entry->minor, __entry->ctx, __entry->cmd)
35 TP_PROTO(struct coda_ctx *ctx),
37 TP_ARGS(ctx),
[all...]
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c91 static void set_default_params(struct hva_ctx *ctx) argument
93 struct hva_frameinfo *frameinfo = &ctx->frameinfo;
94 struct hva_streaminfo *streaminfo = &ctx->streaminfo;
111 ctx->colorspace = V4L2_COLORSPACE_REC709;
112 ctx->xfer_func = V4L2_XFER_FUNC_DEFAULT;
113 ctx->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
114 ctx->quantization = V4L2_QUANTIZATION_DEFAULT;
116 ctx->max_stream_size = estimated_stream_size(streaminfo->width,
120 static const struct hva_enc *hva_find_encoder(struct hva_ctx *ctx, argument
124 struct hva_dev *hva = ctx_to_hdev(ctx);
189 hva_open_encoder(struct hva_ctx *ctx, u32 streamformat, u32 pixelformat, struct hva_enc **penc) argument
228 hva_dbg_summary(struct hva_ctx *ctx) argument
257 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
271 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
285 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
298 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
317 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
338 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
402 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
452 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
482 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
520 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
536 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
556 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
615 struct hva_ctx *ctx = container_of(ctrl->handler, struct hva_ctx, local
690 hva_ctrls_setup(struct hva_ctx *ctx) argument
804 struct hva_ctx *ctx = container_of(work, struct hva_ctx, run_work); local
854 struct hva_ctx *ctx = priv; local
862 struct hva_ctx *ctx = priv; local
872 struct hva_ctx *ctx = priv; local
910 struct hva_ctx *ctx = vb2_get_drv_priv(vq); local
932 struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
984 struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
993 struct hva_ctx *ctx = vb2_get_drv_priv(vq); local
1064 struct hva_ctx *ctx = vb2_get_drv_priv(vq); local
1125 queue_init(struct hva_ctx *ctx, struct vb2_queue *vq) argument
1140 struct hva_ctx *ctx = priv; local
1164 struct hva_ctx *ctx; local
1230 struct hva_ctx *ctx = fh_to_ctx(file->private_data); local
[all...]
/linux-master/arch/s390/crypto/
H A Dsha_common.c18 struct s390_sha_ctx *ctx = shash_desc_ctx(desc); local
23 index = ctx->count % bsize;
24 ctx->count += len;
31 memcpy(ctx->buf + index, data, bsize - index);
32 cpacf_kimd(ctx->func, ctx->state, ctx->buf, bsize);
41 cpacf_kimd(ctx->func, ctx->state, data, n);
47 memcpy(ctx
74 struct s390_sha_ctx *ctx = shash_desc_ctx(desc); local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_custom_sec_handlers.c18 int abc1(void *ctx) argument
25 int abc2(void *ctx) argument
32 int custom1(void *ctx) argument
39 int custom2(void *ctx) argument
46 int kprobe1(void *ctx) argument
53 int xyz(void *ctx) argument
H A Dgetpeername6_prog.c20 int getpeername_v6_prog(struct bpf_sock_addr *ctx) argument
22 ctx->user_ip6[0] = bpf_htonl(REWRITE_ADDRESS_IP6_0);
23 ctx->user_ip6[1] = bpf_htonl(REWRITE_ADDRESS_IP6_1);
24 ctx->user_ip6[2] = bpf_htonl(REWRITE_ADDRESS_IP6_2);
25 ctx->user_ip6[3] = bpf_htonl(REWRITE_ADDRESS_IP6_3);
26 ctx->user_port = bpf_htons(REWRITE_ADDRESS_PORT6);
H A Dgetsockname6_prog.c20 int getsockname_v6_prog(struct bpf_sock_addr *ctx) argument
22 ctx->user_ip6[0] = bpf_htonl(REWRITE_ADDRESS_IP6_0);
23 ctx->user_ip6[1] = bpf_htonl(REWRITE_ADDRESS_IP6_1);
24 ctx->user_ip6[2] = bpf_htonl(REWRITE_ADDRESS_IP6_2);
25 ctx->user_ip6[3] = bpf_htonl(REWRITE_ADDRESS_IP6_3);
26 ctx->user_port = bpf_htons(REWRITE_ADDRESS_PORT6);
/linux-master/drivers/power/reset/
H A Dsyscon-reboot.c28 struct syscon_reboot_context *ctx = local
33 regmap_update_bits(ctx->map, ctx->offset, ctx->mask, ctx->value);
43 struct syscon_reboot_context *ctx; local
49 ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx), GFP_KERNEL);
50 if (!ctx)
53 ctx
[all...]
/linux-master/drivers/soc/mediatek/
H A Dmtk-devapc.c59 static void clear_vio_status(struct mtk_devapc_context *ctx) argument
64 reg = ctx->infra_base + ctx->data->regs_ofs->vio_sta_offset;
66 for (i = 0; i < VIO_MOD_TO_REG_IND(ctx->data->vio_idx_num) - 1; i++)
69 writel(GENMASK(VIO_MOD_TO_REG_OFF(ctx->data->vio_idx_num) - 1, 0),
73 static void mask_module_irq(struct mtk_devapc_context *ctx, bool mask) argument
79 reg = ctx->infra_base + ctx->data->regs_ofs->vio_mask_offset;
86 for (i = 0; i < VIO_MOD_TO_REG_IND(ctx->data->vio_idx_num) - 1; i++)
91 val |= GENMASK(VIO_MOD_TO_REG_OFF(ctx
112 devapc_sync_vio_dbg(struct mtk_devapc_context *ctx) argument
161 devapc_extract_vio_dbg(struct mtk_devapc_context *ctx) argument
191 struct mtk_devapc_context *ctx = data; local
204 start_devapc(struct mtk_devapc_context *ctx) argument
214 stop_devapc(struct mtk_devapc_context *ctx) argument
257 struct mtk_devapc_context *ctx; local
297 struct mtk_devapc_context *ctx = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_context.h91 pvr_context_get_queue_for_job(struct pvr_context *ctx, enum drm_pvr_job_type type) argument
95 return ctx->type == DRM_PVR_CTX_TYPE_RENDER ? ctx->queues.geometry : NULL;
97 return ctx->type == DRM_PVR_CTX_TYPE_RENDER ? ctx->queues.fragment : NULL;
99 return ctx->type == DRM_PVR_CTX_TYPE_COMPUTE ? ctx->queues.compute : NULL;
101 return ctx->type == DRM_PVR_CTX_TYPE_TRANSFER_FRAG ? ctx->queues.transfer : NULL;
109 * @ctx
118 pvr_context_get(struct pvr_context *ctx) argument
140 struct pvr_context *ctx; local
164 struct pvr_context *ctx; local
184 pvr_context_get_fw_addr(struct pvr_context *ctx) argument
[all...]
/linux-master/drivers/mmc/core/
H A Dslot-gpio.c33 struct mmc_gpio *ctx = host->slot.handler_priv; local
36 mmc_detect_change(host, msecs_to_jiffies(ctx->cd_debounce_delay_ms));
44 struct mmc_gpio *ctx; local
46 ctx = devm_kzalloc(host->parent, sizeof(*ctx), GFP_KERNEL);
47 if (!ctx)
50 ctx->cd_debounce_delay_ms = 200;
51 ctx->cd_label = devm_kasprintf(host->parent, GFP_KERNEL, "%s cd", devname);
52 if (!ctx->cd_label)
54 ctx
66 struct mmc_gpio *ctx = host->slot.handler_priv; local
77 struct mmc_gpio *ctx = host->slot.handler_priv; local
92 struct mmc_gpio *ctx = host->slot.handler_priv; local
107 struct mmc_gpio *ctx = host->slot.handler_priv; local
167 struct mmc_gpio *ctx = host->slot.handler_priv; local
191 struct mmc_gpio *ctx = host->slot.handler_priv; local
237 struct mmc_gpio *ctx = host->slot.handler_priv; local
245 struct mmc_gpio *ctx = host->slot.handler_priv; local
263 struct mmc_gpio *ctx = host->slot.handler_priv; local
292 struct mmc_gpio *ctx = host->slot.handler_priv; local
[all...]
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dsched.c85 void spu_set_timeslice(struct spu_context *ctx) argument
87 if (ctx->prio < NORMAL_PRIO)
88 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE * 4, ctx->prio);
90 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE, ctx->prio);
96 void __spu_update_sched_info(struct spu_context *ctx) argument
102 BUG_ON(!list_empty(&ctx->rq));
109 ctx->tid = current->pid;
118 ctx
137 spu_update_sched_info(struct spu_context *ctx) argument
155 __node_allowed(struct spu_context *ctx, int node) argument
167 node_allowed(struct spu_context *ctx, int node) argument
191 struct spu_context *ctx = spu->ctx; local
207 spu_bind_context(struct spu *spu, struct spu_context *ctx) argument
256 struct spu_context *ctx; local
267 struct spu_context *ctx; local
288 aff_ref_location(struct spu_context *ctx, int mem_aff, int group_size, int lowest_offset) argument
343 struct spu_context *tmp, *ctx; local
393 has_affinity(struct spu_context *ctx) argument
419 spu_unbind_context(struct spu *spu, struct spu_context *ctx) argument
475 __spu_add_to_rq(struct spu_context *ctx) argument
498 spu_add_to_rq(struct spu_context *ctx) argument
505 __spu_del_from_rq(struct spu_context *ctx) argument
519 spu_del_from_rq(struct spu_context *ctx) argument
526 spu_prio_wait(struct spu_context *ctx) argument
553 spu_get_idle(struct spu_context *ctx) argument
611 find_victim(struct spu_context *ctx) argument
699 __spu_schedule(struct spu *spu, struct spu_context *ctx) argument
721 spu_schedule(struct spu *spu, struct spu_context *ctx) argument
744 spu_unschedule(struct spu *spu, struct spu_context *ctx, int free_spu) argument
768 spu_activate(struct spu_context *ctx, unsigned long flags) argument
821 struct spu_context *ctx; local
844 __spu_deactivate(struct spu_context *ctx, int force, int max_prio) argument
877 spu_deactivate(struct spu_context *ctx) argument
891 spu_yield(struct spu_context *ctx) argument
901 spusched_tick(struct spu_context *ctx) argument
1002 struct spu_context *ctx = spu->ctx; local
1019 spuctx_switch_state(struct spu_context *ctx, enum spu_utilization_state new_state) argument
[all...]

Completed in 398 milliseconds

1234567891011>>