Home
last modified time | relevance | path

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

/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/spi_flash/source/
Dspi_flash.c228 static sint8 spi_flash_load_to_cortus_mem(uint32 u32MemAdr, uint32 u32FlashAdr, uint32 u32Sz) in spi_flash_load_to_cortus_mem() argument
240 ret += nm_write_reg(SPI_FLASH_DATA_CNT, u32Sz); in spi_flash_load_to_cortus_mem()
365 static sint8 spi_flash_page_program(uint32 u32MemAdr, uint32 u32FlashAdr, uint32 u32Sz) in spi_flash_page_program() argument
380 ret += nm_write_reg(SPI_FLASH_CMD_CNT, 4 | (1<<7) | ((u32Sz & 0xfffff) << 8)); in spi_flash_page_program()
404 static sint8 spi_flash_read_internal(uint8 *pu8Buf, uint32 u32Addr, uint32 u32Sz) in spi_flash_read_internal() argument
408 ret = spi_flash_load_to_cortus_mem(HOST_SHARE_MEM_BASE, u32Addr, u32Sz); in spi_flash_read_internal()
410 ret = nm_read_block(HOST_SHARE_MEM_BASE, pu8Buf, u32Sz); in spi_flash_read_internal()
582 sint8 spi_flash_read(uint8 *pu8Buf, uint32 u32offset, uint32 u32Sz) in spi_flash_read() argument
585 if(u32Sz > FLASH_BLOCK_SIZE) in spi_flash_read()
591 u32Sz -= FLASH_BLOCK_SIZE; in spi_flash_read()
[all …]
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/
Dnmbus.c218 sint8 nm_read_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz) in nm_read_block() argument
226 if(u32Sz <= u16MaxTrxSz) in nm_read_block()
228 s8Ret += p_nm_read_block(u32Addr, &puBuf[off], (uint16)u32Sz); in nm_read_block()
235 u32Sz -= u16MaxTrxSz; in nm_read_block()
271 sint8 nm_write_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz) in nm_write_block() argument
279 if(u32Sz <= u16MaxTrxSz) in nm_write_block()
281 s8Ret += p_nm_write_block(u32Addr, &puBuf[off], (uint16)u32Sz); in nm_write_block()
288 u32Sz -= u16MaxTrxSz; in nm_write_block()
Dm2m_ota.c366 uint32 u32Sz = 0;
373 u32Sz = ftell(fp);
376 while(u32Sz > 0)
384 if(u32Sz>page)
386 u32Sz-=page;
390 page = u32Sz;
391 u32Sz = 0;
Dnmbus.h125 sint8 nm_read_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz);
138 sint8 nm_write_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz);
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/spi_flash/include/
Dspi_flash.h163 sint8 spi_flash_read(uint8 *pu8Buf, uint32 u32Addr, uint32 u32Sz);
194 sint8 spi_flash_write(uint8* pu8Buf, uint32 u32Offset, uint32 u32Sz);
220 sint8 spi_flash_erase(uint32 u32Offset, uint32 u32Sz);