Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/xen/
A Dxen_snd_front_cfg.c180 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 …]
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
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
368 runtime->hw = stream->pcm_hw; in alsa_open()
733 pcm_instance_info->pcm_hw = instance_cfg->pcm_hw; in new_pcm_instance()
761 pcm_instance_info->streams_pb[i].pcm_hw = in new_pcm_instance()
762 instance_cfg->streams_pb[i].pcm_hw; in new_pcm_instance()
768 pcm_instance_info->streams_cap[i].pcm_hw = in new_pcm_instance()
769 instance_cfg->streams_cap[i].pcm_hw; in new_pcm_instance()
829 card_info->pcm_hw = cfg->pcm_hw; in xen_snd_front_alsa_init()
/linux-6.3-rc2/drivers/most/
A Dmost_snd.c472 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 …]
/linux-6.3-rc2/sound/drivers/
A Ddummy.c129 struct snd_pcm_hardware pcm_hw; member
561 runtime->hw = dummy->pcm_hw; in dummy_pcm_open()
930 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_KNOT) in print_rates()
933 if (dummy->pcm_hw.rates & (1 << i)) in print_rates()
1061 dummy->pcm_hw = dummy_pcm_hardware; in snd_dummy_probe()
1064 dummy->pcm_hw.formats = m->formats; in snd_dummy_probe()
1072 dummy->pcm_hw.periods_min = m->periods_min; in snd_dummy_probe()
1074 dummy->pcm_hw.periods_max = m->periods_max; in snd_dummy_probe()
1076 dummy->pcm_hw.rates = m->rates; in snd_dummy_probe()
1078 dummy->pcm_hw.rate_min = m->rate_min; in snd_dummy_probe()
[all …]
/linux-6.3-rc2/sound/usb/hiface/
A Dpcm.c72 static const struct snd_pcm_hardware pcm_hw = { variable
360 alsa_rt->hw = pcm_hw; in hiface_pcm_open()
/linux-6.3-rc2/sound/usb/6fire/
A Dpcm.c43 static const struct snd_pcm_hardware pcm_hw = { variable
396 alsa_rt->hw = pcm_hw; in usb6fire_pcm_open()

Completed in 14 milliseconds