Home
last modified time | relevance | path

Searched refs:comp_lock (Results 1 – 2 of 2) sorted by relevance

/drivers/iio/adc/
Denvelope-detector.c46 spinlock_t comp_lock; /* protects comp */ member
83 spin_lock_irq(&env->comp_lock); in envelope_detector_comp_latch()
86 spin_unlock_irq(&env->comp_lock); in envelope_detector_comp_latch()
104 spin_lock_irq(&env->comp_lock); in envelope_detector_comp_latch()
107 spin_unlock_irq(&env->comp_lock); in envelope_detector_comp_latch()
119 spin_lock(&env->comp_lock); in envelope_detector_comp_isr()
122 spin_unlock(&env->comp_lock); in envelope_detector_comp_isr()
339 spin_lock_init(&env->comp_lock); in envelope_detector_probe()
/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c61 struct mutex comp_lock; /* sync comp eqs creations */ member
461 mutex_init(&eq_table->comp_lock); in mlx5_eq_table_init()
1013 lockdep_assert_held(&table->comp_lock); in create_comp_eq()
1076 mutex_lock(&table->comp_lock); in mlx5_comp_eqn_get()
1085 mutex_unlock(&table->comp_lock); in mlx5_comp_eqn_get()
1091 mutex_unlock(&table->comp_lock); in mlx5_comp_eqn_get()