Searched refs:virt_addr (Results 1 – 1 of 1) sorted by relevance
555 size_t virt_addr = this->calcAddr(sector * this->cfg.sector_size); in erase_sector() local556 …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() local587 …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() local606 …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()