pt2258.h 513 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * ALSA Driver for the PT2258 volume controller.
  4. *
  5. * Copyright (c) 2006 Jochen Voss <[email protected]>
  6. */
  7. #ifndef __SOUND_PT2258_H
  8. #define __SOUND_PT2258_H
  9. struct snd_pt2258 {
  10. struct snd_card *card;
  11. struct snd_i2c_bus *i2c_bus;
  12. struct snd_i2c_device *i2c_dev;
  13. unsigned char volume[6];
  14. int mute;
  15. };
  16. extern int snd_pt2258_reset(struct snd_pt2258 *pt);
  17. extern int snd_pt2258_build_controls(struct snd_pt2258 *pt);
  18. #endif /* __SOUND_PT2258_H */