Home
last modified time | relevance | path

Searched refs:_lock (Results 1 – 25 of 54) sorted by relevance

123

/Linux-v5.10/drivers/clk/spear/
Dspear1310_clock.c230 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 …]
Dspear6xx_clock.c17 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 …]
Dspear1340_clock.c163 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 …]
Dspear3xx_clock.c20 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.10/drivers/md/
Ddm-target.c17 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 …]
Ddm-exception-store.c20 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()
Ddm-log.c20 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.10/drivers/clk/sunxi-ng/
Dccu_nm.h43 _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, \
Dccu_nkm.h39 _gate, _lock, _flags) \ argument
42 .lock = _lock, \
60 _gate, _lock, _flags) \ argument
63 .lock = _lock, \
Dccu_nk.h36 _gate, _lock, _postdiv, \ argument
40 .lock = _lock, \
Dccu_nkmp.h40 _gate, _lock, _flags) \ argument
43 .lock = _lock, \
Dccu_mult.h46 _mshift, _mwidth, _gate, _lock, \ argument
50 .lock = _lock, \
/Linux-v5.10/drivers/clk/loongson1/
Dclk-loongson1b.c17 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()
Dclk-loongson1c.c16 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.10/include/linux/
Dlockdep.h417 #define LOCK_CONTENDED(_lock, try, lock) \ argument
419 if (!try(_lock)) { \
420 lock_contended(&(_lock)->dep_map, _RET_IP_); \
421 lock(_lock); \
423 lock_acquired(&(_lock)->dep_map, _RET_IP_); \
426 #define LOCK_CONTENDED_RETURN(_lock, try, lock) \ argument
429 if (!try(_lock)) { \
430 lock_contended(&(_lock)->dep_map, _RET_IP_); \
431 ____err = lock(_lock); \
434 lock_acquired(&(_lock)->dep_map, _RET_IP_); \
[all …]
Dspinlock.h344 # define spin_lock_init(_lock) \ argument
346 spinlock_check(_lock); \
347 *(_lock) = __SPIN_LOCK_UNLOCKED(_lock); \
/Linux-v5.10/drivers/clk/samsung/
Dclk.h258 #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.10/drivers/staging/rtl8723bs/include/
Dosdep_service_linux.h43 typedef spinlock_t _lock; typedef
49 _lock lock;
Dsta_info.h72 _lock lock;
317 _lock sta_hash_lock;
327 _lock asoc_list_lock;
328 _lock auth_list_lock;
Drtw_recv.h217 _lock lock;
278 _lock lock;
296 _lock recvbuf_lock;
Drtw_mlme.h305 _lock cmd_lock;
306 _lock hdl_lock;
332 _lock lock;
451 _lock bcn_update_lock;
/Linux-v5.10/drivers/clk/zte/
Dclk.h37 #define ZX_PLL(_name, _parent, _reg, _table, _pd, _lock) \ argument
43 .lock_bit = _lock, \
/Linux-v5.10/drivers/clk/tegra/
Dclk.h649 _gate_flags, _table, _lock) \ argument
656 .lock = _lock, \
663 .lock = _lock, \
693 _flags, _lock) \ argument
703 _gate_flags, _table, _lock), \
/Linux-v5.10/arch/arm/mach-omap2/
Dpowerdomain.c120 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()
Domap_hwmod.c2605 spin_lock_init(&oh->_lock); in _register()
2606 lockdep_set_class(&oh->_lock, &oh->hwmod_key); in _register()
3465 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_allocate_module()
3478 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_allocate_module()
3707 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_enable()
3709 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_enable()
3729 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_idle()
3731 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_idle()
3752 spin_lock_irqsave(&oh->_lock, flags); in omap_hwmod_shutdown()
3754 spin_unlock_irqrestore(&oh->_lock, flags); in omap_hwmod_shutdown()
[all …]

123