Home
last modified time | relevance | path

Searched refs:PhyBlock (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/staging/keucr/
Dsmilmain.c254 Media.PhyBlock=ReadBlock; in Release_D_CopySector()
256 if (Media.PhyBlock==NO_ASSIGN) in Release_D_CopySector()
258 Media.PhyBlock=WriteBlock; in Release_D_CopySector()
262 Clr_D_Bit(Assign[Media.Zone],Media.PhyBlock); in Release_D_CopySector()
263 Media.PhyBlock=WriteBlock; in Release_D_CopySector()
769 Media.PhyBlock = Log2Phy[Media.Zone][Media.LogBlock]; in Conv_D_MediaAddr()
803 Media.PhyBlock=Log2Phy[Media.Zone][Media.LogBlock]; in Inc_D_MediaAddr()
824 Media.PhyBlock=Log2Phy[Media.Zone][Media.LogBlock]; in Inc_D_MediaAddr()
1107 Media.PhyBlock=ReadBlock; in Copy_D_BlockAll()
1117 Media.PhyBlock=WriteBlock; in Copy_D_BlockAll()
[all …]
Dms.c255 int MS_LibCheckDisableBlock(struct us_data *us, WORD PhyBlock) in MS_LibCheckDisableBlock() argument
268 MS_ReaderReadPage(us, PhyBlock, 1, (DWORD *)PageBuf, &extdat); in MS_LibCheckDisableBlock()
337 int MS_LibProcessBootBlock(struct us_data *us, WORD PhyBlock, BYTE *PageData) in MS_LibProcessBootBlock() argument
385 MS_LibSetBootBlockMark(us, PhyBlock); //Mark the book block in MS_LibProcessBootBlock()
414 switch (MS_ReaderReadPage(us, PhyBlock, PageNumber, (DWORD *)PageBuffer, &ExtraData)) in MS_LibProcessBootBlock()
442 …switch (MS_ReaderReadPage(us, PhyBlock, (BYTE)(EntryOffset / MS_BYTES_PER_PAGE + 1), (DWORD *)Page… in MS_LibProcessBootBlock()
523 WORD PhyBlock, newblk, i; in MS_LibScanLogicalBlockNumber() local
529 for (PhyBlock = 0; PhyBlock < us->MS_Lib.NumberOfPhyBlock;) in MS_LibScanLogicalBlockNumber()
531 MS_LibPhy2LogRange(PhyBlock, &LogStart, &LogEnde); in MS_LibScanLogicalBlockNumber()
533 for (i=0; i<MS_PHYSICAL_BLOCKS_PER_SEGMENT; i++, PhyBlock++) in MS_LibScanLogicalBlockNumber()
[all …]
Dtransport.h117 extern int MS_LibProcessBootBlock(struct us_data *us, WORD PhyBlock, BYTE *PageData);
125 void MS_LibPhy2LogRange(WORD PhyBlock, WORD *LogStart, WORD *LogEnde);
126 extern int MS_LibReadExtra(struct us_data *us, DWORD PhyBlock, BYTE PageNum, MS_LibTypeExtdat *Extr…
127 extern int MS_LibReadExtraBlock(struct us_data *us, DWORD PhyBlock, BYTE PageNum, BYTE blen, void *…
133 extern int MS_LibCheckDisableBlock(struct us_data *us, WORD PhyBlock);
134 extern int MS_CountFreeBlock(struct us_data *us, WORD PhyBlock);
Dsmilsub.c213 zone=Media.Zone; block=Media.PhyBlock; sector=Media.Sector; in Ssfdc_D_ReadCisSect()
215 Media.PhyBlock=CisArea.PhyBlock; in Ssfdc_D_ReadCisSect()
220 Media.Zone=zone; Media.PhyBlock=block; Media.Sector=sector; in Ssfdc_D_ReadCisSect()
224 Media.Zone=zone; Media.PhyBlock=block; Media.Sector=sector; in Ssfdc_D_ReadCisSect()
265 addr = (WORD)Media.Zone*Ssfdc.MaxBlocks+Media.PhyBlock; in Ssfdc_D_ReadSect()
318 addr = (WORD)Media.Zone*Ssfdc.MaxBlocks+Media.PhyBlock; in Ssfdc_D_ReadBlock()
753 addr = (WORD)Media.Zone*Ssfdc.MaxBlocks+Media.PhyBlock; in Ssfdc_D_WriteSectForCopy()
791 addr=(WORD)Media.Zone*Ssfdc.MaxBlocks+Media.PhyBlock; in Ssfdc_D_EraseBlock()
827 addr = (WORD)Media.Zone*Ssfdc.MaxBlocks+Media.PhyBlock; in Ssfdc_D_ReadRedtData()
870 addr = (WORD)Media.Zone*Ssfdc.MaxBlocks+Media.PhyBlock; in Ssfdc_D_WriteRedtData()
Dsmil.h190 WORD PhyBlock; /* Physical Block Number on Zone */ member
198 WORD PhyBlock; /* Physical Block Number on Zone */ member
205 WORD PhyBlock; /* Physical Block Number on Zone 0 */ member
Dms.h114 …Conv2Logical(pdx, PhyBlock) (((PhyBlock) >= (pdx)->MS_Lib.NumberOfPhyBlock) ? MS_STATUS_ERRO… argument