diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 09:48:20 +0200 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 14:02:16 +0200 |
commit | 2489007e7d740ccbc3e0a202914e243ad5178787 (patch) | |
tree | b8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/media/tdmb/tcc3170/inc/tcpal | |
parent | 5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff) | |
download | kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2 |
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'drivers/media/tdmb/tcc3170/inc/tcpal')
-rw-r--r-- | drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_debug.h | 12 | ||||
-rw-r--r-- | drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_os.h | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_debug.h b/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_debug.h index 6cdb393..cb115b0 100644 --- a/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_debug.h +++ b/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_debug.h @@ -41,6 +41,10 @@ #define DEBUG_STREAM_READ 0x00008000 #define DEBUG_STREAM_STACK 0x00010000 #define DEBUG_STATUS 0x00020000 +#define DEBUG_PARSE_HEADER 0x00040000 + +#define MAX_SIZE_DSP_ROM (1024*10) +#define MAX_PATH 128 s32 printk(const char *fmt, ...); @@ -58,6 +62,14 @@ do {\ } \ } while (0) +s32 tcbd_debug_spur_dbg(void); +s32 tcbd_debug_rom_from_fs(void); +s32 *tcbd_debug_spur_clk_cfg(void); +char *tcbd_debug_rom_path(void); + +void tcbd_debug_mbox_rx(u16 *_cmd, s32 *_len, u32 **_data); +void tcbd_debug_mbox_tx(u16 *_cmd, s32 *_len, u32 **_data); + extern u32 tcbd_debug_class; #endif /*__TCPAL_DEBUG_H_*/ diff --git a/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_os.h b/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_os.h index b63efb4..85e4a3d 100644 --- a/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_os.h +++ b/drivers/media/tdmb/tcc3170/inc/tcpal/tcpal_os.h @@ -24,8 +24,11 @@ #define __TCPAL_OS_H__ #include "tcpal_types.h" #include <linux/init.h> -#include <linux/module.h> #include <linux/kernel.h> +#include <linux/module.h> +#include <linux/moduleparam.h> +#include <linux/fs.h> +#include <linux/uaccess.h> /* For TimeCheck */ #define TCPAL_MAX_TIMECNT 0xFFFFFFFFFFFFFFFFULL |