Lines Matching refs:page_addr
133 static int gd32_fmc_v2_bank0_page_erase(uint32_t page_addr) in gd32_fmc_v2_bank0_page_erase() argument
145 FMC_ADDR0 = page_addr; in gd32_fmc_v2_bank0_page_erase()
157 LOG_ERR("FMC bank0 page %u erase failed", page_addr); in gd32_fmc_v2_bank0_page_erase()
170 uint32_t page_addr = SOC_NV_FLASH_ADDR + offset; in gd32_fmc_v2_bank0_erase_block() local
174 ret = gd32_fmc_v2_bank0_page_erase(page_addr); in gd32_fmc_v2_bank0_erase_block()
180 page_addr += GD32_NV_FLASH_V2_BANK0_PAGE_SIZE; in gd32_fmc_v2_bank0_erase_block()
248 static int gd32_fmc_v2_bank1_page_erase(uint32_t page_addr) in gd32_fmc_v2_bank1_page_erase() argument
260 FMC_ADDR1 = page_addr; in gd32_fmc_v2_bank1_page_erase()
272 LOG_ERR("FMC bank1 page %u erase failed", page_addr); in gd32_fmc_v2_bank1_page_erase()
285 uint32_t page_addr = SOC_NV_FLASH_ADDR + offset; in gd32_fmc_v2_bank1_erase_block() local
289 ret = gd32_fmc_v2_bank1_page_erase(page_addr); in gd32_fmc_v2_bank1_erase_block()
295 page_addr += GD32_NV_FLASH_V2_BANK0_SIZE; in gd32_fmc_v2_bank1_erase_block()