Lines Matching refs:block_size
190 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare() local
261 writel(block_size / 2, chip->regs + ATMEL_PDC_TCR); in atmel_ac97c_playback_prepare()
262 writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_TNPR); in atmel_ac97c_playback_prepare()
263 writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR); in atmel_ac97c_playback_prepare()
272 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare() local
343 writel(block_size / 2, chip->regs + ATMEL_PDC_RCR); in atmel_ac97c_capture_prepare()
344 writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_RNPR); in atmel_ac97c_capture_prepare()
345 writel(block_size / 2, chip->regs + ATMEL_PDC_RNCR); in atmel_ac97c_capture_prepare()
476 int offset, next_period, block_size; in atmel_ac97c_interrupt() local
486 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
495 offset = block_size * next_period; in atmel_ac97c_interrupt()
498 writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR); in atmel_ac97c_interrupt()
504 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
513 offset = block_size * next_period; in atmel_ac97c_interrupt()
516 writel(block_size / 2, chip->regs + ATMEL_PDC_RNCR); in atmel_ac97c_interrupt()