Lines Matching refs:ret

89     esp_err_t ret;  in slave_reset()  local
91 ret = sdio_slave_reset(); in slave_reset()
92 if (ret != ESP_OK) return ret; in slave_reset()
93 ret = sdio_slave_start(); in slave_reset()
94 if (ret != ESP_OK) return ret; in slave_reset()
99 ret = sdio_slave_send_get_finished(&handle, 0); in slave_reset()
100 if (ret != ESP_OK) break; in slave_reset()
101 ret = sdio_slave_recv_load_buf(handle); in slave_reset()
102 ESP_ERROR_CHECK(ret); in slave_reset()
161 esp_err_t ret; in app_main() local
184 ret = sdio_slave_initialize(&config); in app_main()
185 ESP_ERROR_CHECK(ret); in app_main()
194 ret = sdio_slave_recv_load_buf(handle); in app_main()
195 ESP_ERROR_CHECK(ret); in app_main()
219 ret = sdio_slave_recv(&handle, &ptr, &length, non_blocking); in app_main()
220 if (ret == ESP_OK) { in app_main()
229 ret = sdio_slave_send_queue(ptr, length, handle, non_blocking); in app_main()
230 if (ret == ESP_ERR_TIMEOUT) { in app_main()
233 ret = sdio_slave_recv_load_buf(handle); in app_main()
235 ESP_ERROR_CHECK(ret); in app_main()
241 ret = sdio_slave_send_get_finished(&handle, 0); in app_main()
242 if (ret == ESP_ERR_TIMEOUT) break; in app_main()
243 ESP_ERROR_CHECK(ret); in app_main()
244 ret = sdio_slave_recv_load_buf(handle); in app_main()
245 ESP_ERROR_CHECK(ret); in app_main()
256 ret = task_hostint(); in app_main()
257 ESP_ERROR_CHECK(ret); in app_main()
260 ret = slave_reset(); in app_main()
261 ESP_ERROR_CHECK(ret); in app_main()
264 ret = task_write_reg(); in app_main()
265 ESP_ERROR_CHECK(ret); in app_main()