Home
last modified time | relevance | path

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

/openbmc/linux/sound/virtio/
H A Dvirtio_pcm.c67 static const struct virtsnd_v2a_rate g_v2a_rate_map[] = { variable
153 for (i = 0; i < ARRAY_SIZE(g_v2a_rate_map); ++i) in virtsnd_pcm_build_hw()
156 vss->hw.rate_min > g_v2a_rate_map[i].rate) in virtsnd_pcm_build_hw()
157 vss->hw.rate_min = g_v2a_rate_map[i].rate; in virtsnd_pcm_build_hw()
159 if (vss->hw.rate_max < g_v2a_rate_map[i].rate) in virtsnd_pcm_build_hw()
160 vss->hw.rate_max = g_v2a_rate_map[i].rate; in virtsnd_pcm_build_hw()
162 vss->hw.rates |= g_v2a_rate_map[i].alsa_bit; in virtsnd_pcm_build_hw()