Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
v3.1
 1/*
 2 * SH_DAC specific configuration, for the dac_audio platform_device
 3 *
 4 * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com>
 5 *
 6 * This program is free software; you can redistribute it and/or modify it
 7 * under the terms of the GNU General Public License version 2 as published
 8 * by the Free Software Foundation.
 9 */
10
11#ifndef __INCLUDE_SH_DAC_AUDIO_H
12#define __INCLUDE_SH_DAC_AUDIO_H
13
14struct dac_audio_pdata {
15	int buffer_size;
16	int channel;
17	void (*start)(struct dac_audio_pdata *pd);
18	void (*stop)(struct dac_audio_pdata *pd);
19};
20
21#endif /* __INCLUDE_SH_DAC_AUDIO_H */
v4.6
 1/*
 2 * SH_DAC specific configuration, for the dac_audio platform_device
 3 *
 4 * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com>
 5 *
 6 * This program is free software; you can redistribute it and/or modify it
 7 * under the terms of the GNU General Public License version 2 as published
 8 * by the Free Software Foundation.
 9 */
10
11#ifndef __INCLUDE_SH_DAC_AUDIO_H
12#define __INCLUDE_SH_DAC_AUDIO_H
13
14struct dac_audio_pdata {
15	int buffer_size;
16	int channel;
17	void (*start)(struct dac_audio_pdata *pd);
18	void (*stop)(struct dac_audio_pdata *pd);
19};
20
21#endif /* __INCLUDE_SH_DAC_AUDIO_H */