Searched refs:sector_addr (Results 1 – 2 of 2) sorted by relevance
1207 u32 sector_addr, u8 erase_flag) in asd_chk_write_status() argument1272 u32 sector_addr; in asd_erase_nv_sector() local1277 sector_addr = flash_addr & FLASH_SECTOR_SIZE_MASK; in asd_erase_nv_sector()1283 while (sector_addr < flash_addr+size) { in asd_erase_nv_sector()1291 asd_write_reg_byte(asd_ha, (reg + sector_addr), 0x30); in asd_erase_nv_sector()1299 asd_write_reg_byte(asd_ha, (reg + sector_addr), 0x30); in asd_erase_nv_sector()1305 if (asd_chk_write_status(asd_ha, sector_addr, 1) != 0) in asd_erase_nv_sector()1308 sector_addr += FLASH_SECTOR_SIZE; in asd_erase_nv_sector()
117 u32 sector_addr, u8 erase_flag);