David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * SH_DAC specific configuration, for the dac_audio platform_device |
| 4 | * |
| 5 | * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __INCLUDE_SH_DAC_AUDIO_H |
| 9 | #define __INCLUDE_SH_DAC_AUDIO_H |
| 10 | |
| 11 | struct dac_audio_pdata { |
| 12 | int buffer_size; |
| 13 | int channel; |
| 14 | void (*start)(struct dac_audio_pdata *pd); |
| 15 | void (*stop)(struct dac_audio_pdata *pd); |
| 16 | }; |
| 17 | |
| 18 | #endif /* __INCLUDE_SH_DAC_AUDIO_H */ |