/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/ |
D | nmasic.c | 67 sint8 ret = M2M_SUCCESS; in chip_apply_conf() 94 if(ret == M2M_SUCCESS) { in chip_apply_conf() 103 return M2M_SUCCESS; in chip_apply_conf() 119 sint8 ret = M2M_SUCCESS; in enable_interrupts() 124 if (M2M_SUCCESS != ret) goto ERR1; in enable_interrupts() 128 if (M2M_SUCCESS != ret) goto ERR1; in enable_interrupts() 134 if (M2M_SUCCESS != ret) goto ERR1; in enable_interrupts() 138 if (M2M_SUCCESS != ret) goto ERR1; in enable_interrupts() 177 if((nm_read_reg_with_ret(0x1000, &chipid)) != M2M_SUCCESS) { in nmi_get_chipid() 184 if((nm_read_reg_with_ret(0x13f4, &rfrevid)) != M2M_SUCCESS) { in nmi_get_chipid() [all …]
|
D | m2m_hif.c | 97 sint8 ret = M2M_SUCCESS; in hif_set_rx_done() 104 if(ret != M2M_SUCCESS)goto ERR1; in hif_set_rx_done() 108 if(ret != M2M_SUCCESS)goto ERR1; in hif_set_rx_done() 144 sint8 ret = M2M_SUCCESS; in hif_chip_wake() 155 if(ret != M2M_SUCCESS)goto ERR1; in hif_chip_wake() 211 return M2M_SUCCESS; in hif_chip_sleep_sc() 221 sint8 ret = M2M_SUCCESS; in hif_chip_sleep() 233 if(ret != M2M_SUCCESS)goto ERR1; in hif_chip_sleep() 256 return M2M_SUCCESS; in hif_init() 267 sint8 ret = M2M_SUCCESS; in hif_deinit() [all …]
|
D | nmuart.c | 82 if(M2M_SUCCESS == nm_bus_ioctl(NM_BUS_IOCTL_W, &strUart)) in nm_uart_sync_cmd() 85 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_R, &strUart)) in nm_uart_sync_cmd() 109 if(s8Ret == M2M_SUCCESS) in nm_uart_sync_cmd() 116 sint8 s8Ret = M2M_SUCCESS; in nm_uart_read_reg_with_ret() 141 if(M2M_SUCCESS == nm_bus_ioctl(NM_BUS_IOCTL_W, &strUart)) in nm_uart_read_reg_with_ret() 146 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_R, &strUart)) in nm_uart_read_reg_with_ret() 154 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_R, &strUart)) in nm_uart_read_reg_with_ret() 167 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_R, &strUart)) in nm_uart_read_reg_with_ret() 218 sint8 s8Ret = M2M_SUCCESS; in nm_uart_write_reg() 243 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_W, &strUart)) in nm_uart_write_reg() [all …]
|
D | m2m_ota.c | 82 sint8 ret = M2M_SUCCESS; in m2m_ota_cb() 88 if(ret == M2M_SUCCESS) in m2m_ota_cb() 99 if(ret == M2M_SUCCESS) in m2m_ota_cb() 129 sint8 ret = M2M_SUCCESS; in m2m_ota_init() 161 sint8 ret = M2M_SUCCESS; in m2m_ota_notif_set_url() 183 sint8 ret = M2M_SUCCESS; in m2m_ota_notif_check_for_update() 203 sint8 ret = M2M_SUCCESS; in m2m_ota_notif_sched() 224 sint8 ret = M2M_SUCCESS; in m2m_ota_start_update() 248 sint8 ret = M2M_SUCCESS; in m2m_ota_start_update_crt() 267 sint8 ret = M2M_SUCCESS; in m2m_ota_rollback() [all …]
|
D | nmdrv.c | 65 sint8 ret = M2M_SUCCESS; in nm_get_firmware_info() 108 sint8 ret = M2M_SUCCESS; in nm_get_firmware_full_info() 114 if(ret == M2M_SUCCESS) in nm_get_firmware_full_info() 119 if(ret == M2M_SUCCESS) in nm_get_firmware_full_info() 126 if(ret == M2M_SUCCESS) in nm_get_firmware_full_info() 178 if(ret == M2M_SUCCESS) in nm_get_ota_firmware_info() 183 if(ret == M2M_SUCCESS) in nm_get_ota_firmware_info() 190 if(ret == M2M_SUCCESS) in nm_get_ota_firmware_info() 238 sint8 ret = M2M_SUCCESS; in nm_drv_init_download_mode() 241 if (M2M_SUCCESS != ret) { in nm_drv_init_download_mode() [all …]
|
D | m2m_wifi.c | 96 if (hif_receive(u32Addr, (uint8*) &strState,sizeof(tstrM2mWifiStateChanged), 0) == M2M_SUCCESS) in m2m_wifi_cb() 105 if (hif_receive(u32Addr, (uint8*) &strSysTime,sizeof(tstrSystemTime), 0) == M2M_SUCCESS) in m2m_wifi_cb() 114 if(hif_receive(u32Addr, (uint8*)&strConnInfo, sizeof(tstrM2MConnInfo), 1) == M2M_SUCCESS) in m2m_wifi_cb() 123 if (hif_receive(u32Addr, rx_buf, 4, 1) == M2M_SUCCESS) in m2m_wifi_cb() 135 if (hif_receive(u32Addr, (uint8 *)&strIpConfig, sizeof(tstrM2MIPConfig), 0) == M2M_SUCCESS) in m2m_wifi_cb() 145 if(hif_receive(u32Addr, (uint8*)&strWps, sizeof(tstrM2MWPSInfo), 0) == M2M_SUCCESS) in m2m_wifi_cb() 154 if(hif_receive(u32Addr, (uint8 *)&u32ConflictedIP, sizeof(u32ConflictedIP), 0) == M2M_SUCCESS) in m2m_wifi_cb() 167 if(hif_receive(u32Addr, (uint8*)&strState, sizeof(tstrM2mScanDone), 0) == M2M_SUCCESS) in m2m_wifi_cb() 177 if(hif_receive(u32Addr, (uint8*)&strScanResult, sizeof(tstrM2mWifiscanResult), 0) == M2M_SUCCESS) in m2m_wifi_cb() 185 if (hif_receive(u32Addr, rx_buf, 4, 0) == M2M_SUCCESS) in m2m_wifi_cb() [all …]
|
D | m2m_ate_mode.c | 135 sint8 s8Ret = M2M_SUCCESS; in m2m_ate_init() 155 sint8 s8Ret = M2M_SUCCESS; in m2m_ate_init_param() 193 sint8 s8Ret = M2M_SUCCESS; in m2m_ate_set_fw_state() 210 if(M2M_SUCCESS != s8Ret) in m2m_ate_set_fw_state() 220 if(M2M_SUCCESS != s8Ret) in m2m_ate_set_fw_state() 230 if(M2M_SUCCESS != s8Ret) in m2m_ate_set_fw_state() 238 if(M2M_SUCCESS != s8Ret) in m2m_ate_set_fw_state() 250 if((M2M_SUCCESS == s8Ret) && (M2M_ATE_FW_STATE_RUN == gu8AteIsRunning)) in m2m_ate_set_fw_state() 330 sint8 s8Ret = M2M_SUCCESS; in m2m_ate_start_tx() 419 if(M2M_SUCCESS == s8Ret) in m2m_ate_start_tx() [all …]
|
D | nmi2c.c | 67 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_read_reg_with_ret() 87 if(M2M_SUCCESS == nm_bus_ioctl(NM_BUS_IOCTL_W, &strI2c)) in nm_i2c_read_reg_with_ret() 90 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_R, &strI2c)) in nm_i2c_read_reg_with_ret() 143 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_write_reg() 166 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_W, &strI2c)) in nm_i2c_write_reg() 193 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_read_block() 206 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_W, &strI2c)) in nm_i2c_read_block() 216 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_R, &strI2c)) in nm_i2c_read_block() 244 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_write_block() 259 if(M2M_SUCCESS != nm_bus_ioctl(NM_BUS_IOCTL_W_SPECIAL, &strI2c)) in nm_i2c_write_block()
|
D | m2m_periph.c | 88 if(ret != M2M_SUCCESS) goto _EXIT; in gpio_ioctl() 100 if(ret != M2M_SUCCESS) goto _EXIT1; in gpio_ioctl() 114 return M2M_SUCCESS; in m2m_periph_init() 135 return M2M_SUCCESS; in m2m_periph_gpio_pullup_ctrl() 141 return M2M_SUCCESS; in m2m_periph_i2c_master_init() 147 return M2M_SUCCESS; in m2m_periph_i2c_master_write() 153 return M2M_SUCCESS; in m2m_periph_i2c_master_read()
|
D | nmbus.c | 60 sint8 ret = M2M_SUCCESS; in nm_bus_iface_init() 75 sint8 ret = M2M_SUCCESS; in nm_bus_iface_deinit() 89 sint8 ret = M2M_SUCCESS; in nm_bus_reset() 111 sint8 ret = M2M_SUCCESS; in nm_bus_iface_reconfigure() 222 sint8 s8Ret = M2M_SUCCESS; in nm_read_block() 234 if(M2M_SUCCESS != s8Ret) break; in nm_read_block() 275 sint8 s8Ret = M2M_SUCCESS; in nm_write_block() 287 if(M2M_SUCCESS != s8Ret) break; in nm_write_block()
|
D | nmspi.c | 296 if (M2M_SUCCESS != nmi_spi_write(bc, len)) { in spi_cmd() 316 if (M2M_SUCCESS != nmi_spi_read(&rsp[0], len)) { in spi_data_rsp() 345 if (M2M_SUCCESS != nmi_spi_read(&rsp, 1)) { in spi_cmd_rsp() 355 if (M2M_SUCCESS != nmi_spi_read(&rsp, 1)) { in spi_cmd_rsp() 369 if (M2M_SUCCESS != nmi_spi_read(&rsp, 1)) { in spi_cmd_rsp() 513 if (nmi_spi_rw(wb, rb, len2) != M2M_SUCCESS) { in spi_cmd_complete() 662 if (nmi_spi_read(&b[ix], nbytes) != M2M_SUCCESS) { in spi_cmd_complete() 672 if (nmi_spi_read(crc, 2) != M2M_SUCCESS) { in spi_cmd_complete() 704 if (nmi_spi_read(&rsp, 1) != M2M_SUCCESS) { in spi_cmd_complete() 720 if (nmi_spi_read(&b[ix], nbytes) != M2M_SUCCESS) { in spi_cmd_complete() [all …]
|
D | m2m_crypto.c | 304 s8Ret = M2M_SUCCESS; in m2m_crypto_sha256_hash_update() 395 s8Ret = M2M_SUCCESS; in m2m_crypto_sha256_hash_finish() 732 sint8 ret = M2M_SUCCESS; in m2m_crypto_cb() 737 if (hif_receive(u32Addr, (uint8*) &strCtxt,sizeof(tstrM2mSha256Ctxt), 0) == M2M_SUCCESS) in m2m_crypto_cb() 740 …ve(u32Addr + sizeof(tstrM2mSha256Ctxt), (uint8*) &strResp,sizeof(tstrCyptoResp), 1) == M2M_SUCCESS) in m2m_crypto_cb() 750 if (hif_receive(u32Addr, (uint8*) &strCtxt,sizeof(tstrM2mSha256Ctxt), 0) == M2M_SUCCESS) in m2m_crypto_cb() 753 …ve(u32Addr + sizeof(tstrM2mSha256Ctxt), (uint8*) &strResp,sizeof(tstrCyptoResp), 1) == M2M_SUCCESS) in m2m_crypto_cb() 764 …ve(u32Addr + sizeof(tstrM2mSha256Ctxt), (uint8*) &strResp,sizeof(tstrCyptoResp), 0) == M2M_SUCCESS) in m2m_crypto_cb() 766 …+ sizeof(tstrCyptoResp), (uint8*)gstrCryptoCtxt.pu8Digest,M2M_SHA256_DIGEST_LEN, 1) == M2M_SUCCESS) in m2m_crypto_cb() 777 …eceive(u32Addr + sizeof(tstrRsaPayload), (uint8*)&strResp,sizeof(tstrCyptoResp), 0) == M2M_SUCCESS) in m2m_crypto_cb() [all …]
|
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/spi_flash/source/ |
D | spi_flash.c | 97 sint8 ret = M2M_SUCCESS; in spi_flash_read_status_reg() 111 if(M2M_SUCCESS != ret) break; in spi_flash_read_status_reg() 115 reg = (M2M_SUCCESS == ret)?(nm_read_reg(DUMMY_REGISTER)):(0); in spi_flash_read_status_reg() 133 sint8 ret = M2M_SUCCESS; in spi_flash_read_security_reg() 145 if(M2M_SUCCESS != ret) break; in spi_flash_read_security_reg() 148 reg = (M2M_SUCCESS == ret)?(nm_read_reg(DUMMY_REGISTER)):(0); in spi_flash_read_security_reg() 164 sint8 ret = M2M_SUCCESS; in spi_flash_gang_unblock() 176 if(M2M_SUCCESS != ret) break; in spi_flash_gang_unblock() 194 sint8 ret = M2M_SUCCESS; in spi_flash_clear_security_flags() 206 if(M2M_SUCCESS != ret) break; in spi_flash_clear_security_flags() [all …]
|
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/socket/source/ |
D | socket.c | 166 … if(hif_receive(u32Address, gastrSockets[sock].pu8UserBuffer, u16Read, u8SetRxDone) == M2M_SUCCESS) in Socket_ReadSocketData() 181 if(hif_receive(0, NULL, 0, 1) == M2M_SUCCESS) in Socket_ReadSocketData() 223 if(hif_receive(u32Address, (uint8*)&strBindReply, sizeof(tstrBindReply), 0) == M2M_SUCCESS) in m2m_ip_cb() 234 if(hif_receive(u32Address, (uint8*)&strListenReply, sizeof(tstrListenReply), 0) == M2M_SUCCESS) in m2m_ip_cb() 245 if(hif_receive(u32Address, (uint8*)&strAcceptReply, sizeof(tstrAcceptReply), 0) == M2M_SUCCESS) in m2m_ip_cb() 274 if(hif_receive(u32Address, (uint8*)&strConnectReply, sizeof(tstrConnectReply), 0) == M2M_SUCCESS) in m2m_ip_cb() 289 if(hif_receive(u32Address, (uint8*)&strDnsReply, sizeof(tstrDnsReply), 0) == M2M_SUCCESS) in m2m_ip_cb() 311 if(hif_receive(u32Address, (uint8*)&strRecvReply, u16ReadSize, 0) == M2M_SUCCESS) in m2m_ip_cb() 356 if(hif_receive(0, NULL, 0, 1) == M2M_SUCCESS) in m2m_ip_cb() 374 if(hif_receive(u32Address, (uint8*)&strReply, sizeof(tstrSendReply), 0) == M2M_SUCCESS) in m2m_ip_cb() [all …]
|
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/common/include/ |
D | nm_common.h | 55 #define M2M_SUCCESS ((sint8)0) macro
|
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/include/ |
D | m2m_ate_mode.h | 72 #define M2M_ATE_SUCCESS (M2M_SUCCESS)
|