Home
last modified time | relevance | path

Searched refs:flash_lock (Results 1 – 8 of 8) sorted by relevance

/bsp/synwit/libraries/SWM320_drivers/
A Ddrv_nor_flash.c25 static struct rt_mutex flash_lock; variable
38 rt_mutex_take(&flash_lock, RT_WAITING_FOREVER); in swm_norflash_read()
40 rt_mutex_release(&flash_lock); in swm_norflash_read()
51 rt_mutex_take(&flash_lock, RT_WAITING_FOREVER); in swm_norflash_write()
57 rt_mutex_release(&flash_lock); in swm_norflash_write()
65 rt_mutex_take(&flash_lock, RT_WAITING_FOREVER); in swm_norflash_erase_block()
67 rt_mutex_release(&flash_lock); in swm_norflash_erase_block()
104 if (rt_mutex_init(&flash_lock, "nor", RT_IPC_FLAG_PRIO) != RT_EOK) in swm_norflash_init()
/bsp/nxp/mcx/mcxa/Libraries/drivers/
A Ddrv_chipflash.c24 struct rt_mutex flash_lock; member
45 rt_mutex_take(&mtd.flash_lock, RT_WAITING_FOREVER); in nxp_chipflash_read()
47 rt_mutex_release(&mtd.flash_lock); in nxp_chipflash_read()
59 rt_mutex_take(&mtd.flash_lock, RT_WAITING_FOREVER); in nxp_chipflash_write()
65 rt_mutex_release(&mtd.flash_lock); in nxp_chipflash_write()
76 rt_mutex_take(&mtd.flash_lock, RT_WAITING_FOREVER); in nxp_chipflash_erase_block()
78 rt_mutex_release(&mtd.flash_lock); in nxp_chipflash_erase_block()
121 if (rt_mutex_init(&mtd.flash_lock, "m_flash", RT_IPC_FLAG_PRIO) != RT_EOK) in rt_onchip_flash_init()
/bsp/simulator/drivers/
A Dsst25vfxx_mtd_sim.c39 static struct rt_mutex flash_lock; variable
57 result = rt_mutex_take(&flash_lock, RT_WAITING_FOREVER); in sst25vfxx_read()
74 rt_mutex_release(&flash_lock); in sst25vfxx_read()
87 result = rt_mutex_take(&flash_lock, RT_WAITING_FOREVER); in sst25vfxx_write()
104 rt_mutex_release(&flash_lock); in sst25vfxx_write()
118 result = rt_mutex_take(&flash_lock, RT_WAITING_FOREVER); in sst25vfxx_erase_block()
137 rt_mutex_release(&flash_lock); in sst25vfxx_erase_block()
174 if (rt_mutex_init(&flash_lock, nor_name, RT_IPC_FLAG_PRIO) != RT_EOK) in sst25vfxx_mtd_init()
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_flash.c111 __RAMFUNC static ald_status_t flash_lock(void) in flash_lock() function
165 if (flash_lock() == ERROR) in flash_page_erase()
170 flash_lock(); in flash_page_erase()
223 if (flash_lock() == ERROR) in flash_word_program()
228 flash_lock(); in flash_word_program()
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_flash.c90 __RAMFUNC static ald_status_t flash_lock(void) in flash_lock() function
144 if (flash_lock() == ERROR) in flash_page_erase()
149 flash_lock(); in flash_page_erase()
202 if (flash_lock() == ERROR) in flash_word_program()
207 flash_lock(); in flash_word_program()
/bsp/at32/libraries/rt_drivers/
A Ddrv_flash.c116 flash_lock(); in at32_flash_write()
163 flash_lock(); in at32_flash_erase()
/bsp/microchip/samc21/bsp/hal/include/
A Dhal_flash.h157 int32_t flash_lock(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_num…
/bsp/microchip/samc21/bsp/hal/src/
A Dhal_flash.c201 int32_t flash_lock(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_num… in flash_lock() function

Completed in 13 milliseconds