Home
last modified time | relevance | path

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

/Linux-v5.4/include/media/
Dvsp1.h42 int vsp1_du_setup_lif(struct device *dev, unsigned int pipe_index,
109 void vsp1_du_atomic_begin(struct device *dev, unsigned int pipe_index);
110 int vsp1_du_atomic_update(struct device *dev, unsigned int pipe_index,
113 void vsp1_du_atomic_flush(struct device *dev, unsigned int pipe_index,
/Linux-v5.4/sound/pci/echoaudio/
Dechoaudio_dsp.c783 static void set_audio_format(struct echoaudio *chip, u16 pipe_index, in set_audio_format() argument
851 "set_audio_format[%d] = %x\n", pipe_index, dsp_format); in set_audio_format()
852 chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format); in set_audio_format()
939 static inline int is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) in is_pipe_allocated() argument
941 return (chip->pipe_alloc_mask & (1 << pipe_index)); in is_pipe_allocated()
1057 int pipe_index, int interleave) in allocate_pipes() argument
1063 "allocate_pipes: ch=%d int=%d\n", pipe_index, interleave); in allocate_pipes()
1069 channel_mask |= 1 << (pipe_index + i); in allocate_pipes()
1076 chip->comm_page->position[pipe_index] = 0; in allocate_pipes()
1080 pipe->index = pipe_index; in allocate_pipes()
[all …]
Dechoaudio.c516 int pipe_index, int interleave) in init_engine() argument
536 err = allocate_pipes(chip, pipe, pipe_index, interleave); in init_engine()
540 pipe_index, err); in init_engine()
544 dev_dbg(chip->card->dev, "allocate_pipes()=%d\n", pipe_index); in init_engine()
595 chip->last_period[pipe_index] = 0; in init_engine()
599 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()
717 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) in pcm_prepare()
719 set_audio_format(chip, pipe_index, &format); in pcm_prepare()
/Linux-v5.4/drivers/media/platform/vsp1/
Dvsp1_drm.c639 int vsp1_du_setup_lif(struct device *dev, unsigned int pipe_index, in vsp1_du_setup_lif() argument
649 if (pipe_index >= vsp1->info->lif_count) in vsp1_du_setup_lif()
652 drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_setup_lif()
714 __func__, pipe_index, cfg->width, cfg->height, in vsp1_du_setup_lif()
741 vsp1_write(vsp1, VI6_DISP_IRQ_STA(pipe_index), 0); in vsp1_du_setup_lif()
742 vsp1_write(vsp1, VI6_DISP_IRQ_ENB(pipe_index), 0); in vsp1_du_setup_lif()
769 void vsp1_du_atomic_begin(struct device *dev, unsigned int pipe_index) in vsp1_du_atomic_begin() argument
804 int vsp1_du_atomic_update(struct device *dev, unsigned int pipe_index, in vsp1_du_atomic_update() argument
809 struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; in vsp1_du_atomic_update()
871 void vsp1_du_atomic_flush(struct device *dev, unsigned int pipe_index, in vsp1_du_atomic_flush() argument
[all …]
Dvsp1_video.h42 unsigned int pipe_index; member
Dvsp1_video.c360 pipe->buffers_ready |= 1 << video->pipe_index; in vsp1_video_frame_end()
591 rwpf->video->pipe_index = ++pipe->num_inputs; in vsp1_video_pipeline_build()
597 rwpf->video->pipe_index = 0; in vsp1_video_pipeline_build()
777 pipe->buffers_ready |= 1 << video->pipe_index; in vsp1_video_buffer_queue()
916 pipe->buffers_ready &= ~(1 << video->pipe_index); in vsp1_video_stop_streaming()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_vblank.c1580 unsigned int pipe_index; in drm_wait_vblank_ioctl() local
1602 pipe_index = high_pipe >> _DRM_VBLANK_HIGH_CRTC_SHIFT; in drm_wait_vblank_ioctl()
1604 pipe_index = flags & _DRM_VBLANK_SECONDARY ? 1 : 0; in drm_wait_vblank_ioctl()
1611 if (pipe_index == 0) in drm_wait_vblank_ioctl()
1613 pipe_index--; in drm_wait_vblank_ioctl()
1618 pipe = pipe_index; in drm_wait_vblank_ioctl()