Home
last modified time | relevance | path

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

/linux/sound/xen/
H A Dxen_snd_front_cfg.c151 const char *path, struct snd_pcm_hardware *pcm_hw) in cfg_hw_rates() argument
180 pcm_hw->rates = rates; in cfg_hw_rates()
181 pcm_hw->rate_min = rate_min; in cfg_hw_rates()
182 pcm_hw->rate_max = rate_max; in cfg_hw_rates()
187 const char *path, struct snd_pcm_hardware *pcm_hw) in cfg_formats() argument
203 pcm_hw->formats = formats; in cfg_formats()
241 struct snd_pcm_hardware *pcm_hw) in cfg_read_pcm_hw() argument
250 *pcm_hw = *parent_pcm_hw; in cfg_read_pcm_hw()
252 *pcm_hw = SND_DRV_PCM_HW_DEFAULT; in cfg_read_pcm_hw()
256 pcm_hw->channels_min = val; in cfg_read_pcm_hw()
[all …]
H A Dxen_snd_front_cfg.h22 struct snd_pcm_hardware pcm_hw; member
28 struct snd_pcm_hardware pcm_hw; member
38 struct snd_pcm_hardware pcm_hw; member
H A Dxen_snd_front_alsa.c39 struct snd_pcm_hardware pcm_hw; member
52 struct snd_pcm_hardware pcm_hw; member
62 struct snd_pcm_hardware pcm_hw; member
363 runtime->hw = stream->pcm_hw; in alsa_open()
694 pcm_instance_info->pcm_hw = instance_cfg->pcm_hw; in new_pcm_instance()
722 pcm_instance_info->streams_pb[i].pcm_hw = in new_pcm_instance()
723 instance_cfg->streams_pb[i].pcm_hw; in new_pcm_instance()
729 pcm_instance_info->streams_cap[i].pcm_hw = in new_pcm_instance()
730 instance_cfg->streams_cap[i].pcm_hw; in new_pcm_instance()
790 card_info->pcm_hw = cfg->pcm_hw; in xen_snd_front_alsa_init()
/linux/drivers/most/
H A Dmost_snd.c448 static int audio_set_hw_params(struct snd_pcm_hardware *pcm_hw, in audio_set_hw_params() argument
472 pcm_hw->info = MOST_PCM_INFO; in audio_set_hw_params()
473 pcm_hw->rates = SNDRV_PCM_RATE_48000; in audio_set_hw_params()
474 pcm_hw->rate_min = 48000; in audio_set_hw_params()
475 pcm_hw->rate_max = 48000; in audio_set_hw_params()
476 pcm_hw->buffer_bytes_max = cfg->num_buffers * cfg->buffer_size; in audio_set_hw_params()
477 pcm_hw->period_bytes_min = cfg->buffer_size; in audio_set_hw_params()
478 pcm_hw->period_bytes_max = cfg->buffer_size; in audio_set_hw_params()
479 pcm_hw->periods_min = 1; in audio_set_hw_params()
480 pcm_hw->periods_max = cfg->num_buffers; in audio_set_hw_params()
[all …]