/linux/drivers/clk/spear/ |
H A D | spear1310_clock.c | 405 &_lock); in spear1310_clk_init() 479 &_lock); in spear1310_clk_init() 516 &_lock); in spear1310_clk_init() 526 &_lock); in spear1310_clk_init() 536 &_lock); in spear1310_clk_init() 546 &_lock); in spear1310_clk_init() 606 &_lock); in spear1310_clk_init() 651 &_lock); in spear1310_clk_init() 688 &_lock); in spear1310_clk_init() 693 &_lock); in spear1310_clk_init() [all …]
|
H A D | spear6xx_clock.c | 15 static DEFINE_SPINLOCK(_lock); 136 &_lock, &clk1, NULL); in spear6xx_clk_init() 142 &_lock, &clk1, NULL); in spear6xx_clk_init() 162 &_lock, &clk1); in spear6xx_clk_init() 169 &_lock); in spear6xx_clk_init() 182 &_lock, &clk1); in spear6xx_clk_init() 189 &_lock); in spear6xx_clk_init() 198 &_lock, &clk1); in spear6xx_clk_init() 205 &_lock); in spear6xx_clk_init() 288 DMA_CLK_ENB, 0, &_lock); in spear6xx_clk_init() [all …]
|
H A D | spear1340_clock.c | 462 &_lock); in spear1340_clk_init() 536 &_lock); in spear1340_clk_init() 595 &_lock); in spear1340_clk_init() 605 &_lock); in spear1340_clk_init() 615 &_lock); in spear1340_clk_init() 625 &_lock); in spear1340_clk_init() 661 &_lock); in spear1340_clk_init() 702 &_lock); in spear1340_clk_init() 747 &_lock); in spear1340_clk_init() 785 &_lock); in spear1340_clk_init() [all …]
|
H A D | spear3xx_clock.c | 326 0, &_lock); in spear320_clk_init() 444 &_lock); in spear3xx_clk_init() 449 &_lock); in spear3xx_clk_init() 462 &_lock); in spear3xx_clk_init() 467 &_lock); in spear3xx_clk_init() 488 &_lock); in spear3xx_clk_init() 500 &_lock); in spear3xx_clk_init() 641 &_lock); in spear3xx_clk_init() 646 &_lock); in spear3xx_clk_init() 651 &_lock); in spear3xx_clk_init() [all …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_nm.h | 43 _gate, _lock, _flags) \ argument 46 .lock = _lock, \ 66 _gate, _lock, _flags) \ argument 69 .lock = _lock, \ 94 .lock = _lock, \ 119 _gate, _lock, _flags, \ argument 123 .lock = _lock, \ 149 _gate, _lock, _flags) \ argument 158 _gate, _lock, _flags, \ 178 _gate, _lock, _flags, \ [all …]
|
H A D | ccu_nkm.h | 41 _gate, _lock, _flags) \ argument 44 .lock = _lock, \ 62 _gate, _lock, _flags) \ argument 65 .lock = _lock, \
|
H A D | ccu_nk.h | 36 _gate, _lock, _postdiv, \ argument 40 .lock = _lock, \
|
H A D | ccu_nkmp.h | 40 _gate, _lock, _flags) \ argument 43 .lock = _lock, \
|
H A D | ccu_mult.h | 46 _mshift, _mwidth, _gate, _lock, \ argument 50 .lock = _lock, \
|
/linux/drivers/md/ |
H A D | dm-exception-store.c | 21 static DEFINE_SPINLOCK(_lock); 38 spin_lock(&_lock); in _get_exception_store_type() 45 spin_unlock(&_lock); in _get_exception_store_type() 106 spin_lock(&_lock); in put_type() 108 spin_unlock(&_lock); in put_type() 115 spin_lock(&_lock); in dm_exception_store_type_register() 120 spin_unlock(&_lock); in dm_exception_store_type_register() 128 spin_lock(&_lock); in dm_exception_store_type_unregister() 131 spin_unlock(&_lock); in dm_exception_store_type_unregister() 137 spin_unlock(&_lock); in dm_exception_store_type_unregister()
|
H A D | dm-target.c | 19 static DECLARE_RWSEM(_lock); 36 down_read(&_lock); in get_target_type() 42 up_read(&_lock); in get_target_type() 65 down_read(&_lock); in dm_put_target_type() 67 up_read(&_lock); in dm_put_target_type() 75 down_read(&_lock); in dm_target_iterate() 78 up_read(&_lock); in dm_target_iterate() 87 down_write(&_lock); in dm_register_target() 95 up_write(&_lock); in dm_register_target() 103 down_write(&_lock); in dm_unregister_target() [all …]
|
H A D | dm-log.c | 21 static DEFINE_SPINLOCK(_lock); 38 spin_lock(&_lock); in _get_dirty_log_type() 44 spin_unlock(&_lock); in _get_dirty_log_type() 106 spin_lock(&_lock); in put_type() 113 spin_unlock(&_lock); in put_type() 120 spin_lock(&_lock); in dm_dirty_log_type_register() 125 spin_unlock(&_lock); in dm_dirty_log_type_register() 133 spin_lock(&_lock); in dm_dirty_log_type_unregister() 136 spin_unlock(&_lock); in dm_dirty_log_type_unregister() 142 spin_unlock(&_lock); in dm_dirty_log_type_unregister()
|
/linux/include/linux/ |
H A D | cleanup.h | 290 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ argument 291 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \ 354 #define __DEFINE_LOCK_GUARD_1(_name, _type, _lock) \ argument 358 _lock; \ 362 #define __DEFINE_LOCK_GUARD_0(_name, _lock) \ argument 367 _lock; \ 371 #define DEFINE_LOCK_GUARD_1(_name, _type, _lock, _unlock, ...) \ argument 373 __DEFINE_LOCK_GUARD_1(_name, _type, _lock) 375 #define DEFINE_LOCK_GUARD_0(_name, _lock, _unlock, ...) \ argument 377 __DEFINE_LOCK_GUARD_0(_name, _lock)
|
H A D | local_lock.h | 65 #define local_lock_nested_bh(_lock) \ argument 66 __local_lock_nested_bh(_lock) 68 #define local_unlock_nested_bh(_lock) \ argument 69 __local_unlock_nested_bh(_lock)
|
H A D | lockdep.h | 441 #define LOCK_CONTENDED(_lock, try, lock) \ argument 443 if (!try(_lock)) { \ 444 lock_contended(&(_lock)->dep_map, _RET_IP_); \ 445 lock(_lock); \ 447 lock_acquired(&(_lock)->dep_map, _RET_IP_); \ 453 if (!try(_lock)) { \ 455 ____err = lock(_lock); \ 458 lock_acquired(&(_lock)->dep_map, _RET_IP_); \ 467 #define LOCK_CONTENDED(_lock, try, lock) \ argument 468 lock(_lock) [all …]
|
H A D | spinlock.h | 341 # define spin_lock_init(_lock) \ argument 343 spinlock_check(_lock); \ 344 *(_lock) = __SPIN_LOCK_UNLOCKED(_lock); \
|
H A D | seqlock.h | 123 #define seqcount_LOCKNAME_init(s, _lock, lockname) \ argument 127 __SEQ_LOCK(____s->lock = (_lock)); \ 166 __SEQ_LOCK(lockbase##_lock(s->lock)); \
|
/linux/arch/x86/include/asm/ |
H A D | cmpxchg_32.h | 17 #define __arch_cmpxchg64(_ptr, _old, _new, _lock) \ argument 22 asm volatile(_lock "cmpxchg8b %[ptr]" \ 42 #define __arch_try_cmpxchg64(_ptr, _oldp, _new, _lock) \ argument 48 asm volatile(_lock "cmpxchg8b %[ptr]" \ 89 #define __arch_cmpxchg64_emu(_ptr, _old, _new, _lock_loc, _lock) \ argument 96 _lock "cmpxchg8b %a[ptr]", X86_FEATURE_CX8) \ 116 #define __arch_try_cmpxchg64_emu(_ptr, _oldp, _new, _lock_loc, _lock) \ argument 124 _lock "cmpxchg8b %a[ptr]", X86_FEATURE_CX8) \
|
H A D | cmpxchg_64.h | 36 #define __arch_cmpxchg128(_ptr, _old, _new, _lock) \ argument 41 asm volatile(_lock "cmpxchg16b %[ptr]" \ 62 #define __arch_try_cmpxchg128(_ptr, _oldp, _new, _lock) \ argument 68 asm volatile(_lock "cmpxchg16b %[ptr]" \
|
/linux/fs/bcachefs/ |
H A D | seqmutex.h | 12 #define seqmutex_init(_lock) mutex_init(&(_lock)->lock) argument
|
/linux/drivers/clk/samsung/ |
H A D | clk.h | 270 #define __PLL(_typ, _id, _name, _pname, _flags, _lock, _con, _rtable) \ argument 278 .lock_offset = _lock, \ 282 #define PLL(_typ, _id, _name, _pname, _lock, _con, _rtable) \ argument 283 __PLL(_typ, _id, _name, _pname, CLK_GET_RATE_NOCACHE, _lock, \
|
/linux/drivers/soc/sunxi/ |
H A D | sunxi_sram.c | 333 static void sunxi_sram_lock(void *_lock) in sunxi_sram_lock() argument 335 spinlock_t *lock = _lock; in sunxi_sram_lock() 340 static void sunxi_sram_unlock(void *_lock) in sunxi_sram_unlock() argument 342 spinlock_t *lock = _lock; in sunxi_sram_unlock()
|
/linux/arch/arm/mach-omap2/ |
H A D | powerdomain.c | 120 spin_lock_init(&pwrdm->_lock); in _pwrdm_register() 391 __acquires(&pwrdm->_lock) in pwrdm_lock() 393 spin_lock_irqsave(&pwrdm->_lock, pwrdm->_lock_flags); in pwrdm_lock() 403 __releases(&pwrdm->_lock) in pwrdm_unlock() 405 spin_unlock_irqrestore(&pwrdm->_lock, pwrdm->_lock_flags); in pwrdm_unlock()
|
H A D | omap_hwmod.c | 2575 spin_lock_init(&oh->_lock); in _register() 3438 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_allocate_module() 3451 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_allocate_module() 3677 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_enable() 3679 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_enable() 3699 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_idle() 3701 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_idle() 3722 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_shutdown() 3781 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_assert_hardreset() 3808 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_deassert_hardreset() [all …]
|
/linux/drivers/clk/tegra/ |
H A D | clk.h | 645 _gate_flags, _table, _lock) \ argument 652 .lock = _lock, \ 659 .lock = _lock, \ 689 _flags, _lock) \ argument 699 _gate_flags, _table, _lock), \
|