Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tiomap3430.c File Reference
#include <linux/platform_data/dsp-omap.h>
#include <linux/types.h>
#include <dspbridge/host_os.h>
#include <linux/mm.h>
#include <linux/mmzone.h>
#include <dspbridge/dbdefs.h>
#include <dspbridge/drv.h>
#include <dspbridge/sync.h>
#include <hw_defs.h>
#include <hw_mmu.h>
#include <dspbridge/dspdefs.h>
#include <dspbridge/dspchnl.h>
#include <dspbridge/dspdeh.h>
#include <dspbridge/dspio.h>
#include <dspbridge/dspmsg.h>
#include <dspbridge/pwr.h>
#include <dspbridge/io_sm.h>
#include <dspbridge/dev.h>
#include <dspbridge/dspapi.h>
#include <dspbridge/dmm.h>
#include <dspbridge/wdt.h>
#include "_tiomap.h"
#include "_tiomap_pwr.h"
#include "tiomap_io.h"

Go to the source code of this file.

Data Structures

struct  page_info
 
struct  pg_table_attrs
 

Macros

#define SHMSYNCOFFSET   4 /* GPP byte offset */
 
#define BUFFERSIZE   1024
 
#define TIHELEN_ACKTIMEOUT   10000
 
#define MMU_SECTION_ADDR_MASK   0xFFF00000
 
#define MMU_SSECTION_ADDR_MASK   0xFF000000
 
#define MMU_LARGE_PAGE_MASK   0xFFFF0000
 
#define MMU_SMALL_PAGE_MASK   0xFFFFF000
 
#define OMAP3_IVA2_BOOTADDR_MASK   0xFFFFFC00
 
#define PAGES_II_LVL_TABLE   512
 
#define PHYS_TO_PAGE(phys)   pfn_to_page((phys) >> PAGE_SHIFT)
 
#define OMAP3_IVA2_BOOTMOD_IDLE   1
 
#define OMAP2_CONTROL_GENERAL   0x270
 
#define OMAP343X_CONTROL_IVA2_BOOTADDR   (OMAP2_CONTROL_GENERAL + 0x0190)
 
#define OMAP343X_CONTROL_IVA2_BOOTMOD   (OMAP2_CONTROL_GENERAL + 0x0194)
 

Functions

bool wait_for_start (struct bridge_dev_context *dev_context, void __iomem *sync_addr)
 
void bridge_drv_entry (struct bridge_drv_interface **drv_intf, const char *driver_file_name)
 

Macro Definition Documentation

#define BUFFERSIZE   1024

Definition at line 61 of file tiomap3430.c.

#define MMU_LARGE_PAGE_MASK   0xFFFF0000

Definition at line 67 of file tiomap3430.c.

#define MMU_SECTION_ADDR_MASK   0xFFF00000

Definition at line 65 of file tiomap3430.c.

#define MMU_SMALL_PAGE_MASK   0xFFFFF000

Definition at line 68 of file tiomap3430.c.

#define MMU_SSECTION_ADDR_MASK   0xFF000000

Definition at line 66 of file tiomap3430.c.

#define OMAP2_CONTROL_GENERAL   0x270

Definition at line 78 of file tiomap3430.c.

#define OMAP343X_CONTROL_IVA2_BOOTADDR   (OMAP2_CONTROL_GENERAL + 0x0190)

Definition at line 79 of file tiomap3430.c.

#define OMAP343X_CONTROL_IVA2_BOOTMOD   (OMAP2_CONTROL_GENERAL + 0x0194)

Definition at line 80 of file tiomap3430.c.

#define OMAP3_IVA2_BOOTADDR_MASK   0xFFFFFC00

Definition at line 69 of file tiomap3430.c.

#define OMAP3_IVA2_BOOTMOD_IDLE   1

Definition at line 77 of file tiomap3430.c.

#define PAGES_II_LVL_TABLE   512

Definition at line 70 of file tiomap3430.c.

#define PHYS_TO_PAGE (   phys)    pfn_to_page((phys) >> PAGE_SHIFT)

Definition at line 71 of file tiomap3430.c.

#define SHMSYNCOFFSET   4 /* GPP byte offset */

Definition at line 59 of file tiomap3430.c.

#define TIHELEN_ACKTIMEOUT   10000

Definition at line 63 of file tiomap3430.c.

Function Documentation

void bridge_drv_entry ( struct bridge_drv_interface **  drv_intf,
const char driver_file_name 
)

Definition at line 250 of file tiomap3430.c.

bool wait_for_start ( struct bridge_dev_context dev_context,
void __iomem sync_addr 
)

Definition at line 1813 of file tiomap3430.c.