Home
last modified time | relevance | path

Searched refs:fsr (Results 1 – 5 of 5) sorted by relevance

/u-boot/arch/arm/mach-at91/arm926ejs/
A Deflash.c82 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()
/u-boot/drivers/mtd/spi/
A Dspi-nor-tiny.c308 int fsr = read_fsr(nor); in spi_nor_fsr_ready() local
310 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() local
322 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()
A Dspi-nor-core.c386 int fsr = read_fsr(nor); in spi_nor_fsr_ready() local
388 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() local
416 if (fsr < 0) in spi_nor_ready()
417 return fsr; in spi_nor_ready()
[all …]
/u-boot/arch/arm/mach-at91/include/mach/
A Dat91_eefc.h18 u32 fsr; /* Flash Status Register RO */ member
/u-boot/drivers/i2c/
A Dat91_i2c.h53 u32 fsr; member

Completed in 11 milliseconds