capt 385 sound/drivers/aloop.c struct loopback_pcm *capt, capt 390 sound/drivers/aloop.c char *dst = capt->substream->runtime->dma_area; capt 392 sound/drivers/aloop.c unsigned int dst_off = capt->buf_pos; capt 416 sound/drivers/aloop.c if (dst_off + size > capt->pcm_buffer_size) capt 417 sound/drivers/aloop.c size = capt->pcm_buffer_size - dst_off; capt 419 sound/drivers/aloop.c capt->silent_size = 0; capt 424 sound/drivers/aloop.c dst_off = (dst_off + size) % capt->pcm_buffer_size; capt 428 sound/drivers/aloop.c clear_capture_buf(capt, clear_bytes); capt 429 sound/drivers/aloop.c capt->silent_size = 0; capt 1665 sound/pci/cs46xx/cs46xx.h } capt; capt 886 sound/pci/cs46xx/cs46xx_lib.c chip->capt.hw_buf.area + rec->hw_data, bytes); capt 892 sound/pci/cs46xx/cs46xx_lib.c return snd_pcm_indirect_capture_transfer(substream, &chip->capt.pcm_rec, capt 934 sound/pci/cs46xx/cs46xx_lib.c size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; capt 935 sound/pci/cs46xx/cs46xx_lib.c return ptr >> chip->capt.shift; capt 941 sound/pci/cs46xx/cs46xx_lib.c size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; capt 942 sound/pci/cs46xx/cs46xx_lib.c return snd_pcm_indirect_capture_pointer(substream, &chip->capt.pcm_rec, ptr); capt 1023 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CCTL, chip->capt.ctl | tmp); capt 1286 sound/pci/cs46xx/cs46xx_lib.c if (runtime->dma_area != chip->capt.hw_buf.area) capt 1288 sound/pci/cs46xx/cs46xx_lib.c runtime->dma_area = chip->capt.hw_buf.area; capt 1289 sound/pci/cs46xx/cs46xx_lib.c runtime->dma_addr = chip->capt.hw_buf.addr; capt 1290 sound/pci/cs46xx/cs46xx_lib.c runtime->dma_bytes = chip->capt.hw_buf.bytes; capt 1293 sound/pci/cs46xx/cs46xx_lib.c if (runtime->dma_area == chip->capt.hw_buf.area) { capt 1311 sound/pci/cs46xx/cs46xx_lib.c if (runtime->dma_area != chip->capt.hw_buf.area) capt 1325 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CBA, chip->capt.hw_buf.addr); capt 1326 sound/pci/cs46xx/cs46xx_lib.c chip->capt.shift = 2; capt 1327 sound/pci/cs46xx/cs46xx_lib.c memset(&chip->capt.pcm_rec, 0, sizeof(chip->capt.pcm_rec)); capt 1328 sound/pci/cs46xx/cs46xx_lib.c chip->capt.pcm_rec.sw_buffer_size = snd_pcm_lib_buffer_bytes(substream); capt 1329 sound/pci/cs46xx/cs46xx_lib.c chip->capt.pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << 2; capt 1362 sound/pci/cs46xx/cs46xx_lib.c if (chip->capt.substream) capt 1363 sound/pci/cs46xx/cs46xx_lib.c snd_pcm_period_elapsed(chip->capt.substream); capt 1392 sound/pci/cs46xx/cs46xx_lib.c if (chip->capt.substream) capt 1393 sound/pci/cs46xx/cs46xx_lib.c snd_pcm_period_elapsed(chip->capt.substream); capt 1586 sound/pci/cs46xx/cs46xx_lib.c PAGE_SIZE, &chip->capt.hw_buf) < 0) capt 1588 sound/pci/cs46xx/cs46xx_lib.c chip->capt.substream = substream; capt 1637 sound/pci/cs46xx/cs46xx_lib.c chip->capt.substream = NULL; capt 1638 sound/pci/cs46xx/cs46xx_lib.c snd_dma_free_pages(&chip->capt.hw_buf); capt 3283 sound/pci/cs46xx/cs46xx_lib.c chip->capt.ctl = tmp & 0x0000ffff; capt 3834 sound/pci/cs46xx/cs46xx_lib.c chip->capt.ctl = tmp & 0x0000ffff; capt 1128 sound/pci/ice1712/ice1724.c int capt, err; capt 1132 sound/pci/ice1712/ice1724.c capt = 0; capt 1134 sound/pci/ice1712/ice1724.c capt = 1; capt 1135 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, "ICE1724", device, 1, capt, &pcm); capt 1140 sound/pci/ice1712/ice1724.c if (capt) capt 1309 sound/pci/ice1712/ice1724.c int play, capt; capt 1320 sound/pci/ice1712/ice1724.c capt = 1; capt 1323 sound/pci/ice1712/ice1724.c capt = 0; capt 1324 sound/pci/ice1712/ice1724.c if (!play && !capt) capt 1331 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, name, device, play, capt, &pcm); capt 1338 sound/pci/ice1712/ice1724.c if (capt)