is_capture 50 include/sound/vx_core.h unsigned int is_capture: 1; is_capture 208 sound/drivers/vx/vx_cmd.h static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, is_capture 211 sound/drivers/vx/vx_cmd.h if (is_capture) is_capture 226 sound/drivers/vx/vx_cmd.h static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, int is_capture, int pipe) is_capture 228 sound/drivers/vx/vx_cmd.h if (is_capture) is_capture 129 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, pipe->is_capture ? is_capture 216 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); is_capture 241 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); is_capture 242 sound/drivers/vx/vx_pcm.c if (pipe->is_capture) is_capture 265 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); is_capture 285 sound/drivers/vx/vx_pcm.c if (pipe->is_capture) is_capture 376 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); is_capture 425 sound/drivers/vx/vx_pcm.c pipe->is_capture = capture; is_capture 445 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); is_capture 463 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); is_capture 479 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); is_capture 656 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); is_capture 727 sound/drivers/vx/vx_pcm.c if (! pipe->is_capture) is_capture 808 sound/drivers/vx/vx_pcm.c if (data_mode != pipe->data_mode && ! pipe->is_capture) { is_capture 103 sound/pci/lx6464es/lx6464es.c int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 108 sound/pci/lx6464es/lx6464es.c err = lx_pipe_allocate(chip, 0, is_capture, channels); is_capture 129 sound/pci/lx6464es/lx6464es.c int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 132 sound/pci/lx6464es/lx6464es.c err = lx_stream_set_format(chip, runtime, 0, is_capture); is_capture 139 sound/pci/lx6464es/lx6464es.c err = lx_pipe_start(chip, 0, is_capture); is_capture 146 sound/pci/lx6464es/lx6464es.c err = lx_pipe_wait_for_start(chip, 0, is_capture); is_capture 160 sound/pci/lx6464es/lx6464es.c int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 163 sound/pci/lx6464es/lx6464es.c err = lx_pipe_pause(chip, 0, is_capture); is_capture 170 sound/pci/lx6464es/lx6464es.c err = lx_pipe_wait_for_idle(chip, 0, is_capture); is_capture 177 sound/pci/lx6464es/lx6464es.c err = lx_pipe_stop(chip, 0, is_capture); is_capture 191 sound/pci/lx6464es/lx6464es.c int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 194 sound/pci/lx6464es/lx6464es.c err = lx_pipe_release(chip, 0, is_capture); is_capture 273 sound/pci/lx6464es/lx6464es.c int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 275 sound/pci/lx6464es/lx6464es.c struct lx_stream *lx_stream = is_capture ? &chip->capture_stream : is_capture 292 sound/pci/lx6464es/lx6464es.c const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 298 sound/pci/lx6464es/lx6464es.c if (chip->hardware_running[is_capture]) { is_capture 329 sound/pci/lx6464es/lx6464es.c chip->hardware_running[is_capture] = 1; is_capture 342 sound/pci/lx6464es/lx6464es.c struct snd_pcm_hw_params *hw_params, int is_capture) is_capture 355 sound/pci/lx6464es/lx6464es.c if (is_capture) is_capture 380 sound/pci/lx6464es/lx6464es.c int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 385 sound/pci/lx6464es/lx6464es.c if (chip->hardware_running[is_capture]) { is_capture 400 sound/pci/lx6464es/lx6464es.c chip->hardware_running[is_capture] = 0; is_capture 405 sound/pci/lx6464es/lx6464es.c if (is_capture) is_capture 418 sound/pci/lx6464es/lx6464es.c const unsigned int is_capture = lx_stream->is_capture; is_capture 437 sound/pci/lx6464es/lx6464es.c err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, is_capture 442 sound/pci/lx6464es/lx6464es.c err = lx_buffer_give(chip, 0, is_capture, period_bytes, is_capture 451 sound/pci/lx6464es/lx6464es.c err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, size_array); is_capture 455 sound/pci/lx6464es/lx6464es.c err = lx_stream_start(chip, 0, is_capture); is_capture 466 sound/pci/lx6464es/lx6464es.c const unsigned int is_capture = lx_stream->is_capture; is_capture 470 sound/pci/lx6464es/lx6464es.c err = lx_stream_stop(chip, 0, is_capture); is_capture 527 sound/pci/lx6464es/lx6464es.c const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 528 sound/pci/lx6464es/lx6464es.c struct lx_stream *stream = is_capture ? &chip->capture_stream : is_capture 853 sound/pci/lx6464es/lx6464es.c chip->capture_stream.is_capture = 1; is_capture 47 sound/pci/lx6464es/lx6464es.h unsigned int is_capture:1; is_capture 420 sound/pci/lx6464es/lx_core.c int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 424 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 441 sound/pci/lx6464es/lx_core.c int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) is_capture 444 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 457 sound/pci/lx6464es/lx_core.c int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 461 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 510 sound/pci/lx6464es/lx_core.c int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) is_capture 513 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 526 sound/pci/lx6464es/lx_core.c static int lx_pipe_toggle_state(struct lx6464es *chip, u32 pipe, int is_capture) is_capture 529 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 543 sound/pci/lx6464es/lx_core.c int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture) is_capture 547 sound/pci/lx6464es/lx_core.c err = lx_pipe_wait_for_idle(chip, pipe, is_capture); is_capture 551 sound/pci/lx6464es/lx_core.c err = lx_pipe_toggle_state(chip, pipe, is_capture); is_capture 556 sound/pci/lx6464es/lx_core.c int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture) is_capture 560 sound/pci/lx6464es/lx_core.c err = lx_pipe_wait_for_start(chip, pipe, is_capture); is_capture 564 sound/pci/lx6464es/lx_core.c err = lx_pipe_toggle_state(chip, pipe, is_capture); is_capture 570 sound/pci/lx6464es/lx_core.c int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 574 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 597 sound/pci/lx6464es/lx_core.c int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate) is_capture 600 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 619 sound/pci/lx6464es/lx_core.c int is_capture, u16 state) is_capture 627 sound/pci/lx6464es/lx_core.c int err = lx_pipe_state(chip, pipe, is_capture, ¤t_state); is_capture 641 sound/pci/lx6464es/lx_core.c int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture) is_capture 643 sound/pci/lx6464es/lx_core.c return lx_pipe_wait_for_state(chip, pipe, is_capture, PSTATE_RUN); is_capture 646 sound/pci/lx6464es/lx_core.c int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture) is_capture 648 sound/pci/lx6464es/lx_core.c return lx_pipe_wait_for_state(chip, pipe, is_capture, PSTATE_IDLE); is_capture 653 sound/pci/lx6464es/lx_core.c int is_capture, enum stream_state_t state) is_capture 656 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 671 sound/pci/lx6464es/lx_core.c u32 pipe, int is_capture) is_capture 674 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 702 sound/pci/lx6464es/lx_core.c int lx_stream_state(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 706 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 721 sound/pci/lx6464es/lx_core.c int lx_stream_sample_position(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 725 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 743 sound/pci/lx6464es/lx_core.c int lx_buffer_give(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 748 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 791 sound/pci/lx6464es/lx_core.c int lx_buffer_free(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 795 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 813 sound/pci/lx6464es/lx_core.c int lx_buffer_cancel(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 817 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); is_capture 837 sound/pci/lx6464es/lx_core.c int lx_level_unmute(struct lx6464es *chip, int is_capture, int unmute) is_capture 846 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= PIPE_INFO_TO_CMD(is_capture, 0); is_capture 880 sound/pci/lx6464es/lx_core.c int lx_level_peaks(struct lx6464es *chip, int is_capture, int channels, is_capture 891 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= PIPE_INFO_TO_CMD(is_capture, i); is_capture 1020 sound/pci/lx6464es/lx_core.c const unsigned int is_capture = lx_stream->is_capture; is_capture 1043 sound/pci/lx6464es/lx_core.c err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, size_array); is_capture 1048 sound/pci/lx6464es/lx_core.c err = lx_buffer_give(chip, 0, is_capture, period_bytes, buf_lo, buf_hi, is_capture 105 sound/pci/lx6464es/lx_core.h int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 107 sound/pci/lx6464es/lx_core.h int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture); is_capture 108 sound/pci/lx6464es/lx_core.h int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 110 sound/pci/lx6464es/lx_core.h int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate); is_capture 111 sound/pci/lx6464es/lx_core.h int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture); is_capture 112 sound/pci/lx6464es/lx_core.h int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture); is_capture 113 sound/pci/lx6464es/lx_core.h int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture); is_capture 115 sound/pci/lx6464es/lx_core.h int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture); is_capture 116 sound/pci/lx6464es/lx_core.h int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture); is_capture 120 sound/pci/lx6464es/lx_core.h u32 pipe, int is_capture); is_capture 121 sound/pci/lx6464es/lx_core.h int lx_stream_state(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 123 sound/pci/lx6464es/lx_core.h int lx_stream_sample_position(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 127 sound/pci/lx6464es/lx_core.h int is_capture, enum stream_state_t state); is_capture 130 sound/pci/lx6464es/lx_core.h int is_capture) is_capture 133 sound/pci/lx6464es/lx_core.h return lx_stream_set_state(chip, pipe, is_capture, SSTATE_RUN); is_capture 137 sound/pci/lx6464es/lx_core.h int is_capture) is_capture 140 sound/pci/lx6464es/lx_core.h return lx_stream_set_state(chip, pipe, is_capture, SSTATE_PAUSE); is_capture 144 sound/pci/lx6464es/lx_core.h int is_capture) is_capture 147 sound/pci/lx6464es/lx_core.h return lx_stream_set_state(chip, pipe, is_capture, SSTATE_STOP); is_capture 151 sound/pci/lx6464es/lx_core.h int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 153 sound/pci/lx6464es/lx_core.h int lx_buffer_give(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 156 sound/pci/lx6464es/lx_core.h int lx_buffer_free(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 158 sound/pci/lx6464es/lx_core.h int lx_buffer_cancel(struct lx6464es *chip, u32 pipe, int is_capture, is_capture 162 sound/pci/lx6464es/lx_core.h int lx_level_unmute(struct lx6464es *chip, int is_capture, int unmute); is_capture 163 sound/pci/lx6464es/lx_core.h int lx_level_peaks(struct lx6464es *chip, int is_capture, int channels, is_capture 454 sound/pci/mixart/mixart_core.c unsigned int is_capture = ((buffer_id & MIXART_NOTIFY_CAPT_MASK) != 0); /* playback == 0 / capture == 1 */ is_capture 466 sound/pci/mixart/mixart_core.c if (is_capture) is_capture 290 sound/pci/mixart/mixart_mixer.c static int mixart_update_analog_audio_level(struct snd_mixart* chip, int is_capture) is_capture 301 sound/pci/mixart/mixart_mixer.c if(is_capture) { is_capture 311 sound/pci/mixart/mixart_mixer.c if(is_capture) request.uid = chip->uid_in_analog_physio; is_capture 321 sound/pci/mixart/mixart_mixer.c chip->chip_idx, is_capture, resp.error_code); is_capture 363 sound/pci/mixart/mixart_mixer.c int is_capture, i; is_capture 366 sound/pci/mixart/mixart_mixer.c is_capture = (kcontrol->private_value != 0); is_capture 369 sound/pci/mixart/mixart_mixer.c int *stored_volume = is_capture ? is_capture 372 sound/pci/mixart/mixart_mixer.c if (is_capture) { is_capture 387 sound/pci/mixart/mixart_mixer.c mixart_update_analog_audio_level(chip, is_capture); is_capture 826 sound/pci/mixart/mixart_mixer.c int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; is_capture 829 sound/pci/mixart/mixart_mixer.c if(is_capture) { is_capture 848 sound/pci/mixart/mixart_mixer.c int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; is_capture 853 sound/pci/mixart/mixart_mixer.c if (is_capture) { is_capture 876 sound/pci/mixart/mixart_mixer.c if (is_capture) is_capture 517 sound/pci/pcxhr/pcxhr.c stream->pipe->is_capture ? 1 : 1<<stream->substream->number; is_capture 520 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, is_capture 545 sound/pci/pcxhr/pcxhr.c int err, is_capture, sample_rate, stream_num; is_capture 588 sound/pci/pcxhr/pcxhr.c is_capture = stream->pipe->is_capture; is_capture 589 sound/pci/pcxhr/pcxhr.c stream_num = is_capture ? 0 : stream->substream->number; is_capture 591 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, is_capture ? is_capture 593 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, is_capture 595 sound/pci/pcxhr/pcxhr.c if (is_capture) { is_capture 608 sound/pci/pcxhr/pcxhr.c if (!is_capture) { is_capture 625 sound/pci/pcxhr/pcxhr.c int err, is_capture, stream_num; is_capture 630 sound/pci/pcxhr/pcxhr.c is_capture = (subs->stream == SNDRV_PCM_STREAM_CAPTURE); is_capture 631 sound/pci/pcxhr/pcxhr.c stream_num = is_capture ? 0 : subs->number; is_capture 635 sound/pci/pcxhr/pcxhr.c is_capture ? 'c' : 'p', is_capture 640 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, is_capture 670 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, 0, 0, is_capture 847 sound/pci/pcxhr/pcxhr.c stream->pipe->is_capture ? 'C' : 'P', is_capture 148 sound/pci/pcxhr/pcxhr.h int is_capture; /* this is a capture pipe */ is_capture 1007 sound/pci/pcxhr/pcxhr_core.c int is_capture) is_capture 1023 sound/pci/pcxhr/pcxhr_core.c is_capture ? "Record" : "Play", pipe, err); is_capture 1075 sound/pci/pcxhr/pcxhr_core.c int is_capture = prmh->stat[i] & 0x400000; is_capture 1081 sound/pci/pcxhr/pcxhr_core.c is_capture ? "Record" : "Play", is_capture 1089 sound/pci/pcxhr/pcxhr_core.c pipe, is_capture); is_capture 1098 sound/pci/pcxhr/pcxhr_core.c is_capture); is_capture 1108 sound/pci/pcxhr/pcxhr_core.c is_capture); is_capture 1122 sound/pci/pcxhr/pcxhr_core.c stream_mask = stream->pipe->is_capture ? 1 : 1<<stream->substream->number; is_capture 1126 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, is_capture 1139 sound/pci/pcxhr/pcxhr_core.c stream->pipe->is_capture ? 'C' : 'P', is_capture 155 sound/pci/pcxhr/pcxhr_hwdep.c int is_capture, int pin) is_capture 161 sound/pci/pcxhr/pcxhr_hwdep.c if (is_capture) { is_capture 172 sound/pci/pcxhr/pcxhr_hwdep.c pin, is_capture ? 'c' : 'p'); is_capture 173 sound/pci/pcxhr/pcxhr_hwdep.c pipe->is_capture = is_capture; is_capture 177 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, pin, is_capture 206 sound/pci/pcxhr/pcxhr_hwdep.c if (pipe->is_capture) is_capture 217 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio, is_capture 534 sound/pci/pcxhr/pcxhr_mix22.c int is_capture, int channel) is_capture 538 sound/pci/pcxhr/pcxhr_mix22.c is_capture ? "capture" : "playback", channel); is_capture 539 sound/pci/pcxhr/pcxhr_mix22.c if (is_capture) { is_capture 37 sound/pci/pcxhr/pcxhr_mix22.h int is_capture, is_capture 40 sound/pci/pcxhr/pcxhr_mixer.c int is_capture, int channel) is_capture 46 sound/pci/pcxhr/pcxhr_mixer.c if (is_capture) { is_capture 65 sound/pci/pcxhr/pcxhr_mixer.c chip->chip_idx, is_capture, err); is_capture 130 sound/pci/pcxhr/pcxhr_mixer.c int is_capture, i; is_capture 133 sound/pci/pcxhr/pcxhr_mixer.c is_capture = (kcontrol->private_value != 0); is_capture 136 sound/pci/pcxhr/pcxhr_mixer.c int *stored_volume = is_capture ? is_capture 139 sound/pci/pcxhr/pcxhr_mixer.c if (is_capture) { is_capture 165 sound/pci/pcxhr/pcxhr_mixer.c is_capture, i); is_capture 168 sound/pci/pcxhr/pcxhr_mixer.c is_capture, i); is_capture 353 sound/pci/pcxhr/pcxhr_mixer.c int is_capture = kcontrol->private_value; is_capture 356 sound/pci/pcxhr/pcxhr_mixer.c if (is_capture) /* digital capture */ is_capture 372 sound/pci/pcxhr/pcxhr_mixer.c int is_capture = kcontrol->private_value; is_capture 377 sound/pci/pcxhr/pcxhr_mixer.c if (is_capture) /* digital capture */ is_capture 389 sound/pci/pcxhr/pcxhr_mixer.c if (is_capture) /* update capture volume */ is_capture 393 sound/pci/pcxhr/pcxhr_mixer.c if (!is_capture && changed) /* update playback volume */