• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/

Lines Matching refs:hw

17  *   o Add hw rules to enforce rates, etc.
349 * Called by ALSA when a PCM substream is opened, the runtime->hw record is
404 runtime->hw.rate_min =
407 runtime->hw.rate_max =
410 runtime->hw.channels_min =
413 runtime->hw.channels_max =
416 runtime->hw.formats =
418 runtime->hw.rates =
422 runtime->hw.rates |= cpu_dai->playback.rates;
425 runtime->hw.rates |= codec_dai->playback.rates;
427 runtime->hw.rate_min =
430 runtime->hw.rate_max =
433 runtime->hw.channels_min =
436 runtime->hw.channels_max =
439 runtime->hw.formats =
441 runtime->hw.rates =
445 runtime->hw.rates |= cpu_dai->capture.rates;
448 runtime->hw.rates |= codec_dai->capture.rates;
452 if (!runtime->hw.rates) {
457 if (!runtime->hw.formats) {
462 if (!runtime->hw.channels_min || !runtime->hw.channels_max) {
476 pr_debug("asoc: rate mask 0x%x\n", runtime->hw.rates);
477 pr_debug("asoc: min ch %d max ch %d\n", runtime->hw.channels_min,
478 runtime->hw.channels_max);
479 pr_debug("asoc: min rate %d max rate %d\n", runtime->hw.rate_min,
480 runtime->hw.rate_max);
716 printk(KERN_ERR "asoc: can't set codec %s hw params\n",
725 printk(KERN_ERR "asoc: interface %s hw params failed\n",
734 printk(KERN_ERR "asoc: platform %s hw params failed\n",
782 /* free any machine hw params */
790 /* now free hw params for the DAI's */
1443 /* check client and interface hw capabilities */
1727 * @hw: the hardware parameters
1732 const struct snd_pcm_hardware *hw)
1735 runtime->hw.info = hw->info;
1736 runtime->hw.formats = hw->formats;
1737 runtime->hw.period_bytes_min = hw->period_bytes_min;
1738 runtime->hw.period_bytes_max = hw->period_bytes_max;
1739 runtime->hw.periods_min = hw->periods_min;
1740 runtime->hw.periods_max = hw->periods_max;
1741 runtime->hw.buffer_bytes_max = hw->buffer_bytes_max;
1742 runtime->hw.fifo_size = hw->fifo_size;