Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 138) sorted by relevance

123456

/drivers/media/test-drivers/visl/
Dvisl-dec.c62 __kernel_size_t buflen, struct visl_run *run) in visl_get_ref_frames() argument
80 vb2_buf = vb2_find_buffer(cap_q, run->fwht.params->backward_ref_ts); in visl_get_ref_frames()
83 run->fwht.params->backward_ref_ts, vb2_buf); in visl_get_ref_frames()
92 b_ref = vb2_find_buffer(cap_q, run->mpeg2.pic->backward_ref_ts); in visl_get_ref_frames()
93 f_ref = vb2_find_buffer(cap_q, run->mpeg2.pic->forward_ref_ts); in visl_get_ref_frames()
96 run->mpeg2.pic->backward_ref_ts, b_ref); in visl_get_ref_frames()
98 run->mpeg2.pic->forward_ref_ts, f_ref); in visl_get_ref_frames()
108 last = vb2_find_buffer(cap_q, run->vp8.frame->last_frame_ts); in visl_get_ref_frames()
109 golden = vb2_find_buffer(cap_q, run->vp8.frame->golden_frame_ts); in visl_get_ref_frames()
110 alt = vb2_find_buffer(cap_q, run->vp8.frame->alt_frame_ts); in visl_get_ref_frames()
[all …]
Dvisl-debugfs.c40 void visl_trace_bitstream(struct visl_ctx *ctx, struct visl_run *run) in visl_trace_bitstream() argument
42 u8 *vaddr = vb2_plane_vaddr(&run->src->vb2_buf, 0); in visl_trace_bitstream()
44 size_t data_sz = vb2_get_plane_payload(&run->src->vb2_buf, 0); in visl_trace_bitstream()
57 snprintf(name, 32, "bitstream%d", run->src->sequence); in visl_trace_bitstream()
Dvisl-debugfs.h18 void visl_trace_bitstream(struct visl_ctx *ctx, struct visl_run *run);
35 static inline void visl_trace_bitstream(struct visl_ctx *ctx, struct visl_run *run) {} in visl_trace_bitstream() argument
/drivers/staging/media/sunxi/cedrus/
Dcedrus_dec.c29 struct cedrus_run run = {}; in cedrus_device_run() local
33 run.src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in cedrus_device_run()
34 run.dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in cedrus_device_run()
37 src_req = run.src->vb2_buf.req_obj.req; in cedrus_device_run()
44 run.mpeg2.sequence = cedrus_find_control_data(ctx, in cedrus_device_run()
46 run.mpeg2.picture = cedrus_find_control_data(ctx, in cedrus_device_run()
48 run.mpeg2.quantisation = cedrus_find_control_data(ctx, in cedrus_device_run()
53 run.h264.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run()
55 run.h264.pps = cedrus_find_control_data(ctx, in cedrus_device_run()
57 run.h264.scaling_matrix = cedrus_find_control_data(ctx, in cedrus_device_run()
[all …]
Dcedrus_h264.c87 struct cedrus_run *run) in cedrus_write_frame_list() argument
90 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params; in cedrus_write_frame_list()
91 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; in cedrus_write_frame_list()
120 if (run->dst->vb2_buf.timestamp == dpb->reference_ts) { in cedrus_write_frame_list()
139 output_buf = vb2_to_cedrus_buffer(&run->dst->vb2_buf); in cedrus_write_frame_list()
143 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; in cedrus_write_frame_list()
190 struct cedrus_run *run, in _cedrus_write_ref_list() argument
194 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params; in _cedrus_write_ref_list()
235 struct cedrus_run *run) in cedrus_write_ref_list0() argument
237 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; in cedrus_write_ref_list0()
[all …]
Dcedrus_mpeg2.c51 static int cedrus_mpeg2_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_mpeg2_setup() argument
63 seq = run->mpeg2.sequence; in cedrus_mpeg2_setup()
64 pic = run->mpeg2.picture; in cedrus_mpeg2_setup()
66 quantisation = run->mpeg2.quantisation; in cedrus_mpeg2_setup()
133 dst_luma_addr = cedrus_dst_buf_addr(ctx, &run->dst->vb2_buf, 0); in cedrus_mpeg2_setup()
134 dst_chroma_addr = cedrus_dst_buf_addr(ctx, &run->dst->vb2_buf, 1); in cedrus_mpeg2_setup()
143 reg = vb2_get_plane_payload(&run->src->vb2_buf, 0) * 8; in cedrus_mpeg2_setup()
148 src_buf_addr = vb2_dma_contig_plane_dma_addr(&run->src->vb2_buf, 0); in cedrus_mpeg2_setup()
157 reg = src_buf_addr + vb2_get_plane_payload(&run->src->vb2_buf, 0); in cedrus_mpeg2_setup()
Dcedrus_h265.c271 struct cedrus_run *run) in cedrus_h265_write_scaling_list() argument
277 scaling = run->h265.scaling_matrix; in cedrus_h265_write_scaling_list()
333 static int cedrus_h265_is_low_delay(struct cedrus_run *run) in cedrus_h265_is_low_delay() argument
340 slice_params = run->h265.slice_params; in cedrus_h265_is_low_delay()
341 poc = run->h265.decode_params->pic_order_cnt_val; in cedrus_h265_is_low_delay()
342 dpb = run->h265.decode_params->dpb; in cedrus_h265_is_low_delay()
359 struct cedrus_run *run, in cedrus_h265_write_tiles() argument
370 pps = run->h265.pps; in cedrus_h265_write_tiles()
371 slice_params = run->h265.slice_params; in cedrus_h265_write_tiles()
372 entry_points = run->h265.entry_points; in cedrus_h265_write_tiles()
[all …]
/drivers/virt/geniezone/
Dgzvm_vcpu.c113 if (!vcpu->run->mmio.is_write) in gzvm_vcpu_handle_mmio()
115 addr = vcpu->run->mmio.phys_addr; in gzvm_vcpu_handle_mmio()
116 len = vcpu->run->mmio.size; in gzvm_vcpu_handle_mmio()
117 val_ptr = &vcpu->run->mmio.data; in gzvm_vcpu_handle_mmio()
137 if (copy_from_user(vcpu->run, argp, sizeof(struct gzvm_vcpu_run))) in gzvm_vcpu_run()
140 for (int i = 0; i < ARRAY_SIZE(vcpu->run->padding1); i++) { in gzvm_vcpu_run()
141 if (vcpu->run->padding1[i]) in gzvm_vcpu_run()
145 if (vcpu->run->immediate_exit == 1) in gzvm_vcpu_run()
199 if (copy_to_user(argp, vcpu->run, sizeof(struct gzvm_vcpu_run))) in gzvm_vcpu_run()
258 memset(vcpu->run, 0, GZVM_VCPU_RUN_MAP_SIZE); in gzvm_destroy_vcpu()
[all …]
Dgzvm_exception.c22 for (int i = 0; i < ARRAY_SIZE(vcpu->run->exception.reserved); i++) { in gzvm_handle_guest_exception()
23 if (vcpu->run->exception.reserved[i]) in gzvm_handle_guest_exception()
27 switch (vcpu->run->exception.exception) { in gzvm_handle_guest_exception()
55 switch (vcpu->run->hypercall.args[0]) { in gzvm_handle_guest_hvc()
57 ipa = vcpu->run->hypercall.args[1]; in gzvm_handle_guest_hvc()
/drivers/gpu/ipu-v3/
Dipu-image-convert.c1253 struct ipu_image_convert_run *run; in get_run_count() local
1258 list_for_each_entry(run, q, list) { in get_run_count()
1259 if (run->ctx == ctx) in get_run_count()
1266 static void convert_stop(struct ipu_image_convert_run *run) in convert_stop() argument
1268 struct ipu_image_convert_ctx *ctx = run->ctx; in convert_stop()
1273 __func__, chan->ic_task, ctx, run); in convert_stop()
1379 static int convert_start(struct ipu_image_convert_run *run, unsigned int tile) in convert_start() argument
1381 struct ipu_image_convert_ctx *ctx = run->ctx; in convert_start()
1393 __func__, chan->ic_task, ctx, run, tile, dst_tile); in convert_start()
1494 static int do_run(struct ipu_image_convert_run *run) in do_run() argument
[all …]
/drivers/staging/media/rkvdec/
Drkvdec-h264.c634 struct rkvdec_h264_run *run) in assemble_hw_pps() argument
637 const struct v4l2_ctrl_h264_sps *sps = run->sps; in assemble_hw_pps()
638 const struct v4l2_ctrl_h264_pps *pps = run->pps; in assemble_hw_pps()
639 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in assemble_hw_pps()
736 struct rkvdec_h264_run *run) in lookup_ref_buf_idx() argument
738 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in lookup_ref_buf_idx()
743 const struct v4l2_h264_dpb_entry *dpb = run->decode_params->dpb; in lookup_ref_buf_idx()
754 run->ref_buf[i] = buf; in lookup_ref_buf_idx()
760 struct rkvdec_h264_run *run) in assemble_hw_rps() argument
762 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in assemble_hw_rps()
[all …]
Drkvdec-vp9.c190 const struct rkvdec_vp9_run *run) in init_intra_only_probs() argument
240 const struct rkvdec_vp9_run *run) in init_inter_probs() argument
311 const struct rkvdec_vp9_run *run) in init_probs() argument
321 dec_params = run->decode_params; in init_probs()
345 init_intra_only_probs(ctx, run); in init_probs()
347 init_inter_probs(ctx, run); in init_probs()
413 const struct rkvdec_vp9_run *run, in config_ref_registers() argument
428 if (&ref_buf->base.vb == run->base.bufs.dst) in config_ref_registers()
517 const struct rkvdec_vp9_run *run) in config_registers() argument
531 dec_params = run->decode_params; in config_registers()
[all …]
Drkvdec.h71 int (*run)(struct rkvdec_ctx *ctx); member
121 void rkvdec_run_preamble(struct rkvdec_ctx *ctx, struct rkvdec_run *run);
122 void rkvdec_run_postamble(struct rkvdec_ctx *ctx, struct rkvdec_run *run);
/drivers/staging/media/atomisp/pci/
Dsh_css_metrics.c50 histogram->run[i] = 0; in clear_histogram()
69 if (histogram->run) in make_histogram()
71 histogram->run = kvmalloc(length * sizeof(*histogram->run), in make_histogram()
73 if (!histogram->run) in make_histogram()
141 isp_histogram->run[pc]++; in sh_css_metrics_sample_pcs()
152 sp_histogram->run[pc]++; in sh_css_metrics_sample_pcs()
/drivers/tty/
Dtty_audit.c236 size_t run; in tty_audit_add_data() local
238 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()
239 if (run > size) in tty_audit_add_data()
240 run = size; in tty_audit_add_data()
241 memcpy(buf->data + buf->valid, data, run); in tty_audit_add_data()
242 buf->valid += run; in tty_audit_add_data()
243 data += run; in tty_audit_add_data()
244 size -= run; in tty_audit_add_data()
/drivers/media/platform/verisilicon/
Drockchip_vpu_hw.c489 .run = hantro_g1_h264_dec_run,
495 .run = hantro_g1_mpeg2_dec_run,
501 .run = hantro_g1_vp8_dec_run,
510 .run = hantro_h1_jpeg_enc_run,
515 .run = hantro_g1_h264_dec_run,
521 .run = hantro_g1_mpeg2_dec_run,
527 .run = hantro_g1_vp8_dec_run,
536 .run = hantro_h1_jpeg_enc_run,
541 .run = hantro_g1_h264_dec_run,
547 .run = hantro_g1_mpeg2_dec_run,
[all …]
Dimx8m_vpu_hw.c275 .run = hantro_g1_mpeg2_dec_run,
281 .run = hantro_g1_vp8_dec_run,
287 .run = hantro_g1_h264_dec_run,
296 .run = hantro_g1_mpeg2_dec_run,
301 .run = hantro_g1_vp8_dec_run,
306 .run = hantro_g1_h264_dec_run,
314 .run = hantro_g2_hevc_dec_run,
319 .run = hantro_g2_vp9_dec_run,
Dsama5d4_vdec_hw.c90 .run = hantro_g1_mpeg2_dec_run,
96 .run = hantro_g1_vp8_dec_run,
102 .run = hantro_g1_h264_dec_run,
Dstm32mp25_vpu_hw.c127 .run = hantro_g1_vp8_dec_run,
133 .run = hantro_g1_h264_dec_run,
142 .run = hantro_h1_jpeg_enc_run,
/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c212 struct vpu_run run; member
444 return vpu->run.dec_capability; in vpu_get_vdec_hw_capa()
452 return vpu->run.enc_capability; in vpu_get_venc_hw_capa()
566 struct vpu_run *run; in vpu_load_firmware() local
577 run = &vpu->run; in vpu_load_firmware()
594 run->signaled = false; in vpu_load_firmware()
614 ret = wait_event_interruptible_timeout(run->wq, in vpu_load_firmware()
615 run->signaled, in vpu_load_firmware()
628 dev_info(dev, "vpu is ready. Fw version %s\n", run->fw_ver); in vpu_load_firmware()
641 const struct vpu_run *run = data; in vpu_init_ipi_handler() local
[all …]
/drivers/mmc/core/
Dmmc_test.c1005 int (*run)(struct mmc_test_card *); member
2571 .run = mmc_test_basic_write,
2576 .run = mmc_test_basic_read,
2582 .run = mmc_test_verify_write,
2589 .run = mmc_test_verify_read,
2596 .run = mmc_test_multi_write,
2603 .run = mmc_test_multi_read,
2610 .run = mmc_test_pow2_write,
2617 .run = mmc_test_pow2_read,
2624 .run = mmc_test_weird_write,
[all …]
/drivers/acpi/apei/
Derst.c312 .run = apei_exec_read_register,
316 .run = apei_exec_read_register_value,
320 .run = apei_exec_write_register,
324 .run = apei_exec_write_register_value,
328 .run = apei_exec_noop,
332 .run = erst_exec_load_var1,
336 .run = erst_exec_load_var2,
340 .run = erst_exec_store_var1,
344 .run = erst_exec_add,
348 .run = erst_exec_subtract,
[all …]
/drivers/remoteproc/
Dmtk_scp.c83 struct scp_run *run = data; in scp_init_ipi_handler() local
85 scp->run.signaled = run->signaled; in scp_init_ipi_handler()
86 strscpy(scp->run.fw_ver, run->fw_ver, SCP_FW_VER_LEN); in scp_init_ipi_handler()
87 scp->run.dec_capability = run->dec_capability; in scp_init_ipi_handler()
88 scp->run.enc_capability = run->enc_capability; in scp_init_ipi_handler()
89 wake_up_interruptible(&scp->run.wq); in scp_init_ipi_handler()
708 struct scp_run *run = &scp->run; in scp_start() local
717 run->signaled = false; in scp_start()
722 run->wq, in scp_start()
723 run->signaled, in scp_start()
[all …]
/drivers/hv/
DKconfig13 Select this option to run Linux as a Hyper-V client operating
32 Select this option to build a Linux kernel to run at a VTL other than
36 than 0. A kernel built with this option must run at VTL2, and will
37 not run as a normal guest.
/drivers/staging/media/imx/
Dimx-media-csc-scaler.c90 static void ipu_ic_pp_complete(struct ipu_image_convert_run *run, void *_ctx) in ipu_ic_pp_complete() argument
104 v4l2_m2m_buf_done(src_buf, run->status ? VB2_BUF_STATE_ERROR : in ipu_ic_pp_complete()
106 v4l2_m2m_buf_done(dst_buf, run->status ? VB2_BUF_STATE_ERROR : in ipu_ic_pp_complete()
110 kfree(run); in ipu_ic_pp_complete()
118 struct ipu_image_convert_run *run; in device_run() local
124 run = kzalloc(sizeof(*run), GFP_KERNEL); in device_run()
125 if (!run) in device_run()
128 run->ctx = ctx->icc; in device_run()
129 run->in_phys = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); in device_run()
130 run->out_phys = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in device_run()
[all …]

123456