Home
last modified time | relevance | path

Searched refs:SecNo (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/arch/emips/ebus/
H A Dflash_ebus.c233 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() argument
316 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() argument
334 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp1331 uint32_t SecNo = 1; in addDataSections() local
1346 ".sec" + std::to_string(SecNo++), RecAddr, in addDataSections()
1347 ELF::SHF_ALLOC | ELF::SHF_WRITE, SecNo); in addDataSections()