Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
diva.h File Reference

Go to the source code of this file.

Typedefs

typedef int(* divas_xdi_copy_to_user_fn_t )(void *os_handle, void __user *dst, const void *src, int length)
 
typedef int(* divas_xdi_copy_from_user_fn_t )(void *os_handle, void *dst, const void __user *src, int length)
 

Functions

int divasa_xdi_driver_entry (void)
 
void divasa_xdi_driver_unload (void)
 
voiddiva_driver_add_card (void *pdev, unsigned long CardOrdinal)
 
void diva_driver_remove_card (void *pdiva)
 
int diva_xdi_read (void *adapter, void *os_handle, void __user *dst, int max_length, divas_xdi_copy_to_user_fn_t cp_fn)
 
int diva_xdi_write (void *adapter, void *os_handle, const void __user *src, int length, divas_xdi_copy_from_user_fn_t cp_fn)
 
voiddiva_xdi_open_adapter (void *os_handle, const void __user *src, int length, divas_xdi_copy_from_user_fn_t cp_fn)
 
void diva_xdi_close_adapter (void *adapter, void *os_handle)
 

Typedef Documentation

typedef int(* divas_xdi_copy_from_user_fn_t)(void *os_handle, void *dst, const void __user *src, int length)

Definition at line 15 of file diva.h.

typedef int(* divas_xdi_copy_to_user_fn_t)(void *os_handle, void __user *dst, const void *src, int length)

Definition at line 12 of file diva.h.

Function Documentation

void* diva_driver_add_card ( void pdev,
unsigned long  CardOrdinal 
)

Definition at line 166 of file diva.c.

void diva_driver_remove_card ( void pdiva)

Definition at line 279 of file diva.c.

void diva_xdi_close_adapter ( void adapter,
void os_handle 
)

Definition at line 426 of file diva.c.

void* diva_xdi_open_adapter ( void os_handle,
const void __user src,
int  length,
divas_xdi_copy_from_user_fn_t  cp_fn 
)

Definition at line 389 of file diva.c.

int diva_xdi_read ( void adapter,
void os_handle,
void __user dst,
int  max_length,
divas_xdi_copy_to_user_fn_t  cp_fn 
)

Definition at line 481 of file diva.c.

int diva_xdi_write ( void adapter,
void os_handle,
const void __user src,
int  length,
divas_xdi_copy_from_user_fn_t  cp_fn 
)

Definition at line 438 of file diva.c.

int divasa_xdi_driver_entry ( void  )

Definition at line 248 of file diva.c.

void divasa_xdi_driver_unload ( void  )

Definition at line 369 of file diva.c.