Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sbecom_inline_linux.h File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <asm/byteorder.h>

Go to the source code of this file.

Data Structures

struct  watchdog
 

Macros

#define SD_SEM_TAKE(sem, desc)   down(sem)
 
#define SD_SEM_GIVE(sem)   up(sem)
 
#define SEM_AVAILABLE   1
 
#define SEM_TAKEN   0
 

Functions

u_int32_t pci_read_32 (u_int32_t *p)
 
void pci_write_32 (u_int32_t *p, u_int32_t v)
 
void OS_sem_init (void *, int)
 
void OS_uwait (int usec, char *description)
 
void OS_uwait_dummy (void)
 
int OS_init_watchdog (struct watchdog *wdp, void(*f)(void *), void *ci, int usec)
 

Macro Definition Documentation

#define SD_SEM_GIVE (   sem)    up(sem)

Definition at line 159 of file sbecom_inline_linux.h.

#define SD_SEM_TAKE (   sem,
  desc 
)    down(sem)

Definition at line 158 of file sbecom_inline_linux.h.

#define SEM_AVAILABLE   1

Definition at line 160 of file sbecom_inline_linux.h.

#define SEM_TAKEN   0

Definition at line 161 of file sbecom_inline_linux.h.

Function Documentation

int OS_init_watchdog ( struct watchdog wdp,
void(*)(void *)  f,
void ci,
int  usec 
)

Definition at line 129 of file functions.c.

void OS_sem_init ( void ,
int   
)

Definition at line 182 of file functions.c.

void OS_uwait ( int  usec,
char description 
)

Definition at line 146 of file functions.c.

void OS_uwait_dummy ( void  )

Definition at line 171 of file functions.c.

u_int32_t pci_read_32 ( u_int32_t p)

Definition at line 63 of file functions.c.

void pci_write_32 ( u_int32_t p,
u_int32_t  v 
)

Definition at line 80 of file functions.c.