Searched refs:dest_prefix (Results 1 – 2 of 2) sorted by relevance
815 int dest_prefix = (WORD_SIZE - (int)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned() local817 if (dest_prefix > size) { in read_non_aligned()818 dest_prefix = size; in read_non_aligned()823 int dest_middle = size - dest_prefix - (size - dest_prefix) % WORD_SIZE; in read_non_aligned()834 res = _nrfx_qspi_read(dptr + dest_prefix, flash_middle, addr + flash_prefix); in read_non_aligned()843 if (flash_prefix != dest_prefix) { in read_non_aligned()844 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned()
800 off_t dest_prefix = (WORD_SIZE - (off_t)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned() local802 if (dest_prefix > size) { in read_non_aligned()803 dest_prefix = size; in read_non_aligned()808 off_t dest_middle = size - dest_prefix - in read_non_aligned()809 (size - dest_prefix) % WORD_SIZE; in read_non_aligned()820 res = nrfx_qspi_read(dptr + dest_prefix, flash_middle, in read_non_aligned()828 if (flash_prefix != dest_prefix) { in read_non_aligned()829 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned()