Searched refs:SPI_NOR_IS_ALIGNED (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | spi_nor.h | 112 #define SPI_NOR_IS_ALIGNED(_ofs, _bits) (((_ofs) & BIT_MASK(_bits)) == 0) macro 113 #define SPI_NOR_IS_SECTOR_ALIGNED(_ofs) SPI_NOR_IS_ALIGNED(_ofs, 12) 114 #define SPI_NOR_IS_32K_ALIGNED(_ofs) SPI_NOR_IS_ALIGNED(_ofs, 15) 115 #define SPI_NOR_IS_64K_ALIGNED(_ofs) SPI_NOR_IS_ALIGNED(_ofs, 16)
|
D | flash_andes_qspi.c | 432 SPI_NOR_IS_ALIGNED(addr, etp->exp) && in flash_andes_qspi_erase() 433 SPI_NOR_IS_ALIGNED(size, etp->exp) && in flash_andes_qspi_erase()
|
D | flash_stm32_qspi.c | 717 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_qspi_erase() 718 && SPI_NOR_IS_ALIGNED(size, etp->exp) in flash_stm32_qspi_erase()
|
D | spi_nor.c | 984 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in spi_nor_erase()
|
D | flash_stm32_xspi.c | 1096 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_xspi_erase()
|
D | flash_stm32_ospi.c | 1270 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_ospi_erase()
|
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | spi_nor.h | 46 #define SPI_NOR_IS_ALIGNED(_ofs, _bits) (((_ofs)&BIT_MASK(_bits)) == 0) macro 47 #define SPI_NOR_IS_SECTOR_ALIGNED(_ofs) SPI_NOR_IS_ALIGNED(_ofs, 12)
|