/Linux-v5.4/drivers/clk/spear/ |
D | spear1310_clock.c | 230 static DEFINE_SPINLOCK(_lock); 408 &_lock); in spear1310_clk_init() 416 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init() 420 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 427 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init() 431 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 438 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init() 442 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 448 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 482 &_lock); in spear1310_clk_init() [all …]
|
D | spear6xx_clock.c | 17 static DEFINE_SPINLOCK(_lock); 128 PERIP1_CLK_ENB, RTC_CLK_ENB, 0, &_lock); in spear6xx_clk_init() 138 &_lock, &clk1, NULL); in spear6xx_clk_init() 144 &_lock, &clk1, NULL); in spear6xx_clk_init() 159 HCLK_RATIO_MASK, 0, &_lock); in spear6xx_clk_init() 164 &_lock, &clk1); in spear6xx_clk_init() 171 &_lock); in spear6xx_clk_init() 175 UART0_CLK_ENB, 0, &_lock); in spear6xx_clk_init() 179 UART1_CLK_ENB, 0, &_lock); in spear6xx_clk_init() 184 &_lock, &clk1); in spear6xx_clk_init() [all …]
|
D | spear1340_clock.c | 163 static DEFINE_SPINLOCK(_lock); 465 &_lock); in spear1340_clk_init() 473 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init() 477 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 484 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init() 488 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 495 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init() 499 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 505 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 539 &_lock); in spear1340_clk_init() [all …]
|
D | spear3xx_clock.c | 20 static DEFINE_SPINLOCK(_lock); 301 I2S_REF_PCLK_MASK, 0, &_lock); in spear320_clk_init() 321 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 328 0, &_lock); in spear320_clk_init() 334 0, &_lock); in spear320_clk_init() 344 0, &_lock); in spear320_clk_init() 353 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 362 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 369 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() 376 SPEAR320_UARTX_PCLK_MASK, 0, &_lock); in spear320_clk_init() [all …]
|
/Linux-v5.4/drivers/md/ |
D | dm-target.c | 17 static DECLARE_RWSEM(_lock); 34 down_read(&_lock); in get_target_type() 40 up_read(&_lock); in get_target_type() 63 down_read(&_lock); in dm_put_target_type() 65 up_read(&_lock); in dm_put_target_type() 73 down_read(&_lock); in dm_target_iterate() 76 up_read(&_lock); in dm_target_iterate() 85 down_write(&_lock); in dm_register_target() 91 up_write(&_lock); in dm_register_target() 97 down_write(&_lock); in dm_unregister_target() [all …]
|
D | dm-exception-store.c | 20 static DEFINE_SPINLOCK(_lock); 37 spin_lock(&_lock); in _get_exception_store_type() 44 spin_unlock(&_lock); in _get_exception_store_type() 105 spin_lock(&_lock); in put_type() 107 spin_unlock(&_lock); in put_type() 114 spin_lock(&_lock); in dm_exception_store_type_register() 119 spin_unlock(&_lock); in dm_exception_store_type_register() 127 spin_lock(&_lock); in dm_exception_store_type_unregister() 130 spin_unlock(&_lock); in dm_exception_store_type_unregister() 136 spin_unlock(&_lock); in dm_exception_store_type_unregister()
|
D | dm-log.c | 20 static DEFINE_SPINLOCK(_lock); 37 spin_lock(&_lock); in _get_dirty_log_type() 43 spin_unlock(&_lock); in _get_dirty_log_type() 105 spin_lock(&_lock); in put_type() 112 spin_unlock(&_lock); in put_type() 119 spin_lock(&_lock); in dm_dirty_log_type_register() 124 spin_unlock(&_lock); in dm_dirty_log_type_register() 132 spin_lock(&_lock); in dm_dirty_log_type_unregister() 135 spin_unlock(&_lock); in dm_dirty_log_type_unregister() 141 spin_unlock(&_lock); in dm_dirty_log_type_unregister()
|
/Linux-v5.4/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 122 .lock = _lock, \ 143 _gate, _lock, _flags) \ argument 146 .lock = _lock, \
|
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-v5.4/drivers/clk/loongson1/ |
D | clk-loongson1b.c | 17 static DEFINE_SPINLOCK(_lock); 63 CLK_DIVIDER_ROUND_CLOSEST, &_lock); in ls1x_clk_init() 68 BYPASS_CPU_SHIFT, BYPASS_CPU_WIDTH, 0, &_lock); in ls1x_clk_init() 79 DIV_DC_WIDTH, CLK_DIVIDER_ONE_BASED, &_lock); in ls1x_clk_init() 84 BYPASS_DC_SHIFT, BYPASS_DC_WIDTH, 0, &_lock); in ls1x_clk_init() 96 &_lock); in ls1x_clk_init() 101 BYPASS_DDR_SHIFT, BYPASS_DDR_WIDTH, 0, &_lock); in ls1x_clk_init()
|
D | clk-loongson1c.c | 16 static DEFINE_SPINLOCK(_lock); 58 CLK_DIVIDER_ROUND_CLOSEST, &_lock); in ls1x_clk_init() 66 DIV_DC_WIDTH, CLK_DIVIDER_ONE_BASED, &_lock); in ls1x_clk_init() 75 ahb_div_table, &_lock); in ls1x_clk_init()
|
/Linux-v5.4/include/linux/ |
D | lockdep.h | 517 #define LOCK_CONTENDED(_lock, try, lock) \ argument 519 if (!try(_lock)) { \ 520 lock_contended(&(_lock)->dep_map, _RET_IP_); \ 521 lock(_lock); \ 523 lock_acquired(&(_lock)->dep_map, _RET_IP_); \ 526 #define LOCK_CONTENDED_RETURN(_lock, try, lock) \ argument 529 if (!try(_lock)) { \ 530 lock_contended(&(_lock)->dep_map, _RET_IP_); \ 531 ____err = lock(_lock); \ 534 lock_acquired(&(_lock)->dep_map, _RET_IP_); \ [all …]
|
D | spinlock.h | 330 #define spin_lock_init(_lock) \ argument 332 spinlock_check(_lock); \ 333 raw_spin_lock_init(&(_lock)->rlock); \
|
/Linux-v5.4/drivers/clk/samsung/ |
D | clk.h | 258 #define __PLL(_typ, _id, _name, _pname, _flags, _lock, _con, _rtable) \ argument 266 .lock_offset = _lock, \ 270 #define PLL(_typ, _id, _name, _pname, _lock, _con, _rtable) \ argument 271 __PLL(_typ, _id, _name, _pname, CLK_GET_RATE_NOCACHE, _lock, \
|
/Linux-v5.4/drivers/staging/rtl8723bs/include/ |
D | sta_info.h | 72 _lock lock; 317 _lock sta_hash_lock; 327 _lock asoc_list_lock; 328 _lock auth_list_lock;
|
D | osdep_service_linux.h | 43 typedef spinlock_t _lock; typedef 49 _lock lock;
|
D | rtw_recv.h | 221 _lock lock; 282 _lock lock; 301 _lock recvbuf_lock;
|
D | rtw_mlme.h | 306 _lock cmd_lock; 307 _lock hdl_lock; 333 _lock lock; 452 _lock bcn_update_lock;
|
/Linux-v5.4/arch/arm/mach-omap2/ |
D | omap_hwmod.c | 2656 spin_lock_init(&oh->_lock); in _register() 2657 lockdep_set_class(&oh->_lock, &oh->hwmod_key); in _register() 3511 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_allocate_module() 3524 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_allocate_module() 3745 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_enable() 3747 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_enable() 3767 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_idle() 3769 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_idle() 3790 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_shutdown() 3792 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_shutdown() [all …]
|
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()
|
/Linux-v5.4/drivers/clk/zte/ |
D | clk.h | 37 #define ZX_PLL(_name, _parent, _reg, _table, _pd, _lock) \ argument 43 .lock_bit = _lock, \
|
/Linux-v5.4/drivers/clk/tegra/ |
D | clk.h | 584 _gate_flags, _table, _lock) \ argument 591 .lock = _lock, \ 598 .lock = _lock, \ 628 _flags, _lock) \ argument 638 _gate_flags, _table, _lock), \
|