Home
last modified time | relevance | path

Searched refs:word (Results 1 – 25 of 80) sorted by relevance

1234

/hal_espressif-3.4.0/components/spi_flash/test/
Dtest_mmap.c77 for (uint32_t word = 0; word < 1024; ++word) { in setup_mmap_tests() local
79 if (block == start / 0x10000 && sector == 0 && word == 0) { in setup_mmap_tests()
80 …printf("setup_mmap_tests(): first prepped word: 0x%08x (flash holds 0x%08x)\n", val, buffer[word]); in setup_mmap_tests()
82 if (buffer[word] != val) { in setup_mmap_tests()
83 buffer[word] = val; in setup_mmap_tests()
113 for (uint32_t word = 0; word < 1024; ++word) { variable
114 TEST_ASSERT_EQUAL_HEX32(rand(), data[(block * 16 + sector) * 1024 + word]);
178 for (uint32_t word = 0; word < 1024; ++word) { variable
179 TEST_ASSERT_EQUAL_UINT32(rand(), data[(block * 16 + sector) * 1024 + word]);
252 for (uint32_t word = 0; word < 1024; ++word) { variable
[all …]
/hal_espressif-3.4.0/components/hal/esp32/include/hal/
Dspi_flash_ll.h154 uint32_t word = dev->data_buf[i]; in spi_flash_ll_get_buffer_data() local
155 memcpy(buffer, &word, word_len); in spi_flash_ll_get_buffer_data()
168 static inline void spi_flash_ll_write_word(spi_dev_t *dev, uint32_t word) in spi_flash_ll_write_word() argument
170 dev->data_buf[0] = word; in spi_flash_ll_write_word()
185 uint32_t word = 0; in spi_flash_ll_set_buffer_data() local
186 uint32_t word_len = MIN(length, sizeof(word)); in spi_flash_ll_set_buffer_data()
187 memcpy(&word, buffer, word_len); in spi_flash_ll_set_buffer_data()
188 dev->data_buf[i] = word; in spi_flash_ll_set_buffer_data()
Dspi_ll.h273 uint32_t word; in spi_ll_write_buffer() local
274 memcpy(&word, &buffer_to_send[x / 8], 4); in spi_ll_write_buffer()
275 hw->data_buf[(x / 32)] = word; in spi_ll_write_buffer()
290 uint32_t word = hw->data_buf[x / 32]; in spi_ll_read_buffer() local
295 memcpy(&buffer_to_rcv[x / 8], &word, (len + 7) / 8); in spi_ll_read_buffer()
/hal_espressif-3.4.0/components/hal/esp32c3/include/hal/
Dgpspi_flash_ll.h105 uint32_t word = dev->data_buf[i]; in gpspi_flash_ll_get_buffer_data() local
106 memcpy(buffer, &word, word_len); in gpspi_flash_ll_get_buffer_data()
119 static inline void gpspi_flash_ll_write_word(spi_dev_t *dev, uint32_t word) in gpspi_flash_ll_write_word() argument
121 dev->data_buf[0] = word; in gpspi_flash_ll_write_word()
136 uint32_t word = 0; in gpspi_flash_ll_set_buffer_data() local
137 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
138 memcpy(&word, buffer, word_len); in gpspi_flash_ll_set_buffer_data()
139 dev->data_buf[i] = word; in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h282 uint32_t word = dev->data_buf[i]; in spimem_flash_ll_get_buffer_data() local
283 memcpy(buffer, &word, word_len); in spimem_flash_ll_get_buffer_data()
302 uint32_t word = 0; in spimem_flash_ll_set_buffer_data() local
303 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data()
304 memcpy(&word, buffer, word_len); in spimem_flash_ll_set_buffer_data()
305 dev->data_buf[i] = word; in spimem_flash_ll_set_buffer_data()
Dspi_ll.h333 uint32_t word; in spi_ll_write_buffer() local
334 memcpy(&word, &buffer_to_send[x / 8], 4); in spi_ll_write_buffer()
335 hw->data_buf[(x / 32)] = word; in spi_ll_write_buffer()
354 uint32_t word; in spi_ll_write_buffer_byte() local
363 word = hw->data_buf[byte_id / 4]; //read in spi_ll_write_buffer_byte()
365 memcpy(((uint8_t *)&word) + offset, data, copy_len); //modify in spi_ll_write_buffer_byte()
366 hw->data_buf[byte_id / 4] = word; //write in spi_ll_write_buffer_byte()
385 uint32_t word = hw->data_buf[x / 32]; in spi_ll_read_buffer() local
390 memcpy(&buffer_to_rcv[x / 8], &word, (len + 7) / 8); in spi_ll_read_buffer()
405 uint32_t word = hw->data_buf[byte_id / 4]; in spi_ll_read_buffer_byte() local
[all …]
/hal_espressif-3.4.0/components/hal/esp32h2/include/hal/
Dgpspi_flash_ll.h105 uint32_t word = dev->data_buf[i]; in gpspi_flash_ll_get_buffer_data() local
106 memcpy(buffer, &word, word_len); in gpspi_flash_ll_get_buffer_data()
119 static inline void gpspi_flash_ll_write_word(spi_dev_t *dev, uint32_t word) in gpspi_flash_ll_write_word() argument
121 dev->data_buf[0] = word; in gpspi_flash_ll_write_word()
136 uint32_t word = 0; in gpspi_flash_ll_set_buffer_data() local
137 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
138 memcpy(&word, buffer, word_len); in gpspi_flash_ll_set_buffer_data()
139 dev->data_buf[i] = word; in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h282 uint32_t word = dev->data_buf[i]; in spimem_flash_ll_get_buffer_data() local
283 memcpy(buffer, &word, word_len); in spimem_flash_ll_get_buffer_data()
302 uint32_t word = 0; in spimem_flash_ll_set_buffer_data() local
303 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data()
304 memcpy(&word, buffer, word_len); in spimem_flash_ll_set_buffer_data()
305 dev->data_buf[i] = word; in spimem_flash_ll_set_buffer_data()
Dspi_ll.h335 uint32_t word; in spi_ll_write_buffer() local
336 memcpy(&word, &buffer_to_send[x / 8], 4); in spi_ll_write_buffer()
337 hw->data_buf[(x / 32)] = word; in spi_ll_write_buffer()
356 uint32_t word; in spi_ll_write_buffer_byte() local
365 word = hw->data_buf[byte_id / 4]; //read in spi_ll_write_buffer_byte()
367 memcpy(((uint8_t *)&word) + offset, data, copy_len); //modify in spi_ll_write_buffer_byte()
368 hw->data_buf[byte_id / 4] = word; //write in spi_ll_write_buffer_byte()
387 uint32_t word = hw->data_buf[x / 32]; in spi_ll_read_buffer() local
392 memcpy(&buffer_to_rcv[x / 8], &word, (len + 7) / 8); in spi_ll_read_buffer()
407 uint32_t word = hw->data_buf[byte_id / 4]; in spi_ll_read_buffer_byte() local
[all …]
/hal_espressif-3.4.0/components/hal/esp32s2/include/hal/
Dgpspi_flash_ll.h101 uint32_t word = dev->data_buf[i]; in gpspi_flash_ll_get_buffer_data() local
102 memcpy(buffer, &word, word_len); in gpspi_flash_ll_get_buffer_data()
115 static inline void gpspi_flash_ll_write_word(spi_dev_t *dev, uint32_t word) in gpspi_flash_ll_write_word() argument
117 dev->data_buf[0] = word; in gpspi_flash_ll_write_word()
132 uint32_t word = 0; in gpspi_flash_ll_set_buffer_data() local
133 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
134 memcpy(&word, buffer, word_len); in gpspi_flash_ll_set_buffer_data()
135 dev->data_buf[i] = word; in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h278 uint32_t word = dev->data_buf[i]; in spimem_flash_ll_get_buffer_data() local
279 memcpy(buffer, &word, word_len); in spimem_flash_ll_get_buffer_data()
298 uint32_t word = 0; in spimem_flash_ll_set_buffer_data() local
299 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data()
300 memcpy(&word, buffer, word_len); in spimem_flash_ll_set_buffer_data()
301 dev->data_buf[i] = word; in spimem_flash_ll_set_buffer_data()
Dspi_ll.h316 uint32_t word; in spi_ll_write_buffer() local
317 memcpy(&word, &buffer_to_send[x / 8], 4); in spi_ll_write_buffer()
318 hw->data_buf[(x / 32)] = word; in spi_ll_write_buffer()
333 uint32_t word = hw->data_buf[x / 32]; in spi_ll_read_buffer() local
338 memcpy(&buffer_to_rcv[x / 8], &word, (len + 7) / 8); in spi_ll_read_buffer()
345 uint32_t word = hw->data_buf[byte_addr / 4]; in spi_ll_read_buffer_byte() local
353 memcpy(out_data, ((uint8_t *)&word) + offset, copy_len); in spi_ll_read_buffer_byte()
367 uint32_t word; in spi_ll_write_buffer_byte() local
377 word = hw->data_buf[byte_addr / 4]; in spi_ll_write_buffer_byte()
380 memcpy(((uint8_t *)&word) + offset, data, copy_len); in spi_ll_write_buffer_byte()
[all …]
/hal_espressif-3.4.0/components/hal/esp32s3/include/hal/
Dgpspi_flash_ll.h110 uint32_t word = dev->data_buf[i]; in gpspi_flash_ll_get_buffer_data() local
111 memcpy(buffer, &word, word_len); in gpspi_flash_ll_get_buffer_data()
124 static inline void gpspi_flash_ll_write_word(spi_dev_t *dev, uint32_t word) in gpspi_flash_ll_write_word() argument
126 dev->data_buf[0] = word; in gpspi_flash_ll_write_word()
141 uint32_t word = 0; in gpspi_flash_ll_set_buffer_data() local
142 uint32_t word_len = MIN(length, sizeof(word)); in gpspi_flash_ll_set_buffer_data()
143 memcpy(&word, buffer, word_len); in gpspi_flash_ll_set_buffer_data()
144 dev->data_buf[i] = word; in gpspi_flash_ll_set_buffer_data()
Dspimem_flash_ll.h278 uint32_t word = dev->data_buf[i]; in spimem_flash_ll_get_buffer_data() local
279 memcpy(buffer, &word, word_len); in spimem_flash_ll_get_buffer_data()
298 uint32_t word = 0; in spimem_flash_ll_set_buffer_data() local
299 uint32_t word_len = MIN(length, sizeof(word)); in spimem_flash_ll_set_buffer_data()
300 memcpy(&word, buffer, word_len); in spimem_flash_ll_set_buffer_data()
301 dev->data_buf[i] = word; in spimem_flash_ll_set_buffer_data()
Dspi_ll.h331 uint32_t word; in spi_ll_write_buffer() local
332 memcpy(&word, &buffer_to_send[x / 8], 4); in spi_ll_write_buffer()
333 hw->data_buf[(x / 32)] = word; in spi_ll_write_buffer()
352 uint32_t word; in spi_ll_write_buffer_byte() local
361 word = hw->data_buf[byte_id / 4]; //read in spi_ll_write_buffer_byte()
363 memcpy(((uint8_t *)&word) + offset, data, copy_len); //modify in spi_ll_write_buffer_byte()
364 hw->data_buf[byte_id / 4] = word; //write in spi_ll_write_buffer_byte()
383 uint32_t word = hw->data_buf[x / 32]; in spi_ll_read_buffer() local
388 memcpy(&buffer_to_rcv[x / 8], &word, (len + 7) / 8); in spi_ll_read_buffer()
403 uint32_t word = hw->data_buf[byte_id / 4]; in spi_ll_read_buffer_byte() local
[all …]
/hal_espressif-3.4.0/components/xtensa/
Dxtensa_intr_asm.S57 _xt_intenable: .word 0 /* Virtual INTENABLE */
58 _xt_vpri_mask: .word 0xFFFFFFFF /* Virtual priority mask */
86 .word xt_unhandled_interrupt /* handler address */
87 .word i /* handler arg (default: intnum) */
119 .word xt_unhandled_exception /* handler address */
/hal_espressif-3.4.0/components/esptool_py/esptool/espefuse/efuse/
Dbase_fields.py220 for word in reversed(words):
221 data.append("uint:32=%d" % word)
233 "%08x" % word
234 for word in bit_string.readlist(
350 for word in words:
359 print("Addr 0x%08x, data=0x%08x" % (write_reg_addr, word))
360 self.parent.write_reg(write_reg_addr, word)
547 self.word = param.word
650 self.word * 32 + self.pos + bitarray_field.len
661 if self.word is None or self.pos is None:
[all …]
/hal_espressif-3.4.0/components/esp_hw_support/
Dhw_random.c73 uint32_t word = esp_random(); in esp_fill_random() local
74 uint32_t to_copy = MIN(sizeof(word), len); in esp_fill_random()
75 memcpy(buf_bytes, &word, to_copy); in esp_fill_random()
/hal_espressif-3.4.0/components/sdmmc/test/
Dtest_sdio.c95 uint32_t word = (addr - DR_REG_SLC_BASE) / 4; in slave_slc_reg_read() local
96 if (word > INT8_MAX) { in slave_slc_reg_read()
100 uint32_t window_command = word | (SLC_WIN_CMD_READ << SLC_WIN_CMD_S); in slave_slc_reg_read()
115 uint32_t word = (addr - DR_REG_SLC_BASE) / 4; in slave_slc_reg_write() local
116 if (word > INT8_MAX) { in slave_slc_reg_write()
125 uint32_t window_command = word | (SLC_WIN_CMD_WRITE << SLC_WIN_CMD_S); in slave_slc_reg_write()
/hal_espressif-3.4.0/docs/en/api-reference/peripherals/
Dspi_slave_hd.rst98word written by the slave's application. It's also possible that if the slave reads a word while t…
100 …The master can confirm that the word is not in transition by reading the word twice and comparing …
102word is not in transition because the process of master writing four bytes can be very long (32 SP…
104 …om SW (worse if there are multi cores) and master, it is suggested that a word is only used in one…
/hal_espressif-3.4.0/components/bootloader/subproject/components/micro-ecc/micro-ecc/
Dasm_arm.inc414 "ldmia %[lptr]!, {%[left]} \n\t" /* Load left word. */
415 "ldmia %[rptr]!, {%[right]} \n\t" /* Load right word. */
419 "stmia %[dptr]!, {%[left]} \n\t" /* Store result word. */
446 "ldmia %[lptr]!, {%[left]} \n\t" /* Load left word. */
447 "ldmia %[rptr]!, {%[right]} \n\t" /* Load right word. */
451 "stmia %[dptr]!, {%[left]} \n\t" /* Store result word. */
498 "adds %[c0], %[c0], %[t0] \n\t" /* add low word to c0 */
499 "adcs %[c1], %[c1], %[t1] \n\t" /* add high word to c1, including carry */
592 "adds %[r3], %[r0] \n\t" /* add low word to c0 */
593 "adcs %[r4], %[r6] \n\t" /* add high word to c1, including carry */
[all …]
/hal_espressif-3.4.0/components/esptool_py/esptool/docs/en/advanced-topics/
Dserial-protocol.rst1 …1 byte ``flash_crypt_cnt``, 7x1 byte ``key_purposes``, 32-bit word ``chip_id``, 32-bit word ``eco_…
159 … | `Finish Flash Download <#writing-data>`__ | One 32-bit word: ``0`` to reboot, `…
171 …32-bit word
183 …inish Flash Download <#writing-data>`__ | One 32-bit word: ``0`` to reboot, `…
195word
199 …i-attach-command>`__ | 32-bit word: Zero for normal SPI flash. A second 32-bit…
207 …nd compressed flash download <#writing-data>`__ | One 32-bit word: ``0`` to reboot, `…
217 …er of data packets, data size in one packet, flash offset. A fifth 32-bit word passed to ROM loade…
221 …inish Flash Download <#writing-data>`__ | One 32-bit word: ``0`` to reboot, `…
233word
[all …]
/hal_espressif-3.4.0/tools/kconfig/lxdialog/
Dutil.c386 char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0; in print_autowrap() local
399 word = tempstr; in print_autowrap()
400 while (word && *word) { in print_autowrap()
401 sp = strpbrk(word, "\n "); in print_autowrap()
412 wlen = strlen(word); in print_autowrap()
422 waddstr(win, word); in print_autowrap()
439 word = sp; in print_autowrap()
/hal_espressif-3.4.0/components/esp_system/port/soc/esp32/
Dhighint_hdl.S154 .word 0
156 .word 0
158 .word 0, 0
160 .word 0
162 .word 0
/hal_espressif-3.4.0/components/esptool_py/esptool/docs/en/espefuse/
Dsummary-cmd.rst68 "word": 6,
81 "word": 0,
95 "word": 6,

1234