Searched refs:pcm_hw (Results 1 – 7 of 7) sorted by relevance
180 pcm_hw->rates = rates; in cfg_hw_rates()203 pcm_hw->formats = formats; in cfg_formats()250 *pcm_hw = *parent_pcm_hw; in cfg_read_pcm_hw()279 if (pcm_hw->channels_min > pcm_hw->channels_max) in cfg_read_pcm_hw()280 pcm_hw->channels_min = pcm_hw->channels_max; in cfg_read_pcm_hw()282 if (pcm_hw->rate_min > pcm_hw->rate_max) in cfg_read_pcm_hw()283 pcm_hw->rate_min = pcm_hw->rate_max; in cfg_read_pcm_hw()285 pcm_hw->period_bytes_max = pcm_hw->buffer_bytes_max; in cfg_read_pcm_hw()287 pcm_hw->periods_max = pcm_hw->period_bytes_max / in cfg_read_pcm_hw()288 pcm_hw->period_bytes_min; in cfg_read_pcm_hw()[all …]
22 struct snd_pcm_hardware pcm_hw; member28 struct snd_pcm_hardware pcm_hw; member38 struct snd_pcm_hardware pcm_hw; member
39 struct snd_pcm_hardware pcm_hw; member52 struct snd_pcm_hardware pcm_hw; member62 struct snd_pcm_hardware pcm_hw; member363 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()
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()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()481 pcm_hw->channels_min = ch_num; in audio_set_hw_params()482 pcm_hw->channels_max = ch_num; in audio_set_hw_params()[all …]
129 struct snd_pcm_hardware pcm_hw; member560 runtime->hw = dummy->pcm_hw; in dummy_pcm_open()921 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_KNOT) in print_rates()924 if (dummy->pcm_hw.rates & (1 << i)) in print_rates()1051 dummy->pcm_hw = dummy_pcm_hardware; in snd_dummy_probe()1054 dummy->pcm_hw.formats = m->formats; in snd_dummy_probe()1062 dummy->pcm_hw.periods_min = m->periods_min; in snd_dummy_probe()1064 dummy->pcm_hw.periods_max = m->periods_max; in snd_dummy_probe()1066 dummy->pcm_hw.rates = m->rates; in snd_dummy_probe()1068 dummy->pcm_hw.rate_min = m->rate_min; in snd_dummy_probe()[all …]
72 static const struct snd_pcm_hardware pcm_hw = { variable360 alsa_rt->hw = pcm_hw; in hiface_pcm_open()
43 static const struct snd_pcm_hardware pcm_hw = { variable396 alsa_rt->hw = pcm_hw; in usb6fire_pcm_open()