Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
ews.c File Reference
#include <asm/io.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/cs8427.h>
#include <sound/asoundef.h>
#include "ice1712.h"
#include "ews.h"
#include <sound/cs8403.h>

Go to the source code of this file.

Data Structures

struct  ews_spec
 

Macros

#define SND_CS8404
 
#define PCF9554_REG_INPUT   0
 
#define PCF9554_REG_OUTPUT   1
 
#define PCF9554_REG_POLARITY   2
 
#define PCF9554_REG_CONFIG   3
 
#define snd_ice1712_ews88d_control_info   snd_ctl_boolean_mono_info
 
#define EWS88D_CONTROL(xiface, xname, xshift, xinvert, xaccess)
 
#define snd_ice1712_6fire_control_info   snd_ctl_boolean_mono_info
 
#define DMX6FIRE_CONTROL(xname, xshift, xinvert)
 

Enumerations

enum  {
  EWS_I2C_CS8404 = 0, EWS_I2C_PCF1, EWS_I2C_PCF2, EWS_I2C_88D = 0,
  EWS_I2C_6FIRE = 0
}
 

Macro Definition Documentation

#define DMX6FIRE_CONTROL (   xname,
  xshift,
  xinvert 
)
Value:
.name = xname,\
.get = snd_ice1712_6fire_control_get,\
.put = snd_ice1712_6fire_control_put,\
.private_value = xshift | (xinvert << 8),\
}

Definition at line 942 of file ews.c.

#define EWS88D_CONTROL (   xiface,
  xname,
  xshift,
  xinvert,
  xaccess 
)
Value:
{ .iface = xiface,\
.name = xname,\
.access = xaccess,\
.get = snd_ice1712_ews88d_control_get,\
.put = snd_ice1712_ews88d_control_put,\
.private_value = xshift | (xinvert << 8),\
}

Definition at line 804 of file ews.c.

#define PCF9554_REG_CONFIG   3

Definition at line 419 of file ews.c.

#define PCF9554_REG_INPUT   0

Definition at line 416 of file ews.c.

#define PCF9554_REG_OUTPUT   1

Definition at line 417 of file ews.c.

#define PCF9554_REG_POLARITY   2

Definition at line 418 of file ews.c.

#define SND_CS8404

Definition at line 37 of file ews.c.

#define snd_ice1712_6fire_control_info   snd_ctl_boolean_mono_info

Definition at line 861 of file ews.c.

#define snd_ice1712_ews88d_control_info   snd_ctl_boolean_mono_info

Definition at line 749 of file ews.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
EWS_I2C_CS8404 
EWS_I2C_PCF1 
EWS_I2C_PCF2 
EWS_I2C_88D 
EWS_I2C_6FIRE 

Definition at line 40 of file ews.c.