Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
dma.c File Reference
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <mach/dma.h>

Go to the source code of this file.

Data Structures

struct  msm_dmov_exec_cmdptr_cmd
 

Macros

#define MSM_DMOV_CHANNEL_COUNT   16
 
#define MSM_DMOV_DPRINTF(mask, format, args...)
 
#define PRINT_ERROR(format, args...)   MSM_DMOV_DPRINTF(MSM_DMOV_PRINT_ERRORS, format, args);
 
#define PRINT_IO(format, args...)   MSM_DMOV_DPRINTF(MSM_DMOV_PRINT_IO, format, args);
 
#define PRINT_FLOW(format, args...)   MSM_DMOV_DPRINTF(MSM_DMOV_PRINT_FLOW, format, args);
 

Enumerations

enum  { MSM_DMOV_PRINT_ERRORS = 1, MSM_DMOV_PRINT_IO = 2, MSM_DMOV_PRINT_FLOW = 4 }
 

Functions

void msm_dmov_stop_cmd (unsigned id, struct msm_dmov_cmd *cmd, int graceful)
 
void msm_dmov_enqueue_cmd (unsigned id, struct msm_dmov_cmd *cmd)
 
int msm_dmov_exec_cmd (unsigned id, unsigned int cmdptr)
 
 arch_initcall (msm_init_datamover)
 

Variables

unsigned int msm_dmov_print_mask = MSM_DMOV_PRINT_ERRORS
 

Macro Definition Documentation

#define MSM_DMOV_CHANNEL_COUNT   16

Definition at line 23 of file dma.c.

#define MSM_DMOV_DPRINTF (   mask,
  format,
  args... 
)
Value:
do { \
printk(KERN_ERR format, args); \
} while (0)

Definition at line 38 of file dma.c.

#define PRINT_ERROR (   format,
  args... 
)    MSM_DMOV_DPRINTF(MSM_DMOV_PRINT_ERRORS, format, args);

Definition at line 43 of file dma.c.

#define PRINT_FLOW (   format,
  args... 
)    MSM_DMOV_DPRINTF(MSM_DMOV_PRINT_FLOW, format, args);

Definition at line 47 of file dma.c.

#define PRINT_IO (   format,
  args... 
)    MSM_DMOV_DPRINTF(MSM_DMOV_PRINT_IO, format, args);

Definition at line 45 of file dma.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
MSM_DMOV_PRINT_ERRORS 
MSM_DMOV_PRINT_IO 
MSM_DMOV_PRINT_FLOW 

Definition at line 25 of file dma.c.

Function Documentation

arch_initcall ( msm_init_datamover  )
void msm_dmov_enqueue_cmd ( unsigned  id,
struct msm_dmov_cmd cmd 
)

Definition at line 55 of file dma.c.

int msm_dmov_exec_cmd ( unsigned  id,
unsigned int  cmdptr 
)

Definition at line 114 of file dma.c.

void msm_dmov_stop_cmd ( unsigned  id,
struct msm_dmov_cmd cmd,
int  graceful 
)

Definition at line 50 of file dma.c.

Variable Documentation

unsigned int msm_dmov_print_mask = MSM_DMOV_PRINT_ERRORS

Definition at line 36 of file dma.c.