aiu-fifo.h (ead5d1f4d877e92c051e1a1ade623d0d30e71619) aiu-fifo.h (7b5ce9f0c52a5885d34d46bba62e9eaedc3dd459)
1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Copyright (c) 2020 BayLibre, SAS.
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
5 */
6
7#ifndef _MESON_AIU_FIFO_H
8#define _MESON_AIU_FIFO_H

--- 4 unchanged lines hidden (view full) ---

13struct clk;
14struct snd_pcm_ops;
15struct snd_pcm_substream;
16struct snd_soc_dai;
17struct snd_pcm_hw_params;
18struct platform_device;
19
20struct aiu_fifo {
1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Copyright (c) 2020 BayLibre, SAS.
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
5 */
6
7#ifndef _MESON_AIU_FIFO_H
8#define _MESON_AIU_FIFO_H

--- 4 unchanged lines hidden (view full) ---

13struct clk;
14struct snd_pcm_ops;
15struct snd_pcm_substream;
16struct snd_soc_dai;
17struct snd_pcm_hw_params;
18struct platform_device;
19
20struct aiu_fifo {
21 struct snd_pcm_hardware *pcm;
21 const struct snd_pcm_hardware *pcm;
22 unsigned int mem_offset;
23 unsigned int fifo_block;
24 struct clk *pclk;
25 int irq;
26};
27
28int aiu_fifo_dai_probe(struct snd_soc_dai *dai);
29int aiu_fifo_dai_remove(struct snd_soc_dai *dai);

--- 21 unchanged lines hidden ---
22 unsigned int mem_offset;
23 unsigned int fifo_block;
24 struct clk *pclk;
25 int irq;
26};
27
28int aiu_fifo_dai_probe(struct snd_soc_dai *dai);
29int aiu_fifo_dai_remove(struct snd_soc_dai *dai);

--- 21 unchanged lines hidden ---