Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pt2258.c File Reference
#include <sound/core.h>
#include <sound/control.h>
#include <sound/tlv.h>
#include <sound/i2c.h>
#include <sound/pt2258.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define PT2258_CMD_RESET   0xc0
 
#define PT2258_CMD_UNMUTE   0xf8
 
#define PT2258_CMD_MUTE   0xf9
 
#define pt2258_switch_info   snd_ctl_boolean_mono_info
 

Functions

 MODULE_AUTHOR ("Jochen Voss <[email protected]>")
 
 MODULE_DESCRIPTION ("PT2258 volume controller (Princeton Technology Corp.)")
 
 MODULE_LICENSE ("GPL")
 
int snd_pt2258_reset (struct snd_pt2258 *pt)
 
int snd_pt2258_build_controls (struct snd_pt2258 *pt)
 
 EXPORT_SYMBOL (snd_pt2258_reset)
 
 EXPORT_SYMBOL (snd_pt2258_build_controls)
 

Macro Definition Documentation

#define PT2258_CMD_MUTE   0xf9

Definition at line 35 of file pt2258.c.

#define PT2258_CMD_RESET   0xc0

Definition at line 33 of file pt2258.c.

#define PT2258_CMD_UNMUTE   0xf8

Definition at line 34 of file pt2258.c.

#define pt2258_switch_info   snd_ctl_boolean_mono_info

Definition at line 145 of file pt2258.c.

Function Documentation

EXPORT_SYMBOL ( snd_pt2258_reset  )
EXPORT_SYMBOL ( snd_pt2258_build_controls  )
MODULE_AUTHOR ( "Jochen Voss <[email protected]>"  )
MODULE_DESCRIPTION ( "PT2258 volume controller (Princeton Technology Corp.)"  )
MODULE_LICENSE ( "GPL"  )
int snd_pt2258_build_controls ( struct snd_pt2258 pt)

Definition at line 184 of file pt2258.c.

int snd_pt2258_reset ( struct snd_pt2258 pt)

Definition at line 46 of file pt2258.c.