Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 86) sorted by relevance

1234

/hal_espressif-latest/components/efuse/src/
Desp_efuse_fields.c37 …size_t size = MIN(APP_SEC_VER_SIZE_EFUSE_FIELD, esp_efuse_get_field_size(ESP_EFUSE_SECURE_VERSION)… in esp_efuse_read_secure_version()
59 …size_t size = MIN(APP_SEC_VER_SIZE_EFUSE_FIELD, esp_efuse_get_field_size(ESP_EFUSE_SECURE_VERSION)… in esp_efuse_update_secure_version()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_util.h120 #ifndef MIN
121 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dsha256-internal.c79 #ifndef MIN
80 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process()
Dsha512-internal.c100 #ifndef MIN
101 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
202 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process()
/hal_espressif-latest/components/esp_hw_support/port/linux/
Desp_random.c35 uint32_t to_copy = MIN(sizeof(word), len); in esp_fill_random()
/hal_espressif-latest/components/spi_flash/
Dmemspi_host_driver.c224 uint32_t max_len = MIN(end_bound - align_addr, SPI_FLASH_HAL_MAX_WRITE_BYTES); in memspi_host_write_data_slicer()
226 return MIN(max_len, len); in memspi_host_write_data_slicer()
248 return MIN(max_len, len); in memspi_host_read_data_slicer()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dproxy_server.h35 #define DEVICE_NAME_SIZE MIN((BLE_MESH_GATT_DEF_MTU_SIZE - 4), (BLE_MESH_GAP_ADV_MAX_LEN - 2))
/hal_espressif-latest/components/esp_hw_support/
Dhw_random.c87 uint32_t to_copy = MIN(sizeof(word), len); in esp_fill_random()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_util.c28 len = MIN(len, (sizeof(hexbufs[0]) - 1) / 2); in bt_hex()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dsensor_server.c35 msg = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)); in send_sensor_descriptor_status()
48 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_descriptor_status()
67 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_descriptor_status()
102 msg = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)); in send_sensor_data_status()
118 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_data_status()
147 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_data_status()
294 msg = bt_mesh_alloc_buf(MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)); in send_sensor_settings_status()
312 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_settings_status()
961 MIN(buf->len, item->raw->size)); in sensor_setting_set()
/hal_espressif-latest/components/newlib/
Dassert.c72 uint32_t cpy_len = MIN(len, rem_len); in __assert_func()
/hal_espressif-latest/components/esp_app_format/
Desp_app_desc.c96 size_t n = MIN((size - 1) / 2, sizeof(s_app_elf_sha256)); in esp_app_get_elf_sha256()
/hal_espressif-latest/components/esp_psram/
Desp_psram.c199 size_to_map = MIN(byte_aligned_size, psram_available_size); in esp_psram_init()
244 size_to_map = MIN(word_aligned_size, size_to_map); in esp_psram_init()
359 next_size = MIN(next_size, size); in esp_psram_extram_reserve_dma_pool()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dfastpbkdf2.c40 #ifndef MIN
41 #define MIN(a, b) ((a) > (b)) ? (b) : (a) macro
231 size_t taken = MIN(nout - offset, _hashsz); \
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dgpspi_flash_ll.h94 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data()
127 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dgpspi_flash_ll.h85 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data()
118 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h263 int word_len = MIN(sizeof(uint32_t), copy_len); in spimem_flash_ll_get_buffer_data()
285 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dgpspi_flash_ll.h89 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data()
122 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h268 int word_len = MIN(sizeof(uint32_t), copy_len); in spimem_flash_ll_get_buffer_data()
290 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data()
/hal_espressif-latest/components/hal/esp32/include/hal/
Dspi_flash_ll.h142 int word_len = MIN(sizeof(uint32_t), copy_len); in spi_flash_ll_get_buffer_data()
175 uint32_t word_len = MIN(length, sizeof(word)); in spi_flash_ll_set_buffer_data()
/hal_espressif-latest/components/hal/esp32c2/include/hal/
Dgpspi_flash_ll.h98 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data()
131 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dgpspi_flash_ll.h89 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data()
122 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
/hal_espressif-latest/components/bootloader_support/src/esp32/
Dbootloader_sha.c44 copy_words = MIN(word_len, copy_words); in bootloader_sha256_data()
/hal_espressif-latest/components/esp_pm/
Dpm_impl.c246 int apb_max_freq = MIN(max_freq_mhz, apb_clk_freq); /* CPU frequency in APB_MAX mode */ in esp_pm_configure()
354 uint32_t old_apb_ticks_per_us = MIN(old_ticks_per_us, 80); in on_freq_update()
355 uint32_t apb_ticks_per_us = MIN(ticks_per_us, 80); in on_freq_update()
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dlibtommath.h61 #ifndef MIN
62 #define MIN(x,y) ((x)<(y)?(x):(y)) macro
497 if (MIN (a->used, b->used) >= TOOM_MUL_CUTOFF) { in mp_mul()
503 if (MIN (a->used, b->used) >= KARATSUBA_MUL_CUTOFF) { in mp_mul()
518 MIN(a->used, b->used) <= in mp_mul()
2383 MIN (a->used, b->used) < in s_mp_mul_digs()
2400 pb = MIN (b->used, digs - ix); in s_mp_mul_digs()
2470 pa = MIN(digs, a->used + b->used); in fast_s_mp_mul_digs()
2480 ty = MIN(b->used-1, ix); in fast_s_mp_mul_digs()
2490 iy = MIN(a->used-tx, ty+1); in fast_s_mp_mul_digs()
[all …]

1234