Home
last modified time | relevance | path

Searched refs:Lock (Results 1 – 25 of 76) sorted by relevance

1234

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/Disk/
A DLunMgr.c78 mscLun->Lock = hal_sem_create(1); in mscLun_alloc()
80 if (mscLun->Lock == NULL) in mscLun_alloc()
118 if (mscLun->Lock) in mscLun_free()
120 hal_sem_delete(mscLun->Lock); in mscLun_free()
121 mscLun->Lock = NULL; in mscLun_free()
174 hal_sem_wait(mscLun->Lock); in mscLunAdd()
176 hal_sem_post(mscLun->Lock); in mscLunAdd()
A DCD.c589 hal_sem_wait(mscLun->Lock); in GetCDDriveCapabilites()
743 hal_sem_post(mscLun->Lock); in GetCDDriveCapabilites()
783 hal_sem_wait(mscLun->Lock);
815 hal_sem_post(mscLun->Lock);
912 hal_sem_wait(mscLun->Lock);
922 hal_sem_post(mscLun->Lock);
937 hal_sem_post(mscLun->Lock);
974 hal_sem_wait(mscLun->Lock); in GetCDRomMediaEvent()
999 hal_sem_post(mscLun->Lock); in GetCDRomMediaEvent()
1038 hal_sem_wait(mscLun->Lock); in GetCDRomDriveEvent()
[all …]
A DBlkDev.c202 hal_sem_wait(mscLun->Lock); in __DiskRead()
220 hal_sem_post(mscLun->Lock); in __DiskRead()
329 hal_sem_wait(mscLun->Lock); in __DiskWrite()
347 hal_sem_post(mscLun->Lock); in __DiskWrite()
924 hal_sem_wait(mscLun->Lock); in WaitForDeviceReady()
971 hal_sem_post(mscLun->Lock); in WaitForDeviceReady()
1014 hal_sem_wait(mscLun->Lock); in ReadCapacity()
1080 hal_sem_wait(mscLun->Lock); in ReadProtectFlag()
1145 hal_sem_post(mscLun->Lock); in ReadProtectFlag()
1197 hal_sem_wait(mscLun->Lock); in ReadCacheType()
[all …]
A DDisk.c66 hal_sem_wait(mscLun->Lock); in DiskMediaChange()
68 hal_sem_post(mscLun->Lock); in DiskMediaChange()
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/
A Dstm32l1xx_hal_def.h96 if((__HANDLE__)->Lock == HAL_LOCKED) \
102 (__HANDLE__)->Lock = HAL_LOCKED; \
108 (__HANDLE__)->Lock = HAL_UNLOCKED; \
A Dstm32l1xx_hal_crc.h64 HAL_LockTypeDef Lock; /*!< CRC Locking object */ member
A Dstm32l1xx_hal_flash.h88 HAL_LockTypeDef Lock; /*!< FLASH locking object */ member
A Dstm32l1xx_hal_sram.h73 HAL_LockTypeDef Lock; /*!< SRAM locking object */ member
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/
A Dn32l43x_opamp.c186 void OPAMP_SetLock(uint32_t Lock) in OPAMP_SetLock() argument
188 OPAMP->LOCK = Lock; in OPAMP_SetLock()
A Dn32l43x_comp.c269 void COMP_SetLock(uint32_t Lock) in COMP_SetLock() argument
271 COMP->LOCK = Lock; in COMP_SetLock()
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/
A Dn32l40x_opamp.c186 void OPAMP_SetLock(uint32_t Lock) in OPAMP_SetLock() argument
188 OPAMP->LOCK = Lock; in OPAMP_SetLock()
A Dn32l40x_comp.c269 void COMP_SetLock(uint32_t Lock) in COMP_SetLock() argument
271 COMP->LOCK = Lock; in COMP_SetLock()
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/
A Dn32g43x_opamp.c186 void OPAMP_SetLock(uint32_t Lock) in OPAMP_SetLock() argument
188 OPAMP->LOCK = Lock; in OPAMP_SetLock()
A Dn32g43x_comp.c269 void COMP_SetLock(uint32_t Lock) in COMP_SetLock() argument
271 COMP->LOCK = Lock; in COMP_SetLock()
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_opamp.c189 void OPAMP_SetLock(uint32_t Lock) in OPAMP_SetLock() argument
191 OPAMP->LOCK = Lock; in OPAMP_SetLock()
A Dn32g45x_comp.c188 void COMP_SetLock(uint32_t Lock) in COMP_SetLock() argument
190 COMP->LOCK = Lock; in COMP_SetLock()
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_opamp.c189 void OPAMP_SetLock(uint32_t Lock) in OPAMP_SetLock() argument
191 OPAMP->LOCK = Lock; in OPAMP_SetLock()
A Dn32g45x_comp.c185 void COMP_SetLock(uint32_t Lock) in COMP_SetLock() argument
187 COMP->LOCK = Lock; in COMP_SetLock()
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/inc/
A Dn32l40x_opamp.h194 void OPAMP_SetLock(uint32_t Lock); // see @OPAMP_LOCK
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/inc/
A Dn32l43x_opamp.h194 void OPAMP_SetLock(uint32_t Lock); // see @OPAMP_LOCK
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/inc/
A Dn32g43x_opamp.h194 void OPAMP_SetLock(uint32_t Lock); // see @OPAMP_LOCK
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_hal_crc.c109 hcrc->Lock = HAL_UNLOCKED; in HAL_CRC_Init()
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/inc/
A Dn32g45x_opamp.h198 void OPAMP_SetLock(uint32_t Lock); // see @OPAMP_LOCK
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/inc/
A Dn32g45x_opamp.h198 void OPAMP_SetLock(uint32_t Lock); // see @OPAMP_LOCK
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/include/
A Dusb_msc_i.h175 hal_sem_t Lock; /* 信号量,每次值保证一个用在读或写 */ member

Completed in 45 milliseconds

1234