Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cpqphp_nvram.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/pci.h>
#include <linux/pci_hotplug.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include "cpqphp.h"
#include "cpqphp_nvram.h"

Go to the source code of this file.

Data Structures

struct  register_foo
 
struct  all_reg
 
struct  ev_hrt_header
 
struct  ev_hrt_ctrl
 

Macros

#define ROM_INT15_PHY_ADDR   0x0FF859
 
#define READ_EV   0xD8A4
 
#define WRITE_EV   0xD8A5
 

Functions

struct register_foo __attribute__ ((packed))
 
void compaq_nvram_init (void __iomem *rom_start)
 
int compaq_nvram_load (void __iomem *rom_start, struct controller *ctrl)
 
int compaq_nvram_store (void __iomem *rom_start)
 

Variables

union {
   unsigned long   lword
 
   unsigned short   word
 
   struct {
      unsigned char   low
 
      unsigned char   high
 
   }   byte
 
data
 
unsigned char opcode
 
unsigned long length
 
struct register_foo eax_reg
 
struct register_foo ebx_reg
 
struct register_foo ecx_reg
 
struct register_foo edx_reg
 
struct register_foo edi_reg
 
struct register_foo esi_reg
 
struct register_foo eflags_reg
 
struct ev_hrt_header __attribute__
 

Macro Definition Documentation

#define READ_EV   0xD8A4

Definition at line 44 of file cpqphp_nvram.c.

#define ROM_INT15_PHY_ADDR   0x0FF859

Definition at line 43 of file cpqphp_nvram.c.

#define WRITE_EV   0xD8A5

Definition at line 45 of file cpqphp_nvram.c.

Function Documentation

struct register_foo __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

void compaq_nvram_init ( void __iomem rom_start)

Definition at line 429 of file cpqphp_nvram.c.

int compaq_nvram_load ( void __iomem rom_start,
struct controller ctrl 
)

Definition at line 441 of file cpqphp_nvram.c.

int compaq_nvram_store ( void __iomem rom_start)

Definition at line 656 of file cpqphp_nvram.c.

Variable Documentation

struct { ... } byte
union { ... } data

Definition at line 71 of file cpqphp_nvram.c.

Definition at line 72 of file cpqphp_nvram.c.

Definition at line 73 of file cpqphp_nvram.c.

Definition at line 75 of file cpqphp_nvram.c.

Definition at line 74 of file cpqphp_nvram.c.

struct register_foo eflags_reg

Definition at line 77 of file cpqphp_nvram.c.

Definition at line 76 of file cpqphp_nvram.c.

unsigned char high

Definition at line 67 of file cpqphp_nvram.c.

unsigned long length

Definition at line 72 of file cpqphp_nvram.c.

unsigned char low

Definition at line 66 of file cpqphp_nvram.c.

unsigned long lword

Definition at line 62 of file cpqphp_nvram.c.

unsigned char opcode

Definition at line 71 of file cpqphp_nvram.c.

unsigned short word

Definition at line 63 of file cpqphp_nvram.c.