Searched refs:block_size (Results 1 – 9 of 9) sorted by relevance
/sound/atmel/ |
D | ac97c.c | 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() [all …]
|
/sound/oss/dmasound/ |
D | dmasound_core.c | 482 sq->block_size = sq->bufSize; in sq_setup() 492 sq->block_size = sq->user_frag_size ; in sq_setup() 493 sq->block_size *= in sq_setup() 495 sq->block_size /= in sq_setup() 498 sq->block_size *= dmasound.hard.speed ; in sq_setup() 499 sq->block_size /= dmasound.soft.speed ; in sq_setup() 503 sq->block_size += (hard_frame - 1) ; in sq_setup() 504 sq->block_size &= ~(hard_frame - 1) ; /* make sure we are aligned */ in sq_setup() 506 if ( sq->block_size <= 0 || sq->block_size > sq->bufSize) { in sq_setup() 510 sq->block_size = sq->bufSize ; in sq_setup() [all …]
|
D | dmasound_paula.c | 472 : write_sq.block_size)>>1; in AmiPlayNextFrame() 543 write_sq.rear_size < write_sq.block_size && !write_sq.syncing) { in AmiPlay() 648 write_sq_block_size_half = write_sq.block_size>>1; in AmiWriteSqSetup()
|
D | dmasound.h | 217 int block_size; /* internal block size in bytes */ member
|
D | dmasound_q40.c | 412 size = (write_sq.count == index ? write_sq.rear_size : write_sq.block_size); in Q40PlayNextFrame() 448 if (write_sq.count <= 1 && write_sq.rear_size < write_sq.block_size && !write_sq.syncing) { in Q40Play()
|
D | dmasound_atari.c | 1178 : write_sq.block_size); in AtaPlayNextFrame() 1218 write_sq.rear_size < write_sq.block_size && in AtaPlay() 1233 write_sq.rear_size < write_sq.block_size && in AtaPlay() 1248 write_sq.rear_size < write_sq.block_size && in AtaPlay()
|
/sound/isa/gus/ |
D | gus_pcm.c | 42 unsigned int block_size; member 123 curr = begin + (pcmp->bpos * pcmp->block_size) / runtime->channels; in snd_gf1_pcm_trigger_up() 124 end = curr + (pcmp->block_size / runtime->channels); in snd_gf1_pcm_trigger_up() 214 end = pcmp->memory + (((pcmp->bpos + 1) * pcmp->block_size) / runtime->channels); in snd_gf1_pcm_interrupt_wave() 245 end = pcmp->bpos * pcmp->block_size; in snd_gf1_pcm_interrupt_wave() 247 snd_gf1_pcm_block_change(pcmp->substream, end, pcmp->memory + (end / 2), pcmp->block_size / 2); in snd_gf1_pcm_interrupt_wave() 248 …ange(pcmp->substream, end + (pcmp->block_size / 2), pcmp->memory + (pcmp->dma_size / 2) + (end / 2… in snd_gf1_pcm_interrupt_wave() 250 snd_gf1_pcm_block_change(pcmp->substream, end, pcmp->memory + end, pcmp->block_size); in snd_gf1_pcm_interrupt_wave() 496 pcmp->block_size = snd_pcm_lib_period_bytes(substream); in snd_gf1_pcm_playback_prepare() 497 pcmp->blocks = pcmp->dma_size / pcmp->block_size; in snd_gf1_pcm_playback_prepare()
|
/sound/spi/ |
D | at73c213.c | 254 int block_size; in snd_at73c213_pcm_prepare() local 256 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_pcm_prepare() 265 (long)runtime->dma_addr + block_size); in snd_at73c213_pcm_prepare() 357 int block_size; in snd_at73c213_interrupt() local 363 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_interrupt() 374 offset = block_size * next_period; in snd_at73c213_interrupt()
|
/sound/soc/intel/skylake/ |
D | skl-topology.c | 2630 struct skl_module_cfg *mconfig, int block_size) in skl_tplg_get_tokens() argument 2638 if (block_size <= 0) in skl_tplg_get_tokens() 2641 while (tuple_size < block_size) { in skl_tplg_get_tokens() 2907 int num_blocks, block_size, block_type, off = 0; in skl_tplg_get_pvt_data() local 2945 block_size = ret; in skl_tplg_get_pvt_data() 2955 skl, mconfig, block_size); in skl_tplg_get_pvt_data() 3492 int block_size) in skl_tplg_get_manifest_tkn() argument 3500 if (block_size <= 0) in skl_tplg_get_manifest_tkn() 3503 while (tuple_size < block_size) { in skl_tplg_get_manifest_tkn() 3564 int num_blocks, block_size = 0, block_type, off = 0; in skl_tplg_get_manifest_data() local [all …]
|