Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nvm.c File Reference
#include "headers.h"

Go to the source code of this file.

Macros

#define DWORD   unsigned int
 

Functions

int ReadBeceemEEPROMBulk (struct bcm_mini_adapter *Adapter, DWORD dwAddress, DWORD *pdwData, DWORD dwNumWords)
 
int ReadBeceemEEPROM (struct bcm_mini_adapter *Adapter, DWORD uiOffset, DWORD *pBuffer)
 
int ReadMacAddressFromNVM (struct bcm_mini_adapter *Adapter)
 
int BeceemEEPROMBulkRead (struct bcm_mini_adapter *Adapter, PUINT pBuffer, unsigned int uiOffset, unsigned int uiNumBytes)
 
int PropagateCalParamsFromEEPROMToMemory (struct bcm_mini_adapter *Adapter)
 
int PropagateCalParamsFromFlashToMemory (struct bcm_mini_adapter *Adapter)
 
int BeceemEEPROMBulkWrite (struct bcm_mini_adapter *Adapter, PUCHAR pBuffer, unsigned int uiOffset, unsigned int uiNumBytes, BOOLEAN bVerify)
 
int BeceemNVMRead (struct bcm_mini_adapter *Adapter, PUINT pBuffer, unsigned int uiOffset, unsigned int uiNumBytes)
 
int BeceemNVMWrite (struct bcm_mini_adapter *Adapter, PUINT pBuffer, unsigned int uiOffset, unsigned int uiNumBytes, BOOLEAN bVerify)
 
int BcmUpdateSectorSize (struct bcm_mini_adapter *Adapter, unsigned int uiSectorSize)
 
int BcmInitNVM (struct bcm_mini_adapter *ps_adapter)
 
int BcmAllocFlashCSStructure (struct bcm_mini_adapter *psAdapter)
 
int BcmDeAllocFlashCSStructure (struct bcm_mini_adapter *psAdapter)
 
int BcmGetSectionValStartOffset (struct bcm_mini_adapter *Adapter, FLASH2X_SECTION_VAL eFlashSectionVal)
 
int BcmFlash2xBulkRead (struct bcm_mini_adapter *Adapter, PUINT pBuffer, FLASH2X_SECTION_VAL eFlash2xSectionVal, unsigned int uiOffsetWithinSectionVal, unsigned int uiNumBytes)
 
int BcmFlash2xBulkWrite (struct bcm_mini_adapter *Adapter, PUINT pBuffer, FLASH2X_SECTION_VAL eFlash2xSectVal, unsigned int uiOffset, unsigned int uiNumBytes, unsigned int bVerify)
 
int BcmGetFlash2xSectionalBitMap (struct bcm_mini_adapter *Adapter, PFLASH2X_BITMAP psFlash2xBitMap)
 
int BcmSetActiveSection (struct bcm_mini_adapter *Adapter, FLASH2X_SECTION_VAL eFlash2xSectVal)
 
int BcmCopyISO (struct bcm_mini_adapter *Adapter, FLASH2X_COPY_SECTION sCopySectStrut)
 
int BcmFlash2xCorruptSig (struct bcm_mini_adapter *Adapter, FLASH2X_SECTION_VAL eFlash2xSectionVal)
 
int BcmFlash2xWriteSig (struct bcm_mini_adapter *Adapter, FLASH2X_SECTION_VAL eFlashSectionVal)
 
int validateFlash2xReadWrite (struct bcm_mini_adapter *Adapter, PFLASH2X_READWRITE psFlash2xReadWrite)
 
int IsFlash2x (struct bcm_mini_adapter *Adapter)
 
int BcmCopySection (struct bcm_mini_adapter *Adapter, FLASH2X_SECTION_VAL SrcSection, FLASH2X_SECTION_VAL DstSection, unsigned int offset, unsigned int numOfBytes)
 
BOOLEAN IsSectionExistInFlash (struct bcm_mini_adapter *Adapter, FLASH2X_SECTION_VAL section)
 
BOOLEAN IsNonCDLessDevice (struct bcm_mini_adapter *Adapter)
 

Macro Definition Documentation

#define DWORD   unsigned int

Definition at line 3 of file nvm.c.

Function Documentation

int BcmAllocFlashCSStructure ( struct bcm_mini_adapter psAdapter)

Definition at line 2225 of file nvm.c.

int BcmCopyISO ( struct bcm_mini_adapter Adapter,
FLASH2X_COPY_SECTION  sCopySectStrut 
)

Definition at line 3532 of file nvm.c.

int BcmCopySection ( struct bcm_mini_adapter Adapter,
FLASH2X_SECTION_VAL  SrcSection,
FLASH2X_SECTION_VAL  DstSection,
unsigned int  offset,
unsigned int  numOfBytes 
)

