Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/pci/lx6464es/
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 …]
Dlx_core.c420 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, in lx_pipe_allocate() argument
424 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_allocate()
441 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_release() argument
444 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_release()
457 int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_ask() argument
461 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_ask()
510 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_stop() argument
513 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_stop()
526 static int lx_pipe_toggle_state(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_toggle_state() argument
529 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_toggle_state()
[all …]
Dlx6464es.c103 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_open() local
108 err = lx_pipe_allocate(chip, 0, is_capture, channels); in lx_hardware_open()
129 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_start() local
132 err = lx_stream_set_format(chip, runtime, 0, is_capture); in lx_hardware_start()
139 err = lx_pipe_start(chip, 0, is_capture); in lx_hardware_start()
146 err = lx_pipe_wait_for_start(chip, 0, is_capture); in lx_hardware_start()
160 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_stop() local
163 err = lx_pipe_pause(chip, 0, is_capture); in lx_hardware_stop()
170 err = lx_pipe_wait_for_idle(chip, 0, is_capture); in lx_hardware_stop()
177 err = lx_pipe_stop(chip, 0, is_capture); in lx_hardware_stop()
[all …]
Dlx6464es.h47 unsigned int is_capture:1; member
/kernel/linux/linux-5.10/sound/pci/pcxhr/
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,
Dpcxhr_mixer.c40 int is_capture, int channel) in pcxhr_update_analog_audio_level() argument
46 if (is_capture) { in pcxhr_update_analog_audio_level()
65 chip->chip_idx, is_capture, err); in pcxhr_update_analog_audio_level()
130 int is_capture, i; in pcxhr_analog_vol_put() local
133 is_capture = (kcontrol->private_value != 0); in pcxhr_analog_vol_put()
136 int *stored_volume = is_capture ? in pcxhr_analog_vol_put()
139 if (is_capture) { in pcxhr_analog_vol_put()
165 is_capture, i); in pcxhr_analog_vol_put()
168 is_capture, i); in pcxhr_analog_vol_put()
353 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_get() local
[all …]
Dpcxhr.c517 stream->pipe->is_capture ? 1 : 1<<stream->substream->number; in pcxhr_set_stream_state()
520 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, in pcxhr_set_stream_state()
545 int err, is_capture, sample_rate, stream_num; in pcxhr_set_format() local
588 is_capture = stream->pipe->is_capture; in pcxhr_set_format()
589 stream_num = is_capture ? 0 : stream->substream->number; in pcxhr_set_format()
591 pcxhr_init_rmh(&rmh, is_capture ? in pcxhr_set_format()
593 pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, in pcxhr_set_format()
595 if (is_capture) { in pcxhr_set_format()
608 if (!is_capture) { in pcxhr_set_format()
625 int err, is_capture, stream_num; in pcxhr_update_r_buffer() local
[all …]
Dpcxhr_core.c1007 int is_capture) in pcxhr_handle_async_err() argument
1023 is_capture ? "Record" : "Play", pipe, err); in pcxhr_handle_async_err()
1075 int is_capture = prmh->stat[i] & 0x400000; in pcxhr_msg_thread() local
1081 is_capture ? "Record" : "Play", in pcxhr_msg_thread()
1089 pipe, is_capture); in pcxhr_msg_thread()
1098 is_capture); in pcxhr_msg_thread()
1108 is_capture); in pcxhr_msg_thread()
1122 stream_mask = stream->pipe->is_capture ? 1 : 1<<stream->substream->number; in pcxhr_stream_read_position()
1126 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, in pcxhr_stream_read_position()
1139 stream->pipe->is_capture ? 'C' : 'P', in pcxhr_stream_read_position()
Dpcxhr_mix22.h37 int is_capture,
Dpcxhr.h148 int is_capture; /* this is a capture pipe */ member
Dpcxhr_mix22.c534 int is_capture, int channel) in hr222_update_analog_audio_level() argument
538 is_capture ? "capture" : "playback", channel); in hr222_update_analog_audio_level()
539 if (is_capture) { in hr222_update_analog_audio_level()
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_mixer.c290 static int mixart_update_analog_audio_level(struct snd_mixart* chip, int is_capture) in mixart_update_analog_audio_level() argument
301 if(is_capture) { in mixart_update_analog_audio_level()
311 if(is_capture) request.uid = chip->uid_in_analog_physio; in mixart_update_analog_audio_level()
321 chip->chip_idx, is_capture, resp.error_code); in mixart_update_analog_audio_level()
363 int is_capture, i; in mixart_analog_vol_put() local
366 is_capture = (kcontrol->private_value != 0); in mixart_analog_vol_put()
369 int *stored_volume = is_capture ? in mixart_analog_vol_put()
372 if (is_capture) { in mixart_analog_vol_put()
387 mixart_update_analog_audio_level(chip, is_capture); in mixart_analog_vol_put()
826 int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; in mixart_pcm_vol_get() local
[all …]
Dmixart_core.c453 …unsigned int is_capture = ((buffer_id & MIXART_NOTIFY_CAPT_MASK) != 0); /* playback == 0 / c… in snd_mixart_threaded_irq() local
465 if (is_capture) in snd_mixart_threaded_irq()
/kernel/linux/linux-5.10/sound/drivers/vx/
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()
Dvx_pcm.c128 vx_init_rmh(&rmh, pipe->is_capture ? in vx_set_stream_format()
215 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_get_pipe_state()
240 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_query_hbuffer_size()
241 if (pipe->is_capture) in vx_query_hbuffer_size()
264 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_pipe_can_start()
284 if (pipe->is_capture) in vx_conf_pipe()
375 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_stop_pipe()
424 pipe->is_capture = capture; in vx_alloc_pipe()
444 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_free_pipe()
462 vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); in vx_start_stream()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dvx_core.h50 unsigned int is_capture: 1; member