Lines Matching full:baudclk
225 * @baudclk: Clock source to generate bit and frame-sync clocks
226 * @baudclk_streams: Active streams that are using baudclk
269 struct clk *baudclk; member
710 /* Don't apply it to any non-baudclk circumstance */ in fsl_ssi_set_bclk()
711 if (IS_ERR(ssi->baudclk)) in fsl_ssi_set_bclk()
735 clkrate = clk_get_rate(ssi->baudclk); in fsl_ssi_set_bclk()
737 clkrate = clk_round_rate(ssi->baudclk, tmprate); in fsl_ssi_set_bclk()
780 ret = clk_set_rate(ssi->baudclk, baudrate); in fsl_ssi_set_bclk()
782 dev_err(dai->dev, "failed to set baudclk rate\n"); in fsl_ssi_set_bclk()
824 ret = clk_prepare_enable(ssi->baudclk); in fsl_ssi_hw_params()
898 clk_disable_unprepare(ssi->baudclk); in fsl_ssi_hw_free()
924 if (IS_ERR(ssi->baudclk)) { in _fsl_ssi_set_dai_fmt()
926 "missing baudclk for master mode\n"); in _fsl_ssi_set_dai_fmt()
1374 ssi->baudclk = devm_clk_get(dev, "baud"); in fsl_ssi_imx_probe()
1375 if (IS_ERR(ssi->baudclk)) in fsl_ssi_imx_probe()
1377 PTR_ERR(ssi->baudclk)); in fsl_ssi_imx_probe()