Searched refs:page_cnt (Results 1 – 4 of 4) sorted by relevance
131 uint32_t page_cnt = ((page_end - page_begin) >> 8) + 1; in csi_spiflash_program() local134 uint32_t addr_end = (page_cnt == 1) ? (offset + size) : (page_begin + 0x100); in csi_spiflash_program()145 while(page_cnt){ in csi_spiflash_program()185 page_cnt--; in csi_spiflash_program()187 addr_end = (page_cnt == 1) ? (offset + size) : (((addr_begin>>8) + 1)<<8); in csi_spiflash_program()
355 u32 page_cnt = ((page_end - page_begin) >> 8) + 1; in flash_stream_write() local358 u32 addr_end = (page_cnt == 1) ? (address + len) : (page_begin + 0x100); in flash_stream_write()368 while(page_cnt){ in flash_stream_write()419 page_cnt--; in flash_stream_write()421 addr_end = (page_cnt == 1) ? (address + len) : (((addr_begin>>8) + 1)<<8); in flash_stream_write()
386 u32 page_cnt = ((page_end - page_begin) >> 8) + 1; in FLASH_WriteStream() local389 u32 addr_end = (page_cnt == 1) ? (address + len) : (page_begin + 0x100); in FLASH_WriteStream()399 while(page_cnt){ in FLASH_WriteStream()440 page_cnt--; in FLASH_WriteStream()442 addr_end = (page_cnt == 1) ? (address + len) : (((addr_begin>>8) + 1)<<8); in FLASH_WriteStream()
226 u32 page_cnt = ((page_end - page_begin) >> 8) + 1; in ota_writestream_user() local229 u32 addr_end = (page_cnt == 1) ? (address + len) : (page_begin + 0x100); in ota_writestream_user()239 while(page_cnt){ in ota_writestream_user()282 page_cnt--; in ota_writestream_user()284 addr_end = (page_cnt == 1) ? (address + len) : (((addr_begin>>8) + 1)<<8); in ota_writestream_user()
Completed in 9 milliseconds