Searched refs:flash_prefix (Results 1 – 2 of 2) sorted by relevance
809 int flash_prefix = (WORD_SIZE - (addr % WORD_SIZE)) % WORD_SIZE; in read_non_aligned() local811 if (flash_prefix > size) { in read_non_aligned()812 flash_prefix = size; in read_non_aligned()821 int flash_suffix = (size - flash_prefix) % WORD_SIZE; in read_non_aligned()822 int flash_middle = size - flash_prefix - flash_suffix; in read_non_aligned()827 flash_suffix = size - flash_prefix - flash_middle; 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()849 if (flash_prefix != 0) { in read_non_aligned()[all …]
794 off_t flash_prefix = (WORD_SIZE - (addr % WORD_SIZE)) % WORD_SIZE; in read_non_aligned() local796 if (flash_prefix > size) { in read_non_aligned()797 flash_prefix = size; in read_non_aligned()806 off_t flash_suffix = (size - flash_prefix) % WORD_SIZE; in read_non_aligned()807 off_t flash_middle = size - flash_prefix - flash_suffix; in read_non_aligned()813 flash_suffix = size - flash_prefix - flash_middle; in read_non_aligned()821 addr + flash_prefix); 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()834 if (flash_prefix != 0) { in read_non_aligned()[all …]