Searched refs:fmc2_base (Results 1 – 1 of 1) sorted by relevance
157 static uintptr_t fmc2_base(void) in fmc2_base() function317 pcr = mmio_read_32(fmc2_base() + FMC2_PCR); in stm32_fmc2_nand_setup_timing()335 mmio_write_32(fmc2_base() + FMC2_PCR, pcr); in stm32_fmc2_nand_setup_timing()336 mmio_write_32(fmc2_base() + FMC2_PMEM, pmem); in stm32_fmc2_nand_setup_timing()337 mmio_write_32(fmc2_base() + FMC2_PATT, patt); in stm32_fmc2_nand_setup_timing()342 mmio_clrsetbits_32(fmc2_base() + FMC2_PCR, FMC2_PCR_PWID_MASK, in stm32_fmc2_set_buswidth_16()348 mmio_clrsetbits_32(fmc2_base() + FMC2_PCR, FMC2_PCR_ECCEN, in stm32_fmc2_set_ecc()429 while ((mmio_read_32(fmc2_base() + FMC2_SR) & FMC2_SR_NWRF) == 0U) { in stm32_fmc2_ham_calculate()435 heccr = mmio_read_32(fmc2_base() + FMC2_HECCR); in stm32_fmc2_ham_calculate()454 while ((mmio_read_32(fmc2_base() + FMC2_BCHISR) & in stm32_fmc2_bch_correct()[all …]