^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * SH_DAC specific configuration, for the dac_audio platform_device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #ifndef __INCLUDE_SH_DAC_AUDIO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define __INCLUDE_SH_DAC_AUDIO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct dac_audio_pdata {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) int buffer_size;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) int channel;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) void (*start)(struct dac_audio_pdata *pd);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void (*stop)(struct dac_audio_pdata *pd);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #endif /* __INCLUDE_SH_DAC_AUDIO_H */