Home
last modified time | relevance | path

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

12

/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 …]
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 …]
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 …]
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 …]
/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()
/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, \
/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()
/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, \
/drivers/staging/rtl8723bs/include/
Dsta_info.h72 _lock lock;
317 _lock sta_hash_lock;
327 _lock asoc_list_lock;
328 _lock auth_list_lock;
Dosdep_service_linux.h43 typedef spinlock_t _lock; typedef
49 _lock lock;
Drtw_recv.h221 _lock lock;
282 _lock lock;
301 _lock recvbuf_lock;
Drtw_mlme.h306 _lock cmd_lock;
307 _lock hdl_lock;
333 _lock lock;
452 _lock bcn_update_lock;
Drtw_xmit.h319 _lock lock;
366 _lock lock;
446 _lock lock_sctx;
Ddrv_types.h409 _lock lock;
436 _lock lock;
526 _lock security_key_mutex; /* add for CONFIG_IEEE80211W, none 11w also can use */
/drivers/clk/tegra/
Dclk.h584 _gate_flags, _table, _lock) \ argument
591 .lock = _lock, \
598 .lock = _lock, \
628 _flags, _lock) \ argument
638 _gate_flags, _table, _lock), \
/drivers/clk/zte/
Dclk.h37 #define ZX_PLL(_name, _parent, _reg, _table, _pd, _lock) \ argument
43 .lock_bit = _lock, \
/drivers/scsi/
Dipr.c745 spin_lock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts()
747 spin_unlock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts()
847 spin_lock_irqsave(&hrrq->_lock, hrrq_flags); in ipr_sata_eh_done()
849 spin_unlock_irqrestore(&hrrq->_lock, hrrq_flags); in ipr_sata_eh_done()
890 spin_lock_irqsave(&hrrq->_lock, hrrq_flags); in ipr_scsi_eh_done()
892 spin_unlock_irqrestore(&hrrq->_lock, hrrq_flags); in ipr_scsi_eh_done()
911 spin_lock(&hrrq->_lock); in ipr_fail_all_ops()
931 spin_unlock(&hrrq->_lock); in ipr_fail_all_ops()
3684 spin_lock(&ioa_cfg->hrrq[i]._lock); in ipr_store_adapter_state()
3686 spin_unlock(&ioa_cfg->hrrq[i]._lock); in ipr_store_adapter_state()
[all …]
/drivers/mtd/chips/
Dfwh_lock.h105 mtd->_lock = fwh_lock_varsize; in fixup_use_fwh_lock()

12