Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
speakers.c File Reference
#include <linux/device.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <sound/control.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "cmp.h"
#include "fcp.h"
#include "amdtp.h"
#include "lib.h"

Go to the source code of this file.

Data Structures

struct  device_info
 
struct  fwspk
 

Macros

#define OXFORD_FIRMWARE_ID_ADDRESS   (CSR_REGISTER_BASE + 0x50000)
 
#define OXFORD_HARDWARE_ID_ADDRESS   (CSR_REGISTER_BASE + 0x90020)
 
#define OXFORD_HARDWARE_ID_OXFW970   0x39443841
 
#define OXFORD_HARDWARE_ID_OXFW971   0x39373100
 
#define VENDOR_GRIFFIN   0x001292
 
#define VENDOR_LACIE   0x00d04b
 
#define SPECIFIER_1394TA   0x00a02d
 
#define VERSION_AVC   0x010001
 

Enumerations

enum  control_action { CTL_READ, CTL_WRITE }
 
enum  control_attribute { CTL_MIN = 0x02, CTL_MAX = 0x03, CTL_CURRENT = 0x10 }
 

Functions

 MODULE_DESCRIPTION ("FireWire speakers driver")
 
 MODULE_AUTHOR ("Clemens Ladisch <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DEVICE_TABLE (ieee1394, fwspk_id_table)
 
 module_init (alsa_fwspk_init)
 
 module_exit (alsa_fwspk_exit)
 

Macro Definition Documentation

#define OXFORD_FIRMWARE_ID_ADDRESS   (CSR_REGISTER_BASE + 0x50000)

Definition at line 25 of file speakers.c.

#define OXFORD_HARDWARE_ID_ADDRESS   (CSR_REGISTER_BASE + 0x90020)

Definition at line 28 of file speakers.c.

#define OXFORD_HARDWARE_ID_OXFW970   0x39443841

Definition at line 29 of file speakers.c.

#define OXFORD_HARDWARE_ID_OXFW971   0x39373100

Definition at line 30 of file speakers.c.

#define SPECIFIER_1394TA   0x00a02d

Definition at line 35 of file speakers.c.

#define VENDOR_GRIFFIN   0x001292

Definition at line 32 of file speakers.c.

#define VENDOR_LACIE   0x00d04b

Definition at line 33 of file speakers.c.

#define VERSION_AVC   0x010001

Definition at line 36 of file speakers.c.

Enumeration Type Documentation

Enumerator:
CTL_READ 
CTL_WRITE 

Definition at line 371 of file speakers.c.

Enumerator:
CTL_MIN 
CTL_MAX 
CTL_CURRENT 

Definition at line 372 of file speakers.c.

Function Documentation

MODULE_AUTHOR ( "Clemens Ladisch <[email protected]>"  )
MODULE_DESCRIPTION ( "FireWire speakers driver )
MODULE_DEVICE_TABLE ( ieee1394  ,
fwspk_id_table   
)
module_exit ( alsa_fwspk_exit  )
module_init ( alsa_fwspk_init  )
MODULE_LICENSE ( "GPL v2 )