/Linux-v6.6/drivers/clk/spear/ |
D | spear1310_clock.c | 227 static DEFINE_SPINLOCK(_lock); 405 &_lock); in spear1310_clk_init() 413 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init() 417 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 424 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init() 428 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 435 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init() 439 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 445 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 479 &_lock); in spear1310_clk_init() [all …]
|
D | spear6xx_clock.c | 15 static DEFINE_SPINLOCK(_lock); 126 PERIP1_CLK_ENB, RTC_CLK_ENB, 0, &_lock); in spear6xx_clk_init() 136 &_lock, &clk1, NULL); in spear6xx_clk_init() 142 &_lock, &clk1, NULL); in spear6xx_clk_init() 157 HCLK_RATIO_MASK, 0, &_lock); in spear6xx_clk_init() 162 &_lock, &clk1); in spear6xx_clk_init() 169 &_lock); in spear6xx_clk_init() 173 UART0_CLK_ENB, 0, &_lock); in spear6xx_clk_init() 177 UART1_CLK_ENB, 0, &_lock); in spear6xx_clk_init() 182 &_lock, &clk1); in spear6xx_clk_init() [all …]
|
D | spear1340_clock.c | 160 static DEFINE_SPINLOCK(_lock); 462 &_lock); in spear1340_clk_init() 470 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init() 474 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 481 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init() 485 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 492 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init() 496 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 502 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 536 &_lock); in spear1340_clk_init() [all …]
|
D | spear3xx_clock.c | 18 static DEFINE_SPINLOCK(_lock); 299 I2S_REF_PCLK_MASK, 0, &_lock); in spear320_clk_init() 319 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 326 0, &_lock); in spear320_clk_init() 332 0, &_lock); in spear320_clk_init() 342 0, &_lock); in spear320_clk_init() 351 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 360 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 367 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 374 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() [all …]
|
/Linux-v6.6/drivers/md/ |
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 …]
|
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()
|
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-v6.6/drivers/clk/sunxi-ng/ |
D | ccu_nm.h | 43 _gate, _lock, _flags) \ argument 46 .lock = _lock, \ 66 _gate, _lock, _flags) \ argument 69 .lock = _lock, \ 91 _gate, _lock, _flags) \ argument 94 .lock = _lock, \ 119 _gate, _lock, _flags, \ argument 123 .lock = _lock, \ 149 _gate, _lock, _flags) \ argument 158 _gate, _lock, _flags, \ [all …]
|
D | ccu_nkm.h | 39 _gate, _lock, _flags) \ argument 42 .lock = _lock, \ 60 _gate, _lock, _flags) \ argument 63 .lock = _lock, \
|
D | ccu_nk.h | 36 _gate, _lock, _postdiv, \ argument 40 .lock = _lock, \
|
D | ccu_nkmp.h | 40 _gate, _lock, _flags) \ argument 43 .lock = _lock, \
|
D | ccu_mult.h | 46 _mshift, _mwidth, _gate, _lock, \ argument 50 .lock = _lock, \
|
/Linux-v6.6/include/linux/ |
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)
|
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_); \ 488 #define LOCK_CONTENDED_RETURN(_lock, try, lock) \ argument 491 if (!try(_lock)) { \ 492 lock_contended(&(_lock)->dep_map, _RET_IP_); \ 493 ____err = lock(_lock); \ 496 lock_acquired(&(_lock)->dep_map, _RET_IP_); \ [all …]
|
D | spinlock.h | 341 # define spin_lock_init(_lock) \ argument 343 spinlock_check(_lock); \ 344 *(_lock) = __SPIN_LOCK_UNLOCKED(_lock); \
|
D | seqlock.h | 175 #define seqcount_LOCKNAME_init(s, _lock, lockname) \ argument 179 __SEQ_LOCK(____s->lock = (_lock)); \
|
/Linux-v6.6/arch/x86/include/asm/ |
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]" \
|
/Linux-v6.6/drivers/clk/samsung/ |
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, \
|
/Linux-v6.6/arch/arm/mach-omap2/ |
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()
|
D | omap_hwmod.c | 2575 spin_lock_init(&oh->_lock); in _register() 2576 lockdep_set_class(&oh->_lock, &oh->hwmod_key); 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() 3723 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_shutdown() [all …]
|
/Linux-v6.6/drivers/clk/tegra/ |
D | clk.h | 645 _gate_flags, _table, _lock) \ argument 652 .lock = _lock, \ 659 .lock = _lock, \ 689 _flags, _lock) \ argument 699 _gate_flags, _table, _lock), \
|
D | clk-tegra-periph.c | 153 #define MUX8_NOGATE_LOCK(_name, _parents, _offset, _clk_id, _lock) \ argument 157 _parents##_idx, 0, _lock) 223 _gate_flags, _clk_id, _lock) \ argument 227 _clk_id, _parents##_idx, 0, _lock) 848 .lock = &_offset ##_lock,\
|
/Linux-v6.6/drivers/mtd/chips/ |
D | fwh_lock.h | 105 mtd->_lock = fwh_lock_varsize; in fixup_use_fwh_lock()
|
/Linux-v6.6/drivers/scsi/ |
D | ipr.c | 736 spin_lock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts() 738 spin_unlock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts() 839 spin_lock_irqsave(&hrrq->_lock, hrrq_flags); in ipr_scsi_eh_done() 841 spin_unlock_irqrestore(&hrrq->_lock, hrrq_flags); in ipr_scsi_eh_done() 860 spin_lock(&hrrq->_lock); in ipr_fail_all_ops() 878 spin_unlock(&hrrq->_lock); in ipr_fail_all_ops() 3602 spin_lock(&ioa_cfg->hrrq[i]._lock); in ipr_store_adapter_state() 3604 spin_unlock(&ioa_cfg->hrrq[i]._lock); in ipr_store_adapter_state() 5223 spin_lock(&hrrq->_lock); in ipr_cancel_op() 5232 spin_unlock(&hrrq->_lock); in ipr_cancel_op() [all …]
|
/Linux-v6.6/drivers/clk/ |
D | clk-vt8500.c | 18 static DEFINE_SPINLOCK(_lock); 241 dev_clk->lock = &_lock; in vtwm_device_clk_init() 695 pll_clk->lock = &_lock; in vtwm_pll_clk_init()
|