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

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define STATIC   static
 
#define COMET_NUM_SAMPLES   24 /* Number of entries in the waveform table */
 
#define COMET_NUM_UNITS   5 /* Number of points per entry in table */
 

Functions

STATIC void SetPwrLevel (comet_t *comet)
 
STATIC void WrtRcvEqualizerTbl (ci_t *ci, comet_t *comet, u_int32_t *table)
 
STATIC void WrtXmtWaveformTbl (ci_t *ci, comet_t *comet, u_int8_t table[COMET_NUM_SAMPLES][COMET_NUM_UNITS])
 
void init_comet (void *ci, comet_t *comet, u_int32_t port_mode, int clockmaster, u_int8_t moreParams)
 
STATIC void WrtXmtWaveform (ci_t *ci, comet_t *comet, u_int32_t sample, u_int32_t unit, u_int8_t data)
 

Variables

int cxt1e1_log_level
 
voidTWV_table [12]
 

Macro Definition Documentation

#define COMET_NUM_SAMPLES   24 /* Number of entries in the waveform table */

Definition at line 34 of file comet.c.

#define COMET_NUM_UNITS   5 /* Number of points per entry in table */

Definition at line 35 of file comet.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 14 of file comet.c.

#define STATIC   static

Definition at line 28 of file comet.c.

Function Documentation

void init_comet ( void ci,
comet_t comet,
u_int32_t  port_mode,
int  clockmaster,
u_int8_t  moreParams 
)

Definition at line 68 of file comet.c.

STATIC void SetPwrLevel ( comet_t comet)

Definition at line 494 of file comet.c.

STATIC void WrtRcvEqualizerTbl ( ci_t ci,
comet_t comet,
u_int32_t table 
)

Definition at line 430 of file comet.c.

STATIC void WrtXmtWaveform ( ci_t ci,
comet_t comet,
u_int32_t  sample,
u_int32_t  unit,
u_int8_t  data 
)

Definition at line 385 of file comet.c.

STATIC void WrtXmtWaveformTbl ( ci_t ci,
comet_t comet,
u_int8_t  table[COMET_NUM_SAMPLES][COMET_NUM_UNITS] 
)

Definition at line 403 of file comet.c.

Variable Documentation

int cxt1e1_log_level

Definition at line 112 of file linux.c.

void* TWV_table[12]