Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cx18-mailbox.c File Reference
#include <stdarg.h>
#include "cx18-driver.h"
#include "cx18-io.h"
#include "cx18-scb.h"
#include "cx18-irq.h"
#include "cx18-mailbox.h"
#include "cx18-queue.h"
#include "cx18-streams.h"
#include "cx18-alsa-pcm.h"

Go to the source code of this file.

Data Structures

struct  cx18_api_info
 

Macros

#define API_FAST   (1 << 2) /* Short timeout */
 
#define API_SLOW   (1 << 3) /* Additional 300ms timeout */
 
#define API_ENTRY(rpu, x, f)   { (x), (f), (rpu), #x }
 

Functions

void cx18_in_work_handler (struct work_struct *work)
 
void cx18_api_epu_cmd_irq (struct cx18 *cx, int rpu)
 
int cx18_api (struct cx18 *cx, u32 cmd, int args, u32 data[])
 
int cx18_api_func (void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA])
 
int cx18_vapi_result (struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, int args,...)
 
int cx18_vapi (struct cx18 *cx, u32 cmd, int args,...)
 

Macro Definition Documentation

#define API_ENTRY (   rpu,
  x,
  f 
)    { (x), (f), (rpu), #x }

Definition at line 46 of file cx18-mailbox.c.

#define API_FAST   (1 << 2) /* Short timeout */

Definition at line 36 of file cx18-mailbox.c.

#define API_SLOW   (1 << 3) /* Additional 300ms timeout */

Definition at line 37 of file cx18-mailbox.c.

Function Documentation

int cx18_api ( struct cx18 cx,
u32  cmd,
int  args,
u32  data[] 
)

Definition at line 753 of file cx18-mailbox.c.

void cx18_api_epu_cmd_irq ( struct cx18 cx,
int  rpu 
)

Definition at line 537 of file cx18-mailbox.c.

int cx18_api_func ( void priv,
u32  cmd,
int  in,
int  out,
u32  data[CX2341X_MBOX_MAX_DATA] 
)

Definition at line 775 of file cx18-mailbox.c.

void cx18_in_work_handler ( struct work_struct work)

Definition at line 383 of file cx18-mailbox.c.

int cx18_vapi ( struct cx18 cx,
u32  cmd,
int  args,
  ... 
)

Definition at line 851 of file cx18-mailbox.c.

int cx18_vapi_result ( struct cx18 cx,
u32  data[MAX_MB_ARGUMENTS],
u32  cmd,
int  args,
  ... 
)

Definition at line 838 of file cx18-mailbox.c.