Lines Matching refs:req_Hz
502 unsigned long req_Hz[ADG_HZ_SIZE]; in rsnd_adg_get_clkout() local
534 req_Hz[ADG_HZ_48] = 0; in rsnd_adg_get_clkout()
535 req_Hz[ADG_HZ_441] = 0; in rsnd_adg_get_clkout()
538 req_Hz[ADG_HZ_441] = req_rate[i]; in rsnd_adg_get_clkout()
540 req_Hz[ADG_HZ_48] = req_rate[i]; in rsnd_adg_get_clkout()
584 rate = (clk_get_rate(clk) / req_Hz[ADG_HZ_441]) * req_Hz[ADG_HZ_441]; in rsnd_adg_get_clkout()
585 if (!adg->brg_rate[ADG_HZ_441] && req_Hz[ADG_HZ_441] && (0 == rate % 44100)) { in rsnd_adg_get_clkout()
586 div = rate / req_Hz[ADG_HZ_441]; in rsnd_adg_get_clkout()
592 if (req_Hz[ADG_HZ_441]) in rsnd_adg_get_clkout()
603 rate = (clk_get_rate(clk) / req_Hz[ADG_HZ_48]) * req_Hz[ADG_HZ_48]; in rsnd_adg_get_clkout()
604 if (!adg->brg_rate[ADG_HZ_48] && req_Hz[ADG_HZ_48] && (0 == rate % 48000)) { in rsnd_adg_get_clkout()
605 div = rate / req_Hz[ADG_HZ_48]; in rsnd_adg_get_clkout()
611 if (req_Hz[ADG_HZ_48]) in rsnd_adg_get_clkout()
619 if (!(adg->brg_rate[ADG_HZ_48] && req_Hz[ADG_HZ_48]) && in rsnd_adg_get_clkout()
620 !(adg->brg_rate[ADG_HZ_441] && req_Hz[ADG_HZ_441])) in rsnd_adg_get_clkout()