| /drivers/media/test-drivers/visl/ |
| A D | visl-dec.c | 291 run->dst->sequence, in visl_tpg_fill_sequence() 292 run->dst->vb2_buf.timestamp, in visl_tpg_fill_sequence() 299 struct visl_run *run, in visl_tpg_fill_codec_specific() argument 345 &run->dst->vb2_buf, p, in visl_tpg_fill() 563 struct visl_run run = {}; in visl_device_run() local 575 v4l2_m2m_buf_copy_metadata(run.src, run.dst, true); in visl_device_run() 625 run.src->sequence, run.src->vb2_buf.timestamp); in visl_device_run() 629 run.dst->sequence, run.dst->vb2_buf.timestamp); in visl_device_run() 631 visl_tpg_fill(ctx, &run); in visl_device_run() 632 visl_trace_ctrls(ctx, &run); in visl_device_run() [all …]
|
| A D | visl-debugfs.c | 40 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()
|
| A D | visl-debugfs.h | 18 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/ |
| A D | cedrus_dec.c | 29 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() 46 run.mpeg2.picture = cedrus_find_control_data(ctx, in cedrus_device_run() 55 run.h264.pps = cedrus_find_control_data(ctx, in cedrus_device_run() 61 run.h264.sps = cedrus_find_control_data(ctx, in cedrus_device_run() 68 run.h265.sps = cedrus_find_control_data(ctx, in cedrus_device_run() 70 run.h265.pps = cedrus_find_control_data(ctx, in cedrus_device_run() 93 v4l2_m2m_buf_copy_metadata(run.src, run.dst, true); in cedrus_device_run() [all …]
|
| A D | cedrus_h264.c | 87 struct cedrus_run *run) in cedrus_write_frame_list() argument 190 struct cedrus_run *run, in _cedrus_write_ref_list() argument 235 struct cedrus_run *run) in cedrus_write_ref_list0() argument 239 _cedrus_write_ref_list(ctx, run, in cedrus_write_ref_list0() 246 struct cedrus_run *run) in cedrus_write_ref_list1() argument 250 _cedrus_write_ref_list(ctx, run, in cedrus_write_ref_list1() 260 run->h264.scaling_matrix; in cedrus_write_scaling_lists() 281 struct cedrus_run *run) in cedrus_write_pred_weight_table() argument 284 run->h264.pred_weights; in cedrus_write_pred_weight_table() 342 struct cedrus_run *run) in cedrus_set_params() argument [all …]
|
| A D | cedrus_mpeg2.c | 51 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()
|
| A D | cedrus_h265.c | 271 struct cedrus_run *run) in cedrus_h265_write_scaling_list() argument 277 scaling = run->h265.scaling_matrix; in cedrus_h265_write_scaling_list() 340 slice_params = run->h265.slice_params; 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() 439 sps = run->h265.sps; in cedrus_h265_setup() 440 pps = run->h265.pps; in cedrus_h265_setup() [all …]
|
| /drivers/media/platform/rockchip/rkvdec/ |
| A D | rkvdec-h264.c | 634 struct rkvdec_h264_run *run) in assemble_hw_pps() argument 755 run->ref_buf[i] = buf; in lookup_ref_buf_idx() 761 struct rkvdec_h264_run *run) in assemble_hw_rps() argument 819 struct rkvdec_h264_run *run) in assemble_hw_scaling_list() argument 885 struct rkvdec_h264_run *run) in config_registers() argument 1163 struct rkvdec_h264_run run; in rkvdec_h264_run() local 1169 run.sps, run.decode_params->dpb); in rkvdec_h264_run() 1175 assemble_hw_pps(ctx, &run); in rkvdec_h264_run() 1176 lookup_ref_buf_idx(ctx, &run); in rkvdec_h264_run() 1178 config_registers(ctx, &run); in rkvdec_h264_run() [all …]
|
| A D | rkvdec-vp9.c | 190 const struct rkvdec_vp9_run *run) in init_intra_only_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() 531 dec_params = run->decode_params; in config_registers() 728 struct rkvdec_vp9_run *run) in rkvdec_vp9_run_preamble() argument 750 run->decode_params = dec_params; in rkvdec_vp9_run_preamble() 804 struct rkvdec_vp9_run run = { }; in rkvdec_vp9_run() local 814 init_probs(ctx, &run); in rkvdec_vp9_run() 817 config_registers(ctx, &run); in rkvdec_vp9_run() [all …]
|
| A D | rkvdec.h | 71 int (*run)(struct rkvdec_ctx *ctx); member 138 void rkvdec_run_preamble(struct rkvdec_ctx *ctx, struct rkvdec_run *run); 139 void rkvdec_run_postamble(struct rkvdec_ctx *ctx, struct rkvdec_run *run);
|
| /drivers/gpu/ipu-v3/ |
| A D | ipu-image-convert.c | 1514 __func__, chan->ic_task, run->ctx, run); in run_next() 1550 __func__, chan->ic_task, run->ctx, run, run->status); in empty_done_q() 1554 run->ctx->complete(run, run->ctx->complete_context); in empty_done_q() 1728 if (!run) { in eof_irq() 1733 ctx = run->ctx; in eof_irq() 1780 if (run && run->ctx == ctx) { in force_abort() 2259 if (!run || !run->ctx || !run->in_phys || !run->out_phys) in ipu_image_convert_queue() 2405 run = kzalloc(sizeof(*run), GFP_KERNEL); in ipu_image_convert() 2406 if (!run) { in ipu_image_convert() 2418 kfree(run); in ipu_image_convert() [all …]
|
| /drivers/staging/media/atomisp/pci/ |
| A D | sh_css_metrics.c | 41 histogram->run[i] = 0; in clear_histogram() 60 if (histogram->run) in make_histogram() 62 histogram->run = kvmalloc(length * sizeof(*histogram->run), in make_histogram() 64 if (!histogram->run) in make_histogram() 132 isp_histogram->run[pc]++; in sh_css_metrics_sample_pcs() 143 sp_histogram->run[pc]++; in sh_css_metrics_sample_pcs()
|
| /drivers/tty/ |
| A D | tty_audit.c | 238 size_t run; in tty_audit_add_data() local 240 run = TTY_AUDIT_BUF_SIZE - buf->valid; in tty_audit_add_data() 241 if (run > size) in tty_audit_add_data() 242 run = size; in tty_audit_add_data() 243 memcpy(buf->data + buf->valid, data, run); in tty_audit_add_data() 244 buf->valid += run; in tty_audit_add_data() 245 data += run; in tty_audit_add_data() 246 size -= run; in tty_audit_add_data()
|
| /drivers/media/platform/verisilicon/ |
| A D | rockchip_vpu_hw.c | 503 .run = hantro_g1_h264_dec_run, 509 .run = hantro_g1_mpeg2_dec_run, 515 .run = hantro_g1_vp8_dec_run, 524 .run = hantro_h1_jpeg_enc_run, 529 .run = hantro_g1_h264_dec_run, 535 .run = hantro_g1_mpeg2_dec_run, 541 .run = hantro_g1_vp8_dec_run, 550 .run = hantro_h1_jpeg_enc_run, 555 .run = hantro_g1_h264_dec_run, 561 .run = hantro_g1_mpeg2_dec_run, [all …]
|
| A D | imx8m_vpu_hw.c | 275 .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,
|
| A D | sama5d4_vdec_hw.c | 90 .run = hantro_g1_mpeg2_dec_run, 96 .run = hantro_g1_vp8_dec_run, 102 .run = hantro_g1_h264_dec_run,
|
| A D | stm32mp25_vpu_hw.c | 127 .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/ |
| A D | mtk_vpu.c | 212 struct vpu_run run; member 444 return vpu->run.dec_capability; in vpu_get_vdec_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() 615 run->signaled, in vpu_load_firmware() 643 vpu->run.signaled = run->signaled; in vpu_init_ipi_handler() 644 strscpy(vpu->run.fw_ver, run->fw_ver, sizeof(vpu->run.fw_ver)); in vpu_init_ipi_handler() 645 vpu->run.dec_capability = run->dec_capability; in vpu_init_ipi_handler() 646 vpu->run.enc_capability = run->enc_capability; in vpu_init_ipi_handler() [all …]
|
| /drivers/mmc/core/ |
| A D | mmc_test.c | 2576 .run = mmc_test_basic_read, 2603 .run = mmc_test_multi_read, 2610 .run = mmc_test_pow2_write, 2617 .run = mmc_test_pow2_read, 2631 .run = mmc_test_weird_read, 2645 .run = mmc_test_align_read, 2688 .run = mmc_test_write_high, 2695 .run = mmc_test_read_high, 2717 .run = mmc_test_no_highmem, 2893 .run = mmc_test_reset, [all …]
|
| /drivers/acpi/apei/ |
| A D | erst.c | 312 .run = apei_exec_read_register, 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, 352 .run = erst_exec_add_value, 360 .run = erst_exec_stall, 372 .run = erst_exec_goto, [all …]
|
| /drivers/hv/ |
| A D | mshv_root_main.c | 365 vp->run.kicked_by_hv == 1); in mshv_run_vp_with_hyp_scheduler() 382 wait_event(vp->run.vp_suspend_queue, vp->run.kicked_by_hv == 1); in mshv_run_vp_with_hyp_scheduler() 389 vp->run.kicked_by_hv = 0; in mshv_run_vp_with_hyp_scheduler() 478 (vp->run.kicked_by_hv == 1 && in mshv_vp_wait_for_hv_kick() 484 vp->run.flags.root_sched_blocked = 0; in mshv_vp_wait_for_hv_kick() 485 vp->run.kicked_by_hv = 0; in mshv_vp_wait_for_hv_kick() 517 if (vp->run.flags.root_sched_blocked) { in mshv_run_vp_with_root_scheduler() 536 if (vp->run.flags.intercept_suspend) in mshv_run_vp_with_root_scheduler() 546 vp->run.flags.intercept_suspend = 0; in mshv_run_vp_with_root_scheduler() 1696 vp->run.kicked_by_hv == 1)) in drain_vp_signals() [all …]
|
| A D | Kconfig | 14 Select this option to run Linux as a Hyper-V client operating 33 Select this option to build a Linux kernel to run at a VTL other than 35 initializes the kernel to run in VTL2, and adds the ability to boot 37 than 0. A kernel built with this option must run at VTL2, and will 38 not run as a normal guest.
|
| /drivers/remoteproc/ |
| A D | mtk_scp.c | 83 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() 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() 964 return scp->run.dec_capability; in scp_get_vdec_hw_capa() [all …]
|
| /drivers/staging/media/imx/ |
| A D | imx-media-csc-scaler.c | 90 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 …]
|
| /drivers/s390/scsi/ |
| A D | zfcp_dbf.c | 416 rec->u.run.fsf_req_id = erp->fsf_req_id; in zfcp_dbf_rec_run_lvl() 417 rec->u.run.rec_status = erp->status; in zfcp_dbf_rec_run_lvl() 418 rec->u.run.rec_step = erp->step; in zfcp_dbf_rec_run_lvl() 419 rec->u.run.rec_action = erp->type; in zfcp_dbf_rec_run_lvl() 422 rec->u.run.rec_count = in zfcp_dbf_rec_run_lvl() 425 rec->u.run.rec_count = atomic_read(&erp->port->erp_counter); in zfcp_dbf_rec_run_lvl() 469 rec->u.run.fsf_req_id = req_id; in zfcp_dbf_rec_run_wka() 470 rec->u.run.rec_status = ~0; in zfcp_dbf_rec_run_wka() 471 rec->u.run.rec_step = ~0; in zfcp_dbf_rec_run_wka() 472 rec->u.run.rec_action = ~0; in zfcp_dbf_rec_run_wka() [all …]
|