Lines Matching refs:pcm_count
347 unsigned int pcm_count) in snd_msnd_play_reset_queue() argument
353 chip->playLimit = pcm_count * (pcm_periods - 1); in snd_msnd_play_reset_queue()
358 chip->play_period_bytes = pcm_count; in snd_msnd_play_reset_queue()
361 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()
375 unsigned int pcm_count) in snd_msnd_capture_reset_queue() argument
384 chip->captureLimit = pcm_count * (pcm_periods - 1); in snd_msnd_capture_reset_queue()
398 chip->capturePeriodBytes = pcm_count; in snd_msnd_capture_reset_queue()
399 dev_dbg(chip->card->dev, "%s() %i\n", __func__, pcm_count); in snd_msnd_capture_reset_queue()
404 u32 tmp = pcm_count * n; in snd_msnd_capture_reset_queue()
407 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
511 unsigned int pcm_count = snd_pcm_lib_period_bytes(substream); in snd_msnd_playback_prepare() local
512 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_playback_prepare()
514 snd_msnd_play_reset_queue(chip, pcm_periods, pcm_count); in snd_msnd_playback_prepare()
592 unsigned int pcm_count = snd_pcm_lib_period_bytes(substream); in snd_msnd_capture_prepare() local
593 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_capture_prepare()
595 snd_msnd_capture_reset_queue(chip, pcm_periods, pcm_count); in snd_msnd_capture_prepare()