Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tegra20_das.c File Reference
#include <linux/device.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <sound/soc.h>
#include "tegra20_das.h"

Go to the source code of this file.

Macros

#define DRV_NAME   "tegra20-das"
 
#define LAST_REG(name)
 

Functions

int tegra20_das_connect_dap_to_dac (int dap, int dac)
 
 EXPORT_SYMBOL_GPL (tegra20_das_connect_dap_to_dac)
 
int tegra20_das_connect_dap_to_dap (int dap, int otherdap, int master, int sdata1rx, int sdata2rx)
 
 EXPORT_SYMBOL_GPL (tegra20_das_connect_dap_to_dap)
 
int tegra20_das_connect_dac_to_dap (int dac, int dap)
 
 EXPORT_SYMBOL_GPL (tegra20_das_connect_dac_to_dap)
 
 module_platform_driver (tegra20_das_driver)
 
 MODULE_AUTHOR ("Stephen Warren <[email protected]>")
 
 MODULE_DESCRIPTION ("Tegra20 DAS driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:"DRV_NAME)
 
 MODULE_DEVICE_TABLE (of, tegra20_das_of_match)
 

Macro Definition Documentation

#define DRV_NAME   "tegra20-das"

Definition at line 32 of file tegra20_das.c.

#define LAST_REG (   name)
Value:
(TEGRA20_DAS_##name + \
(TEGRA20_DAS_##name##_STRIDE * (TEGRA20_DAS_##name##_COUNT - 1)))

Definition at line 108 of file tegra20_das.c.

Function Documentation

EXPORT_SYMBOL_GPL ( tegra20_das_connect_dap_to_dac  )
EXPORT_SYMBOL_GPL ( tegra20_das_connect_dap_to_dap  )
EXPORT_SYMBOL_GPL ( tegra20_das_connect_dac_to_dap  )
MODULE_ALIAS ( "platform:"  DRV_NAME)
MODULE_AUTHOR ( "Stephen Warren <[email protected]>"  )
MODULE_DESCRIPTION ( "Tegra20 DAS driver )
MODULE_DEVICE_TABLE ( of  ,
tegra20_das_of_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( tegra20_das_driver  )
int tegra20_das_connect_dac_to_dap ( int  dac,
int  dap 
)

Definition at line 88 of file tegra20_das.c.

int tegra20_das_connect_dap_to_dac ( int  dap,
int  dac 
)

Definition at line 48 of file tegra20_das.c.

int tegra20_das_connect_dap_to_dap ( int  dap,
int  otherdap,
int  master,
int  sdata1rx,
int  sdata2rx 
)

Definition at line 66 of file tegra20_das.c.