Searched refs:samplerate (Results 1 – 4 of 4) sorted by relevance
270 unsigned int channels, unsigned int samplerate, in bcm2835_audio_set_params() argument276 .config.samplerate = samplerate, in bcm2835_audio_set_params()
36 u32 samplerate; member
100 unsigned int channels, unsigned int samplerate,
2059 unsigned int samplerate) in vc4_hdmi_audio_set_mai_clock() argument2071 rational_best_approximation(hsm_clock, samplerate, in vc4_hdmi_audio_set_mai_clock()2087 static void vc4_hdmi_set_n_cts(struct vc4_hdmi *vc4_hdmi, unsigned int samplerate) in vc4_hdmi_set_n_cts() argument2096 n = 128 * samplerate / 1000; in vc4_hdmi_set_n_cts()2098 do_div(tmp, 128 * samplerate); in vc4_hdmi_set_n_cts()2235 static int sample_rate_to_mai_fmt(int samplerate) in sample_rate_to_mai_fmt() argument2237 switch (samplerate) { in sample_rate_to_mai_fmt()