Home
last modified time | relevance | path

Searched refs:pcm_hw (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/staging/most/aim-sound/
Dsound.c484 static int audio_set_hw_params(struct snd_pcm_hardware *pcm_hw, in audio_set_hw_params() argument
488 pcm_hw->info = MOST_PCM_INFO; in audio_set_hw_params()
489 pcm_hw->rates = SNDRV_PCM_RATE_48000; in audio_set_hw_params()
490 pcm_hw->rate_min = 48000; in audio_set_hw_params()
491 pcm_hw->rate_max = 48000; in audio_set_hw_params()
492 pcm_hw->buffer_bytes_max = cfg->num_buffers * cfg->buffer_size; in audio_set_hw_params()
493 pcm_hw->period_bytes_min = cfg->buffer_size; in audio_set_hw_params()
494 pcm_hw->period_bytes_max = cfg->buffer_size; in audio_set_hw_params()
495 pcm_hw->periods_min = 1; in audio_set_hw_params()
496 pcm_hw->periods_max = cfg->num_buffers; in audio_set_hw_params()
[all …]
/linux-4.4.14/sound/drivers/
Ddummy.c136 struct snd_pcm_hardware pcm_hw; member
579 runtime->hw = dummy->pcm_hw; in dummy_pcm_open()
928 if (dummy->pcm_hw.formats & (1ULL << i)) in print_formats()
942 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_CONTINUOUS) in print_rates()
944 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_KNOT) in print_rates()
947 if (dummy->pcm_hw.rates & (1 << i)) in print_rates()
952 (unsigned int *)((char *)&((dummy)->pcm_hw) + (ofs))
954 (unsigned long long *)((char *)&((dummy)->pcm_hw) + (ofs))
1081 dummy->pcm_hw = dummy_pcm_hardware; in snd_dummy_probe()
1084 dummy->pcm_hw.formats = m->formats; in snd_dummy_probe()
[all …]
/linux-4.4.14/sound/usb/hiface/
Dpcm.c76 static const struct snd_pcm_hardware pcm_hw = { variable
366 alsa_rt->hw = pcm_hw; in hiface_pcm_open()
/linux-4.4.14/sound/usb/6fire/
Dpcm.c47 static const struct snd_pcm_hardware pcm_hw = { variable
400 alsa_rt->hw = pcm_hw; in usb6fire_pcm_open()