Lines Matching refs:capture
138 return &chip->capture;
196 * prepare playback/capture stream
353 * capture
359 return snd_pmac_pcm_prepare(chip, &chip->capture, subs);
366 return snd_pmac_pcm_trigger(chip, &chip->capture, subs, cmd);
372 return snd_pmac_pcm_pointer(chip, &chip->capture, subs);
377 * update playback/capture pointer from interrupts
553 return snd_pmac_pcm_open(chip, &chip->capture, subs);
567 return snd_pmac_pcm_close(chip, &chip->capture, subs);
621 chip->capture.cur_formats = chip->formats_ok;
623 chip->capture.cur_freqs = chip->freqs_ok;
638 out_le32(&chip->capture.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16);
639 snd_pmac_wait_ack(&chip->capture);
688 snd_pmac_pcm_update(chip, &chip->capture);
755 snd_pmac_dbdma_free(chip, &chip->capture.cmd);
765 if (chip->capture.dma)
766 iounmap(chip->capture.dma);
918 chip->can_capture = 0; /* no capture */
925 chip->can_capture = 0; /* no capture */
1111 chip->capture.stream = SNDRV_PCM_STREAM_CAPTURE;
1117 snd_pmac_dbdma_alloc(chip, &chip->capture.cmd, PMAC_MAX_FRAGS + 1) < 0 ||
1185 chip->capture.dma = ioremap(rxdma_addr, 0x100);