Definition at line 4023 of file nvm.c.

int BcmDeAllocFlashCSStructure ( struct bcm_mini_adapter psAdapter)

Definition at line 2255 of file nvm.c.

int BcmFlash2xBulkRead ( struct bcm_mini_adapter Adapter,
PUINT  pBuffer,
FLASH2X_SECTION_VAL  eFlash2xSectionVal,
unsigned int  uiOffsetWithinSectionVal,
unsigned int  uiNumBytes 
)

Definition at line 2848 of file nvm.c.

int BcmFlash2xBulkWrite ( struct bcm_mini_adapter Adapter,
PUINT  pBuffer,
FLASH2X_SECTION_VAL  eFlash2xSectVal,
unsigned int  uiOffset,
unsigned int  uiNumBytes,
unsigned int  bVerify 
)

Definition at line 2910 of file nvm.c.

int BcmFlash2xCorruptSig ( struct bcm_mini_adapter Adapter,
FLASH2X_SECTION_VAL  eFlash2xSectionVal 
)

Definition at line 3816 of file nvm.c.

int BcmFlash2xWriteSig ( struct bcm_mini_adapter Adapter,
FLASH2X_SECTION_VAL  eFlashSectionVal 
)

Definition at line 3844 of file nvm.c.

int BcmGetFlash2xSectionalBitMap ( struct bcm_mini_adapter Adapter,
PFLASH2X_BITMAP  psFlash2xBitMap 
)

Definition at line 3102 of file nvm.c.

int BcmGetSectionValStartOffset ( struct bcm_mini_adapter Adapter,
FLASH2X_SECTION_VAL  eFlashSectionVal 
)

Definition at line 2670 of file nvm.c.

int BcmInitNVM ( struct bcm_mini_adapter ps_adapter)

Definition at line 2129 of file nvm.c.

int BcmSetActiveSection ( struct bcm_mini_adapter Adapter,
FLASH2X_SECTION_VAL  eFlash2xSectVal 
)

Definition at line 3352 of file nvm.c.

int BcmUpdateSectorSize ( struct bcm_mini_adapter Adapter,
unsigned int  uiSectorSize 
)

Definition at line 1978 of file nvm.c.

int BeceemEEPROMBulkRead ( struct bcm_mini_adapter Adapter,
PUINT  pBuffer,
unsigned int  uiOffset,
unsigned int  uiNumBytes 
)

Definition at line 302 of file nvm.c.

int BeceemEEPROMBulkWrite ( struct bcm_mini_adapter Adapter,
PUCHAR  pBuffer,
unsigned int  uiOffset,
unsigned int  uiNumBytes,
BOOLEAN  bVerify 
)

Definition at line 1723 of file nvm.c.

int BeceemNVMRead ( struct bcm_mini_adapter Adapter,
PUINT  pBuffer,
unsigned int  uiOffset,
unsigned int  uiNumBytes 
)

Definition at line 1810 of file nvm.c.

int BeceemNVMWrite ( struct bcm_mini_adapter Adapter,
PUINT  pBuffer,
unsigned int  uiOffset,
unsigned int  uiNumBytes,
BOOLEAN  bVerify 
)

Definition at line 1869 of file nvm.c.

int IsFlash2x ( struct bcm_mini_adapter Adapter)

Definition at line 3963 of file nvm.c.

BOOLEAN IsNonCDLessDevice ( struct bcm_mini_adapter Adapter)

Definition at line 4658 of file nvm.c.

BOOLEAN IsSectionExistInFlash ( struct bcm_mini_adapter Adapter,
FLASH2X_SECTION_VAL  section 
)

Definition at line 4471 of file nvm.c.

int PropagateCalParamsFromEEPROMToMemory ( struct bcm_mini_adapter Adapter)

Definition at line 1369 of file nvm.c.

int PropagateCalParamsFromFlashToMemory ( struct bcm_mini_adapter Adapter)

Definition at line 1430 of file nvm.c.

int ReadBeceemEEPROM ( struct bcm_mini_adapter Adapter,
DWORD  uiOffset,
DWORD pBuffer 
)

Definition at line 244 of file nvm.c.

int ReadBeceemEEPROMBulk ( struct bcm_mini_adapter Adapter,
DWORD  dwAddress,
DWORD pdwData,
DWORD  dwNumWords 
)

Definition at line 125 of file nvm.c.

int ReadMacAddressFromNVM ( struct bcm_mini_adapter Adapter)

Definition at line 270 of file nvm.c.

int validateFlash2xReadWrite ( struct bcm_mini_adapter Adapter,
PFLASH2X_READWRITE  psFlash2xReadWrite 
)

Definition at line 3904 of file nvm.c.