Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  *   ALSA Driver for the PT2258 volume controller.
0004  *
0005  *  Copyright (c) 2006  Jochen Voss <voss@seehuhn.de>
0006  */      
0007 
0008 #ifndef __SOUND_PT2258_H
0009 #define __SOUND_PT2258_H
0010 
0011 struct snd_pt2258 {
0012     struct snd_card *card;
0013     struct snd_i2c_bus *i2c_bus;
0014     struct snd_i2c_device *i2c_dev;
0015 
0016     unsigned char volume[6];
0017     int mute;
0018 };
0019 
0020 extern int snd_pt2258_reset(struct snd_pt2258 *pt);
0021 extern int snd_pt2258_build_controls(struct snd_pt2258 *pt);
0022 
0023 #endif /* __SOUND_PT2258_H */