Home
last modified time | relevance | path

Searched refs:WORD_SIZE (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/modules/nrf_wifi/bus/
Dqspi_if.c154 #define WORD_SIZE 4 macro
807 uint8_t __aligned(WORD_SIZE) buf[WORD_SIZE * 2]; in read_non_aligned()
810 int flash_prefix = (WORD_SIZE - (addr % WORD_SIZE)) % WORD_SIZE; in read_non_aligned()
816 int dest_prefix = (WORD_SIZE - (int)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned()
822 int flash_suffix = (size - flash_prefix) % WORD_SIZE; in read_non_aligned()
824 int dest_middle = size - dest_prefix - (size - dest_prefix) % WORD_SIZE; in read_non_aligned()
851 res = _nrfx_qspi_read(buf, WORD_SIZE, addr - (WORD_SIZE - flash_prefix)); in read_non_aligned()
859 memcpy(dptr, buf + WORD_SIZE - flash_prefix, flash_prefix); in read_non_aligned()
864 res = _nrfx_qspi_read(buf, WORD_SIZE * 2, addr + flash_prefix + flash_middle); in read_non_aligned()
/Zephyr-latest/drivers/flash/
Dnrf_qspi_nor.c191 #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()
Dflash_stm32wb0x.c39 #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()
/Zephyr-latest/modules/nrf_wifi/os/
Dshim.c38 #define WORD_SIZE 4 macro
46 return k_heap_aligned_alloc(&wifi_drv_ctrl_mem_pool, WORD_SIZE, size_aligned, K_FOREVER); in zep_shim_mem_alloc()
53 return k_heap_aligned_alloc(&wifi_drv_data_mem_pool, WORD_SIZE, size_aligned, K_FOREVER); in zep_shim_data_mem_alloc()