Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/spiflash/
A Dspiflash.c61 uint32_t read_word; in csi_spiflash_read() local
72 read_word = HAL_READ32(SPI_FLASH_BASE, (offset - offset_to_align)); in csi_spiflash_read()
73 ptr = (uint8_t*)&read_word + offset_to_align; in csi_spiflash_read()
88 ptr = (uint8_t*)&read_word; in csi_spiflash_read()
91 read_word = HAL_READ32(SPI_FLASH_BASE, offset); in csi_spiflash_read()
111 read_word = HAL_READ32(SPI_FLASH_BASE, offset); in csi_spiflash_read()
140 uint32_t read_word; in csi_spiflash_program() local
153 read_word = (read_word & (~(0xff << (8*i)))) |( (*buffer) <<(8*i)); in csi_spiflash_program()
178 read_word = HAL_READ32(SPI_FLASH_BASE, addr_begin); in csi_spiflash_program()
180 read_word = (read_word & (~(0xff << (8*i)))) | ((*buffer) <<(8*i)); in csi_spiflash_program()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Dflash_api.c284 u32 read_word; in flash_stream_read() local
293 ptr = (u8*)&read_word + offset_to_align; in flash_stream_read()
308 ptr = (u8*)&read_word; in flash_stream_read()
311 read_word = HAL_READ32(SPI_FLASH_BASE, address); in flash_stream_read()
329 read_word = HAL_READ32(SPI_FLASH_BASE, address); in flash_stream_read()
364 u32 read_word; in flash_stream_write() local
374 read_word = (read_word & (~(0xff << (8*i)))) |( (*buffer) <<(8*i)); in flash_stream_write()
380 FLASH_TxData12B(addr_begin - offset_to_align, 4, (u8*)&read_word); in flash_stream_write()
408 read_word = HAL_READ32(SPI_FLASH_BASE, addr_begin); in flash_stream_write()
410 read_word = (read_word & (~(0xff << (8*i)))) | ((*buffer) <<(8*i)); in flash_stream_write()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_flash_ram.c318 u32 read_word; in FLASH_ReadStream() local
327 ptr = (u8*)&read_word + offset_to_align; in FLASH_ReadStream()
342 ptr = (u8*)&read_word; in FLASH_ReadStream()
345 read_word = HAL_READ32(SPI_FLASH_BASE, address); in FLASH_ReadStream()
363 read_word = HAL_READ32(SPI_FLASH_BASE, address); in FLASH_ReadStream()
395 u32 read_word; in FLASH_WriteStream() local
405 read_word = (read_word & (~(0xff << (8*i)))) |( (*buffer) <<(8*i)); in FLASH_WriteStream()
411 FLASH_TxData12B(addr_begin - offset_to_align, 4, (u8*)&read_word); in FLASH_WriteStream()
432 read_word = HAL_READ32(SPI_FLASH_BASE, addr_begin); in FLASH_WriteStream()
434 read_word = (read_word & (~(0xff << (8*i)))) | ((*buffer) <<(8*i)); in FLASH_WriteStream()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/misc/
A Drtl8721d_ota.c147 u32 read_word; in ota_readstream_user() local
157 FLASH_RxData(0, address - offset_to_align, 4, (u8*)&read_word); in ota_readstream_user()
159 ptr = (u8*)&read_word + offset_to_align; in ota_readstream_user()
174 ptr = (u8*)&read_word; in ota_readstream_user()
177 FLASH_RxData(0, address, 4, (u8*)&read_word); in ota_readstream_user()
197 FLASH_RxData(0, address, 4, (u8*)&read_word); in ota_readstream_user()
235 u32 read_word; in ota_writestream_user() local
246 read_word = (read_word & (~(0xff << (8*i)))) |( (*buffer) <<(8*i)); in ota_writestream_user()
273 FLASH_RxData(0, addr_begin, 4, (u8*)&read_word); in ota_writestream_user()
276 read_word = (read_word & (~(0xff << (8*i)))) | ((*buffer) <<(8*i)); in ota_writestream_user()
[all …]

Completed in 8 milliseconds