Lines Matching refs:alarm_hdl
32 esp_timer_handle_t alarm_hdl; member
109 if (alarm_cbs[i].alarm_hdl != NULL) { in osi_alarm_deinit()
130 if (alarm_cbs[i].alarm_hdl == NULL) { //available in alarm_cbs_lookfor_available()
186 esp_err_t stat = esp_timer_create(&tca, &timer_id->alarm_hdl); in osi_alarm_new()
200 if (!alarm || alarm->alarm_hdl == NULL) { in alarm_free()
204 esp_timer_stop(alarm->alarm_hdl); in alarm_free()
205 esp_err_t stat = esp_timer_delete(alarm->alarm_hdl); in alarm_free()
243 if (!alarm || alarm->alarm_hdl == NULL) { in alarm_set()
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()
288 if (!alarm || alarm->alarm_hdl == NULL) { in osi_alarm_cancel()
294 esp_err_t stat = esp_timer_stop(alarm->alarm_hdl); in osi_alarm_cancel()
326 if (alarm->alarm_hdl != NULL) { in osi_alarm_is_active()
327 return esp_timer_is_active(alarm->alarm_hdl); in osi_alarm_is_active()