Home
last modified time | relevance | path

Searched refs:spdifrx (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/sound/soc/stm/
Dstm32_spdifrx.c253 struct stm32_spdifrx_data *spdifrx = (struct stm32_spdifrx_data *)data; in stm32_spdifrx_dma_complete() local
254 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() argument
297 spdifrx->desc = dmaengine_prep_slave_single(spdifrx->ctrl_chan, in stm32_spdifrx_dma_ctrl_start()
[all …]
DMakefile14 snd-soc-stm32-spdifrx-objs := stm32_spdifrx.o
15 obj-$(CONFIG_SND_SOC_STM32_SPDIFRX) += snd-soc-stm32-spdifrx.o
/Linux-v6.6/sound/soc/atmel/
Dmchp-spdifrx.c1041 struct mchp_spdifrx_dev *spdifrx = dev_get_drvdata(dev); in mchp_spdifrx_runtime_suspend() local
1043 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() local
1055 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 …]
DMakefile9 snd-soc-mchp-spdifrx-objs := mchp-spdifrx.o
24 obj-$(CONFIG_SND_MCHP_SOC_SPDIFRX) += snd-soc-mchp-spdifrx.o
/Linux-v6.6/arch/arm/boot/dts/microchip/
Dat91-sama7g5ek.dts108 sound-dai = <&spdifrx>;
803 &spdifrx {
Dsama7g5.dtsi603 spdifrx: spdifrx@e1614000 { label
605 compatible = "microchip,sama7g5-spdifrx";
/Linux-v6.6/arch/arm/boot/dts/st/
Dstm32mp131.dtsi375 spdifrx: audio-controller@4000d000 { label
376 compatible = "st,stm32h7-spdifrx";
Dstm32mp151.dtsi457 spdifrx: audio-controller@4000d000 { label
458 compatible = "st,stm32h7-spdifrx";
Dstm32mp15-pinctrl.dtsi2104 spdifrx_pins_a: spdifrx-0 {
2111 spdifrx_sleep_pins_a: spdifrx-sleep-0 {