Home
last modified time | relevance | path

Searched refs:pipe_index (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
H A Ddml_top_mcache.c90 unsigned int pipe_index; in find_shift_for_valid_cache_id_assignment() local
107 for (pipe_index = 0; pipe_index < pipe_count; pipe_index++) { in find_shift_for_valid_cache_id_assignment()
109 pipe_vp_startx[pipe_index], pipe_vp_endx[pipe_index], 0, 0)) { in find_shift_for_valid_cache_id_assignment()
344 int config_index, pipe_index; in dml2_top_mcache_build_mcache_programming() local
351 …for (pipe_index = 0; pipe_index < params->mcache_configurations[config_index].num_pipes; pipe_inde… in dml2_top_mcache_build_mcache_programming()
353 …params->per_plane_pipe_mcache_regs[config_index][pipe_index] = &params->mcache_regs_set[free_per_p… in dml2_top_mcache_build_mcache_programming()
355 reset_mcache_allocations(params->per_plane_pipe_mcache_regs[config_index][pipe_index]); in dml2_top_mcache_build_mcache_programming()
362 …params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_x_star… in dml2_top_mcache_build_mcache_programming()
363 …params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_x_star… in dml2_top_mcache_build_mcache_programming()
364 …params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_width … in dml2_top_mcache_build_mcache_programming()
[all …]
/linux/include/media/
H A Dvsp1.h42 int vsp1_du_setup_lif(struct device *dev, unsigned int pipe_index,
111 void vsp1_du_atomic_begin(struct device *dev, unsigned int pipe_index);
112 int vsp1_du_atomic_update(struct device *dev, unsigned int pipe_index,
115 void vsp1_du_atomic_flush(struct device *dev, unsigned int pipe_index,
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.h23 …internal_display_mode_lib *mode_lib, struct dml2_dchub_per_pipe_register_set *out, int pipe_index);
24 …core_internal_display_mode_lib *mode_lib, struct dml2_per_stream_programming *out, int pipe_index);
25 …core_internal_display_mode_lib *mode_lib, union dml2_global_sync_programming *out, int pipe_index);
30 …llocation(struct dml2_core_internal_display_mode_lib *mode_lib, unsigned int *out, int pipe_index);
H A Ddml2_core_shared.c11965 struct dml2_dchub_per_pipe_register_set *out, int pipe_index) in dml2_core_shared_get_pipe_regs() argument
11967 rq_dlg_get_rq_reg(&out->rq_regs, display_cfg, mode_lib, pipe_index); in dml2_core_shared_get_pipe_regs()
11968 …get_dlg_reg(&mode_lib->scratch, &out->dlg_regs, &out->ttu_regs, display_cfg, mode_lib, pipe_index); in dml2_core_shared_get_pipe_regs()
11969 …out->det_size = mode_lib->mp.DETBufferSizeInKByte[mode_lib->mp.pipe_plane[pipe_index]] / mode_lib-… in dml2_core_shared_get_pipe_regs()
11972 …_core_internal_display_mode_lib *mode_lib, struct dml2_per_stream_programming *out, int pipe_index) in dml2_core_shared_get_stream_programming() argument
11978 …ync.dcn4x.vready_offset_pixels = mode_lib->mp.VReadyOffsetPix[mode_lib->mp.pipe_plane[pipe_index]]; in dml2_core_shared_get_stream_programming()
11979 out->global_sync.dcn4x.vstartup_lines = mode_lib->mp.VStartup[mode_lib->mp.pipe_plane[pipe_index]]; in dml2_core_shared_get_stream_programming()
11980 …c.dcn4x.vupdate_offset_pixels = mode_lib->mp.VUpdateOffsetPix[mode_lib->mp.pipe_plane[pipe_index]]; in dml2_core_shared_get_stream_programming()
11981 …x.vupdate_vupdate_width_pixels = mode_lib->mp.VUpdateWidthPix[mode_lib->mp.pipe_plane[pipe_index]]; in dml2_core_shared_get_stream_programming()
12008 …allocation(struct dml2_core_internal_display_mode_lib *mode_lib, unsigned int *out, int pipe_index) in dml2_core_shared_get_mall_allocation() argument
[all …]
/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c781 static void set_audio_format(struct echoaudio *chip, u16 pipe_index, in set_audio_format() argument
849 "set_audio_format[%d] = %x\n", pipe_index, dsp_format); in set_audio_format()
850 chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format); in set_audio_format()
937 static inline int is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) in is_pipe_allocated() argument
939 return (chip->pipe_alloc_mask & (1 << pipe_index)); in is_pipe_allocated()
1055 int pipe_index, int interleave) in allocate_pipes() argument
1061 "allocate_pipes: ch=%d int=%d\n", pipe_index, interleave); in allocate_pipes()
1067 channel_mask |= 1 << (pipe_index + i); in allocate_pipes()
1074 chip->comm_page->position[pipe_index] = 0; in allocate_pipes()
1078 pipe->index = pipe_index; in allocate_pipes()
[all …]
H A Dechoaudio.c527 int pipe_index, int interleave) in init_engine() argument
547 err = allocate_pipes(chip, pipe, pipe_index, interleave); in init_engine()
551 pipe_index, err); in init_engine()
555 dev_dbg(chip->card->dev, "allocate_pipes()=%d\n", pipe_index); in init_engine()
600 chip->substream[pipe_index] = substream; in init_engine()
685 int pipe_index = ((struct audiopipe *)runtime->private_data)->index; in pcm_prepare() local
715 if (snd_BUG_ON(pipe_index >= px_num(chip))) in pcm_prepare()
725 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) { in pcm_prepare()
730 set_audio_format(chip, pipe_index, &format); in pcm_prepare()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_vsp.h64 unsigned int pipe_index);
76 unsigned int pipe_index) in rzg2l_du_vsp_get_drm_plane() argument
H A Drzg2l_du_vsp.c74 unsigned int pipe_index) in rzg2l_du_vsp_get_drm_plane() argument
82 if (vsp_plane->index == pipe_index) in rzg2l_du_vsp_get_drm_plane()
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_drm.c653 int vsp1_du_setup_lif(struct device *dev, unsigned int pipe_index, in vsp1_du_setup_lif() argument
663 if (pipe_index >= vsp1->info->lif_count) in vsp1_du_setup_lif()
666 drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_setup_lif()
731 __func__, pipe_index, cfg->width, cfg->height, in vsp1_du_setup_lif()
760 vsp1_write(vsp1, VI6_DISP_IRQ_STA(pipe_index), 0); in vsp1_du_setup_lif()
761 vsp1_write(vsp1, VI6_DISP_IRQ_ENB(pipe_index), 0); in vsp1_du_setup_lif()
788 void vsp1_du_atomic_begin(struct device *dev, unsigned int pipe_index) in vsp1_du_atomic_begin() argument
823 int vsp1_du_atomic_update(struct device *dev, unsigned int pipe_index, in vsp1_du_atomic_update() argument
828 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_atomic_update()
892 void vsp1_du_atomic_flush(struct device *dev, unsigned int pipe_index, in vsp1_du_atomic_flush() argument
[all …]
H A Dvsp1_video.h42 unsigned int pipe_index; member
H A Dvsp1_video.c242 pipe->buffers_ready |= 1 << video->pipe_index; in vsp1_video_frame_end()
472 rwpf->video->pipe_index = ++pipe->num_inputs; in vsp1_video_pipeline_build()
478 rwpf->video->pipe_index = 0; in vsp1_video_pipeline_build()
666 pipe->buffers_ready |= 1 << video->pipe_index; in vsp1_video_buffer_queue()
853 pipe->buffers_ready &= ~(1 << video->pipe_index); in vsp1_video_stop_streaming()
/linux/drivers/gpu/drm/
H A Ddrm_vblank.c1741 unsigned int pipe_index; in drm_wait_vblank_ioctl() local
1764 pipe_index = high_pipe >> _DRM_VBLANK_HIGH_CRTC_SHIFT; in drm_wait_vblank_ioctl()
1766 pipe_index = flags & _DRM_VBLANK_SECONDARY ? 1 : 0; in drm_wait_vblank_ioctl()
1773 if (pipe_index == 0) in drm_wait_vblank_ioctl()
1775 pipe_index--; in drm_wait_vblank_ioctl()
1780 pipe = pipe_index; in drm_wait_vblank_ioctl()
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_translation_helper.c1170 unsigned int pipe_index = 0; in dml2_populate_pipe_to_plane_index_mapping() local
1186 pipe_index = pipe->pipe_idx; in dml2_populate_pipe_to_plane_index_mapping()
1188 …if (pipe->stream && dml_to_dc_pipe_mapping->dml_pipe_idx_to_plane_index_valid[pipe_index] == false… in dml2_populate_pipe_to_plane_index_mapping()
1189 dml_to_dc_pipe_mapping->dml_pipe_idx_to_plane_index[pipe_index] = plane_index; in dml2_populate_pipe_to_plane_index_mapping()
1191 dml_to_dc_pipe_mapping->dml_pipe_idx_to_plane_index_valid[pipe_index] = true; in dml2_populate_pipe_to_plane_index_mapping()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c413 fams_pipe_data->pipe_index[pipe_idx++] = head_pipe->plane_res.hubp->inst; in dc_dmub_srv_populate_fams_pipe_info()
418 fams_pipe_data->pipe_index[pipe_idx++] = split_pipe->plane_res.hubp->inst; in dc_dmub_srv_populate_fams_pipe_info()
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h5027 uint8_t pipe_index[4]; member