Searched refs:spdifrx (Results 1 – 9 of 9) sorted by relevance
253 struct stm32_spdifrx_data *spdifrx = (struct stm32_spdifrx_data *)data; in stm32_spdifrx_dma_complete() local254 struct platform_device *pdev = spdifrx->pdev; in stm32_spdifrx_dma_complete()255 u32 *p_start = (u32 *)spdifrx->dmab->area; in stm32_spdifrx_dma_complete()258 u16 *ub_ptr = (short *)spdifrx->ub; in stm32_spdifrx_dma_complete()261 regmap_update_bits(spdifrx->regmap, STM32_SPDIFRX_CR, in stm32_spdifrx_dma_complete()265 if (!spdifrx->dmab->area) in stm32_spdifrx_dma_complete()280 spdifrx->cs[i] = (unsigned char)SPDIFRX_CSR_CSGET(*ptr); in stm32_spdifrx_dma_complete()289 complete(&spdifrx->cs_completion); in stm32_spdifrx_dma_complete()292 static int stm32_spdifrx_dma_ctrl_start(struct stm32_spdifrx_data *spdifrx) in stm32_spdifrx_dma_ctrl_start() argument297 spdifrx->desc = dmaengine_prep_slave_single(spdifrx->ctrl_chan, in stm32_spdifrx_dma_ctrl_start()[all …]
14 snd-soc-stm32-spdifrx-objs := stm32_spdifrx.o15 obj-$(CONFIG_SND_SOC_STM32_SPDIFRX) += snd-soc-stm32-spdifrx.o
1041 struct mchp_spdifrx_dev *spdifrx = dev_get_drvdata(dev); in mchp_spdifrx_runtime_suspend() local1043 regcache_cache_only(spdifrx->regmap, true); in mchp_spdifrx_runtime_suspend()1044 clk_disable_unprepare(spdifrx->gclk); in mchp_spdifrx_runtime_suspend()1045 clk_disable_unprepare(spdifrx->pclk); in mchp_spdifrx_runtime_suspend()1052 struct mchp_spdifrx_dev *spdifrx = dev_get_drvdata(dev); in mchp_spdifrx_runtime_resume() local1055 ret = clk_prepare_enable(spdifrx->pclk); in mchp_spdifrx_runtime_resume()1059 ret = clk_prepare_enable(spdifrx->gclk); in mchp_spdifrx_runtime_resume()1063 regcache_cache_only(spdifrx->regmap, false); in mchp_spdifrx_runtime_resume()1064 regcache_mark_dirty(spdifrx->regmap); in mchp_spdifrx_runtime_resume()1065 ret = regcache_sync(spdifrx->regmap); in mchp_spdifrx_runtime_resume()[all …]
9 snd-soc-mchp-spdifrx-objs := mchp-spdifrx.o24 obj-$(CONFIG_SND_MCHP_SOC_SPDIFRX) += snd-soc-mchp-spdifrx.o
108 sound-dai = <&spdifrx>;803 &spdifrx {
603 spdifrx: spdifrx@e1614000 { label605 compatible = "microchip,sama7g5-spdifrx";
375 spdifrx: audio-controller@4000d000 { label376 compatible = "st,stm32h7-spdifrx";
457 spdifrx: audio-controller@4000d000 { label458 compatible = "st,stm32h7-spdifrx";
2104 spdifrx_pins_a: spdifrx-0 {2111 spdifrx_sleep_pins_a: spdifrx-sleep-0 {