Home
last modified time | relevance | path

Searched refs:word_len (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-2.7.6/components/hal/esp32/include/hal/
Dspi_flash_ll.h151 int word_len = MIN(sizeof(uint32_t), copy_len); in spi_flash_ll_get_buffer_data() local
153 memcpy(buffer, &word, word_len); in spi_flash_ll_get_buffer_data()
154 buffer = (void *)((intptr_t)buffer + word_len); in spi_flash_ll_get_buffer_data()
155 copy_len -= word_len; in spi_flash_ll_get_buffer_data()
184 uint32_t word_len = MIN(length, sizeof(word)); in spi_flash_ll_set_buffer_data() local
185 memcpy(&word, buffer, word_len); in spi_flash_ll_set_buffer_data()
187 length -= word_len; in spi_flash_ll_set_buffer_data()
188 buffer = (void *)((intptr_t)buffer + word_len); in spi_flash_ll_set_buffer_data()
/hal_espressif-2.7.6/components/hal/esp32s2/include/hal/
Dgpspi_flash_ll.h98 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data() local
100 memcpy(buffer, &word, word_len); in gpspi_flash_ll_get_buffer_data()
101 buffer = (void *)((intptr_t)buffer + word_len); in gpspi_flash_ll_get_buffer_data()
102 copy_len -= word_len; in gpspi_flash_ll_get_buffer_data()
131 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data() local
132 memcpy(&word, buffer, word_len); in gpspi_flash_ll_set_buffer_data()
134 length -= word_len; in gpspi_flash_ll_set_buffer_data()
135 buffer = (void *)((intptr_t)buffer + word_len); in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h276 int word_len = MIN(sizeof(uint32_t), copy_len); in spimem_flash_ll_get_buffer_data() local
278 memcpy(buffer, &word, word_len); in spimem_flash_ll_get_buffer_data()
279 buffer = (void *)((intptr_t)buffer + word_len); in spimem_flash_ll_get_buffer_data()
280 copy_len -= word_len; in spimem_flash_ll_get_buffer_data()
298 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data() local
299 memcpy(&word, buffer, word_len); in spimem_flash_ll_set_buffer_data()
301 length -= word_len; in spimem_flash_ll_set_buffer_data()
302 buffer = (void *)((intptr_t)buffer + word_len); in spimem_flash_ll_set_buffer_data()
/hal_espressif-2.7.6/components/hal/esp32c3/include/hal/
Dgpspi_flash_ll.h102 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data() local
104 memcpy(buffer, &word, word_len); in gpspi_flash_ll_get_buffer_data()
105 buffer = (void *)((intptr_t)buffer + word_len); in gpspi_flash_ll_get_buffer_data()
106 copy_len -= word_len; in gpspi_flash_ll_get_buffer_data()
135 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data() local
136 memcpy(&word, buffer, word_len); in gpspi_flash_ll_set_buffer_data()
138 length -= word_len; in gpspi_flash_ll_set_buffer_data()
139 buffer = (void *)((intptr_t)buffer + word_len); in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h280 int word_len = MIN(sizeof(uint32_t), copy_len); in spimem_flash_ll_get_buffer_data() local
282 memcpy(buffer, &word, word_len); in spimem_flash_ll_get_buffer_data()
283 buffer = (void *)((intptr_t)buffer + word_len); in spimem_flash_ll_get_buffer_data()
284 copy_len -= word_len; in spimem_flash_ll_get_buffer_data()
302 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data() local
303 memcpy(&word, buffer, word_len); in spimem_flash_ll_set_buffer_data()
305 length -= word_len; in spimem_flash_ll_set_buffer_data()
306 buffer = (void *)((intptr_t)buffer + word_len); in spimem_flash_ll_set_buffer_data()
/hal_espressif-2.7.6/components/hal/esp32s3/include/hal/
Dgpspi_flash_ll.h107 int word_len = MIN(sizeof(uint32_t), copy_len); in gpspi_flash_ll_get_buffer_data() local
109 memcpy(buffer, &word, word_len); in gpspi_flash_ll_get_buffer_data()
110 buffer = (void *)((intptr_t)buffer + word_len); in gpspi_flash_ll_get_buffer_data()
111 copy_len -= word_len; in gpspi_flash_ll_get_buffer_data()
140 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data() local
141 memcpy(&word, buffer, word_len); in gpspi_flash_ll_set_buffer_data()
143 length -= word_len; in gpspi_flash_ll_set_buffer_data()
144 buffer = (void *)((intptr_t)buffer + word_len); in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h276 int word_len = MIN(sizeof(uint32_t), copy_len); in spimem_flash_ll_get_buffer_data() local
278 memcpy(buffer, &word, word_len); in spimem_flash_ll_get_buffer_data()
279 buffer = (void *)((intptr_t)buffer + word_len); in spimem_flash_ll_get_buffer_data()
280 copy_len -= word_len; in spimem_flash_ll_get_buffer_data()
298 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data() local
299 memcpy(&word, buffer, word_len); in spimem_flash_ll_set_buffer_data()
301 length -= word_len; in spimem_flash_ll_set_buffer_data()
302 buffer = (void *)((intptr_t)buffer + word_len); in spimem_flash_ll_set_buffer_data()
/hal_espressif-2.7.6/components/bootloader_support/src/esp32/
Dbootloader_sha.c45 size_t word_len = data_len / 4; in bootloader_sha256_data() local
48 while (word_len > 0) { in bootloader_sha256_data()
52 copy_words = MIN(word_len, copy_words); in bootloader_sha256_data()
66 word_len -= copy_words; in bootloader_sha256_data()
/hal_espressif-2.7.6/components/hal/
Dsha_hal.c124 uint32_t word_len = state_length(sha_type); in sha_hal_read_digest() local
127 sha_ll_read_digest(sha_type, digest_state, word_len); in sha_hal_read_digest()
132 for (size_t i = 0; i < word_len; i++) { in sha_hal_read_digest()