Lines Matching refs:stat
186 esp_err_t stat = esp_timer_create(&tca, &timer_id->alarm_hdl); in osi_alarm_new() local
187 if (stat != ESP_OK) { in osi_alarm_new()
188 OSI_TRACE_ERROR("%s failed to create timer, err 0x%x\n", __func__, stat); in osi_alarm_new()
205 esp_err_t stat = esp_timer_delete(alarm->alarm_hdl); in alarm_free() local
206 if (stat != ESP_OK) { in alarm_free()
207 OSI_TRACE_ERROR("%s failed to delete timer, err 0x%x\n", __func__, stat); in alarm_free()
250 esp_err_t stat; in alarm_set() local
252 stat = esp_timer_start_periodic(alarm->alarm_hdl, (uint64_t)timeout_us); in alarm_set()
254 stat = esp_timer_start_once(alarm->alarm_hdl, (uint64_t)timeout_us); in alarm_set()
256 if (stat != ESP_OK) { in alarm_set()
257 OSI_TRACE_ERROR("%s failed to start timer, err 0x%x\n", __func__, stat); in alarm_set()
294 esp_err_t stat = esp_timer_stop(alarm->alarm_hdl); in osi_alarm_cancel() local
295 if (stat != ESP_OK) { in osi_alarm_cancel()
296 OSI_TRACE_DEBUG("%s failed to stop timer, err 0x%x\n", __func__, stat); in osi_alarm_cancel()