| /bsp/wch/arm/Libraries/ch32_drivers/ |
| A D | drv_flash_ch32f20x.c | 82 rt_uint32_t end_addr = addr + size; in ch32_flash_write() local 90 if ((end_addr) > CH32_FLASH_END_ADDRESS) in ch32_flash_write() 98 while (addr < end_addr) in ch32_flash_write() 140 rt_uint32_t end_addr = addr + size; in ch32_flash_erase() local 145 if ((end_addr) > CH32_FLASH_END_ADDRESS) in ch32_flash_erase() 151 while(addr < end_addr) in ch32_flash_erase()
|
| /bsp/at32/libraries/rt_drivers/ |
| A D | drv_flash.c | 81 rt_uint32_t end_addr = addr + size; in at32_flash_write() local 89 if ((end_addr) > AT32_FLASH_END_ADDRESS) in at32_flash_write() 97 while (addr < end_addr) in at32_flash_write() 139 rt_uint32_t end_addr = addr + size; in at32_flash_erase() local 144 if ((end_addr) > AT32_FLASH_END_ADDRESS) in at32_flash_erase() 150 while(addr < end_addr) in at32_flash_erase()
|
| /bsp/n32g452xx/Libraries/rt_drivers/ |
| A D | drv_flash.c | 82 rt_uint32_t end_addr = addr + size; in n32_flash_write() local 90 if ((end_addr) > N32_FLASH_END_ADDRESS) in n32_flash_write() 98 while (addr < end_addr) in n32_flash_write() 140 rt_uint32_t end_addr = addr + size; in n32_flash_erase() local 145 if ((end_addr) > N32_FLASH_END_ADDRESS) in n32_flash_erase() 151 while (addr < end_addr) in n32_flash_erase()
|
| /bsp/airm2m/air32f103/libraries/rt_drivers/ |
| A D | drv_flash.c | 82 rt_uint32_t end_addr = addr + size; in air32_flash_write() local 90 if ((end_addr) > AIR32_FLASH_END_ADDRESS) in air32_flash_write() 98 while (addr < end_addr) in air32_flash_write() 140 rt_uint32_t end_addr = addr + size; in air32_flash_erase() local 145 if ((end_addr) > AIR32_FLASH_END_ADDRESS) in air32_flash_erase() 151 while(addr < end_addr) in air32_flash_erase()
|
| /bsp/apm32/libraries/Drivers/drv_flash/ |
| A D | drv_flash_e1.c | 83 rt_uint32_t end_addr = addr + size; in apm32_flash_write() local 91 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_write() 99 while (addr < end_addr) in apm32_flash_write() 142 rt_uint32_t end_addr = addr + size; in apm32_flash_erase() local 147 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_erase() 159 while(addr < end_addr) in apm32_flash_erase()
|
| A D | drv_flash_s1.c | 83 rt_uint32_t end_addr = addr + size; in apm32_flash_write() local 91 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_write() 99 while (addr < end_addr) in apm32_flash_write() 142 rt_uint32_t end_addr = addr + size; in apm32_flash_erase() local 147 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_erase() 159 while(addr < end_addr) in apm32_flash_erase()
|
| A D | drv_flash_f0.c | 85 rt_uint32_t end_addr = addr + size; in apm32_flash_write() local 93 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_write() 101 while (addr < end_addr) in apm32_flash_write() 144 rt_uint32_t end_addr = addr + size; in apm32_flash_erase() local 149 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_erase() 161 while(addr < end_addr) in apm32_flash_erase()
|
| A D | drv_flash_f1.c | 85 rt_uint32_t end_addr = addr + size; in apm32_flash_write() local 93 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_write() 101 while (addr < end_addr) in apm32_flash_write() 144 rt_uint32_t end_addr = addr + size; in apm32_flash_erase() local 149 if ((end_addr) > APM32_FLASH_END_ADDRESS) in apm32_flash_erase() 161 while(addr < end_addr) in apm32_flash_erase()
|
| /bsp/bouffalo_lab/libraries/rt_drivers/ |
| A D | drv_flash.c | 52 rt_uint32_t end_addr = addr + size; in _flash_write() local 60 if ((end_addr) > BFLB_FLASH_END_ADDRESS) in _flash_write() 82 rt_uint32_t end_addr = addr + size; in _flash_erase() local 85 if ((end_addr) > BFLB_FLASH_END_ADDRESS) in _flash_erase()
|
| /bsp/stm32/libraries/HAL_Drivers/drivers/drv_flash/ |
| A D | drv_flash_h7.c | 73 rt_uint32_t end_addr = addr + size - 1, write_addr; in stm32_flash_write() local 78 if ((end_addr) > FLASH_END) in stm32_flash_write() 98 while (addr < end_addr) in stm32_flash_write() 100 if(end_addr - addr + 1 < write_granularity) in stm32_flash_write() 102 write_size = end_addr - addr + 1; in stm32_flash_write()
|
| A D | drv_flash_l1.c | 70 rt_uint32_t end_addr = addr + size; in stm32_flash_write() local 78 if ((end_addr) > STM32_FLASH_END_ADDRESS) in stm32_flash_write() 86 while (addr < end_addr) in stm32_flash_write()
|
| A D | drv_flash_f0.c | 81 rt_uint32_t end_addr = addr + size; in stm32_flash_write() local 89 if ((end_addr) > STM32_FLASH_END_ADDRESS) in stm32_flash_write() 97 while (addr < end_addr) in stm32_flash_write()
|
| A D | drv_flash_f1.c | 83 rt_uint32_t end_addr = addr + size; in stm32_flash_write() local 91 if ((end_addr) > STM32_FLASH_END_ADDRESS) in stm32_flash_write() 99 while (addr < end_addr) in stm32_flash_write()
|
| A D | drv_flash_f2.c | 153 rt_uint32_t end_addr = addr + size; in stm32_flash_write() local 155 if ((end_addr) > STM32_FLASH_END_ADDRESS) in stm32_flash_write()
|
| /bsp/Infineon/libraries/HAL_Drivers/ |
| A D | drv_flash.c | 171 rt_uint32_t end_addr = addr + size; in ifx_flash_erase_32k() local 177 if ((end_addr) > IFX_EFLASH_END_ADDRESS) in ifx_flash_erase_32k() 183 while (addr < end_addr) in ifx_flash_erase_32k() 221 rt_uint32_t end_addr = addr + size; in ifx_flash_erase_256k() local 227 if ((end_addr) > IFX_FLASH_END_ADDRESS) in ifx_flash_erase_256k() 233 while (addr < end_addr) in ifx_flash_erase_256k()
|
| /bsp/wch/risc-v/Libraries/ch32_drivers/ |
| A D | drv_flash.c | 91 rt_uint32_t end_addr = addr + size; in ch32_flash_write() local 99 if ((end_addr) > CH32_FLASH_END_ADDRESS) in ch32_flash_write() 117 if (addr == end_addr) { in ch32_flash_write() 125 while (addr < end_addr) in ch32_flash_write()
|
| /bsp/rockchip/common/drivers/ |
| A D | drv_heap.h | 20 rt_err_t rt_uncache_heap_init(void *begin_addr, void *end_addr); 26 rt_err_t rt_large_heap_init(void *begin_addr, void *end_addr);
|
| A D | drv_heap.c | 23 rt_err_t rt_uncache_heap_init(void *begin_addr, void *end_addr) in rt_uncache_heap_init() argument 29 (rt_uint32_t)end_addr - (rt_uint32_t)begin_addr); in rt_uncache_heap_init() 48 rt_err_t rt_large_heap_init(void *begin_addr, void *end_addr) in rt_large_heap_init() argument 54 (rt_uint32_t)end_addr - (rt_uint32_t)begin_addr); in rt_large_heap_init()
|
| /bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/drivers/ |
| A D | spiflash.c | 218 uint32_t end_addr, current_size, current_addr, count = 0U; in csi_spiflash_program() local 235 end_addr = offset + size; in csi_spiflash_program() 251 …current_size = ((current_addr + param->page_size) > end_addr) ? (end_addr - current_addr) : param-… in csi_spiflash_program() 252 } while (current_addr < end_addr); in csi_spiflash_program() 420 uint32_t start_addr, end_addr; in is_top_protect_region() local 426 end_addr = ( offset + size ) - 1U; in is_top_protect_region() 435 if ((start_addr == lock_start_addr) && (end_addr == lock_end_addr)) { in is_top_protect_region() 452 uint32_t start_addr, end_addr; in is_button_protect_region() local 458 end_addr = ( offset + size ) - 1U; in is_button_protect_region() 467 if ((start_addr == lock_start_addr) && (end_addr == (lock_end_addr - 1U))) { in is_button_protect_region()
|
| /bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/ |
| A D | ald_flash_ext.c | 99 static type_bool_t page_have_writen(uint32_t begin_addr, uint32_t end_addr) in page_have_writen() argument 107 assert_param(IS_FLASH_ADDRESS(end_addr)); in page_have_writen() 113 if (begin_addr > end_addr) in page_have_writen() 116 while (index++ <= end_addr) { in page_have_writen()
|
| /bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ |
| A D | ald_flash_ext.c | 99 static type_bool_t page_have_writen(uint32_t begin_addr, uint32_t end_addr) in page_have_writen() argument 107 assert_param(IS_FLASH_ADDRESS(end_addr)); in page_have_writen() 113 if (begin_addr > end_addr) in page_have_writen() 116 while (index++ <= end_addr) { in page_have_writen()
|
| /bsp/hpmicro/hpm6200evk/board/ |
| A D | board.c | 423 uint32_t end_addr; in board_init_pmp() local 432 end_addr = (uint32_t)__noncacheable_end__; in board_init_pmp() 433 length = end_addr - start_addr; in board_init_pmp() 449 end_addr = (uint32_t)__share_mem_end__; in board_init_pmp() 450 length = end_addr - start_addr; in board_init_pmp()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/include/ |
| A D | bflb_flash.h | 54 uint32_t end_addr; member
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_lobs_drv.c | 27 assert((config->end_addr & 0x03) == 0); in lobs_ctrl_config() 40 lobs->ENDADDR = config->end_addr - 4u; in lobs_ctrl_config()
|
| /bsp/yichip/yc3122-pos/Libraries/sdk/ |
| A D | yc_qspi.h | 176 void prefetch(void *start_addr, void *end_addr);
|