/drivers/clk/spear/ |
D | spear1310_clock.c | 230 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 …]
|
D | spear1340_clock.c | 163 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 …]
|
D | spear6xx_clock.c | 17 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 …]
|
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 …]
|
/drivers/md/ |
D | dm-target.c | 17 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 …]
|
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()
|
/drivers/clk/ |
D | clk-ls1x.c | 21 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()
|
D | clk-vt8500.c | 27 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/ |
D | clk.h | 301 #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/ |
D | clk.h | 471 _gate_flags, _table, _lock) \ argument 478 .lock = _lock, \ 485 .lock = _lock, \ 515 _flags, _lock) \ argument 525 _gate_flags, _table, _lock), \
|
D | clk-tegra-periph.c | 151 #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/ |
D | tty_ldsem.c | 54 # 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/ |
D | ipr.c | 756 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 …]
|
D | ipr.h | 508 spinlock_t _lock; member
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 1152 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/ |
D | fwh_lock.h | 104 mtd->_lock = fwh_lock_varsize; in fixup_use_fwh_lock()
|
D | cfi_cmdset_0002.c | 271 mtd->_lock = cfi_atmel_lock; in fixup_use_atmel_lock() 599 mtd->_lock = cfi_ppb_lock; in cfi_cmdset_0002()
|
D | cfi_cmdset_0020.c | 233 mtd->_lock = cfi_staa_lock; in cfi_staa_setup()
|
/drivers/mtd/ |
D | mtdpart.c | 261 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()
|
D | mtdcore.c | 1080 if (!mtd->_lock) in mtd_lock() 1086 return mtd->_lock(mtd, ofs, len); in mtd_lock()
|
D | mtdconcat.c | 789 concat->mtd._lock = concat_lock; in mtd_concat_create()
|
/drivers/mtd/lpddr/ |
D | lpddr2_nvm.c | 419 ._lock = lpddr2_nvm_lock,
|
D | lpddr_cmds.c | 71 mtd->_lock = lpddr_lock; in lpddr_cmdset()
|
/drivers/mtd/spi-nor/ |
D | spi-nor.c | 1195 mtd->_lock = spi_nor_lock; in spi_nor_scan()
|