Searched refs:get_sector_size (Results 1 – 2 of 2) sorted by relevance
102 uint32_t SpiFlash::get_sector_size() in get_sector_size() function in SpiFlash173 start = dest_addr / this->get_sector_size(); in write()174 end = size > 0 ? (dest_addr + size - 1) / this->get_sector_size() : start; in write()211 start = src_addr / this->get_sector_size(); in read()212 end = size > 0 ? (src_addr + size - 1) / this->get_sector_size() : start; in read()
38 uint32_t get_sector_size();