Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/spiflash/
A Dspiflash.c131 uint32_t page_cnt = ((page_end - page_begin) >> 8) + 1; in csi_spiflash_program() local
134 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()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Dflash_api.c355 u32 page_cnt = ((page_end - page_begin) >> 8) + 1; in flash_stream_write() local
358 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()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_flash_ram.c386 u32 page_cnt = ((page_end - page_begin) >> 8) + 1; in FLASH_WriteStream() local
389 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()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/misc/
A Drtl8721d_ota.c226 u32 page_cnt = ((page_end - page_begin) >> 8) + 1; in ota_writestream_user() local
229 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