Searched refs:pcm_hw (Results 1 – 7 of 7) sorted by relevance
151 const char *path, struct snd_pcm_hardware *pcm_hw) in cfg_hw_rates() argument180 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() argument203 pcm_hw->formats = formats; in cfg_formats()241 struct snd_pcm_hardware *pcm_hw) in cfg_read_pcm_hw() argument250 *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 …]
22 struct snd_pcm_hardware pcm_hw; member28 struct snd_pcm_hardware pcm_hw; member38 struct snd_pcm_hardware pcm_hw; member
32 struct snd_pcm_hardware pcm_hw; member45 struct snd_pcm_hardware pcm_hw; member55 struct snd_pcm_hardware pcm_hw; member353 runtime->hw = stream->pcm_hw; in alsa_open()683 pcm_instance_info->pcm_hw = instance_cfg->pcm_hw; in new_pcm_instance()711 pcm_instance_info->streams_pb[i].pcm_hw = in new_pcm_instance()712 instance_cfg->streams_pb[i].pcm_hw; in new_pcm_instance()718 pcm_instance_info->streams_cap[i].pcm_hw = in new_pcm_instance()719 instance_cfg->streams_cap[i].pcm_hw; in new_pcm_instance()779 card_info->pcm_hw = cfg->pcm_hw; in xen_snd_front_alsa_init()
500 static int audio_set_hw_params(struct snd_pcm_hardware *pcm_hw, in audio_set_hw_params() argument524 pcm_hw->info = MOST_PCM_INFO; in audio_set_hw_params()525 pcm_hw->rates = SNDRV_PCM_RATE_48000; in audio_set_hw_params()526 pcm_hw->rate_min = 48000; in audio_set_hw_params()527 pcm_hw->rate_max = 48000; in audio_set_hw_params()528 pcm_hw->buffer_bytes_max = cfg->num_buffers * cfg->buffer_size; in audio_set_hw_params()529 pcm_hw->period_bytes_min = cfg->buffer_size; in audio_set_hw_params()530 pcm_hw->period_bytes_max = cfg->buffer_size; in audio_set_hw_params()531 pcm_hw->periods_min = 1; in audio_set_hw_params()532 pcm_hw->periods_max = cfg->num_buffers; in audio_set_hw_params()[all …]
136 struct snd_pcm_hardware pcm_hw; member576 runtime->hw = dummy->pcm_hw; in dummy_pcm_open()933 if (dummy->pcm_hw.formats & (1ULL << i)) in print_formats()947 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_CONTINUOUS) in print_rates()949 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_KNOT) in print_rates()952 if (dummy->pcm_hw.rates & (1 << i)) in print_rates()957 (unsigned int *)((char *)&((dummy)->pcm_hw) + (ofs))959 (unsigned long long *)((char *)&((dummy)->pcm_hw) + (ofs))1086 dummy->pcm_hw = dummy_pcm_hardware; in snd_dummy_probe()1089 dummy->pcm_hw.formats = m->formats; in snd_dummy_probe()[all …]
76 static const struct snd_pcm_hardware pcm_hw = { variable366 alsa_rt->hw = pcm_hw; in hiface_pcm_open()
47 static const struct snd_pcm_hardware pcm_hw = { variable400 alsa_rt->hw = pcm_hw; in usb6fire_pcm_open()