Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wear_levelling/
DWL_Flash.cpp555 size_t virt_addr = this->calcAddr(sector * this->cfg.sector_size); in erase_sector() local
556 …result = this->flash_drv->erase_sector((this->cfg.start_addr + virt_addr) / this->cfg.sector_size); in erase_sector()
586 size_t virt_addr = this->calcAddr(dest_addr + i * this->cfg.page_size); in write() local
587 …result = this->flash_drv->write(this->cfg.start_addr + virt_addr, &((uint8_t *)src)[i * this->cfg.… in write()
605 size_t virt_addr = this->calcAddr(src_addr + i * this->cfg.page_size); in read() local
606 …dr= 0x%08x, size= 0x%08x", __func__, (uint32_t) (this->cfg.start_addr + virt_addr), (uint32_t) siz… in read()
607 …result = this->flash_drv->read(this->cfg.start_addr + virt_addr, &((uint8_t *)dest)[i * this->cfg.… in read()