Searched refs:SPI_NOR_PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_npcx_fiu_nor.c | 323 if (size > SPI_NOR_PAGE_SIZE) { in flash_npcx_nor_write() 324 sz_write = SPI_NOR_PAGE_SIZE; in flash_npcx_nor_write() 333 if (((addr + sz_write - 1U) / SPI_NOR_PAGE_SIZE) != (addr / SPI_NOR_PAGE_SIZE)) { in flash_npcx_nor_write() 334 sz_write -= (addr + sz_write) & (SPI_NOR_PAGE_SIZE - 1); in flash_npcx_nor_write() 356 if (size > SPI_NOR_PAGE_SIZE) { in flash_npcx_nor_write() 357 sz_write = SPI_NOR_PAGE_SIZE; in flash_npcx_nor_write() 613 (8 * SPI_NOR_PAGE_SIZE), \ 614 .pages_size = SPI_NOR_PAGE_SIZE, \
|
D | spi_nor.h | 80 #define SPI_NOR_PAGE_SIZE 0x0100U macro
|
D | flash_mspi_emul_device.c | 228 i = MIN(SPI_NOR_PAGE_SIZE - (offset % SPI_NOR_PAGE_SIZE), len); in flash_mspi_emul_write() 427 .pages_count = DT_INST_PROP(n, size) / 8 / SPI_NOR_PAGE_SIZE,\ 428 .pages_size = SPI_NOR_PAGE_SIZE, \
|
D | flash_mcux_flexspi_mx25um51345g.c | 23 static uint8_t nor_write_buf[SPI_NOR_PAGE_SIZE]; 406 i = MIN(SPI_NOR_PAGE_SIZE - (offset % SPI_NOR_PAGE_SIZE), len); in flash_flexspi_nor_write()
|
D | flash_mspi_atxp032.c | 446 i = MIN(SPI_NOR_PAGE_SIZE - (offset % SPI_NOR_PAGE_SIZE), len); in flash_mspi_atxp032_write() 840 .pages_count = DT_INST_PROP(n, size) / 8 / SPI_NOR_PAGE_SIZE, \ 841 .pages_size = SPI_NOR_PAGE_SIZE, \
|
D | flash_stm32_qspi.c | 619 if (to_write >= SPI_NOR_PAGE_SIZE) { in flash_stm32_qspi_write() 620 to_write = SPI_NOR_PAGE_SIZE; in flash_stm32_qspi_write() 624 if (((addr + to_write - 1U) / SPI_NOR_PAGE_SIZE) in flash_stm32_qspi_write() 625 != (addr / SPI_NOR_PAGE_SIZE)) { in flash_stm32_qspi_write() 626 to_write = SPI_NOR_PAGE_SIZE - in flash_stm32_qspi_write() 627 (addr % SPI_NOR_PAGE_SIZE); in flash_stm32_qspi_write()
|
D | flash_stm32_xspi.c | 1358 if (to_write >= SPI_NOR_PAGE_SIZE) { in flash_stm32_xspi_write() 1359 to_write = SPI_NOR_PAGE_SIZE; in flash_stm32_xspi_write() 1363 if (((addr + to_write - 1U) / SPI_NOR_PAGE_SIZE) in flash_stm32_xspi_write() 1364 != (addr / SPI_NOR_PAGE_SIZE)) { in flash_stm32_xspi_write() 1365 to_write = SPI_NOR_PAGE_SIZE - in flash_stm32_xspi_write() 1366 (addr % SPI_NOR_PAGE_SIZE); in flash_stm32_xspi_write() 2446 .page_size = SPI_NOR_PAGE_SIZE, /* by default, to be updated by sfdp */
|
D | flash_stm32_ospi.c | 1522 if (to_write >= SPI_NOR_PAGE_SIZE) { in flash_stm32_ospi_write() 1523 to_write = SPI_NOR_PAGE_SIZE; in flash_stm32_ospi_write() 1527 if (((addr + to_write - 1U) / SPI_NOR_PAGE_SIZE) in flash_stm32_ospi_write() 1528 != (addr / SPI_NOR_PAGE_SIZE)) { in flash_stm32_ospi_write() 1529 to_write = SPI_NOR_PAGE_SIZE - in flash_stm32_ospi_write() 1530 (addr % SPI_NOR_PAGE_SIZE); in flash_stm32_ospi_write() 2623 .page_size = SPI_NOR_PAGE_SIZE, /* by default, to be updated by sfdp */
|
D | flash_mcux_flexspi_nor.c | 26 static uint8_t nor_write_buf[SPI_NOR_PAGE_SIZE]; 356 i = MIN(SPI_NOR_PAGE_SIZE - (offset % SPI_NOR_PAGE_SIZE), len); in flash_flexspi_nor_write()
|
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | spi_nor.h | 41 #define SPI_NOR_PAGE_SIZE 0x0100U macro
|