Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
functions.c File Reference
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <linux/netdevice.h>
#include <linux/delay.h>
#include <linux/hdlc.h>
#include "pmcc4_sysdep.h"
#include "sbecom_inline_linux.h"
#include "libsbew.h"
#include "pmcc4.h"
#include "comet.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define STATIC   static
 
#define _v7_hdlc_   0
 
#define V7(x)   x
 

Functions

u_int32_t pci_read_32 (u_int32_t *p)
 
void pci_write_32 (u_int32_t *p, u_int32_t v)
 
void pci_flush_write (ci_t *ci)
 
STATIC void watchdog_func (unsigned long arg)
 
int OS_init_watchdog (struct watchdog *wdp, void(*f)(void *), void *c, int usec)
 
void OS_uwait (int usec, char *description)
 
void OS_uwait_dummy (void)
 
void OS_sem_init (void *sem, int state)
 
int sd_line_is_ok (void *user)
 
void sd_line_is_up (void *user)
 
void sd_line_is_down (void *user)
 
void sd_disable_xmit (void *user)
 
void sd_enable_xmit (void *user)
 
int sd_queue_stopped (void *user)
 
void sd_recv_consume (void *token, size_t len, void *user)
 
void VMETRO_TRACE (void *x)
 
void VMETRO_TRIGGER (ci_t *ci, int x)
 

Variables

int cxt1e1_log_level
 
int drvr_state
 
ci_tCI
 

Macro Definition Documentation

#define _v7_hdlc_   0

Definition at line 38 of file functions.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 14 of file functions.c.

#define STATIC   static

Definition at line 31 of file functions.c.

#define V7 (   x)    x

Definition at line 48 of file functions.c.

Function Documentation

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

Definition at line 129 of file functions.c.

void OS_sem_init ( void sem,
int  state 
)

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.

void pci_flush_write ( ci_t ci)

Definition at line 100 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.

void sd_disable_xmit ( void user)

Definition at line 227 of file functions.c.

void sd_enable_xmit ( void user)

Definition at line 236 of file functions.c.

void sd_line_is_down ( void user)

Definition at line 218 of file functions.c.

int sd_line_is_ok ( void user)

Definition at line 201 of file functions.c.

void sd_line_is_up ( void user)

Definition at line 209 of file functions.c.

int sd_queue_stopped ( void user)

Definition at line 245 of file functions.c.

void sd_recv_consume ( void token,
size_t  len,
void user 
)

Definition at line 252 of file functions.c.

void VMETRO_TRACE ( void x)

Definition at line 273 of file functions.c.

void VMETRO_TRIGGER ( ci_t ci,
int  x 
)

Definition at line 282 of file functions.c.

STATIC void watchdog_func ( unsigned long  arg)

Definition at line 115 of file functions.c.

Variable Documentation

ci_t* CI

Read some reserved location w/in the COMET chip as a usable VMETRO trigger point or other trace marking event.

Definition at line 81 of file pmcc4_drv.c.

int cxt1e1_log_level

Definition at line 112 of file linux.c.

int drvr_state

Definition at line 79 of file pmcc4_drv.c.