Home
last modified time | relevance | path

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

/openbmc/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,
/openbmc/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.c538 int pipe_index, int interleave) in init_engine() argument
558 err = allocate_pipes(chip, pipe, pipe_index, interleave); in init_engine()
562 pipe_index, err); in init_engine()
566 dev_dbg(chip->card->dev, "allocate_pipes()=%d\n", pipe_index); in init_engine()
611 chip->substream[pipe_index] = substream; in init_engine()
696 int pipe_index = ((struct audiopipe *)runtime->private_data)->index; in pcm_prepare() local
726 if (snd_BUG_ON(pipe_index >= px_num(chip))) in pcm_prepare()
736 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) { in pcm_prepare()
741 set_audio_format(chip, pipe_index, &format); in pcm_prepare()
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_drm.c644 int vsp1_du_setup_lif(struct device *dev, unsigned int pipe_index, in vsp1_du_setup_lif() argument
654 if (pipe_index >= vsp1->info->lif_count) in vsp1_du_setup_lif()
657 drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_setup_lif()
722 __func__, pipe_index, cfg->width, cfg->height, in vsp1_du_setup_lif()
749 vsp1_write(vsp1, VI6_DISP_IRQ_STA(pipe_index), 0); in vsp1_du_setup_lif()
750 vsp1_write(vsp1, VI6_DISP_IRQ_ENB(pipe_index), 0); in vsp1_du_setup_lif()
777 void vsp1_du_atomic_begin(struct device *dev, unsigned int pipe_index) in vsp1_du_atomic_begin() argument
812 int vsp1_du_atomic_update(struct device *dev, unsigned int pipe_index, in vsp1_du_atomic_update() argument
817 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_atomic_update()
881 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.c361 pipe->buffers_ready |= 1 << video->pipe_index; in vsp1_video_frame_end()
592 rwpf->video->pipe_index = ++pipe->num_inputs; in vsp1_video_pipeline_build()
598 rwpf->video->pipe_index = 0; in vsp1_video_pipeline_build()
778 pipe->buffers_ready |= 1 << video->pipe_index; in vsp1_video_buffer_queue()
917 pipe->buffers_ready &= ~(1 << video->pipe_index); in vsp1_video_stop_streaming()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_vblank.c1798 unsigned int pipe_index; in drm_wait_vblank_ioctl() local
1821 pipe_index = high_pipe >> _DRM_VBLANK_HIGH_CRTC_SHIFT; in drm_wait_vblank_ioctl()
1823 pipe_index = flags & _DRM_VBLANK_SECONDARY ? 1 : 0; in drm_wait_vblank_ioctl()
1830 if (pipe_index == 0) in drm_wait_vblank_ioctl()
1832 pipe_index--; in drm_wait_vblank_ioctl()
1837 pipe = pipe_index; in drm_wait_vblank_ioctl()
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_compat_css20.c459 int pipe_index = 0, i; in __create_stream() local
464 multi_pipes[pipe_index++] = stream_env->pipes[i]; in __create_stream()
466 if (pipe_index == 0) in __create_stream()
477 pipe_index, multi_pipes, &stream_env->stream) != 0) in __create_stream()
2329 int pipe_index = atomisp_get_pipe_index(asd); in atomisp_get_css_frame_info() local
2333 stream_index = (pipe_index == IA_CSS_PIPE_ID_YUVPP) ? in atomisp_get_css_frame_info()
2338 .pipes[pipe_index], &info)) { in atomisp_get_css_frame_info()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c307 fams_pipe_data->pipe_index[pipe_idx++] = head_pipe->plane_res.hubp->inst; in dc_dmub_srv_populate_fams_pipe_info()
312 fams_pipe_data->pipe_index[pipe_idx++] = split_pipe->plane_res.hubp->inst; in dc_dmub_srv_populate_fams_pipe_info()
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h3695 uint8_t pipe_index[4]; member