Searched refs:lock (Results 626 - 650 of 6566) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/gpio/
H A Dgpio-bcm-kona.c63 raw_spinlock_t lock; member in struct:bcm_kona_gpio
90 raw_spin_lock_irqsave(&kona_gpio->lock, flags);
96 raw_spin_unlock_irqrestore(&kona_gpio->lock, flags);
106 raw_spin_lock_irqsave(&kona_gpio->lock, flags);
112 raw_spin_unlock_irqrestore(&kona_gpio->lock, flags);
136 raw_spin_lock_irqsave(&kona_gpio->lock, flags);
149 raw_spin_unlock_irqrestore(&kona_gpio->lock, flags);
163 raw_spin_lock_irqsave(&kona_gpio->lock, flags);
173 raw_spin_unlock_irqrestore(&kona_gpio->lock, flags);
203 raw_spin_lock_irqsave(&kona_gpio->lock, flag
[all...]
/linux-master/drivers/clk/tegra/
H A Dclk-device.c27 struct mutex lock; member in struct:tegra_clk_device
71 mutex_lock(&clk_dev->lock);
90 mutex_unlock(&clk_dev->lock);
100 mutex_lock(&clk_dev->lock);
105 mutex_unlock(&clk_dev->lock);
132 mutex_init(&clk_dev->lock);
138 * driver and power domain state should be synced under clk_dev lock,
/linux-master/include/linux/mfd/
H A Drz-mtu3.h130 * @lock: Lock to protect channel state
136 struct mutex lock; member in struct:rz_mtu3_channel
156 mutex_lock(&ch->lock);
158 mutex_unlock(&ch->lock);
163 mutex_unlock(&ch->lock);
170 mutex_lock(&ch->lock);
172 mutex_unlock(&ch->lock);
/linux-master/drivers/leds/
H A Dleds-nic78bx.c28 spinlock_t lock; member in struct:nic78bx_led_data
51 spin_lock_irqsave(&nled->data->lock, flags);
62 spin_unlock_irqrestore(&nled->data->lock, flags);
71 spin_lock_irqsave(&nled->data->lock, flags);
73 spin_unlock_irqrestore(&nled->data->lock, flags);
162 spin_lock_init(&led_data->lock);
/linux-master/drivers/gpu/host1x/
H A Dchannel.c30 mutex_init(&chlist->lock);
95 mutex_lock(&chlist->lock);
100 mutex_unlock(&chlist->lock);
128 mutex_lock(&chlist->lock);
132 mutex_unlock(&chlist->lock);
141 mutex_unlock(&chlist->lock);
/linux-master/drivers/iio/chemical/
H A Datlas-ezo-sensor.c40 /* lock to avoid multiple concurrent read calls */
41 struct mutex lock; member in struct:atlas_ezo_data
128 mutex_lock(&data->lock);
133 mutex_unlock(&data->lock);
142 mutex_unlock(&data->lock);
153 mutex_unlock(&data->lock);
227 mutex_init(&data->lock);
H A Dsps30.c114 mutex_lock(&state->lock);
116 mutex_unlock(&state->lock);
139 mutex_lock(&state->lock);
155 mutex_unlock(&state->lock);
200 mutex_lock(&state->lock);
202 mutex_unlock(&state->lock);
218 mutex_lock(&state->lock);
220 mutex_unlock(&state->lock);
241 mutex_lock(&state->lock);
244 mutex_unlock(&state->lock);
[all...]
/linux-master/include/linux/
H A Dwait.h36 spinlock_t lock; member in struct:wait_queue_head
56 .lock = __SPIN_LOCK_UNLOCKED(name.lock), \
104 * Use either while holding wait_queue_head::lock or when used for wakeups
123 * which (when the lock is uncontended) are of roughly equal cost.
263 * For performance reasons, we don't always take the queue lock here.
265 * the queue, and proceed while they still hold the queue lock.
799 * It must be called with wq.lock being held. This spinlock is
800 * unlocked while sleeping but @condition testing is done while lock
801 * is held and when this macro exits the lock i
[all...]
H A Drefcount.h69 * its the lock acquire, for RCU/lockless data structures its the dependent
356 extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) __cond_acquires(lock); variable
357 extern __must_check bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) __cond_acquires(lock); variable
359 spinlock_t *lock,
360 unsigned long *flags) __cond_acquires(lock); variable
/linux-master/drivers/reset/
H A Dreset-meson-audio-arb.c20 spinlock_t lock; member in struct:meson_audio_arb_data
67 spin_lock(&arb->lock);
76 spin_unlock(&arb->lock);
128 spin_lock(&arb->lock);
130 spin_unlock(&arb->lock);
161 spin_lock_init(&arb->lock);
/linux-master/drivers/gpu/drm/scheduler/
H A Dsched_fence.c157 spin_lock_irqsave(&fence->lock, flags);
162 spin_unlock_irqrestore(&fence->lock, flags);
169 spin_unlock_irqrestore(&fence->lock, flags);
216 spin_lock_init(&fence->lock);
229 &fence->lock, entity->fence_context, seq);
231 &fence->lock, entity->fence_context + 1, seq);
/linux-master/drivers/iio/dummy/
H A Diio_dummy_evgen.c32 * @lock: protect the evgen state
38 struct mutex lock; member in struct:iio_dummy_eventgen
62 mutex_init(&iio_evgen->lock);
80 mutex_lock(&iio_evgen->lock);
88 mutex_unlock(&iio_evgen->lock);
106 mutex_lock(&iio_evgen->lock);
109 mutex_unlock(&iio_evgen->lock);
/linux-master/arch/riscv/kvm/
H A Daia_aplic.c18 raw_spinlock_t lock; member in struct:aplic_irq
50 raw_spin_lock_irqsave(&irqd->lock, flags);
52 raw_spin_unlock_irqrestore(&irqd->lock, flags);
71 raw_spin_lock_irqsave(&irqd->lock, flags);
73 raw_spin_unlock_irqrestore(&irqd->lock, flags);
86 raw_spin_lock_irqsave(&irqd->lock, flags);
88 raw_spin_unlock_irqrestore(&irqd->lock, flags);
106 raw_spin_lock_irqsave(&irqd->lock, flags);
108 raw_spin_unlock_irqrestore(&irqd->lock, flags);
121 raw_spin_lock_irqsave(&irqd->lock, flag
[all...]
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi4.c253 mutex_lock(&hdmi.lock);
259 mutex_unlock(&hdmi.lock);
270 mutex_lock(&hdmi.lock);
273 mutex_unlock(&hdmi.lock);
283 mutex_unlock(&hdmi.lock);
290 mutex_lock(&hdmi.lock);
298 mutex_unlock(&hdmi.lock);
323 mutex_lock(&hdmi.lock);
353 mutex_unlock(&hdmi.lock);
357 mutex_unlock(&hdmi.lock);
[all...]
H A Dhdmi5.c274 mutex_lock(&hdmi.lock);
280 mutex_unlock(&hdmi.lock);
291 mutex_lock(&hdmi.lock);
294 mutex_unlock(&hdmi.lock);
304 mutex_unlock(&hdmi.lock);
312 mutex_lock(&hdmi.lock);
326 mutex_unlock(&hdmi.lock);
353 mutex_lock(&hdmi.lock);
383 mutex_unlock(&hdmi.lock);
387 mutex_unlock(&hdmi.lock);
[all...]
/linux-master/drivers/clk/meson/
H A Dclk-mpll.c119 if (mpll->lock)
120 spin_lock_irqsave(mpll->lock, flags);
122 __acquire(mpll->lock);
130 if (mpll->lock)
131 spin_unlock_irqrestore(mpll->lock, flags);
133 __release(mpll->lock);
/linux-master/drivers/usb/dwc3/
H A Ddebugfs.c341 spin_lock_irqsave(&dwc->lock, flags);
356 spin_unlock_irqrestore(&dwc->lock, flags);
385 spin_lock_irqsave(&dwc->lock, flags);
387 spin_unlock_irqrestore(&dwc->lock, flags);
411 spin_lock_irqsave(&dwc->lock, flags);
413 spin_unlock_irqrestore(&dwc->lock, flags);
486 spin_lock_irqsave(&dwc->lock, flags);
490 spin_unlock_irqrestore(&dwc->lock, flags);
555 spin_lock_irqsave(&dwc->lock, flags);
557 spin_unlock_irqrestore(&dwc->lock, flag
[all...]
/linux-master/drivers/staging/greybus/
H A Daudio_codec.c320 mutex_lock(&codec->lock);
333 mutex_unlock(&codec->lock);
348 mutex_lock(&codec->lock);
352 mutex_unlock(&codec->lock);
359 mutex_unlock(&codec->lock);
363 mutex_unlock(&codec->lock);
376 mutex_lock(&codec->lock);
384 mutex_unlock(&codec->lock);
388 mutex_unlock(&codec->lock);
405 mutex_lock(&codec->lock);
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_sourcesink.c453 mutex_lock(&opts->lock);
455 mutex_unlock(&opts->lock);
846 mutex_lock(&ss_opts->lock);
848 mutex_unlock(&ss_opts->lock);
894 mutex_lock(&opts->lock);
896 mutex_unlock(&opts->lock);
908 mutex_lock(&opts->lock);
926 mutex_unlock(&opts->lock);
937 mutex_lock(&opts->lock);
939 mutex_unlock(&opts->lock);
[all...]
/linux-master/fs/btrfs/
H A Ddelayed-ref.c37 spin_lock(&global_rsv->lock);
39 spin_unlock(&global_rsv->lock);
47 spin_lock(&delayed_refs_rsv->lock);
51 spin_unlock(&delayed_refs_rsv->lock);
112 spin_lock(&local_rsv->lock);
116 spin_unlock(&local_rsv->lock);
118 spin_lock(&delayed_rsv->lock);
122 spin_unlock(&delayed_rsv->lock);
135 spin_lock(&delayed_rsv->lock);
143 spin_unlock(&delayed_rsv->lock);
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dopfn.c52 spin_lock_irqsave(&priv->opfn.lock, flags);
89 /* Drop opfn.lock before calling ib_post_send() */
90 spin_unlock_irqrestore(&priv->opfn.lock, flags);
100 spin_lock_irqsave(&priv->opfn.lock, flags);
108 spin_unlock_irqrestore(&priv->opfn.lock, flags);
157 spin_lock_irqsave(&priv->opfn.lock, flags);
172 spin_unlock_irqrestore(&priv->opfn.lock, flags);
188 spin_lock_irqsave(&priv->opfn.lock, flags);
211 spin_unlock_irqrestore(&priv->opfn.lock, flags);
228 spin_lock_irqsave(&priv->opfn.lock, flag
[all...]
/linux-master/drivers/scsi/aacraid/
H A Ddpcsup.c48 spin_lock_irqsave(q->lock, flags);
75 spin_unlock_irqrestore(q->lock, flags);
78 spin_lock_irqsave(q->lock, flags);
81 spin_unlock_irqrestore(q->lock, flags);
135 spin_lock_irqsave(q->lock, flags);
143 spin_unlock_irqrestore(q->lock, flags);
164 spin_lock_irqsave(q->lock, flags);
205 spin_unlock_irqrestore(q->lock, flags);
211 spin_lock_irqsave(q->lock, flags);
214 spin_unlock_irqrestore(q->lock, flag
[all...]
/linux-master/drivers/clk/st/
H A Dclkgen-mux.c40 spinlock_t *lock; member in struct:clkgen_mux_data
49 .lock = &clkgen_a9_lock,
87 data->lock);
/linux-master/drivers/gpu/drm/tegra/
H A Duapi.c168 mutex_lock(&fpriv->lock);
172 mutex_unlock(&fpriv->lock);
178 mutex_unlock(&fpriv->lock);
198 mutex_lock(&fpriv->lock);
202 mutex_unlock(&fpriv->lock);
257 mutex_unlock(&fpriv->lock);
268 mutex_unlock(&fpriv->lock);
279 mutex_lock(&fpriv->lock);
283 mutex_unlock(&fpriv->lock);
289 mutex_unlock(&fpriv->lock);
[all...]
/linux-master/drivers/misc/
H A Dsram-exec.c98 mutex_lock(&part->lock);
113 mutex_unlock(&part->lock);
118 mutex_unlock(&part->lock);

Completed in 397 milliseconds

<<21222324252627282930>>