Home
last modified time | relevance | path

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

/device/soc/winnermicro/wm800/board/platform/drivers/internalflash/
Dwm_internal_fls.c857 unsigned int offaddr; in tls_fls_write() local
877 offaddr = addr & (INSIDE_FLS_BASE_ADDR - 1); // Offset of 0X08000000 in tls_fls_write()
878 secpos = offaddr / INSIDE_FLS_SECTOR_SIZE; // Section addr in tls_fls_write()
879 secoff = (offaddr % INSIDE_FLS_SECTOR_SIZE); // Offset in section in tls_fls_write()
937 unsigned int offaddr; in tls_fls_write_without_erase() local
957 offaddr = addr & (INSIDE_FLS_BASE_ADDR - 1); // Offset of 0X08000000 in tls_fls_write_without_erase()
958 pagepos = offaddr / INSIDE_FLS_PAGE_SIZE; // Page addr in tls_fls_write_without_erase()
959 pageoff = (offaddr % INSIDE_FLS_PAGE_SIZE); // Offset in page in tls_fls_write_without_erase()