Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
drv_interface.c File Reference
#include <linux/platform_data/dsp-omap.h>
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/moduleparam.h>
#include <linux/cdev.h>
#include <dspbridge/dbdefs.h>
#include <dspbridge/clk.h>
#include <dspbridge/dspapi.h>
#include <dspbridge/dspdrv.h>
#include <dspbridge/pwr.h>
#include <dspbridge/resourcecleanup.h>
#include <dspbridge/proc.h>
#include <dspbridge/dev.h>

Go to the source code of this file.

Macros

#define DSPBRIDGE_VERSION   "0.3"
 

Functions

 module_param (dsp_debug, int, 0)
 
 MODULE_PARM_DESC (dsp_debug,"Wait after loading DSP image. default = false")
 
 module_param (dsp_test_sleepstate, int, 0)
 
 MODULE_PARM_DESC (dsp_test_sleepstate,"DSP Sleep state = 0")
 
 module_param (base_img, charp, 0)
 
 MODULE_PARM_DESC (base_img,"DSP base image, default = NULL")
 
 module_param (shm_size, int, 0)
 
 MODULE_PARM_DESC (shm_size,"shm size, default = 4 MB, minimum = 64 KB")
 
 module_param (tc_wordswapon, int, 0)
 
 MODULE_PARM_DESC (tc_wordswapon,"TC Word Swap Option. default = 0")
 
 MODULE_AUTHOR ("Texas Instruments")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DSPBRIDGE_VERSION)
 
int drv_remove_all_resources (void *process_ctxt)
 
 module_platform_driver (bridge_driver)
 

Variables

s32 dsp_debug
 
struct platform_deviceomap_dspbridge_dev
 
struct devicebridge
 
s32 dsp_test_sleepstate
 
chariva_img
 
struct omap_dsp_platform_dataomap_dspbridge_pdata
 
u32 vdd1_dsp_freq [6][4]
 

Macro Definition Documentation

#define DSPBRIDGE_VERSION   "0.3"

Definition at line 52 of file drv_interface.c.

Function Documentation

int drv_remove_all_resources ( void process_ctxt)

Definition at line 618 of file drv_interface.c.

MODULE_AUTHOR ( "Texas Instruments"  )
MODULE_LICENSE ( "GPL"  )
module_param ( dsp_debug  ,
int  ,
 
)
module_param ( dsp_test_sleepstate  ,
int  ,
 
)
module_param ( base_img  ,
charp  ,
 
)
module_param ( shm_size  ,
int  ,
 
)
module_param ( tc_wordswapon  ,
int  ,
 
)
MODULE_PARM_DESC ( dsp_debug  )
MODULE_PARM_DESC ( dsp_test_sleepstate  )
MODULE_PARM_DESC ( base_img  ,
"DSP base  image 
)
MODULE_PARM_DESC ( shm_size  ,
"shm  size,
default  = MB 
)
MODULE_PARM_DESC ( tc_wordswapon  )
module_platform_driver ( bridge_driver  )
MODULE_VERSION ( DSPBRIDGE_VERSION  )

Variable Documentation

struct device* bridge

Definition at line 56 of file drv_interface.c.

s32 dsp_debug

Definition at line 53 of file drv_interface.c.

s32 dsp_test_sleepstate

Definition at line 59 of file drv_interface.c.

char* iva_img

Definition at line 68 of file drv_interface.c.

struct platform_device* omap_dspbridge_dev

Definition at line 55 of file drv_interface.c.

struct omap_dsp_platform_data* omap_dspbridge_pdata

Definition at line 314 of file drv_interface.c.

u32 vdd1_dsp_freq[6][4]
Initial value:
= {
{0, 0, 0, 0},
{0, 90000, 0, 86000},
{0, 180000, 80000, 170000},
{0, 360000, 160000, 340000},
{0, 396000, 325000, 376000},
{0, 430000, 355000, 430000},
}

Definition at line 316 of file drv_interface.c.