Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mantis_core.c File Reference
#include "mantis_common.h"
#include "mantis_core.h"
#include "mantis_vp1033.h"
#include "mantis_vp1034.h"
#include "mantis_vp1041.h"
#include "mantis_vp2033.h"
#include "mantis_vp2040.h"
#include "mantis_vp3030.h"

Go to the source code of this file.

Macros

#define MANTIS_MODEL_UNKNOWN   "UNKNOWN"
 
#define MANTIS_DEV_UNKNOWN   "UNKNOWN"
 

Functions

int mantis_core_init (struct mantis_pci *mantis)
 
int mantis_core_exit (struct mantis_pci *mantis)
 
void gpio_set_bits (struct mantis_pci *mantis, u32 bitpos, u8 value)
 
void mantis_set_direction (struct mantis_pci *mantis, int direction)
 

Variables

struct mantis_hwconfig unknown_device
 

Macro Definition Documentation

#define MANTIS_DEV_UNKNOWN   "UNKNOWN"

Definition at line 100 of file mantis_core.c.

#define MANTIS_MODEL_UNKNOWN   "UNKNOWN"

Definition at line 99 of file mantis_core.c.

Function Documentation

void gpio_set_bits ( struct mantis_pci mantis,
u32  bitpos,
u8  value 
)

Definition at line 201 of file mantis_core.c.

int mantis_core_exit ( struct mantis_pci mantis)

Definition at line 182 of file mantis_core.c.

int mantis_core_init ( struct mantis_pci mantis)

Definition at line 137 of file mantis_core.c.

void mantis_set_direction ( struct mantis_pci mantis,
int  direction 
)

Definition at line 217 of file mantis_core.c.

Variable Documentation

struct mantis_hwconfig unknown_device
Initial value:
= {
.model_name = MANTIS_MODEL_UNKNOWN,
.dev_type = MANTIS_DEV_UNKNOWN,
}

Definition at line 102 of file mantis_core.c.