blob: 8c32e71cd5686a14f42a6f2878fcbd4c3b66f8c0 [file] [log] [blame]
Thomas Gleixner1a59d1b82019-05-27 08:55:05 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Jochen Vossfeaa6a72006-10-04 18:08:43 +02002/*
3 * ALSA Driver for the PT2258 volume controller.
4 *
5 * Copyright (c) 2006 Jochen Voss <voss@seehuhn.de>
Jochen Vossfeaa6a72006-10-04 18:08:43 +02006 */
7
8#ifndef __SOUND_PT2258_H
9#define __SOUND_PT2258_H
10
11struct 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
20extern int snd_pt2258_reset(struct snd_pt2258 *pt);
21extern int snd_pt2258_build_controls(struct snd_pt2258 *pt);
22
23#endif /* __SOUND_PT2258_H */