Lines Matching full:block_size
189 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare() local
260 writel(block_size / 2, chip->regs + ATMEL_PDC_TCR); in atmel_ac97c_playback_prepare()
261 writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_TNPR); in atmel_ac97c_playback_prepare()
262 writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR); in atmel_ac97c_playback_prepare()
271 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare() local
342 writel(block_size / 2, chip->regs + ATMEL_PDC_RCR); in atmel_ac97c_capture_prepare()
343 writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_RNPR); in atmel_ac97c_capture_prepare()
344 writel(block_size / 2, chip->regs + ATMEL_PDC_RNCR); in atmel_ac97c_capture_prepare()
475 int offset, next_period, block_size; in atmel_ac97c_interrupt() local
485 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
494 offset = block_size * next_period; in atmel_ac97c_interrupt()
497 writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR); in atmel_ac97c_interrupt()
503 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
512 offset = block_size * next_period; in atmel_ac97c_interrupt()
515 writel(block_size / 2, chip->regs + ATMEL_PDC_RNCR); in atmel_ac97c_interrupt()