/sound/pci/lx6464es/ |
D | lx_core.h | 120 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, 122 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture); 123 int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, 125 int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate); 126 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture); 127 int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture); 128 int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture); 130 int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture); 131 int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture); 135 u32 pipe, int is_capture); [all …]
|
D | lx_core.c | 527 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, in lx_pipe_allocate() argument 533 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_allocate() 550 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_release() argument 555 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_release() 568 int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_ask() argument 574 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_ask() 623 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_stop() argument 628 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_stop() 641 static int lx_pipe_toggle_state(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_toggle_state() argument 646 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_toggle_state() [all …]
|
D | lx6464es.c | 111 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_open() local 116 err = lx_pipe_allocate(chip, 0, is_capture, channels); in lx_hardware_open() 137 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_start() local 140 err = lx_stream_set_format(chip, runtime, 0, is_capture); in lx_hardware_start() 147 err = lx_pipe_start(chip, 0, is_capture); in lx_hardware_start() 154 err = lx_pipe_wait_for_start(chip, 0, is_capture); in lx_hardware_start() 168 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_stop() local 171 err = lx_pipe_pause(chip, 0, is_capture); in lx_hardware_stop() 178 err = lx_pipe_wait_for_idle(chip, 0, is_capture); in lx_hardware_stop() 185 err = lx_pipe_stop(chip, 0, is_capture); in lx_hardware_stop() [all …]
|
D | lx6464es.h | 63 unsigned int is_capture:1; member
|
/sound/pci/pcxhr/ |
D | pcxhr_hwdep.c | 166 int is_capture, int pin) in pcxhr_dsp_allocate_pipe() argument 172 if (is_capture) { in pcxhr_dsp_allocate_pipe() 183 pin, is_capture ? 'c' : 'p'); in pcxhr_dsp_allocate_pipe() 184 pipe->is_capture = is_capture; in pcxhr_dsp_allocate_pipe() 188 pcxhr_set_pipe_cmd_params(&rmh, is_capture, pin, in pcxhr_dsp_allocate_pipe() 217 if (pipe->is_capture) 228 pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio,
|
D | pcxhr_mixer.c | 53 int is_capture, int channel) in pcxhr_update_analog_audio_level() argument 59 if (is_capture) { in pcxhr_update_analog_audio_level() 77 chip->chip_idx, is_capture, err); in pcxhr_update_analog_audio_level() 142 int is_capture, i; in pcxhr_analog_vol_put() local 145 is_capture = (kcontrol->private_value != 0); in pcxhr_analog_vol_put() 148 int *stored_volume = is_capture ? in pcxhr_analog_vol_put() 151 if (is_capture) { in pcxhr_analog_vol_put() 177 is_capture, i); in pcxhr_analog_vol_put() 180 is_capture, i); in pcxhr_analog_vol_put() 364 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_get() local [all …]
|
D | pcxhr.c | 530 stream->pipe->is_capture ? 1 : 1<<stream->substream->number; in pcxhr_set_stream_state() 533 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, in pcxhr_set_stream_state() 558 int err, is_capture, sample_rate, stream_num; in pcxhr_set_format() local 601 is_capture = stream->pipe->is_capture; in pcxhr_set_format() 602 stream_num = is_capture ? 0 : stream->substream->number; in pcxhr_set_format() 604 pcxhr_init_rmh(&rmh, is_capture ? in pcxhr_set_format() 606 pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, in pcxhr_set_format() 608 if (is_capture) { in pcxhr_set_format() 621 if (!is_capture) { in pcxhr_set_format() 637 int err, is_capture, stream_num; in pcxhr_update_r_buffer() local [all …]
|
D | pcxhr_core.c | 1013 int is_capture) in pcxhr_handle_async_err() argument 1029 is_capture ? "Record" : "Play", pipe, err); in pcxhr_handle_async_err() 1078 int is_capture = prmh->stat[i] & 0x400000; in pcxhr_msg_tasklet() local 1083 is_capture ? "Record" : "Play", in pcxhr_msg_tasklet() 1091 pipe, is_capture); in pcxhr_msg_tasklet() 1100 is_capture); in pcxhr_msg_tasklet() 1110 is_capture); in pcxhr_msg_tasklet() 1124 stream_mask = stream->pipe->is_capture ? 1 : 1<<stream->substream->number; in pcxhr_stream_read_position() 1128 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, in pcxhr_stream_read_position() 1140 stream->pipe->is_capture ? 'C' : 'P', in pcxhr_stream_read_position()
|
D | pcxhr_mix22.h | 50 int is_capture,
|
D | pcxhr_mix22.c | 543 int is_capture, int channel) in hr222_update_analog_audio_level() argument 546 is_capture ? "capture" : "playback", channel); in hr222_update_analog_audio_level() 547 if (is_capture) { in hr222_update_analog_audio_level()
|
D | pcxhr.h | 166 int is_capture; /* this is a capture pipe */ member
|
/sound/pci/mixart/ |
D | mixart_mixer.c | 303 static int mixart_update_analog_audio_level(struct snd_mixart* chip, int is_capture) in mixart_update_analog_audio_level() argument 314 if(is_capture) { in mixart_update_analog_audio_level() 324 if(is_capture) request.uid = chip->uid_in_analog_physio; in mixart_update_analog_audio_level() 332 …O_SET_LEVEL card(%d) is_capture(%d) error_code(%x)\n", chip->chip_idx, is_capture, resp.error_code… in mixart_update_analog_audio_level() 374 int is_capture, i; in mixart_analog_vol_put() local 377 is_capture = (kcontrol->private_value != 0); in mixart_analog_vol_put() 380 int *stored_volume = is_capture ? in mixart_analog_vol_put() 383 if (is_capture) { in mixart_analog_vol_put() 398 mixart_update_analog_audio_level(chip, is_capture); in mixart_analog_vol_put() 833 int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; in mixart_pcm_vol_get() local [all …]
|
D | mixart_core.c | 469 …unsigned int is_capture = ((buffer_id & MIXART_NOTIFY_CAPT_MASK) != 0); /* playback == 0 / c… in snd_mixart_interrupt() local 480 if (is_capture) in snd_mixart_interrupt()
|
/sound/drivers/vx/ |
D | vx_cmd.h | 221 static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, in vx_set_pipe_cmd_params() argument 224 if (is_capture) in vx_set_pipe_cmd_params() 239 static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, int is_capture, int pipe) in vx_set_stream_cmd_params() argument 241 if (is_capture) in vx_set_stream_cmd_params()
|
D | vx_pcm.c | 144 vx_init_rmh(&rmh, pipe->is_capture ? in vx_set_stream_format() 231 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_get_pipe_state() 256 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_query_hbuffer_size() 257 if (pipe->is_capture) in vx_query_hbuffer_size() 280 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_pipe_can_start() 300 if (pipe->is_capture) in vx_conf_pipe() 391 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_stop_pipe() 440 pipe->is_capture = capture; in vx_alloc_pipe() 460 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_free_pipe() 478 vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); in vx_start_stream() [all …]
|