Lines Matching full:bclk
802 struct clk *bclk = da7219->dai_clks[DA7219_DAI_BCLK_IDX]; in da7219_dai_event() local
811 if (bclk) { in da7219_dai_event()
812 ret = clk_prepare_enable(bclk); in da7219_dai_event()
858 if (bclk) in da7219_dai_event()
859 clk_disable_unprepare(bclk); in da7219_dai_event()
1427 struct clk *bclk = da7219->dai_clks[DA7219_DAI_BCLK_IDX]; in da7219_set_dai_tdm_slot() local
1472 if (bclk) { in da7219_set_dai_tdm_slot()
1475 ret = clk_set_rate(bclk, bclk_rate); in da7219_set_dai_tdm_slot()
1478 "Failed to set TDM BCLK rate %lu: %d\n", in da7219_set_dai_tdm_slot()
1563 struct clk *bclk = da7219->dai_clks[DA7219_DAI_BCLK_IDX]; in da7219_hw_params() local
1614 * If we're master, then we have a limited set of BCLK rates we in da7219_hw_params()
1616 * the BCLK rate automatically. in da7219_hw_params()
1624 if (bclk) { in da7219_hw_params()
1628 * new rate on an already enabled bclk. In that in da7219_hw_params()
1631 * problem, as long as the BCLK rate is suitable for the in da7219_hw_params()
1634 bclk_rate = clk_round_rate(bclk, bclk_rate); in da7219_hw_params()
1637 "BCLK rate mismatch against frame size"); in da7219_hw_params()
1641 ret = clk_set_rate(bclk, bclk_rate); in da7219_hw_params()
1644 "Failed to set BCLK rate %lu: %d\n", in da7219_hw_params()
1777 pdata->dai_clk_names[DA7219_DAI_BCLK_IDX] = "da7219-dai-bclk"; in da7219_fw_to_pdata()
2082 * We don't allow changing the parent rate as some BCLK rates can be in da7219_bclk_round_rate()
2083 * derived from multiple parent WCLK rates (BCLK rates are set as a in da7219_bclk_round_rate()
2085 * parent WCLK rate set and find the appropriate multiplier of BCLK to in da7219_bclk_round_rate()
2086 * get the rounded down BCLK value. in da7219_bclk_round_rate()
2168 /* Make WCLK the parent of BCLK */ in da7219_register_dai_clks()