Searched refs:left_off (Results 1 – 3 of 3) sorted by relevance
/device/soc/esp/esp32/components/spi_flash/ |
D | flash_ops.c | 433 size_t left_off = dst & ~3U; in spi_flash_write() local 446 memcpy(((uint8_t *) &t) + (dst - left_off), srcc, left_size); in spi_flash_write() 448 rc = spi_flash_write_inner(left_off, &t, 4); in spi_flash_write() 683 uint32_t left_off = src & 3U; in spi_flash_read() local 684 uint32_t read_size = (left_off + size + 3) & ~3U; in spi_flash_read() 693 memcpy(dstv, ((uint8_t *) t) + left_off, size); in spi_flash_read() 696 memcpy(dstv, ((uint8_t *) t) + left_off, size); in spi_flash_read() 699 memcpy(dstv, ((uint8_t *) t) + left_off, size); in spi_flash_read()
|
D | spi_flash_chip_winbond.c | 63 uint32_t left_off = address - align_address; in spi_flash_chip_winbond_read() local 67 memcpy(buffer, temp_buffer + left_off, data_len); in spi_flash_chip_winbond_read()
|
D | spi_flash_chip_generic.c | 204 uint32_t left_off = address - align_address; in spi_flash_chip_generic_read() local 208 memcpy(buffer, temp_buffer + left_off, data_len); in spi_flash_chip_generic_read() 248 uint32_t left_off = address - align_address; in spi_flash_chip_generic_write() local 250 memcpy(temp_buffer + left_off, buffer, write_len); in spi_flash_chip_generic_write()
|