Home
last modified time | relevance | path

Searched refs:ret_val (Results 1 – 21 of 21) sorted by relevance

/hal_espressif-3.7.0/components/heap/
Dheap_trace_standalone.c184 const esp_err_t ret_val = set_tracing(true); in heap_trace_start() local
187 return ret_val; in heap_trace_start()
193 const esp_err_t ret_val = set_tracing(false); in heap_trace_stop() local
195 return ret_val; in heap_trace_stop()
201 const esp_err_t ret_val = set_tracing(true); in heap_trace_resume() local
203 return ret_val; in heap_trace_resume()
/hal_espressif-3.7.0/components/efuse/src/
Desp_efuse_api.c178 uint32_t ret_val = 0; in esp_efuse_read_reg() local
179 esp_err_t err = esp_efuse_read_block(blk, &ret_val, num_reg * 32, 32); in esp_efuse_read_reg()
182 return ret_val; in esp_efuse_read_reg()
/hal_espressif-3.7.0/components/driver/deprecated/
Dsigma_delta_legacy.c21 #define SIGMADELTA_CHECK(a,str,ret_val) ESP_RETURN_ON_FALSE(a, ret_val, TAG, "%s", str) argument
Dadc_i2s_deprecated.c36 #define ADC_CHECK(a, str, ret_val) ({ \ argument
39 return (ret_val); \
Dpcnt_legacy.c36 #define PCNT_CHECK(a, str, ret_val) ESP_RETURN_ON_FALSE(a, ret_val, TAG, "%s", str) argument
/hal_espressif-3.7.0/components/hal/esp32/include/hal/
Dadc_ll.h478 uint32_t ret_val = 0; in adc_oneshot_ll_get_raw_result() local
480 ret_val = HAL_FORCE_READ_U32_REG_FIELD(SENS.sar_meas_start1, meas1_data_sar); in adc_oneshot_ll_get_raw_result()
482 ret_val = HAL_FORCE_READ_U32_REG_FIELD(SENS.sar_meas_start2, meas2_data_sar); in adc_oneshot_ll_get_raw_result()
484 return ret_val; in adc_oneshot_ll_get_raw_result()
/hal_espressif-3.7.0/components/hal/esp32c2/include/hal/
Dadc_ll.h500 uint32_t ret_val = 0; in adc_oneshot_ll_get_raw_result() local
501 ret_val = APB_SARADC.saradc1_data_status.saradc1_data & 0xfff; in adc_oneshot_ll_get_raw_result()
502 return ret_val; in adc_oneshot_ll_get_raw_result()
/hal_espressif-3.7.0/components/hal/
Dspi_hal.c31 #define SPI_HAL_CHECK(a, str, ret_val, ...) \ argument
34 return (ret_val); \
Dsdio_slave_hal.c20 #define SDIO_SLAVE_CHECK(res, str, ret_val) do { if(!(res)){\ argument
22 return ret_val;\
/hal_espressif-3.7.0/components/driver/touch_sensor/
Dtouch_sensor_common.c26 #define TOUCH_CHECK(a, str, ret_val) ({ \ argument
29 return (ret_val); \
/hal_espressif-3.7.0/components/hal/esp32c3/include/hal/
Dadc_ll.h812 uint32_t ret_val = 0; in adc_oneshot_ll_get_raw_result() local
814 ret_val = APB_SARADC.apb_saradc1_data_status.adc1_data & 0xfff; in adc_oneshot_ll_get_raw_result()
816 ret_val = APB_SARADC.apb_saradc2_data_status.adc2_data & 0xfff; in adc_oneshot_ll_get_raw_result()
818 return ret_val; in adc_oneshot_ll_get_raw_result()
/hal_espressif-3.7.0/components/hal/esp32h2/include/hal/
Dadc_ll.h652 uint32_t ret_val = 0; in adc_oneshot_ll_get_raw_result() local
653 ret_val = APB_SARADC.saradc_sar1data_status.saradc_apb_saradc1_data & 0xfff; in adc_oneshot_ll_get_raw_result()
654 return ret_val; in adc_oneshot_ll_get_raw_result()
/hal_espressif-3.7.0/components/hal/esp32c6/include/hal/
Dadc_ll.h683 uint32_t ret_val = 0; in adc_oneshot_ll_get_raw_result() local
684 ret_val = APB_SARADC.saradc_sar1data_status.saradc_apb_saradc1_data & 0xfff; in adc_oneshot_ll_get_raw_result()
685 return ret_val; in adc_oneshot_ll_get_raw_result()
/hal_espressif-3.7.0/components/hal/esp32s3/include/hal/
Dadc_ll.h945 uint32_t ret_val = 0; in adc_oneshot_ll_get_raw_result() local
947 ret_val = HAL_FORCE_READ_U32_REG_FIELD(SENS.sar_meas1_ctrl2, meas1_data_sar); in adc_oneshot_ll_get_raw_result()
949 ret_val = HAL_FORCE_READ_U32_REG_FIELD(SENS.sar_meas2_ctrl2, meas2_data_sar); in adc_oneshot_ll_get_raw_result()
951 return ret_val; in adc_oneshot_ll_get_raw_result()
/hal_espressif-3.7.0/components/hal/esp32s2/include/hal/
Dadc_ll.h694 uint32_t ret_val = 0; in adc_oneshot_ll_get_raw_result() local
696 ret_val = HAL_FORCE_READ_U32_REG_FIELD(SENS.sar_meas1_ctrl2, meas1_data_sar); in adc_oneshot_ll_get_raw_result()
698 ret_val = HAL_FORCE_READ_U32_REG_FIELD(SENS.sar_meas2_ctrl2, meas2_data_sar); in adc_oneshot_ll_get_raw_result()
700 return ret_val; in adc_oneshot_ll_get_raw_result()
/hal_espressif-3.7.0/zephyr/esp_shared/components/driver/
Dgpio.c22 #define GPIO_CHECK(a, str, ret_val) ESP_RETURN_ON_FALSE(a, ret_val, GPIO_TAG, "%s", str) argument
/hal_espressif-3.7.0/components/wpa_supplicant/src/utils/
Djson.c161 int *ret_val) in json_parse_number() argument
184 *ret_val = atoi(str); in json_parse_number()
/hal_espressif-3.7.0/components/driver/spi/gpspi/
Dspi_slave.c36 #define SPI_CHECK(a, str, ret_val) ESP_RETURN_ON_FALSE(a, ret_val, SPI_TAG, str) argument
Dspi_common.c33 #define SPI_CHECK(a, str, ret_val) ESP_RETURN_ON_FALSE(a, ret_val, SPI_TAG, str) argument
Dspi_master.c173 #define SPI_CHECK(a, str, ret_val) ESP_RETURN_ON_FALSE_ISR(a, ret_val, SPI_TAG, str) argument
/hal_espressif-3.7.0/components/driver/gpio/
Dgpio.c32 #define GPIO_CHECK(a, str, ret_val) ESP_RETURN_ON_FALSE(a, ret_val, GPIO_TAG, "%s", str) argument