Lines Matching refs:bclk_ratio
143 unsigned int bclk_ratio; member
534 cl->bclk_ratio = ratio; in mca_set_bclk_ratio()
567 unsigned long bclk_ratio; in mca_fe_hw_params() local
586 if (cl->bclk_ratio) in mca_fe_hw_params()
587 bclk_ratio = cl->bclk_ratio; in mca_fe_hw_params()
589 bclk_ratio = tdm_slot_width * tdm_slots; in mca_fe_hw_params()
599 if ((bclk_ratio % nchannels) != 0) { in mca_fe_hw_params()
601 bclk_ratio, nchannels); in mca_fe_hw_params()
605 tdm_slot_width = bclk_ratio / nchannels; in mca_fe_hw_params()
656 writel_relaxed((bclk_ratio / 2) - 1, in mca_fe_hw_params()
658 writel_relaxed(((bclk_ratio + 1) / 2) - 1, in mca_fe_hw_params()
663 ret = clk_set_rate(cl->clk_parent, bclk_ratio * samp_rate); in mca_fe_hw_params()