Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/stm/
H A Dstm32_i2s.c999 struct snd_soc_dai_driver *dai_ptr; in stm32_i2s_dais_init() local
1001 dai_ptr = devm_kzalloc(&pdev->dev, sizeof(struct snd_soc_dai_driver), in stm32_i2s_dais_init()
1003 if (!dai_ptr) in stm32_i2s_dais_init()
1006 dai_ptr->ops = &stm32_i2s_pcm_dai_ops; in stm32_i2s_dais_init()
1007 dai_ptr->id = 1; in stm32_i2s_dais_init()
1008 stm32_i2s_dai_init(&dai_ptr->playback, "playback"); in stm32_i2s_dais_init()
1009 stm32_i2s_dai_init(&dai_ptr->capture, "capture"); in stm32_i2s_dais_init()
1010 i2s->dai_drv = dai_ptr; in stm32_i2s_dais_init()