Lines Matching refs:pcm_count
357 unsigned int pcm_count) in snd_msnd_play_reset_queue() argument
363 chip->playLimit = pcm_count * (pcm_periods - 1); in snd_msnd_play_reset_queue()
368 chip->play_period_bytes = pcm_count; in snd_msnd_play_reset_queue()
371 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()
385 unsigned int pcm_count) in snd_msnd_capture_reset_queue() argument
394 chip->captureLimit = pcm_count * (pcm_periods - 1); in snd_msnd_capture_reset_queue()
408 chip->capturePeriodBytes = pcm_count; in snd_msnd_capture_reset_queue()
409 snd_printdd("snd_msnd_capture_reset_queue() %i\n", pcm_count); in snd_msnd_capture_reset_queue()
414 u32 tmp = pcm_count * n; in snd_msnd_capture_reset_queue()
417 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
521 unsigned int pcm_count = snd_pcm_lib_period_bytes(substream); in snd_msnd_playback_prepare() local
522 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_playback_prepare()
524 snd_msnd_play_reset_queue(chip, pcm_periods, pcm_count); in snd_msnd_playback_prepare()
602 unsigned int pcm_count = snd_pcm_lib_period_bytes(substream); in snd_msnd_capture_prepare() local
603 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_capture_prepare()
605 snd_msnd_capture_reset_queue(chip, pcm_periods, pcm_count); in snd_msnd_capture_prepare()