Searched refs:WORD_SIZE (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | qspi_if.c | 153 #define WORD_SIZE 4 macro 806 uint8_t __aligned(WORD_SIZE) buf[WORD_SIZE * 2]; in read_non_aligned() 809 int flash_prefix = (WORD_SIZE - (addr % WORD_SIZE)) % WORD_SIZE; in read_non_aligned() 815 int dest_prefix = (WORD_SIZE - (int)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned() 821 int flash_suffix = (size - flash_prefix) % WORD_SIZE; in read_non_aligned() 823 int dest_middle = size - dest_prefix - (size - dest_prefix) % WORD_SIZE; in read_non_aligned() 850 res = _nrfx_qspi_read(buf, WORD_SIZE, addr - (WORD_SIZE - flash_prefix)); in read_non_aligned() 858 memcpy(dptr, buf + WORD_SIZE - flash_prefix, flash_prefix); in read_non_aligned() 863 res = _nrfx_qspi_read(buf, WORD_SIZE * 2, addr + flash_prefix + flash_middle); in read_non_aligned()
|
/Zephyr-latest/drivers/flash/ |
D | nrf_qspi_nor.c | 191 #define WORD_SIZE 4 macro 791 uint8_t __aligned(WORD_SIZE) buf[WORD_SIZE * 2]; in read_non_aligned() 794 off_t flash_prefix = (WORD_SIZE - (addr % WORD_SIZE)) % WORD_SIZE; in read_non_aligned() 800 off_t dest_prefix = (WORD_SIZE - (off_t)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned() 806 off_t flash_suffix = (size - flash_prefix) % WORD_SIZE; in read_non_aligned() 809 (size - dest_prefix) % WORD_SIZE; in read_non_aligned() 835 res = nrfx_qspi_read(buf, WORD_SIZE, addr - in read_non_aligned() 836 (WORD_SIZE - flash_prefix)); in read_non_aligned() 841 memcpy(dptr, buf + WORD_SIZE - flash_prefix, flash_prefix); in read_non_aligned() 846 res = nrfx_qspi_read(buf, WORD_SIZE * 2, in read_non_aligned()
|
D | flash_stm32wb0x.c | 39 #define WORD_SIZE WRITE_BLOCK_SIZE macro 78 return words_in_flash * WORD_SIZE; in get_flash_size_in_bytes() 359 const uint32_t start_word = (uint32_t)offset / WORD_SIZE; in flash_wb0x_write() 360 const uint32_t num_words = len / WORD_SIZE; in flash_wb0x_write()
|