Searched refs:ratnum (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/sound/soc/adi/
H A Daxi-i2s.c51 struct snd_ratnum ratnum; member in struct:axi_i2s
224 i2s->ratnum.num = clk_get_rate(i2s->clk_ref) / 2 / AXI_I2S_BITS_PER_FRAME; axi_i2s_probe()
225 i2s->ratnum.den_step = 1; axi_i2s_probe()
226 i2s->ratnum.den_min = 1; axi_i2s_probe()
227 i2s->ratnum.den_max = 64; axi_i2s_probe()
229 i2s->rate_constraints.rats = &i2s->ratnum; axi_i2s_probe()
H A Daxi-spdif.c45 struct snd_ratnum ratnum; member in struct:axi_spdif
219 spdif->ratnum.num = clk_get_rate(spdif->clk_ref) / 128; axi_spdif_probe()
220 spdif->ratnum.den_step = 1; axi_spdif_probe()
221 spdif->ratnum.den_min = 1; axi_spdif_probe()
222 spdif->ratnum.den_max = 64; axi_spdif_probe()
224 spdif->rate_constraints.rats = &spdif->ratnum; axi_spdif_probe()

Completed in 114 milliseconds