Searched refs:SecNo (Results 1 – 1 of 1) sorted by relevance
233 static int KBinSector(struct flash_type * SecMap, unsigned int SecNo);234 static uint32_t SectorStart(struct flash_type * SecMap, int SecNo);311 static int KBinSector(struct flash_type * SecMap, unsigned int SecNo) in KBinSector() argument316 if (SecNo < SecMap->ft_deltas[i].nSectors) in KBinSector()318 SecNo -= SecMap->ft_deltas[i].nSectors; in KBinSector()328 static uint32_t SectorStart(struct flash_type * SecMap, int SecNo) in SectorStart() argument334 if ((unsigned int)SecNo < SecMap->ft_deltas[i].nSectors) in SectorStart()335 return 1024 * (Offset + (SecMap->ft_deltas[i].nKB * SecNo)); in SectorStart()336 SecNo -= SecMap->ft_deltas[i].nSectors; in SectorStart()348 unsigned int SecNo = 0; in SectorNumber() local[all …]