/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_locks.h | 87 static inline u32 _mali_osk_lock_get_owner(struct _mali_osk_lock_debug_s *lock) in _mali_osk_lock_get_owner() argument 89 return lock->owner; in _mali_osk_lock_get_owner() 106 _mali_osk_spinlock_t *lock = NULL; in _mali_osk_spinlock_init() local 108 lock = kmalloc(sizeof(_mali_osk_spinlock_t), GFP_KERNEL); in _mali_osk_spinlock_init() 109 if (lock == NULL) { in _mali_osk_spinlock_init() 112 spin_lock_init(&lock->spinlock); in _mali_osk_spinlock_init() 113 _mali_osk_locks_debug_init((struct _mali_osk_lock_debug_s *)lock, flags, order); in _mali_osk_spinlock_init() 114 return lock; in _mali_osk_spinlock_init() 118 static inline void _mali_osk_spinlock_lock(_mali_osk_spinlock_t *lock) in _mali_osk_spinlock_lock() argument 120 BUG_ON(lock == NULL); in _mali_osk_spinlock_lock() [all …]
|
D | mali_profiling_internal.c | 34 static _mali_osk_mutex_t *lock = NULL; variable 54 lock = _mali_osk_mutex_init(_MALI_OSK_LOCKFLAG_ORDERED, _MALI_OSK_LOCK_ORDER_PROFILING); in _mali_internal_profiling_init() 55 if (lock == NULL) { in _mali_internal_profiling_init() 87 if (lock != NULL) { in _mali_internal_profiling_term() 88 _mali_osk_mutex_term(lock); in _mali_internal_profiling_term() 89 lock = NULL; in _mali_internal_profiling_term() 98 mali_osk_mutex_wait(lock); in _mali_internal_profiling_start() 101 mali_osk_mutex_signal(lock); in _mali_internal_profiling_start() 107 mali_osk_mutex_signal(lock); in _mali_internal_profiling_start() 127 mali_osk_mutex_signal(lock); in _mali_internal_profiling_start() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_locks.h | 85 static inline u32 _mali_osk_lock_get_owner(struct _mali_osk_lock_debug_s *lock) in _mali_osk_lock_get_owner() argument 87 return lock->owner; in _mali_osk_lock_get_owner() 98 _mali_osk_spinlock_t *lock = NULL; in _mali_osk_spinlock_init() local 100 lock = kmalloc(sizeof(_mali_osk_spinlock_t), GFP_KERNEL); in _mali_osk_spinlock_init() 101 if (NULL == lock) { in _mali_osk_spinlock_init() 104 spin_lock_init(&lock->spinlock); in _mali_osk_spinlock_init() 105 _mali_osk_locks_debug_init((struct _mali_osk_lock_debug_s *)lock, flags, order); in _mali_osk_spinlock_init() 106 return lock; in _mali_osk_spinlock_init() 110 static inline void _mali_osk_spinlock_lock(_mali_osk_spinlock_t *lock) in _mali_osk_spinlock_lock() argument 112 BUG_ON(NULL == lock); in _mali_osk_spinlock_lock() [all …]
|
D | mali_profiling_internal.c | 33 static _mali_osk_mutex_t *lock = NULL; variable 53 lock = _mali_osk_mutex_init(_MALI_OSK_LOCKFLAG_ORDERED, _MALI_OSK_LOCK_ORDER_PROFILING); in _mali_internal_profiling_init() 54 if (NULL == lock) { in _mali_internal_profiling_init() 86 if (NULL != lock) { in _mali_internal_profiling_term() 87 _mali_osk_mutex_term(lock); in _mali_internal_profiling_term() 88 lock = NULL; in _mali_internal_profiling_term() 97 _mali_osk_mutex_wait(lock); in _mali_internal_profiling_start() 100 _mali_osk_mutex_signal(lock); in _mali_internal_profiling_start() 107 _mali_osk_mutex_signal(lock); in _mali_internal_profiling_start() 127 _mali_osk_mutex_signal(lock); in _mali_internal_profiling_start() [all …]
|
/device/soc/esp/esp32/components/newlib/ |
D | locks.c | 50 static void IRAM_ATTR lock_init_generic(_lock_t *lock, uint8_t mutex_type) { in lock_init_generic() argument 52 if (*lock) { in lock_init_generic() 77 *lock = (_lock_t)new_sem; in lock_init_generic() 82 void IRAM_ATTR _lock_init(_lock_t *lock) { in _lock_init() argument 83 *lock = 0; // In case lock's memory is uninitialized in _lock_init() 84 lock_init_generic(lock, queueQUEUE_TYPE_MUTEX); in _lock_init() 87 void IRAM_ATTR _lock_init_recursive(_lock_t *lock) { in _lock_init_recursive() argument 88 *lock = 0; // In case lock's memory is uninitialized in _lock_init_recursive() 89 lock_init_generic(lock, queueQUEUE_TYPE_RECURSIVE_MUTEX); in _lock_init_recursive() 102 void IRAM_ATTR _lock_close(_lock_t *lock) { in _lock_close() argument [all …]
|
/device/soc/esp/esp32/components/driver/ |
D | spi_bus_lock.c | 242 SPI_MASTER_ISR_ATTR static inline uint32_t lock_status_fetch_set(spi_bus_lock_t *lock, uint32_t set) in lock_status_fetch_set() argument 244 return atomic_fetch_or(&lock->status, set); in lock_status_fetch_set() 247 IRAM_ATTR static inline uint32_t lock_status_fetch_clear(spi_bus_lock_t *lock, uint32_t clear) in lock_status_fetch_clear() argument 249 return atomic_fetch_and(&lock->status, ~clear); in lock_status_fetch_clear() 252 IRAM_ATTR static inline uint32_t lock_status_fetch(spi_bus_lock_t *lock) in lock_status_fetch() argument 254 return atomic_load(&lock->status); in lock_status_fetch() 257 SPI_MASTER_ISR_ATTR static inline void lock_status_init(spi_bus_lock_t *lock) in lock_status_init() argument 259 atomic_store(&lock->status, 0); in lock_status_init() 263 IRAM_ATTR static inline uint32_t lock_status_clear(spi_bus_lock_t* lock, uint32_t clear) in lock_status_clear() argument 266 uint32_t state = lock_status_fetch_clear(lock, clear); in lock_status_clear() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
D | osal_spinlock.c | 27 int osal_spin_lock_init(osal_spinlock *lock) in osal_spin_lock_init() argument 31 if (lock == NULL) { in osal_spin_lock_init() 41 lock->lock = p; in osal_spin_lock_init() 46 void osal_spin_lock(osal_spinlock *lock) in osal_spin_lock() argument 50 if (lock == NULL) { in osal_spin_lock() 55 p = (spinlock_t *)(lock->lock); in osal_spin_lock() 60 int osal_spin_trylock(osal_spinlock *lock) in osal_spin_trylock() argument 64 if (lock == NULL) { in osal_spin_trylock() 69 p = (spinlock_t *)(lock->lock); in osal_spin_trylock() 75 void osal_spin_unlock(osal_spinlock *lock) in osal_spin_unlock() argument [all …]
|
D | osal_fence.c | 41 static DEFINE_SPINLOCK(lock); 117 spin_lock_irqsave(&lock, flags); in osal_fence_create() 125 spin_unlock_irqrestore(&lock, flags); in osal_fence_create() 136 spin_lock_irqsave(&lock, flags); in osal_fence_destroy() 140 spin_unlock_irqrestore(&lock, flags); in osal_fence_destroy() 148 spin_unlock_irqrestore(&lock, flags); in osal_fence_destroy() 163 spin_lock_irqsave(&lock, flags); in osal_fence_acquire_private() 167 spin_unlock_irqrestore(&lock, flags); in osal_fence_acquire_private() 173 spin_unlock_irqrestore(&lock, flags); in osal_fence_acquire_private() 186 spin_lock_irqsave(&lock, flags); in osal_fence_release_private() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
D | osal_spinlock.c | 26 int osal_spin_lock_init(osal_spinlock_t *lock) in osal_spin_lock_init() argument 30 if (lock == NULL) { in osal_spin_lock_init() 40 lock->lock = p; in osal_spin_lock_init() 44 void osal_spin_lock(osal_spinlock_t *lock) in osal_spin_lock() argument 48 p = (spinlock_t *)(lock->lock); in osal_spin_lock() 52 int osal_spin_trylock(osal_spinlock_t *lock) in osal_spin_trylock() argument 56 if (lock == NULL) { in osal_spin_trylock() 60 p = (spinlock_t *)(lock->lock); in osal_spin_trylock() 64 void osal_spin_unlock(osal_spinlock_t *lock) in osal_spin_unlock() argument 68 p = (spinlock_t *)(lock->lock); in osal_spin_unlock() [all …]
|
/device/soc/esp/esp32/components/esp_hw_support/include/soc/ |
D | spinlock.h | 52 static inline void __attribute__((always_inline)) spinlock_initialize(spinlock_t *lock) in spinlock_initialize() argument 54 assert(lock); in spinlock_initialize() 56 lock->owner = SPINLOCK_FREE; in spinlock_initialize() 57 lock->count = 0; in spinlock_initialize() 65 static inline bool __attribute__((always_inline)) spinlock_acquire(spinlock_t *lock, int32_t timeou… in spinlock_acquire() argument 73 assert(lock); in spinlock_acquire() 97 if (esp_ptr_external_ram(lock)) { in spinlock_acquire() 98 compare_and_set_extram(&lock->owner, SPINLOCK_FREE, &result); in spinlock_acquire() 101 compare_and_set_native(&lock->owner, SPINLOCK_FREE, &result); in spinlock_acquire() 121 …assert((result == SPINLOCK_FREE) == (lock->count == 0)); /* we're first to lock iff count is zero … in spinlock_acquire() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | linux_osl_priv.h | 37 #define OSL_MEMLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument 38 #define OSL_MEMLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument 40 #define OSL_STATIC_BUF_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument 41 #define OSL_STATIC_BUF_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument 43 #define OSL_STATIC_PKT_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument 44 #define OSL_STATIC_PKT_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument 46 #define OSL_PKTLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument 47 #define OSL_PKTLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument 49 #define OSL_CTRACE_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument 50 #define OSL_CTRACE_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
|
/device/board/isoftstone/yangfan/kernel/src/incl/linux/current/ |
D | wakelock.h | 36 static inline void wake_lock_init(struct wake_lock *lock, int type, in wake_lock_init() argument 39 struct wakeup_source *ws = &lock->ws; in wake_lock_init() 48 static inline void wake_lock_destroy(struct wake_lock *lock) in wake_lock_destroy() argument 50 struct wakeup_source *ws = &lock->ws; in wake_lock_destroy() 56 static inline void wake_lock(struct wake_lock *lock) in wake_lock() argument 58 __pm_stay_awake(&lock->ws); in wake_lock() 61 static inline void wake_lock_timeout(struct wake_lock *lock, long timeout) in wake_lock_timeout() argument 63 __pm_wakeup_event(&lock->ws, jiffies_to_msecs(timeout)); in wake_lock_timeout() 66 static inline void wake_unlock(struct wake_lock *lock) in wake_unlock() argument 68 __pm_relax(&lock->ws); in wake_unlock() [all …]
|
/device/soc/rockchip/rk3588/kernel/include/linux/ |
D | wakelock.h | 36 static inline void wake_lock_init(struct wake_lock *lock, int type, in wake_lock_init() argument 39 struct wakeup_source *ws = &lock->ws; in wake_lock_init() 48 static inline void wake_lock_destroy(struct wake_lock *lock) in wake_lock_destroy() argument 50 struct wakeup_source *ws = &lock->ws; in wake_lock_destroy() 56 static inline void wake_lock(struct wake_lock *lock) in wake_lock() argument 58 __pm_stay_awake(&lock->ws); in wake_lock() 61 static inline void wake_lock_timeout(struct wake_lock *lock, long timeout) in wake_lock_timeout() argument 63 __pm_wakeup_event(&lock->ws, jiffies_to_msecs(timeout)); in wake_lock_timeout() 66 static inline void wake_unlock(struct wake_lock *lock) in wake_unlock() argument 68 __pm_relax(&lock->ws); in wake_unlock() [all …]
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
D | wakelock.h | 36 static inline void wake_lock_init(struct wake_lock *lock, int type, const char *name) in wake_lock_init() argument 38 struct wakeup_source *ws = &lock->ws; in wake_lock_init() 47 static inline void wake_lock_destroy(struct wake_lock *lock) in wake_lock_destroy() argument 49 struct wakeup_source *ws = &lock->ws; in wake_lock_destroy() 55 static inline void wake_lock(struct wake_lock *lock) in wake_lock() argument 57 __pm_stay_awake(&lock->ws); in wake_lock() 60 static inline void wake_lock_timeout(struct wake_lock *lock, long timeout) in wake_lock_timeout() argument 62 __pm_wakeup_event(&lock->ws, jiffies_to_msecs(timeout)); in wake_lock_timeout() 65 static inline void wake_unlock(struct wake_lock *lock) in wake_unlock() argument 67 __pm_relax(&lock->ws); in wake_unlock() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_spinlock.h | 51 spinlock_t lock; member 57 .lock = __SPIN_LOCK_UNLOCKED(x) \ 61 .lock = __SPIN_LOCK_UNLOCKED(x) \ 71 SPIN_LOCK_S lock; member 78 LOS_SpinInit(&pst_lock->lock); in oal_spin_lock_init() 90 LOS_SpinLock(&pst_lock->lock); in oal_spin_lock() 99 LOS_SpinUnlock(&pst_lock->lock); in oal_spin_unlock() 112 LOS_SpinLock(&pst_lock->lock); in oal_spin_lock_bh() 121 LOS_SpinUnlock(&pst_lock->lock); in oal_spin_unlock_bh() 134 LOS_SpinLockSave(&pst_lock->lock, (UINT32 *)flags); in oal_spin_lock_irq_save() [all …]
|
D | oal_mutex.h | 79 static inline hi_void oal_mutex_lock(oal_mutex_stru *lock) in oal_mutex_lock() argument 81 mutex_lock(lock); in oal_mutex_lock() 84 static inline hi_s32 oal_mutex_trylock(oal_mutex_stru *lock) in oal_mutex_trylock() argument 86 return mutex_trylock(lock); in oal_mutex_trylock() 89 static inline hi_void oal_mutex_unlock(oal_mutex_stru *lock) in oal_mutex_unlock() argument 91 mutex_unlock(lock); in oal_mutex_unlock() 94 static inline hi_void oal_mutex_lock(oal_mutex_stru *lock) in oal_mutex_lock() argument 97 ret = pthread_mutex_lock(lock); in oal_mutex_lock() 102 static inline hi_s32 oal_mutex_trylock(oal_mutex_stru *lock) in oal_mutex_trylock() argument 104 return pthread_mutex_trylock(lock); in oal_mutex_trylock() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/ |
D | rtltool.c | 100 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl() 102 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl() 115 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl() 117 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl() 124 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl() 126 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl() 139 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl() 141 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl() 147 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl() 149 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl() [all …]
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/best2003/ |
D | hal_cmu_best2003.c | 261 uint32_t lock; in hal_cmu_clock_set_mode() local 284 lock = int_lock(); in hal_cmu_clock_set_mode() 290 int_unlock(lock); in hal_cmu_clock_set_mode() 447 uint32_t lock; in hal_cmu_timer_set_div() local 458 lock = int_lock(); in hal_cmu_timer_set_div() 472 int_unlock(lock); in hal_cmu_timer_set_div() 479 uint32_t lock; in hal_cmu_timer0_select_fast() local 481 lock = int_lock(); in hal_cmu_timer0_select_fast() 486 int_unlock(lock); in hal_cmu_timer0_select_fast() 491 uint32_t lock; in hal_cmu_timer0_select_slow() local [all …]
|
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
D | dtask.h | 16 TP_PROTO(struct mutex *lock), 17 TP_ARGS(lock)); 19 TP_PROTO(struct mutex *lock), 20 TP_ARGS(lock)); 24 TP_PROTO(struct rt_mutex *lock), 25 TP_ARGS(lock)); 27 TP_PROTO(struct rt_mutex *lock), 28 TP_ARGS(lock)); 49 TP_PROTO(struct mutex *lock, 53 TP_ARGS(lock, waiter, list, already_on_list)); [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
D | hpm_psec_drv.h | 79 static inline void psec_lock_psecure_state_restart(PSEC_Type *ptr, bool lock) in psec_lock_psecure_state_restart() argument 83 | PSEC_SECURE_STATE_CONFIG_LOCK_SET(lock); in psec_lock_psecure_state_restart() 105 bool lock) in psec_pmic_non_secure_violation_config() argument 110 | PSEC_VIOLATION_CONFIG_LOCK_NSC_SET(lock) in psec_pmic_non_secure_violation_config() 116 bool lock) in psec_psecure_violation_config() argument 121 | PSEC_VIOLATION_CONFIG_LOCK_SEC_SET(lock) in psec_psecure_violation_config() 127 bool lock) in psec_pmic_non_secure_escalate_config() argument 132 | PSEC_ESCALATE_CONFIG_LOCK_NSC_SET(lock) in psec_pmic_non_secure_escalate_config() 138 bool lock) in psec_psecure_escalate_config() argument 143 | PSEC_ESCALATE_CONFIG_LOCK_SEC_SET(lock) in psec_psecure_escalate_config() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/src/ |
D | tde_osilist.c | 39 osal_spinlock_t lock; member 139 osal_spin_lock_init(&g_tde_osi_job_list->lock); in tde_osi_list_init() 216 osal_spin_lock_destroy(&g_tde_osi_job_list->lock); in tde_osi_list_term() 355 tde_spin_lock(&g_tde_osi_job_list->lock, lockflags); in tde_osi_list_cancel_job() 357 tde_spin_unlock(&g_tde_osi_job_list->lock, lockflags); in tde_osi_list_cancel_job() 363 tde_spin_unlock(&g_tde_osi_job_list->lock, lockflags); in tde_osi_list_cancel_job() 375 tde_spin_unlock(&g_tde_osi_job_list->lock, lockflags); in tde_osi_list_cancel_job() 482 unsigned long lock; in tde_list_submit_first_cmd() local 486 tde_osi_list_lock_working_flag(&lock); in tde_list_submit_first_cmd() 505 tde_osi_list_unlock_working_flag(&lock); in tde_list_submit_first_cmd() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/drm_hal/ |
D | drm_hal_display.c | 110 ret = osal_spin_lock_init(&(g_disp_dev.lock)); in disp_get_chan_param() 128 osal_spin_lock_destroy(&(g_disp_dev.lock)); in drm_hal_disp_deinit() 138 osal_spin_lock_irqsave(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_open() 141 osal_spin_unlock_irqrestore(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_open() 148 osal_spin_unlock_irqrestore(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_open() 153 osal_spin_unlock_irqrestore(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_open() 163 osal_spin_lock_irqsave(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_close() 166 osal_spin_unlock_irqrestore(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_close() 171 osal_spin_unlock_irqrestore(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_close() 182 osal_spin_lock_irqsave(&(g_disp_dev.lock), &lock_flag); in drm_hal_disp_enable() [all …]
|
/device/soc/esp/esp32/components/nvs_flash/src/ |
D | nvs_handle_locked.cpp | 23 Lock lock; in ~NVSHandleLocked() local 28 Lock lock; in set_string() local 33 Lock lock; in set_blob() local 38 Lock lock; in get_string() local 43 Lock lock; in get_blob() local 48 Lock lock; in get_item_size() local 53 Lock lock; in erase_item() local 58 Lock lock; in erase_all() local 63 Lock lock; in commit() local 68 Lock lock; in get_used_entry_count() local [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
D | mali_kbase_instr_backend.c | 48 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal() 52 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal() 58 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal() 73 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal() 106 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal() 112 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal() 127 lockdep_assert_held(&kbdev->hwcnt.lock); in kbasep_instr_hwc_disable_hw_prfcnt() 154 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_disable_internal() 160 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_disable_internal() 168 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_disable_internal() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drm_hal/ |
D | drm_hal_gfx.c | 84 ret = osal_spin_lock_init(&(gfx_dev.lock)); in gfx_get_layer_param() 121 osal_spin_lock_destroy(&(gfx_dev.lock)); in drm_hal_gfx_deinit() 132 osal_spin_lock_irqsave(&(gfx_dev.lock), &lock_flag); in drm_hal_gfx_open() 134 osal_spin_unlock_irqrestore(&(gfx_dev.lock), &lock_flag); in drm_hal_gfx_open() 141 osal_spin_unlock_irqrestore(&(gfx_dev.lock), &lock_flag); in drm_hal_gfx_open() 147 osal_spin_unlock_irqrestore(&(gfx_dev.lock), &lock_flag); in drm_hal_gfx_open() 157 osal_spin_lock_irqsave(&(gfx_dev.lock), &lock_flag); in drm_hal_gfx_close() 159 osal_spin_unlock_irqrestore(&(gfx_dev.lock), &lock_flag); in drm_hal_gfx_close() 165 osal_spin_unlock_irqrestore(&(gfx_dev.lock), &lock_flag); in drm_hal_gfx_close() 192 osal_spin_lock_irqsave(&(gfx_dev.lock), &lock_flag); in gfx_callback() [all …]
|