Lines Matching refs:length
56 .length = 4*8, in spi_task1()
81 .length = 4*8, in spi_task2()
114 .length = 4*8, in spi_task3()
145 …_large_buffer(esp_flash_t *chip, const esp_partition_t *part, const uint8_t *source, size_t length) in write_large_buffer() argument
147 printf("Erasing chip %p, %d bytes\n", chip, length); in write_large_buffer()
149 …TEST_ESP_OK(esp_flash_erase_region(chip, part->address, (length + SPI_FLASH_SEC_SIZE) & ~(SPI_FLAS… in write_large_buffer()
151 printf("Writing chip %p, %d bytes from source %p\n", chip, length, source); in write_large_buffer()
153 TEST_ESP_OK(esp_flash_write(chip, source, part->address + 1, length) ); in write_large_buffer()
158 …ead_and_check(esp_flash_t *chip, const esp_partition_t *part, const uint8_t *source, size_t length) in read_and_check() argument
160 printf("Checking chip %p, %d bytes\n", chip, length); in read_and_check()
161 uint8_t *buf = malloc(length); in read_and_check()
163 TEST_ESP_OK(esp_flash_read(chip, buf, part->address + 1, length) ); in read_and_check()
164 TEST_ASSERT_EQUAL_HEX8_ARRAY(source, buf, length); in read_and_check()
174 TEST_ESP_OK(esp_flash_read(chip, ends, part->address + length, sizeof(ends)) ); in read_and_check()
176 TEST_ASSERT_EQUAL_HEX8(source[length - 1], ends[0]); in read_and_check()
307 .length = 16, in test_polling_send()