Home
last modified time | relevance | path

Searched refs:SPI_NOR_PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_npcx_fiu_nor.c323 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, \
Dspi_nor.h80 #define SPI_NOR_PAGE_SIZE 0x0100U macro
Dflash_mspi_emul_device.c228 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, \
Dflash_mcux_flexspi_mx25um51345g.c23 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()
Dflash_mspi_atxp032.c446 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, \
Dflash_stm32_qspi.c619 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()
Dflash_stm32_xspi.c1358 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 */
Dflash_stm32_ospi.c1522 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 */
Dflash_mcux_flexspi_nor.c26 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/
Dspi_nor.h41 #define SPI_NOR_PAGE_SIZE 0x0100U macro