TwiceAsNice  2019-02-18
Macros | Functions | Variables
gsc_util_reg_plx9056.c File Reference
#include <stdio.h>
#include <asm/types.h>
#include "gsc_pci9056.h"
#include "gsc_utils.h"
Include dependency graph for gsc_util_reg_plx9056.c:

Macros

#define _PCI_REG(a)   "PCI " #a, GSC_PCI_9056_##a, 0, 0, 0
 
#define _PLX_REG(a)   "PLX " #a, GSC_PLX_9056_##a, 0, 0, 0
 

Functions

static const gsc_reg_def_t_find_reg (unsigned long reg, const gsc_reg_def_t *list)
 
int gsc_reg_plx9056_list_pci (int fd)
 
int gsc_reg_plx9056_list_plx (int fd)
 
const char * gsc_reg_plx9056_get_desc (unsigned long reg)
 
const char * gsc_reg_plx9056_get_name (unsigned long reg)
 

Variables

static gsc_reg_def_t _pci []
 
static gsc_reg_def_t _plx []
 

Macro Definition Documentation

◆ _PCI_REG

#define _PCI_REG (   a)    "PCI " #a, GSC_PCI_9056_##a, 0, 0, 0

◆ _PLX_REG

#define _PLX_REG (   a)    "PLX " #a, GSC_PLX_9056_##a, 0, 0, 0

Function Documentation

◆ _find_reg()

static const gsc_reg_def_t* _find_reg ( unsigned long  reg,
const gsc_reg_def_t list 
)
static

◆ gsc_reg_plx9056_get_desc()

const char* gsc_reg_plx9056_get_desc ( unsigned long  reg)

◆ gsc_reg_plx9056_get_name()

const char* gsc_reg_plx9056_get_name ( unsigned long  reg)

◆ gsc_reg_plx9056_list_pci()

int gsc_reg_plx9056_list_pci ( int  fd)

◆ gsc_reg_plx9056_list_plx()

int gsc_reg_plx9056_list_plx ( int  fd)

Variable Documentation

◆ _pci

gsc_reg_def_t _pci[]
static

◆ _plx

gsc_reg_def_t _plx[]
static