Thomas Gleixner | 1a59d1b8 | 2019-05-27 08:55:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Jochen Voss | feaa6a7 | 2006-10-04 18:08:43 +0200 | [diff] [blame] | 2 | /* |
| 3 | * ALSA Driver for the PT2258 volume controller. |
| 4 | * |
| 5 | * Copyright (c) 2006 Jochen Voss <voss@seehuhn.de> |
Jochen Voss | feaa6a7 | 2006-10-04 18:08:43 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __SOUND_PT2258_H |
| 9 | #define __SOUND_PT2258_H |
| 10 | |
| 11 | struct snd_pt2258 { |
| 12 | struct snd_card *card; |
| 13 | struct snd_i2c_bus *i2c_bus; |
| 14 | struct snd_i2c_device *i2c_dev; |
| 15 | |
| 16 | unsigned char volume[6]; |
| 17 | int mute; |
| 18 | }; |
| 19 | |
| 20 | extern int snd_pt2258_reset(struct snd_pt2258 *pt); |
| 21 | extern int snd_pt2258_build_controls(struct snd_pt2258 *pt); |
| 22 | |
| 23 | #endif /* __SOUND_PT2258_H */ |