Home
last modified time | relevance | path

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

/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/
Dnmuart.c80 strUart.u16Sz = 1; in nm_uart_sync_cmd()
84 strUart.u16Sz = rsz; in nm_uart_sync_cmd()
139 strUart.u16Sz = sizeof(b); in nm_uart_read_reg_with_ret()
145 strUart.u16Sz = 1; in nm_uart_read_reg_with_ret()
153 strUart.u16Sz = rsz; in nm_uart_read_reg_with_ret()
166 strUart.u16Sz = rsz; in nm_uart_read_reg_with_ret()
241 strUart.u16Sz = sizeof(b); in nm_uart_write_reg()
253 strUart.u16Sz = 1; in nm_uart_write_reg()
288 sint8 nm_uart_read_block(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz) in nm_uart_read_block() argument
297 au8Buf[3] = (uint8)(u16Sz & 0x00ff); in nm_uart_read_block()
[all …]
Dnmi2c.c73 strI2c.u16Sz = 2; in nm_i2c_read_reg_with_ret()
82 strI2c.u16Sz = 6; in nm_i2c_read_reg_with_ret()
89 strI2c.u16Sz = rsz; in nm_i2c_read_reg_with_ret()
149 strI2c.u16Sz = 3; in nm_i2c_write_reg()
161 strI2c.u16Sz = 10; in nm_i2c_write_reg()
189 sint8 nm_i2c_read_block(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz) in nm_i2c_read_block() argument
200 au8Buf[5] = (uint8)(u16Sz >> 8); in nm_i2c_read_block()
201 au8Buf[6] = (uint8)(u16Sz); in nm_i2c_read_block()
204 strI2c.u16Sz = sizeof(au8Buf); in nm_i2c_read_block()
214 strI2c.u16Sz = u16Sz; in nm_i2c_read_block()
[all …]
Dnmbus.c191 static sint8 p_nm_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz) in p_nm_read_block() argument
194 return nm_uart_read_block(u32Addr,puBuf,u16Sz); in p_nm_read_block()
196 return nm_spi_read_block(u32Addr,puBuf,u16Sz); in p_nm_read_block()
198 return nm_i2c_read_block(u32Addr,puBuf,u16Sz); in p_nm_read_block()
244 static sint8 p_nm_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz) in p_nm_write_block() argument
247 return nm_uart_write_block(u32Addr,puBuf,u16Sz); in p_nm_write_block()
249 return nm_spi_write_block(u32Addr,puBuf,u16Sz); in p_nm_write_block()
251 return nm_i2c_write_block(u32Addr,puBuf,u16Sz); in p_nm_write_block()
Dm2m_hif.c606 sint8 hif_receive(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz, uint8 isDone) in hif_receive() argument
609 if((u32Addr == 0)||(pu8Buf == NULL) || (u16Sz == 0)) in hif_receive()
624 if(u16Sz > gstrHifCxt.u32RxSize) in hif_receive()
627 …M2M_ERR("APP Requested Size is larger than the recived buffer size <%u><%lu>\n",u16Sz, gstrHifCxt.… in hif_receive()
630 …if((u32Addr < gstrHifCxt.u32RxAddr)||((u32Addr + u16Sz)>(gstrHifCxt.u32RxAddr + gstrHifCxt.u32RxSi… in hif_receive()
638 ret = nm_read_block(u32Addr, pu8Buf, u16Sz); in hif_receive()
642 if((((gstrHifCxt.u32RxAddr + gstrHifCxt.u32RxSize) - (u32Addr + u16Sz)) <= 0) || isDone) in hif_receive()
Dnmi2c.h89 sint8 nm_i2c_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
102 sint8 nm_i2c_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
Dnmuart.h95 sint8 nm_uart_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
108 sint8 nm_uart_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
Dnmspi.h113 sint8 nm_spi_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
126 sint8 nm_spi_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
Dnmspi.c106 spi.u16Sz = sz; in nmi_spi_read()
115 spi.u16Sz = sz; in nmi_spi_write()
124 spi.u16Sz = sz; in nmi_spi_rw()
1356 sint8 nm_spi_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz) in nm_spi_read_block() argument
1360 s8Ret = nm_spi_read(u32Addr, puBuf, u16Sz); in nm_spi_read_block()
1382 sint8 nm_spi_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz) in nm_spi_write_block() argument
1386 s8Ret = nm_spi_write(u32Addr, puBuf, u16Sz); in nm_spi_write_block()
Dm2m_hif.h151 NMI_API sint8 hif_receive(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz, uint8 isDone);
Dm2m_wifi.c71 uint16 u16Sz; member
281 if(u16DataSize > (gstrMgmtCtrl.u16Sz + gstrMgmtCtrl.u16Offset)) in m2m_wifi_cb()
283 u16DataSize = gstrMgmtCtrl.u16Sz; in m2m_wifi_cb()
1162 gstrMgmtCtrl.u16Sz = u16BufferSize; in m2m_wifi_enable_monitoring_mode()
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/bus_wrapper/include/
Dnm_bus_wrapper.h82 uint16 u16Sz; /*!< Operation size */ member
110 uint16 u16Sz; /*!< Transfere size */ member
122 uint16 u16Sz; /*!< Operation size */ member
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/spi_flash/source/
Dspi_flash.c428 static sint8 spi_flash_pp(uint32 u32Offset, uint8 *pu8Buf, uint16 u16Sz) in spi_flash_pp() argument
434 ret += nm_write_block(HOST_SHARE_MEM_BASE, pu8Buf, u16Sz); in spi_flash_pp()
435 ret += spi_flash_page_program(HOST_SHARE_MEM_BASE, u32Offset, u16Sz); in spi_flash_pp()