/hal_espressif-latest/components/esp_hw_support/dma/ |
D | gdma_etm.c | 57 …ESP_GOTO_ON_FALSE(dma_chan && config && out_event, ESP_ERR_INVALID_ARG, err, TAG, "invalid argumen… in gdma_new_etm_event() 58 …ESP_GOTO_ON_FALSE(config->event_type < GDMA_ETM_EVENT_MAX, ESP_ERR_INVALID_ARG, err, TAG, "invalid… in gdma_new_etm_event() 60 ESP_GOTO_ON_FALSE(event, ESP_ERR_NO_MEM, err, TAG, "no memory for ETM event"); in gdma_new_etm_event() 71 ESP_GOTO_ON_FALSE(event_id != 0, ESP_ERR_NOT_SUPPORTED, err, TAG, "not supported event type"); in gdma_new_etm_event() 91 …ESP_GOTO_ON_FALSE(dma_chan && config && out_task, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument… in gdma_new_etm_task() 92 …ESP_GOTO_ON_FALSE(config->task_type < GDMA_ETM_TASK_MAX, ESP_ERR_INVALID_ARG, err, TAG, "invalid t… in gdma_new_etm_task() 94 ESP_GOTO_ON_FALSE(task, ESP_ERR_NO_MEM, err, TAG, "no memory for ETM task"); in gdma_new_etm_task() 107 ESP_GOTO_ON_FALSE(task_id != 0, ESP_ERR_NOT_SUPPORTED, err, TAG, "not supported task type"); in gdma_new_etm_task()
|
D | esp_async_memcpy.c | 54 ESP_GOTO_ON_FALSE(config, ESP_ERR_INVALID_ARG, err, TAG, "configuration can't be null"); in esp_async_memcpy_install() 55 ESP_GOTO_ON_FALSE(asmcp, ESP_ERR_INVALID_ARG, err, TAG, "can't assign mcp handle to null"); in esp_async_memcpy_install() 61 ESP_GOTO_ON_FALSE(mcp_hdl, ESP_ERR_NO_MEM, err, TAG, "allocate context memory failed"); in esp_async_memcpy_install() 111 ESP_GOTO_ON_FALSE(asmcp, ESP_ERR_INVALID_ARG, err, TAG, "mcp handle can't be null"); in esp_async_memcpy_uninstall() 234 ESP_GOTO_ON_FALSE(asmcp, ESP_ERR_INVALID_ARG, err, TAG, "mcp handle can't be null"); in esp_async_memcpy() 235 …ESP_GOTO_ON_FALSE(async_memcpy_impl_is_buffer_address_valid(&asmcp->mcp_impl, src, dst), ESP_ERR_I… in esp_async_memcpy() 236 …ESP_GOTO_ON_FALSE(n <= asmcp->max_dma_buffer_size * asmcp->max_stream_num, ESP_ERR_INVALID_ARG, er… in esp_async_memcpy() 238 …ESP_GOTO_ON_FALSE(((n & (asmcp->mcp_impl.sram_trans_align - 1)) == 0), ESP_ERR_INVALID_ARG, err, T… in esp_async_memcpy() 241 …ESP_GOTO_ON_FALSE(((n & (asmcp->mcp_impl.psram_trans_align - 1)) == 0), ESP_ERR_INVALID_ARG, err, … in esp_async_memcpy() 275 ESP_GOTO_ON_FALSE(rx_prepared_size == n, ESP_FAIL, err, TAG, "out of rx descriptor"); in esp_async_memcpy() [all …]
|
D | gdma.c | 74 ESP_GOTO_ON_FALSE(config && ret_chan, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in gdma_new_channel() 82 ESP_GOTO_ON_FALSE(alloc_tx_channel, ESP_ERR_NO_MEM, err, TAG, "no mem for gdma tx channel"); in gdma_new_channel() 86 ESP_GOTO_ON_FALSE(alloc_rx_channel, ESP_ERR_NO_MEM, err, TAG, "no mem for gdma rx channel"); in gdma_new_channel() 91 ESP_GOTO_ON_FALSE(pair, ESP_ERR_INVALID_ARG, err, TAG, "invalid sibling channel"); in gdma_new_channel() 92 …ESP_GOTO_ON_FALSE(config->sibling_chan->direction != config->direction, ESP_ERR_INVALID_ARG, err, … in gdma_new_channel() 102 ESP_GOTO_ON_FALSE(group, ESP_ERR_NO_MEM, err, TAG, "no mem for group(%d)", i); in gdma_new_channel() 105 ESP_GOTO_ON_FALSE(pair, ESP_ERR_NO_MEM, err, TAG, "no mem for pair(%d,%d)", i, j); in gdma_new_channel() 122 …ESP_GOTO_ON_FALSE(search_code == 0, ESP_ERR_NOT_FOUND, err, TAG, "no free gdma channel, search cod… in gdma_new_channel() 169 ESP_GOTO_ON_FALSE(dma_chan, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in gdma_del_channel() 181 ESP_GOTO_ON_FALSE(dma_chan, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in gdma_get_channel_id() [all …]
|
/hal_espressif-latest/components/driver/gpio/ |
D | dedic_gpio.c | 94 …ESP_GOTO_ON_FALSE(s_platform[core_id], ESP_ERR_NO_MEM, err, TAG, "no mem for s_platform[%d]", core… in dedic_gpio_build_platform() 201 ESP_GOTO_ON_FALSE(config && ret_bundle, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in dedic_gpio_new_bundle() 202 …ESP_GOTO_ON_FALSE(config->gpio_array && config->array_size > 0, ESP_ERR_INVALID_ARG, err, TAG, "in… in dedic_gpio_new_bundle() 203 …ESP_GOTO_ON_FALSE(config->flags.in_en || config->flags.out_en, ESP_ERR_INVALID_ARG, err, TAG, "no … in dedic_gpio_new_bundle() 209 ESP_GOTO_ON_FALSE(bundle, ESP_ERR_NO_MEM, err, TAG, "no mem for bundle"); in dedic_gpio_new_bundle() 216 …ESP_GOTO_ON_FALSE(config->array_size <= SOC_DEDIC_GPIO_OUT_CHANNELS_NUM, ESP_ERR_INVALID_ARG, err,… in dedic_gpio_new_bundle() 235 …ESP_GOTO_ON_FALSE(out_mask, ESP_ERR_NOT_FOUND, err, TAG, "no free outward channels on core[%d]", c… in dedic_gpio_new_bundle() 242 …ESP_GOTO_ON_FALSE(config->array_size <= SOC_DEDIC_GPIO_IN_CHANNELS_NUM, ESP_ERR_INVALID_ARG, err, … in dedic_gpio_new_bundle() 257 …ESP_GOTO_ON_FALSE(in_mask, ESP_ERR_NOT_FOUND, err, TAG, "no free inward channels on core[%d]", cor… in dedic_gpio_new_bundle() 307 ESP_GOTO_ON_FALSE(bundle, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in dedic_gpio_del_bundle() [all …]
|
D | gpio_pin_glitch_filter.c | 81 ESP_GOTO_ON_FALSE(config && ret_filter, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in gpio_new_pin_glitch_filter() 82 …ESP_GOTO_ON_FALSE(GPIO_IS_VALID_GPIO(config->gpio_num), ESP_ERR_INVALID_ARG, err, TAG, "invalid gp… in gpio_new_pin_glitch_filter() 85 ESP_GOTO_ON_FALSE(filter, ESP_ERR_NO_MEM, err, TAG, "no memory for pin glitch filter"); in gpio_new_pin_glitch_filter()
|
D | gpio_etm.c | 163 ESP_GOTO_ON_FALSE(config && ret_event, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in gpio_new_etm_event() 166 ESP_GOTO_ON_FALSE(event, ESP_ERR_NO_MEM, err, TAG, "no mem for event channel"); in gpio_new_etm_event() 183 ESP_GOTO_ON_FALSE(false, ESP_ERR_INVALID_ARG, err, TAG, "invalid edge"); in gpio_new_etm_event() 207 ESP_GOTO_ON_FALSE(config && ret_task, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in gpio_new_etm_task() 210 ESP_GOTO_ON_FALSE(task, ESP_ERR_NO_MEM, err, TAG, "no mem for task channel"); in gpio_new_etm_task() 227 ESP_GOTO_ON_FALSE(false, ESP_ERR_INVALID_ARG, err, TAG, "invalid action"); in gpio_new_etm_task()
|
D | gpio_flex_glitch_filter.c | 127 ESP_GOTO_ON_FALSE(config && ret_filter, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in gpio_new_flex_glitch_filter() 128 …ESP_GOTO_ON_FALSE(GPIO_IS_VALID_GPIO(config->gpio_num), ESP_ERR_INVALID_ARG, err, TAG, "invalid gp… in gpio_new_flex_glitch_filter() 132 ESP_GOTO_ON_FALSE(filter, ESP_ERR_NO_MEM, err, TAG, "no memory for flex glitch filter"); in gpio_new_flex_glitch_filter() 153 …ESP_GOTO_ON_FALSE(window_thres_ticks && window_thres_ticks <= window_width_ticks && window_width_t… in gpio_new_flex_glitch_filter()
|
/hal_espressif-latest/components/esp_timer/src/ |
D | esp_timer_etm.c | 27 ESP_GOTO_ON_FALSE(out_event, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument"); in esp_timer_new_etm_alarm_event() 29 ESP_GOTO_ON_FALSE(event, ESP_ERR_NO_MEM, err, TAG, "no memory for ETM event"); in esp_timer_new_etm_alarm_event()
|
/hal_espressif-latest/components/esp_system/ |
D | systick_etm.c | 30 …ESP_GOTO_ON_FALSE(out_event && core_id < SOC_CPU_CORES_NUM, ESP_ERR_INVALID_ARG, err, TAG, "invali… in esp_systick_new_etm_alarm_event() 32 ESP_GOTO_ON_FALSE(event, ESP_ERR_NO_MEM, err, TAG, "no memory for ETM event"); in esp_systick_new_etm_alarm_event()
|
/hal_espressif-latest/components/esp_netif/lwip/ |
D | esp_netif_sntp.c | 48 …ESP_GOTO_ON_FALSE(config->num_of_servers <= SNTP_MAX_SERVERS, ESP_ERR_INVALID_ARG, err, TAG, "Trie… in sntp_init_api() 61 …ESP_GOTO_ON_FALSE(false, ESP_ERR_INVALID_ARG, err, TAG, "Tried to configure SNTP server from DHCP,… in sntp_init_api() 96 … ESP_GOTO_ON_FALSE(s_storage != NULL, ESP_ERR_NO_MEM, err, TAG, "Failed to allocate SNTP storage"); in esp_netif_sntp_init() 99 …ESP_GOTO_ON_FALSE(s_storage->sync_sem != NULL, ESP_ERR_NO_MEM, err, TAG, "Failed to SNTP sync sema… in esp_netif_sntp_init()
|
/hal_espressif-latest/components/esp_adc/ |
D | adc_oneshot.c | 80 …ESP_GOTO_ON_FALSE(init_config && ret_unit, ESP_ERR_INVALID_ARG, err, TAG, "invalid argument: null … in adc_oneshot_new_unit() 81 …ESP_GOTO_ON_FALSE(init_config->unit_id < SOC_ADC_PERIPH_NUM, ESP_ERR_INVALID_ARG, err, TAG, "inval… in adc_oneshot_new_unit() 87 …ESP_GOTO_ON_FALSE(SOC_ADC_DIG_SUPPORTED_UNIT(init_config->unit_id), ESP_ERR_INVALID_ARG, err, TAG,… in adc_oneshot_new_unit() 91 ESP_GOTO_ON_FALSE(unit, ESP_ERR_NO_MEM, err, TAG, "no mem for unit"); in adc_oneshot_new_unit() 94 …ESP_GOTO_ON_FALSE(success_claim, ESP_ERR_NOT_FOUND, err, TAG, "adc%d is already in use", init_conf… in adc_oneshot_new_unit()
|
D | adc_cali_curve_fitting.c | 86 …ESP_GOTO_ON_FALSE(chars, ESP_ERR_NO_MEM, err, TAG, "no memory for the calibration characteristics"… in adc_cali_create_scheme_curve_fitting()
|
/hal_espressif-latest/components/esp_common/include/ |
D | esp_check.h | 88 #define ESP_GOTO_ON_FALSE(a, err_code, goto_tag, log_tag, format, ...) do { \ macro 190 #define ESP_GOTO_ON_FALSE(a, err_code, goto_tag, log_tag, format, ...) do { … 283 #define ESP_GOTO_ON_FALSE(a, err_code, goto_tag, log_tag, format, ...) do { \
|
/hal_espressif-latest/components/esp_system/task_wdt/ |
D | task_wdt_impl_esp_timer.c | 52 ESP_GOTO_ON_FALSE((ret == ESP_OK), ret, reterr, TAG, "could not start periodic timer"); in esp_task_wdt_impl_timer_allocate()
|
D | task_wdt.c | 579 ESP_GOTO_ON_FALSE((obj != NULL), ESP_ERR_NO_MEM, err, TAG, "insufficient memory"); in esp_task_wdt_init()
|
/hal_espressif-latest/components/esp_hw_support/ |
D | esp_etm.c | 182 ESP_GOTO_ON_FALSE(config && ret_chan, ESP_ERR_INVALID_ARG, err, TAG, "invalid args"); in esp_etm_new_channel() 185 ESP_GOTO_ON_FALSE(chan, ESP_ERR_NO_MEM, err, TAG, "no mem for channel"); in esp_etm_new_channel()
|
/hal_espressif-latest/components/esp_adc/esp32c2/ |
D | adc_cali_line_fitting.c | 70 …ESP_GOTO_ON_FALSE(chars, ESP_ERR_NO_MEM, err, TAG, "no memory for the calibration characteristics"… in adc_cali_create_scheme_line_fitting()
|
/hal_espressif-latest/components/esp_adc/esp32/ |
D | adc_cali_line_fitting.c | 168 …ESP_GOTO_ON_FALSE(chars, ESP_ERR_NO_MEM, err, TAG, "no memory for the calibration characteristics"… in adc_cali_create_scheme_line_fitting() 186 … ESP_GOTO_ON_FALSE(config->default_vref, ESP_ERR_INVALID_ARG, err, TAG, "default vref didn't set"); in adc_cali_create_scheme_line_fitting()
|
/hal_espressif-latest/components/esp_adc/esp32s2/ |
D | adc_cali_line_fitting.c | 107 …ESP_GOTO_ON_FALSE(chars, ESP_ERR_NO_MEM, err, TAG, "no memory for the calibration characteristics"… in adc_cali_create_scheme_line_fitting()
|
/hal_espressif-latest/components/esp_mm/ |
D | esp_mmu_map.c | 438 ESP_GOTO_ON_FALSE(dummy_head, ESP_ERR_NO_MEM, err, TAG, "no mem"); in esp_mmu_map() 448 ESP_GOTO_ON_FALSE(dummy_tail, ESP_ERR_NO_MEM, err, TAG, "no mem"); in esp_mmu_map() 494 ESP_GOTO_ON_FALSE(new_block, ESP_ERR_NO_MEM, err, TAG, "no mem"); in esp_mmu_map()
|
/hal_espressif-latest/components/driver/touch_sensor/esp32/ |
D | touch_sensor.c | 464 …ESP_GOTO_ON_FALSE(s_touch_pad_filter, ESP_ERR_NO_MEM, err_no_mem, TOUCH_TAG, "no memory for filter… in touch_pad_filter_start()
|
/hal_espressif-latest/components/driver/deprecated/ |
D | i2s_legacy.c | 511 ESP_GOTO_ON_FALSE(dma_obj, ESP_ERR_INVALID_ARG, err, TAG, "I2S DMA object can't be NULL"); in i2s_alloc_dma_buffer() 517 ESP_GOTO_ON_FALSE(dma_obj->buf[cnt], ESP_ERR_NO_MEM, err, TAG, "Error malloc dma buffer"); in i2s_alloc_dma_buffer() 523 …ESP_GOTO_ON_FALSE(dma_obj->desc[cnt], ESP_ERR_NO_MEM, err, TAG, "Error malloc dma description ent… in i2s_alloc_dma_buffer() 1608 ESP_GOTO_ON_FALSE(i2s_obj->i2s_queue, ESP_ERR_NO_MEM, err, TAG, "I2S queue create failed"); in i2s_driver_install()
|