Home
last modified time | relevance | path

Searched refs:is_capture (Results 1 – 11 of 11) sorted by relevance

/linux/sound/pci/lx6464es/
H A Dlx_core.h105 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture,
107 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture);
108 int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture,
110 int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate);
111 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture);
112 int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture);
113 int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture);
115 int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture);
116 int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture);
120 u32 pipe, int is_capture);
[all …]
H A Dlx_core.c412 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, in lx_pipe_allocate() argument
416 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_allocate()
432 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_release() argument
434 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_release()
444 int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_ask() argument
448 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_ask()
495 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_stop() argument
497 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_stop()
507 static int lx_pipe_toggle_state(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_toggle_state() argument
509 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_toggle_state()
[all …]
H A Dlx6464es.c101 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_open() local
106 err = lx_pipe_allocate(chip, 0, is_capture, channels); in lx_hardware_open()
127 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_start() local
130 err = lx_stream_set_format(chip, runtime, 0, is_capture); in lx_hardware_start()
137 err = lx_pipe_start(chip, 0, is_capture); in lx_hardware_start()
144 err = lx_pipe_wait_for_start(chip, 0, is_capture); in lx_hardware_start()
158 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_stop() local
161 err = lx_pipe_pause(chip, 0, is_capture); in lx_hardware_stop()
168 err = lx_pipe_wait_for_idle(chip, 0, is_capture); in lx_hardware_stop()
175 err = lx_pipe_stop(chip, 0, is_capture); in lx_hardware_stop()
[all …]
H A Dlx6464es.h47 unsigned int is_capture:1; member
/linux/sound/pci/pcxhr/
H A Dpcxhr_hwdep.c155 int is_capture, int pin) in pcxhr_dsp_allocate_pipe() argument
161 if (is_capture) { in pcxhr_dsp_allocate_pipe()
172 pin, is_capture ? 'c' : 'p'); in pcxhr_dsp_allocate_pipe()
173 pipe->is_capture = is_capture; in pcxhr_dsp_allocate_pipe()
177 pcxhr_set_pipe_cmd_params(&rmh, is_capture, pin, in pcxhr_dsp_allocate_pipe()
206 if (pipe->is_capture)
217 pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio,
H A Dpcxhr.c519 stream->pipe->is_capture ? 1 : 1<<stream->substream->number; in pcxhr_set_stream_state()
522 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, in pcxhr_set_stream_state()
547 int err, is_capture, sample_rate, stream_num; in pcxhr_set_format() local
590 is_capture = stream->pipe->is_capture; in pcxhr_set_format()
591 stream_num = is_capture ? 0 : stream->substream->number; in pcxhr_set_format()
593 pcxhr_init_rmh(&rmh, is_capture ? in pcxhr_set_format()
595 pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, in pcxhr_set_format()
597 if (is_capture) { in pcxhr_set_format()
610 if (!is_capture) { in pcxhr_set_format()
627 int err, is_capture, stream_num; in pcxhr_update_r_buffer() local
[all …]
H A Dpcxhr_mix22.h37 int is_capture,
H A Dpcxhr.h148 int is_capture; /* this is a capture pipe */ member
/linux/sound/drivers/vx/
H A Dvx_cmd.h208 static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, in vx_set_pipe_cmd_params() argument
211 if (is_capture) in vx_set_pipe_cmd_params()
226 static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, int is_capture, int pipe) in vx_set_stream_cmd_params() argument
228 if (is_capture) in vx_set_stream_cmd_params()
H A Dvx_pcm.c128 vx_init_rmh(&rmh, pipe->is_capture ? in vx_set_stream_format()
217 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_get_pipe_state()
242 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_query_hbuffer_size()
243 if (pipe->is_capture) in vx_query_hbuffer_size()
266 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_pipe_can_start()
286 if (pipe->is_capture) in vx_conf_pipe()
379 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_stop_pipe()
428 pipe->is_capture = capture; in vx_alloc_pipe()
448 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_free_pipe()
466 vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); in vx_start_stream()
[all …]
/linux/include/sound/
H A Dvx_core.h50 unsigned int is_capture: 1; member