Home
last modified time | relevance | path

Searched refs:fragsize (Results 1 – 6 of 6) sorted by relevance

/sound/pci/
A Dintel8x0m.c146 unsigned int fragsize; member
373 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0m_setup_periods()
375 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0m_setup_periods()
387 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0m_setup_periods()
389 bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf + (((idx >> 1) * ichdev->fragsize) % ichdev->size)); in snd_intel8x0m_setup_periods()
391 ichdev->fragsize >> chip->pcm_pos_shift); in snd_intel8x0m_setup_periods()
397 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0m_setup_periods()
407 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0m_setup_periods()
564 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0m_pcm_prepare()
A Dvia82xx.c320 unsigned int fragsize; member
410 unsigned int periods, unsigned int fragsize) in build_via_table() argument
438 rest = fragsize; in build_via_table()
476 dev->bufsize = periods * fragsize; in build_via_table()
478 dev->fragsize = fragsize; in build_via_table()
646 viadev->hwptr_done += viadev->fragsize; in snd_via686_interrupt()
695 viadev->hwptr_done += viadev->fragsize; in snd_via8233_interrupt()
798 if ((unsigned int)delta > viadev->fragsize) in calc_linear_pos()
901 res += viadev->fragsize; in snd_via8233_pcm_pointer()
A Dintel8x0.c316 unsigned int fragsize; member
643 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0_setup_periods()
645 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0_setup_periods()
657 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0_setup_periods()
660 (((idx >> 1) * ichdev->fragsize) % in snd_intel8x0_setup_periods()
663 ichdev->fragsize >> ichdev->pos_shift); in snd_intel8x0_setup_periods()
669 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0_setup_periods()
679 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0_setup_periods()
977 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0_pcm_prepare()
2654 ichdev->size = ichdev->fragsize = INTEL8X0_TESTBUF_SIZE; in intel8x0_measure_ac97_clock()
A Dvia82xx_modem.c265 unsigned int periods, unsigned int fragsize) in build_via_table() argument
293 rest = fragsize; in build_via_table()
333 dev->bufsize = periods * fragsize; in build_via_table()
/sound/oss/dmasound/
A Ddmasound_core.c1125 info.fragsize = write_sq.user_frag_size; in sq_ioctl()
1126 info.bytes = info.fragments * info.fragsize; in sq_ioctl()
/sound/core/oss/
A Dpcm_oss.c2271 info.fragsize = runtime->oss.period_bytes; in snd_pcm_oss_get_space()
2305 info.bytes, info.fragments, info.fragstotal, info.fragsize); in snd_pcm_oss_get_space()

Completed in 35 milliseconds