Lines Matching refs:bcm_mini_adapter

5 static int BcmDoChipSelect(struct bcm_mini_adapter *Adapter,
7 static int BcmGetActiveDSD(struct bcm_mini_adapter *Adapter);
8 static int BcmGetActiveISO(struct bcm_mini_adapter *Adapter);
9 static unsigned int BcmGetEEPROMSize(struct bcm_mini_adapter *Adapter);
10 static int BcmGetFlashCSInfo(struct bcm_mini_adapter *Adapter);
11 static unsigned int BcmGetFlashSectorSize(struct bcm_mini_adapter *Adapter,
15 static VOID BcmValidateNvmType(struct bcm_mini_adapter *Adapter);
16 static int BcmGetNvmSize(struct bcm_mini_adapter *Adapter);
17 static unsigned int BcmGetFlashSize(struct bcm_mini_adapter *Adapter);
18 static enum bcm_nvm_type BcmGetNvmType(struct bcm_mini_adapter *Adapter);
20 static int BcmGetSectionValEndOffset(struct bcm_mini_adapter *Adapter,
23 static B_UINT8 IsOffsetWritable(struct bcm_mini_adapter *Adapter,
25 static int IsSectionWritable(struct bcm_mini_adapter *Adapter,
27 static int IsSectionExistInVendorInfo(struct bcm_mini_adapter *Adapter,
30 static int ReadDSDPriority(struct bcm_mini_adapter *Adapter,
32 static int ReadDSDSignature(struct bcm_mini_adapter *Adapter,
34 static int ReadISOPriority(struct bcm_mini_adapter *Adapter,
36 static int ReadISOSignature(struct bcm_mini_adapter *Adapter,
39 static int CorruptDSDSig(struct bcm_mini_adapter *Adapter,
41 static int CorruptISOSig(struct bcm_mini_adapter *Adapter,
43 static int SaveHeaderIfPresent(struct bcm_mini_adapter *Adapter,
46 static int WriteToFlashWithoutSectorErase(struct bcm_mini_adapter *Adapter,
51 static enum bcm_flash2x_section_val getHighestPriDSD(struct bcm_mini_adapter *Adapter);
52 static enum bcm_flash2x_section_val getHighestPriISO(struct bcm_mini_adapter *Adapter);
55 struct bcm_mini_adapter *Adapter,
61 struct bcm_mini_adapter *Adapter,
67 static int GetFlashBaseAddr(struct bcm_mini_adapter *Adapter);
69 static int ReadBeceemEEPROMBulk(struct bcm_mini_adapter *Adapter, unsigned int dwAddress, unsigned int *pdwData, unsigned int dwNumData);
80 static UCHAR ReadEEPROMStatusRegister(struct bcm_mini_adapter *Adapter)
142 static int ReadBeceemEEPROMBulk(struct bcm_mini_adapter *Adapter,
261 int ReadBeceemEEPROM(struct bcm_mini_adapter *Adapter,
287 int ReadMacAddressFromNVM(struct bcm_mini_adapter *Adapter)
319 int BeceemEEPROMBulkRead(struct bcm_mini_adapter *Adapter,
412 static int BeceemFlashBulkRead(struct bcm_mini_adapter *Adapter,
490 static unsigned int BcmGetFlashSize(struct bcm_mini_adapter *Adapter)
511 static unsigned int BcmGetEEPROMSize(struct bcm_mini_adapter *Adapter)
563 static int FlashSectorErase(struct bcm_mini_adapter *Adapter,
624 static int flashByteWrite(struct bcm_mini_adapter *Adapter,
701 static int flashWrite(struct bcm_mini_adapter *Adapter,
779 static int flashByteWriteStatus(struct bcm_mini_adapter *Adapter,
857 static int flashWriteStatus(struct bcm_mini_adapter *Adapter,
932 static VOID BcmRestoreBlockProtectStatus(struct bcm_mini_adapter *Adapter, ULONG ulWriteStatus)
958 static ULONG BcmFlashUnProtectBlock(struct bcm_mini_adapter *Adapter, unsigned int uiOffset, unsigned int uiLength)
1036 static int bulk_read_complete_sector(struct bcm_mini_adapter *ad,
1091 static int BeceemFlashBulkWrite(struct bcm_mini_adapter *Adapter,
1267 static int BeceemFlashBulkWriteStatus(struct bcm_mini_adapter *Adapter,
1415 int PropagateCalParamsFromFlashToMemory(struct bcm_mini_adapter *Adapter)
1493 static int BeceemEEPROMReadBackandVerify(struct bcm_mini_adapter *Adapter,
1578 static int BeceemEEPROMWritePage(struct bcm_mini_adapter *Adapter, unsigned int uiData[], unsigned int uiOffset)
1708 int BeceemEEPROMBulkWrite(struct bcm_mini_adapter *Adapter,
1795 int BeceemNVMRead(struct bcm_mini_adapter *Adapter,
1854 int BeceemNVMWrite(struct bcm_mini_adapter *Adapter,
1964 int BcmUpdateSectorSize(struct bcm_mini_adapter *Adapter, unsigned int uiSectorSize)
2025 static unsigned int BcmGetFlashSectorSize(struct bcm_mini_adapter *Adapter, unsigned int FlashSectorSizeSig, unsigned int FlashSectorSize)
2078 static int BcmInitEEPROMQueues(struct bcm_mini_adapter *Adapter)
2115 int BcmInitNVM(struct bcm_mini_adapter *ps_adapter)
2141 static int BcmGetNvmSize(struct bcm_mini_adapter *Adapter)
2163 static VOID BcmValidateNvmType(struct bcm_mini_adapter *Adapter)
2188 static ULONG BcmReadFlashRDID(struct bcm_mini_adapter *Adapter)
2211 int BcmAllocFlashCSStructure(struct bcm_mini_adapter *psAdapter)
2241 int BcmDeAllocFlashCSStructure(struct bcm_mini_adapter *psAdapter)
2253 static int BcmDumpFlash2XCSStructure(struct bcm_flash2x_cs_info *psFlash2xCSInfo, struct bcm_mini_adapter *Adapter)
2402 static int IsSectionExistInVendorInfo(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val section)
2409 static VOID UpdateVendorInfo(struct bcm_mini_adapter *Adapter)
2496 static int BcmGetFlashCSInfo(struct bcm_mini_adapter *Adapter)
2619 static enum bcm_nvm_type BcmGetNvmType(struct bcm_mini_adapter *Adapter)
2657 int BcmGetSectionValStartOffset(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val eFlashSectionVal)
2749 static int BcmGetSectionValEndOffset(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val eFlash2xSectionVal)
2836 int BcmFlash2xBulkRead(struct bcm_mini_adapter *Adapter,
2898 int BcmFlash2xBulkWrite(struct bcm_mini_adapter *Adapter,
2960 static int BcmGetActiveDSD(struct bcm_mini_adapter *Adapter)
3002 static int BcmGetActiveISO(struct bcm_mini_adapter *Adapter)
3031 static B_UINT8 IsOffsetWritable(struct bcm_mini_adapter *Adapter, unsigned int uiOffset)
3057 struct bcm_mini_adapter *Adapter = GET_BCM_ADAPTER(gblpnetdev);
3090 int BcmGetFlash2xSectionalBitMap(struct bcm_mini_adapter *Adapter, struct bcm_flash2x_bitmap *psFlash2xBitMap)
3340 int BcmSetActiveSection(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val eFlash2xSectVal)
3520 int BcmCopyISO(struct bcm_mini_adapter *Adapter, struct bcm_flash2x_copy_section sCopySectStrut)
3803 int BcmFlash2xCorruptSig(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val eFlash2xSectionVal)
3831 int BcmFlash2xWriteSig(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val eFlashSectionVal)
3891 int validateFlash2xReadWrite(struct bcm_mini_adapter *Adapter, struct bcm_flash2x_readwrite *psFlash2xReadWrite)
3959 int IsFlash2x(struct bcm_mini_adapter *Adapter)
3975 static int GetFlashBaseAddr(struct bcm_mini_adapter *Adapter)
4019 int BcmCopySection(struct bcm_mini_adapter *Adapter,
4124 static int SaveHeaderIfPresent(struct bcm_mini_adapter *Adapter, PUCHAR pBuff, unsigned int uiOffset)
4189 static int BcmDoChipSelect(struct bcm_mini_adapter *Adapter, unsigned int offset)
4263 static int ReadDSDSignature(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val dsd)
4288 static int ReadDSDPriority(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val dsd)
4311 static enum bcm_flash2x_section_val getHighestPriDSD(struct bcm_mini_adapter *Adapter)
4343 static int ReadISOSignature(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val iso)
4366 static int ReadISOPriority(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val iso)
4386 static enum bcm_flash2x_section_val getHighestPriISO(struct bcm_mini_adapter *Adapter)
4410 static int WriteToFlashWithoutSectorErase(struct bcm_mini_adapter *Adapter,
4468 bool IsSectionExistInFlash(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val section)
4523 static int IsSectionWritable(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val Section)
4546 static int CorruptDSDSig(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val eFlash2xSectionVal)
4608 static int CorruptISOSig(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section_val eFlash2xSectionVal)
4655 bool IsNonCDLessDevice(struct bcm_mini_adapter *Adapter)