Lines Matching full:spdiftx
708 .name = "mchp-spdiftx",
720 .name = "mchp-spdiftx",
726 .compatible = "microchip,sama7g5-spdiftx",
734 struct mchp_spdiftx_dev *spdiftx = dev_get_drvdata(dev); in mchp_spdiftx_runtime_suspend() local
736 regcache_cache_only(spdiftx->regmap, true); in mchp_spdiftx_runtime_suspend()
738 clk_disable_unprepare(spdiftx->gclk); in mchp_spdiftx_runtime_suspend()
739 clk_disable_unprepare(spdiftx->pclk); in mchp_spdiftx_runtime_suspend()
746 struct mchp_spdiftx_dev *spdiftx = dev_get_drvdata(dev); in mchp_spdiftx_runtime_resume() local
749 ret = clk_prepare_enable(spdiftx->pclk); in mchp_spdiftx_runtime_resume()
751 dev_err(spdiftx->dev, in mchp_spdiftx_runtime_resume()
755 ret = clk_prepare_enable(spdiftx->gclk); in mchp_spdiftx_runtime_resume()
757 dev_err(spdiftx->dev, in mchp_spdiftx_runtime_resume()
762 regcache_cache_only(spdiftx->regmap, false); in mchp_spdiftx_runtime_resume()
763 regcache_mark_dirty(spdiftx->regmap); in mchp_spdiftx_runtime_resume()
764 ret = regcache_sync(spdiftx->regmap); in mchp_spdiftx_runtime_resume()
766 regcache_cache_only(spdiftx->regmap, true); in mchp_spdiftx_runtime_resume()
767 clk_disable_unprepare(spdiftx->gclk); in mchp_spdiftx_runtime_resume()
769 clk_disable_unprepare(spdiftx->pclk); in mchp_spdiftx_runtime_resume()