Searched refs:sector_addr (Results 1 – 2 of 2) sorted by relevance
1194 u32 sector_addr, u8 erase_flag) in asd_chk_write_status() argument1259 u32 sector_addr; in asd_erase_nv_sector() local1264 sector_addr = flash_addr & FLASH_SECTOR_SIZE_MASK; in asd_erase_nv_sector()1270 while (sector_addr < flash_addr+size) { in asd_erase_nv_sector()1278 asd_write_reg_byte(asd_ha, (reg + sector_addr), 0x30); in asd_erase_nv_sector()1286 asd_write_reg_byte(asd_ha, (reg + sector_addr), 0x30); in asd_erase_nv_sector()1292 if (asd_chk_write_status(asd_ha, sector_addr, 1) != 0) in asd_erase_nv_sector()1295 sector_addr += FLASH_SECTOR_SIZE; in asd_erase_nv_sector()
99 u32 sector_addr, u8 erase_flag);