Searched refs:SecNo (Results 1 – 2 of 2) 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 …]
1331 uint32_t SecNo = 1; in addDataSections() local1346 ".sec" + std::to_string(SecNo++), RecAddr, in addDataSections()1347 ELF::SHF_ALLOC | ELF::SHF_WRITE, SecNo); in addDataSections()