/linux-master/sound/pci/lx6464es/ |
H A D | lx_core.h | 105 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); 129 lx_stream_start(struct lx6464es *chip, u32 pipe, int is_capture) argument 136 lx_stream_pause(struct lx6464es *chip, u32 pipe, int is_capture) argument 143 lx_stream_stop(struct lx6464es *chip, u32 pipe, int is_capture) argument [all...] |
H A D | lx_core.c | 420 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, argument 424 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); 441 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) argument 444 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); 457 int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, argument 461 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); 509 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) argument 512 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); 525 static int lx_pipe_toggle_state(struct lx6464es *chip, u32 pipe, int is_capture) argument 528 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pip 542 lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture) argument 555 lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture) argument 569 lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, u64 *rsample_count) argument 596 lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate) argument 617 lx_pipe_wait_for_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 state) argument 640 lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture) argument 645 lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture) argument 651 lx_stream_set_state(struct lx6464es *chip, u32 pipe, int is_capture, enum stream_state_t state) argument 669 lx_stream_set_format(struct lx6464es *chip, struct snd_pcm_runtime *runtime, u32 pipe, int is_capture) argument 697 lx_stream_state(struct lx6464es *chip, u32 pipe, int is_capture, int *rstate) argument 716 lx_stream_sample_position(struct lx6464es *chip, u32 pipe, int is_capture, u64 *r_bytepos) argument 738 lx_buffer_give(struct lx6464es *chip, u32 pipe, int is_capture, u32 buffer_size, u32 buf_address_lo, u32 buf_address_hi, u32 *r_buffer_index) argument 786 lx_buffer_free(struct lx6464es *chip, u32 pipe, int is_capture, u32 *r_buffer_size) argument 808 lx_buffer_cancel(struct lx6464es *chip, u32 pipe, int is_capture, u32 buffer_index) argument 832 lx_level_unmute(struct lx6464es *chip, int is_capture, int unmute) argument 875 lx_level_peaks(struct lx6464es *chip, int is_capture, int channels, u32 *r_levels) argument 1015 const unsigned int is_capture = lx_stream->is_capture; local [all...] |
H A D | lx6464es.c | 101 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local 106 err = lx_pipe_allocate(chip, 0, is_capture, channels); 127 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local 130 err = lx_stream_set_format(chip, runtime, 0, is_capture); 137 err = lx_pipe_start(chip, 0, is_capture); 144 err = lx_pipe_wait_for_start(chip, 0, is_capture); 158 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local 161 err = lx_pipe_pause(chip, 0, is_capture); 168 err = lx_pipe_wait_for_idle(chip, 0, is_capture); 175 err = lx_pipe_stop(chip, 0, is_capture); 189 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local 271 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local 290 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local 339 lx_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params, int is_capture) argument 373 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local 409 const unsigned int is_capture = lx_stream->is_capture; local 457 const unsigned int is_capture = lx_stream->is_capture; local 518 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local [all...] |
H A D | lx6464es.h | 47 unsigned int is_capture:1; member in struct:lx_stream
|
/linux-master/sound/drivers/vx/ |
H A D | vx_cmd.h | 204 * @is_capture: 0 = playback, 1 = capture operation 208 static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, argument 211 if (is_capture) 223 * @is_capture: 0 = playback, 1 = capture operation 226 static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, int is_capture, int pipe) argument 228 if (is_capture)
|
H A D | vx_pcm.c | 128 vx_init_rmh(&rmh, pipe->is_capture ? 215 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); 240 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); 241 if (pipe->is_capture) 264 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); 284 if (pipe->is_capture) 377 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); 426 pipe->is_capture = capture; 446 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); 464 vx_set_stream_cmd_params(&rmh, pipe->is_capture, pip [all...] |
/linux-master/sound/pci/pcxhr/ |
H A D | pcxhr_mix22.h | 37 int is_capture,
|
H A D | pcxhr_hwdep.c | 155 int is_capture, int pin) 161 if (is_capture) { 172 pin, is_capture ? 'c' : 'p'); 173 pipe->is_capture = is_capture; 177 pcxhr_set_pipe_cmd_params(&rmh, is_capture, pin, 206 if (pipe->is_capture) 217 pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio, 153 pcxhr_dsp_allocate_pipe(struct pcxhr_mgr *mgr, struct pcxhr_pipe *pipe, int is_capture, int pin) argument
|
H A D | pcxhr_mixer.c | 40 int is_capture, int channel) 46 if (is_capture) { 64 " is_capture(%d) err(%x)\n", 65 chip->chip_idx, is_capture, err); 130 int is_capture, i; local 133 is_capture = (kcontrol->private_value != 0); 136 int *stored_volume = is_capture ? 139 if (is_capture) { 165 is_capture, i); 168 is_capture, 39 pcxhr_update_analog_audio_level(struct snd_pcxhr *chip, int is_capture, int channel) argument 353 int is_capture = kcontrol->private_value; local 372 int is_capture = kcontrol->private_value; local [all...] |
H A D | pcxhr.c | 516 stream->pipe->is_capture ? 1 : 1<<stream->substream->number; 519 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, 544 int err, is_capture, sample_rate, stream_num; local 587 is_capture = stream->pipe->is_capture; 588 stream_num = is_capture ? 0 : stream->substream->number; 590 pcxhr_init_rmh(&rmh, is_capture ? 592 pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, 594 if (is_capture) { 607 if (!is_capture) { 624 int err, is_capture, stream_num; local [all...] |
H A D | pcxhr.h | 148 int is_capture; /* this is a capture pipe */ member in struct:pcxhr_pipe
|
H A D | pcxhr_core.c | 1007 int is_capture) 1023 is_capture ? "Record" : "Play", pipe, err); 1075 int is_capture = prmh->stat[i] & 0x400000; local 1081 is_capture ? "Record" : "Play", 1089 pipe, is_capture); 1098 is_capture); 1108 is_capture); 1122 stream_mask = stream->pipe->is_capture ? 1 : 1<<stream->substream->number; 1126 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, 1139 stream->pipe->is_capture 1005 pcxhr_handle_async_err(struct pcxhr_mgr *mgr, u32 err, enum pcxhr_async_err_src err_src, int pipe, int is_capture) argument [all...] |
H A D | pcxhr_mix22.c | 534 int is_capture, int channel) 538 is_capture ? "capture" : "playback", channel); 539 if (is_capture) { 533 hr222_update_analog_audio_level(struct snd_pcxhr *chip, int is_capture, int channel) argument
|
/linux-master/sound/pci/mixart/ |
H A D | mixart_mixer.c | 290 static int mixart_update_analog_audio_level(struct snd_mixart* chip, int is_capture) argument 301 if(is_capture) { 311 if(is_capture) request.uid = chip->uid_in_analog_physio; 320 "error MSG_PHYSICALIO_SET_LEVEL card(%d) is_capture(%d) error_code(%x)\n", 321 chip->chip_idx, is_capture, resp.error_code); 363 int is_capture, i; local 366 is_capture = (kcontrol->private_value != 0); 369 int *stored_volume = is_capture ? 372 if (is_capture) { 387 mixart_update_analog_audio_level(chip, is_capture); 826 int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; local 848 int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; local [all...] |
H A D | mixart_core.c | 454 unsigned int is_capture = ((buffer_id & MIXART_NOTIFY_CAPT_MASK) != 0); /* playback == 0 / capture == 1 */ local 466 if (is_capture)
|
/linux-master/include/sound/ |
H A D | vx_core.h | 50 unsigned int is_capture: 1; member in struct:vx_pipe
|