Searched refs:fsr (Results 1 – 5 of 5) sorted by relevance
82 while ((readl(&eefc->fsr) & AT91_EEFC_FSR_FRDY) == 0) in flash_init()117 while ((readl(&eefc->fsr) & AT91_EEFC_FSR_FRDY) == 0) in flash_init()177 while ((readl(&eefc->fsr) & AT91_EEFC_FSR_FRDY) == 0) in flash_real_protect()181 while ((readl(&eefc->fsr) & AT91_EEFC_FSR_FRDY) == 0) in flash_real_protect()200 while ((readl(&eefc->fsr) & AT91_EEFC_FSR_FRDY) == 0) in erase_write_page()203 return readl(&eefc->fsr) in erase_write_page()
308 int fsr = read_fsr(nor); in spi_nor_fsr_ready() local310 if (fsr < 0) in spi_nor_fsr_ready()311 return fsr; in spi_nor_fsr_ready()312 return fsr & FSR_READY; in spi_nor_fsr_ready()317 int sr, fsr; in spi_nor_ready() local322 fsr = nor->flags & SNOR_F_USE_FSR ? spi_nor_fsr_ready(nor) : 1; in spi_nor_ready()323 if (fsr < 0) in spi_nor_ready()324 return fsr; in spi_nor_ready()325 return sr && fsr; in spi_nor_ready()
386 int fsr = read_fsr(nor); in spi_nor_fsr_ready() local388 if (fsr < 0) in spi_nor_fsr_ready()389 return fsr; in spi_nor_fsr_ready()391 if (fsr & (FSR_E_ERR | FSR_P_ERR)) { in spi_nor_fsr_ready()392 if (fsr & FSR_E_ERR) in spi_nor_fsr_ready()397 if (fsr & FSR_PT_ERR) in spi_nor_fsr_ready()405 return fsr & FSR_READY; in spi_nor_fsr_ready()410 int sr, fsr; in spi_nor_ready() local416 if (fsr < 0) in spi_nor_ready()417 return fsr; in spi_nor_ready()[all …]
18 u32 fsr; /* Flash Status Register RO */ member
53 u32 fsr; member
Completed in 11 milliseconds