/openbmc/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 …]
|
/openbmc/linux/drivers/md/ |
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-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-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()
|
/openbmc/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 | 39 _gate, _lock, _flags) \ argument 42 .lock = _lock, \ 60 _gate, _lock, _flags) \ argument 63 .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, \
|
/openbmc/linux/include/linux/ |
H A D | cleanup.h | 105 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ argument 106 DEFINE_CLASS(_name, _type, _unlock, ({ _lock; _T; }), _type _T) 146 #define __DEFINE_LOCK_GUARD_1(_name, _type, _lock) \ argument 150 _lock; \ 154 #define __DEFINE_LOCK_GUARD_0(_name, _lock) \ argument 159 _lock; \ 163 #define DEFINE_LOCK_GUARD_1(_name, _type, _lock, _unlock, ...) \ argument 165 __DEFINE_LOCK_GUARD_1(_name, _type, _lock) 167 #define DEFINE_LOCK_GUARD_0(_name, _lock, _unlock, ...) \ argument 169 __DEFINE_LOCK_GUARD_0(_name, _lock)
|
H A D | lockdep.h | 479 #define LOCK_CONTENDED(_lock, try, lock) \ argument 481 if (!try(_lock)) { \ 482 lock_contended(&(_lock)->dep_map, _RET_IP_); \ 483 lock(_lock); \ 485 lock_acquired(&(_lock)->dep_map, _RET_IP_); \ 491 if (!try(_lock)) { \ 493 ____err = lock(_lock); \ 496 lock_acquired(&(_lock)->dep_map, _RET_IP_); \ 505 #define LOCK_CONTENDED(_lock, try, lock) \ argument 506 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); \
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cmpxchg_64.h | 30 #define __arch_cmpxchg128(_ptr, _old, _new, _lock) \ argument 35 asm volatile(_lock "cmpxchg16b %[ptr]" \ 56 #define __arch_try_cmpxchg128(_ptr, _oldp, _new, _lock) \ argument 62 asm volatile(_lock "cmpxchg16b %[ptr]" \
|
/openbmc/qemu/include/qemu/ |
H A D | lockable.h | 47 static inline void qemu_lockable_ ## name ## _lock(void *x) \ 49 qemu_ ## name ## _lock(x); \ 68 .lock = qemu_lockable_ ## name ## _lock, \ in QML_FUNC_()
|
/openbmc/phosphor-pid-control/sensors/ |
H A D | host.cpp | 75 std::lock_guard<std::mutex> guard(_lock); in value() 85 std::lock_guard<std::mutex> guard(_lock); in read()
|
H A D | host.hpp | 65 std::mutex _lock; member in pid_control::HostSensor
|
/openbmc/u-boot/board/nvidia/dalmore/ |
H A D | pinmux-config-dalmore.h | 21 #define I2C_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument 28 .lock = PMUX_PIN_LOCK_##_lock, \ 33 #define DDC_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _rcv_sel) \ argument 40 .lock = PMUX_PIN_LOCK_##_lock, \ 45 #define VI_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _ioreset) \ argument 52 .lock = PMUX_PIN_LOCK_##_lock, \ 57 #define CEC_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument 64 .lock = PMUX_PIN_LOCK_##_lock, \
|
/openbmc/linux/drivers/clk/samsung/ |
H A D | clk.h | 259 #define __PLL(_typ, _id, _name, _pname, _flags, _lock, _con, _rtable) \ argument 267 .lock_offset = _lock, \ 271 #define PLL(_typ, _id, _name, _pname, _lock, _con, _rtable) \ argument 272 __PLL(_typ, _id, _name, _pname, CLK_GET_RATE_NOCACHE, _lock, \
|
/openbmc/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() 3437 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_allocate_module() 3450 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_allocate_module() 3676 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_enable() 3678 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_enable() 3698 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_idle() 3700 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_idle() 3721 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_shutdown() 3780 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_assert_hardreset() 3807 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_deassert_hardreset() [all …]
|
/openbmc/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), \
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbuspassive.cpp | 117 std::lock_guard<std::mutex> guard(_lock); in read() 126 std::lock_guard<std::mutex> guard(_lock); in setValue()
|