Home
last modified time | relevance | path

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

12

/drivers/clk/spear/
Dspear1310_clock.c230 static DEFINE_SPINLOCK(_lock);
412 &_lock); in spear1310_clk_init()
420 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init()
424 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init()
431 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init()
435 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init()
442 SPEAR1310_PLL_CLK_MASK, 0, &_lock); in spear1310_clk_init()
446 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init()
452 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init()
486 &_lock); in spear1310_clk_init()
[all …]
Dspear1340_clock.c163 static DEFINE_SPINLOCK(_lock);
469 &_lock); in spear1340_clk_init()
477 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init()
481 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init()
488 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init()
492 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init()
499 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init()
503 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init()
509 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init()
543 &_lock); in spear1340_clk_init()
[all …]
Dspear6xx_clock.c17 static DEFINE_SPINLOCK(_lock);
130 PERIP1_CLK_ENB, RTC_CLK_ENB, 0, &_lock); in spear6xx_clk_init()
140 &_lock, &clk1, NULL); in spear6xx_clk_init()
146 &_lock, &clk1, NULL); in spear6xx_clk_init()
161 HCLK_RATIO_MASK, 0, &_lock); in spear6xx_clk_init()
166 &_lock, &clk1); in spear6xx_clk_init()
173 &_lock); in spear6xx_clk_init()
177 UART0_CLK_ENB, 0, &_lock); in spear6xx_clk_init()
181 UART1_CLK_ENB, 0, &_lock); in spear6xx_clk_init()
186 &_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);
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()
93 up_write(&_lock); in dm_register_target()
99 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/
Dclk-ls1x.c21 static DEFINE_SPINLOCK(_lock);
110 CLK_DIVIDER_ROUND_CLOSEST, &_lock); in ls1x_clk_init()
115 BYPASS_CPU_SHIFT, BYPASS_CPU_WIDTH, 0, &_lock); in ls1x_clk_init()
126 DIV_DC_WIDTH, CLK_DIVIDER_ONE_BASED, &_lock); in ls1x_clk_init()
131 BYPASS_DC_SHIFT, BYPASS_DC_WIDTH, 0, &_lock); in ls1x_clk_init()
143 &_lock); in ls1x_clk_init()
148 BYPASS_DDR_SHIFT, BYPASS_DDR_WIDTH, 0, &_lock); in ls1x_clk_init()
Dclk-vt8500.c27 static DEFINE_SPINLOCK(_lock);
250 dev_clk->lock = &_lock; in vtwm_device_clk_init()
672 pll_clk->lock = &_lock; in vtwm_pll_clk_init()
/drivers/clk/samsung/
Dclk.h301 #define __PLL(_typ, _id, _dname, _name, _pname, _flags, _lock, _con, \ argument
311 .lock_offset = _lock, \
316 #define PLL(_typ, _id, _name, _pname, _lock, _con, _rtable) \ argument
318 _lock, _con, _rtable, _name)
320 #define PLL_A(_typ, _id, _name, _pname, _lock, _con, _alias, _rtable) \ argument
322 _lock, _con, _rtable, _alias)
/drivers/clk/tegra/
Dclk.h471 _gate_flags, _table, _lock) \ argument
478 .lock = _lock, \
485 .lock = _lock, \
515 _flags, _lock) \ argument
525 _gate_flags, _table, _lock), \
Dclk-tegra-periph.c151 #define MUX8_NOGATE_LOCK(_name, _parents, _offset, _clk_id, _lock) \ argument
155 _parents##_idx, 0, _lock)
207 _gate_flags, _clk_id, _lock) \ argument
211 _clk_id, _parents##_idx, 0, _lock)
569 .lock = &_offset ##_lock,\
/drivers/tty/
Dtty_ldsem.c54 # define lock_stat(_lock, stat) lock_##stat(&(_lock)->dep_map, _RET_IP_) argument
56 # define lock_stat(_lock, stat) do { } while (0) argument
/drivers/scsi/
Dipr.c756 spin_lock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts()
758 spin_unlock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts()
883 spin_lock(&hrrq->_lock); in ipr_fail_all_ops()
903 spin_unlock(&hrrq->_lock); in ipr_fail_all_ops()
3579 spin_lock(&ioa_cfg->hrrq[i]._lock); in ipr_store_adapter_state()
3581 spin_unlock(&ioa_cfg->hrrq[i]._lock); in ipr_store_adapter_state()
5159 spin_lock(&hrrq->_lock); in __ipr_eh_dev_reset()
5173 spin_unlock(&hrrq->_lock); in __ipr_eh_dev_reset()
5185 spin_lock(&hrrq->_lock); in __ipr_eh_dev_reset()
5194 spin_unlock(&hrrq->_lock); in __ipr_eh_dev_reset()
[all …]
Dipr.h508 spinlock_t _lock; member
/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h1152 struct ldlm_lock *_lock, *_next; \
1154 list_for_each_entry_safe(_lock, _next, head, member) { \
1157 list_del_init(&_lock->member); \
1158 LDLM_LOCK_RELEASE(_lock); \
/drivers/mtd/chips/
Dfwh_lock.h104 mtd->_lock = fwh_lock_varsize; in fixup_use_fwh_lock()
Dcfi_cmdset_0002.c271 mtd->_lock = cfi_atmel_lock; in fixup_use_atmel_lock()
599 mtd->_lock = cfi_ppb_lock; in cfi_cmdset_0002()
Dcfi_cmdset_0020.c233 mtd->_lock = cfi_staa_lock; in cfi_staa_setup()
/drivers/mtd/
Dmtdpart.c261 return part->master->_lock(part->master, ofs + part->offset, len); in part_lock()
433 if (master->_lock) in allocate_partition()
434 slave->mtd._lock = part_lock; in allocate_partition()
Dmtdcore.c1080 if (!mtd->_lock) in mtd_lock()
1086 return mtd->_lock(mtd, ofs, len); in mtd_lock()
Dmtdconcat.c789 concat->mtd._lock = concat_lock; in mtd_concat_create()
/drivers/mtd/lpddr/
Dlpddr2_nvm.c419 ._lock = lpddr2_nvm_lock,
Dlpddr_cmds.c71 mtd->_lock = lpddr_lock; in lpddr_cmdset()
/drivers/mtd/spi-nor/
Dspi-nor.c1195 mtd->_lock = spi_nor_lock; in spi_nor_scan()

12