Searched refs:flash_middle (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | qspi_if.c | 822 int flash_middle = size - flash_prefix - flash_suffix; in read_non_aligned() local 825 if (flash_middle > dest_middle) { in read_non_aligned() 826 flash_middle = dest_middle; in read_non_aligned() 827 flash_suffix = size - flash_prefix - flash_middle; in read_non_aligned() 833 if (flash_middle != 0) { in read_non_aligned() 834 res = _nrfx_qspi_read(dptr + dest_prefix, flash_middle, addr + flash_prefix); in read_non_aligned() 844 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned() 863 res = _nrfx_qspi_read(buf, WORD_SIZE * 2, addr + flash_prefix + flash_middle); in read_non_aligned() 871 memcpy(dptr + flash_prefix + flash_middle, buf, flash_suffix); in read_non_aligned()
|
/Zephyr-latest/drivers/flash/ |
D | nrf_qspi_nor.c | 807 off_t flash_middle = size - flash_prefix - flash_suffix; in read_non_aligned() local 811 if (flash_middle > dest_middle) { in read_non_aligned() 812 flash_middle = dest_middle; in read_non_aligned() 813 flash_suffix = size - flash_prefix - flash_middle; in read_non_aligned() 819 if (flash_middle != 0) { in read_non_aligned() 820 res = nrfx_qspi_read(dptr + dest_prefix, flash_middle, in read_non_aligned() 829 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned() 847 addr + flash_prefix + flash_middle); in read_non_aligned() 852 memcpy(dptr + flash_prefix + flash_middle, buf, flash_suffix); in read_non_aligned()
|