Lines Matching refs:src_ctrl

63 	((struct rsnd_src_ctrl *)(priv)->src_ctrl)
724 struct rsnd_src_ctrl *src_ctrl; in rsnd_src_probe() local
739 src_ctrl = devm_kzalloc(dev, sizeof(*src_ctrl), GFP_KERNEL); in rsnd_src_probe()
740 if (!src_ctrl) { in rsnd_src_probe()
753 priv->src_ctrl = src_ctrl; in rsnd_src_probe()
755 src_ctrl->scu = devm_clk_get_optional_enabled(dev, "scu"); in rsnd_src_probe()
756 if (IS_ERR(src_ctrl->scu)) { in rsnd_src_probe()
757 ret = dev_err_probe(dev, PTR_ERR(src_ctrl->scu), in rsnd_src_probe()
762 src_ctrl->scu_x2 = devm_clk_get_optional_enabled(dev, "scu_x2"); in rsnd_src_probe()
763 if (IS_ERR(src_ctrl->scu_x2)) { in rsnd_src_probe()
764 ret = dev_err_probe(dev, PTR_ERR(src_ctrl->scu_x2), in rsnd_src_probe()
769 src_ctrl->scu_supply = devm_clk_get_optional_enabled(dev, "scu_supply"); in rsnd_src_probe()
770 if (IS_ERR(src_ctrl->scu_supply)) { in rsnd_src_probe()
771 ret = dev_err_probe(dev, PTR_ERR(src_ctrl->scu_supply), in rsnd_src_probe()
840 struct rsnd_src_ctrl *src_ctrl = rsnd_priv_to_src_ctrl(priv); in rsnd_src_suspend() local
844 if (!src_ctrl) in rsnd_src_suspend()
851 clk_disable_unprepare(src_ctrl->scu_x2); in rsnd_src_suspend()
852 clk_disable_unprepare(src_ctrl->scu); in rsnd_src_suspend()
853 clk_disable_unprepare(src_ctrl->scu_supply); in rsnd_src_suspend()
858 struct rsnd_src_ctrl *src_ctrl = rsnd_priv_to_src_ctrl(priv); in rsnd_src_resume() local
862 if (!src_ctrl) in rsnd_src_resume()
865 clk_prepare_enable(src_ctrl->scu_supply); in rsnd_src_resume()
866 clk_prepare_enable(src_ctrl->scu); in rsnd_src_resume()
867 clk_prepare_enable(src_ctrl->scu_x2); in rsnd_src_resume()