Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dflash_gd32_v2.c133 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
[all …]
Dflash_gd32_v1.c134 static int gd32_fmc_v1_page_erase(uint32_t page_addr) in gd32_fmc_v1_page_erase() argument
146 FMC_ADDR = page_addr; in gd32_fmc_v1_page_erase()
158 LOG_ERR("FMC page %u erase failed", page_addr); in gd32_fmc_v1_page_erase()
171 uint32_t page_addr = SOC_NV_FLASH_ADDR + offset; in flash_gd32_erase_block() local
175 ret = gd32_fmc_v1_page_erase(page_addr); in flash_gd32_erase_block()
181 page_addr += GD32_NV_FLASH_V1_PAGE_SIZE; in flash_gd32_erase_block()
Dflash_shell.c94 uint32_t page_addr; in cmd_erase() local
97 result = parse_helper(sh, &argc, &argv, &flash_dev, &page_addr); in cmd_erase()
106 result = flash_get_page_info_by_offs(flash_dev, page_addr, in cmd_erase()
118 result = flash_erase(flash_dev, page_addr, size); in cmd_erase()
/Zephyr-latest/drivers/xen/
Dgnttab.c195 void *page_addr; in gnttab_get_page() local
198 page_addr = k_aligned_alloc(XEN_PAGE_SIZE, XEN_PAGE_SIZE); in gnttab_get_page()
199 if (!page_addr) { in gnttab_get_page()
205 rfpm.gpfn = xen_virt_to_gfn(page_addr); in gnttab_get_page()
218 return page_addr; in gnttab_get_page()
221 void gnttab_put_page(void *page_addr) in gnttab_put_page() argument
225 xen_pfn_t page = xen_virt_to_gfn(page_addr); in gnttab_put_page()
246 k_free(page_addr); in gnttab_put_page()
/Zephyr-latest/include/zephyr/xen/
Dgnttab.h59 void gnttab_put_page(void *page_addr);