Searched refs:lock (Results 951 - 975 of 6566) sorted by relevance

<<31323334353637383940>>

/linux-master/drivers/media/radio/
H A Dradio-sf16fmi.c55 struct mutex lock; member in struct:fmi
86 mutex_lock(&fmi->lock);
88 mutex_unlock(&fmi->lock);
93 mutex_lock(&fmi->lock);
95 mutex_unlock(&fmi->lock);
100 mutex_lock(&fmi->lock);
102 mutex_unlock(&fmi->lock);
110 mutex_lock(&fmi->lock);
118 mutex_unlock(&fmi->lock);
349 mutex_init(&fmi->lock);
[all...]
/linux-master/drivers/staging/rtl8712/
H A Drtl871x_ioctl_set.c74 * ADHOC_MASTER pmlmepriv->lock has been
116 spin_lock_irqsave(&pmlmepriv->lock, irqL);
150 spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
163 spin_lock_irqsave(&pmlmepriv->lock, irqL);
221 spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
234 spin_lock_irqsave(&pmlmepriv->lock, irqL);
270 spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
279 spin_lock_irqsave(&pmlmepriv->lock, irqL);
285 spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
300 spin_lock_irqsave(&pmlmepriv->lock, irq
[all...]
/linux-master/drivers/iio/dac/
H A Dti-dac082s085.c39 * @lock: protects write sequences
50 struct mutex lock; member in struct:ti_dac_chip
97 mutex_lock(&ti_dac->lock);
106 mutex_unlock(&ti_dac->lock);
143 mutex_lock(&ti_dac->lock);
150 mutex_unlock(&ti_dac->lock);
234 mutex_lock(&ti_dac->lock);
238 mutex_unlock(&ti_dac->lock);
296 mutex_init(&ti_dac->lock);
311 mutex_destroy(&ti_dac->lock);
[all...]
/linux-master/drivers/input/serio/
H A Dgscps2.c93 spinlock_t lock; member in struct:gscps2port
159 spin_lock_irqsave(&ps2port->lock, flags);
161 spin_unlock_irqrestore(&ps2port->lock, flags);
184 spin_lock_irqsave(&ps2port->lock, flags);
192 spin_unlock_irqrestore(&ps2port->lock, flags);
206 spin_lock_irqsave(&ps2port->lock, flags);
210 spin_unlock_irqrestore(&ps2port->lock, flags);
234 spin_lock_irqsave(&ps2port->lock, flags);
243 spin_unlock_irqrestore(&ps2port->lock, flags);
357 spin_lock_init(&ps2port->lock);
[all...]
/linux-master/drivers/clocksource/
H A Dem_sti.c31 raw_spinlock_t lock; member in struct:em_sti_priv
108 raw_spin_lock_irqsave(&p->lock, flags);
111 raw_spin_unlock_irqrestore(&p->lock, flags);
120 raw_spin_lock_irqsave(&p->lock, flags);
135 raw_spin_unlock_irqrestore(&p->lock, flags);
154 raw_spin_lock_irqsave(&p->lock, flags);
161 raw_spin_unlock_irqrestore(&p->lock, flags);
171 raw_spin_lock_irqsave(&p->lock, flags);
178 raw_spin_unlock_irqrestore(&p->lock, flags);
330 raw_spin_lock_init(&p->lock);
[all...]
/linux-master/drivers/rtc/
H A Drtc-st-lpc.c48 spinlock_t lock; member in struct:st_rtc
57 spin_lock_irqsave(&rtc->lock, flags);
67 spin_unlock_irqrestore(&rtc->lock, flags);
86 spin_lock_irqsave(&rtc->lock, flags);
93 spin_unlock_irqrestore(&rtc->lock, flags);
112 spin_lock_irqsave(&rtc->lock, flags);
118 spin_unlock_irqrestore(&rtc->lock, flags);
128 spin_lock_irqsave(&rtc->lock, flags);
132 spin_unlock_irqrestore(&rtc->lock, flags);
209 spin_lock_init(&rtc->lock);
[all...]
/linux-master/drivers/counter/
H A D104-quad-8.c51 * @lock: lock to prevent clobbering device states during R/W ops
61 spinlock_t lock; member in struct:quad8
243 spin_lock_irqsave(&priv->lock, irqflags);
252 spin_unlock_irqrestore(&priv->lock, irqflags);
293 spin_lock_irqsave(&priv->lock, irqflags);
311 spin_unlock_irqrestore(&priv->lock, irqflags);
353 spin_lock_irqsave(&priv->lock, irqflags);
357 spin_unlock_irqrestore(&priv->lock, irqflags);
391 spin_lock_irqsave(&priv->lock, irqflag
[all...]
/linux-master/drivers/gpio/
H A Dgpio-ws16c48.c105 * @lock: synchronization lock to prevent I/O race conditions
110 raw_spinlock_t lock; member in struct:ws16c48_gpio
114 static int ws16c48_handle_pre_irq(void *const irq_drv_data) __acquires(&ws16c48gpio->lock)
119 raw_spin_lock(&ws16c48gpio->lock);
124 static int ws16c48_handle_post_irq(void *const irq_drv_data) __releases(&ws16c48gpio->lock)
128 raw_spin_unlock(&ws16c48gpio->lock);
140 raw_spin_lock_irqsave(&ws16c48gpio->lock, flags);
161 raw_spin_unlock_irqrestore(&ws16c48gpio->lock, flags);
186 raw_spin_lock_irqsave(&ws16c48gpio->lock, flag
[all...]
H A Dgpio-timberdale.c36 spinlock_t lock; /* mutual exclusion */ member in struct:timbgpio
49 spin_lock_irqsave(&tgpio->lock, flags);
58 spin_unlock_irqrestore(&tgpio->lock, flags);
108 spin_lock_irqsave(&tgpio->lock, flags);
111 spin_unlock_irqrestore(&tgpio->lock, flags);
120 spin_lock_irqsave(&tgpio->lock, flags);
123 spin_unlock_irqrestore(&tgpio->lock, flags);
140 spin_lock_irqsave(&tgpio->lock, flags);
181 spin_unlock_irqrestore(&tgpio->lock, flags);
235 spin_lock_init(&tgpio->lock);
[all...]
H A Dgpio-xgs-iproc.c32 spinlock_t lock; member in struct:iproc_gpio_chip
53 spin_lock_irqsave(&chip->lock, flags);
60 spin_unlock_irqrestore(&chip->lock, flags);
73 spin_lock_irqsave(&chip->lock, flags);
87 spin_unlock_irqrestore(&chip->lock, flags);
99 spin_lock_irqsave(&chip->lock, flags);
113 spin_unlock_irqrestore(&chip->lock, flags);
127 spin_lock_irqsave(&chip->lock, flags);
161 spin_unlock_irqrestore(&chip->lock, flags);
228 spin_lock_init(&chip->lock);
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmacsec.c133 mutex_lock(&macsec->lock);
142 mutex_unlock(&macsec->lock);
145 mutex_unlock(&macsec->lock);
194 mutex_init(&dev->macsec.lock);
215 mutex_destroy(&dev->macsec.lock);
253 mutex_lock(&dev->macsec.lock);
286 mutex_unlock(&dev->macsec.lock);
298 mutex_unlock(&dev->macsec.lock);
339 mutex_lock(&dev->macsec.lock);
363 mutex_unlock(&dev->macsec.lock);
[all...]
/linux-master/drivers/iio/adc/
H A Dstmpe-adc.c50 struct mutex lock; member in struct:stmpe_adc
66 mutex_lock(&info->lock);
73 mutex_unlock(&info->lock);
85 mutex_unlock(&info->lock);
91 mutex_unlock(&info->lock);
101 mutex_lock(&info->lock);
108 mutex_unlock(&info->lock);
118 mutex_unlock(&info->lock);
128 mutex_unlock(&info->lock);
276 mutex_init(&info->lock);
[all...]
/linux-master/drivers/clk/visconti/
H A Dpll.c22 spinlock_t *lock; member in struct:visconti_pll
176 spin_lock_irqsave(pll->lock, flags);
202 spin_unlock_irqrestore(pll->lock, flags);
216 spin_lock_irqsave(pll->lock, flags);
228 spin_unlock_irqrestore(pll->lock, flags);
245 spinlock_t *lock)
273 pll->lock = lock;
299 spinlock_t *lock)
311 lock);
240 visconti_register_pll(struct visconti_pll_provider *ctx, const char *name, const char *parent_name, int offset, const struct visconti_pll_rate_table *rate_table, spinlock_t *lock) argument
296 visconti_register_plls(struct visconti_pll_provider *ctx, const struct visconti_pll_info *list, unsigned int nr_plls, spinlock_t *lock) argument
[all...]
/linux-master/drivers/leds/
H A Dleds-sc27xx-bltc.c58 struct mutex lock; member in struct:sc27xx_led_priv
122 mutex_lock(&leds->priv->lock);
129 mutex_unlock(&leds->priv->lock);
155 mutex_lock(&leds->priv->lock);
166 mutex_unlock(&leds->priv->lock);
189 mutex_lock(&leds->priv->lock);
236 mutex_unlock(&leds->priv->lock);
323 mutex_init(&priv->lock);
327 mutex_destroy(&priv->lock);
336 mutex_destroy(&priv->lock);
[all...]
/linux-master/drivers/crypto/hisilicon/trng/
H A Dtrng.c45 struct mutex lock; member in struct:hisi_trng_list
160 mutex_lock(&trng_devices.lock);
169 mutex_unlock(&trng_devices.lock);
178 mutex_lock(&trng_devices.lock);
180 mutex_unlock(&trng_devices.lock);
231 mutex_lock(&trng_devices.lock);
233 mutex_unlock(&trng_devices.lock);
240 mutex_lock(&trng_devices.lock);
245 mutex_unlock(&trng_devices.lock);
269 mutex_init(&trng_devices.lock);
[all...]
/linux-master/drivers/net/wireguard/
H A Dcookie.c44 /* Must hold peer->handshake.static_identity->lock */
72 init_rwsem(&cookie->lock);
162 down_write(&peer->latest_cookie.lock);
167 up_write(&peer->latest_cookie.lock);
169 down_read(&peer->latest_cookie.lock);
177 up_read(&peer->latest_cookie.lock);
211 down_read(&peer->latest_cookie.lock);
213 up_read(&peer->latest_cookie.lock);
220 up_read(&peer->latest_cookie.lock);
223 down_write(&peer->latest_cookie.lock);
[all...]
/linux-master/drivers/usb/typec/ucsi/
H A Ddisplayport.c57 mutex_lock(&dp->con->lock);
103 mutex_unlock(&dp->con->lock);
115 mutex_lock(&dp->con->lock);
147 mutex_unlock(&dp->con->lock);
205 mutex_lock(&dp->con->lock);
212 mutex_unlock(&dp->con->lock);
218 mutex_unlock(&dp->con->lock);
262 mutex_unlock(&dp->con->lock);
/linux-master/drivers/dma/ptdma/
H A Dptdma-dmaengine.c100 spin_lock_irqsave(&chan->vc.lock, flags);
118 spin_unlock_irqrestore(&chan->vc.lock, flags);
244 spin_lock_irqsave(&chan->vc.lock, flags);
254 spin_unlock_irqrestore(&chan->vc.lock, flags);
277 spin_lock_irqsave(&chan->vc.lock, flags);
279 spin_unlock_irqrestore(&chan->vc.lock, flags);
290 spin_lock_irqsave(&chan->vc.lock, flags);
293 spin_unlock_irqrestore(&chan->vc.lock, flags);
310 spin_lock_irqsave(&chan->vc.lock, flags);
312 spin_unlock_irqrestore(&chan->vc.lock, flag
[all...]
/linux-master/drivers/watchdog/
H A Dsp805_wdt.c60 * @lock: spin lock protecting dev structure and io access
70 spinlock_t lock; member in struct:sp805_wdt
111 spin_lock(&wdt->lock);
115 spin_unlock(&wdt->lock);
126 spin_lock(&wdt->lock);
132 spin_unlock(&wdt->lock);
167 spin_lock(&wdt->lock);
181 spin_unlock(&wdt->lock);
202 spin_lock(&wdt->lock);
[all...]
/linux-master/sound/soc/meson/
H A Daxg-tdm-formatter.c160 mutex_lock(&ts->lock);
173 mutex_unlock(&ts->lock);
181 mutex_lock(&ts->lock);
183 mutex_unlock(&ts->lock);
333 mutex_lock(&ts->lock);
346 mutex_unlock(&ts->lock);
355 mutex_lock(&ts->lock);
363 mutex_unlock(&ts->lock);
374 mutex_init(&ts->lock);
390 mutex_destroy(&ts->lock);
[all...]
/linux-master/drivers/ptp/
H A Dptp_dte.c48 spinlock_t lock; member in struct:ptp_dte
154 spin_lock_irqsave(&ptp_dte->lock, flags);
156 spin_unlock_irqrestore(&ptp_dte->lock, flags);
166 spin_lock_irqsave(&ptp_dte->lock, flags);
168 spin_unlock_irqrestore(&ptp_dte->lock, flags);
178 spin_lock_irqsave(&ptp_dte->lock, flags);
180 spin_unlock_irqrestore(&ptp_dte->lock, flags);
191 spin_lock_irqsave(&ptp_dte->lock, flags);
205 spin_unlock_irqrestore(&ptp_dte->lock, flags);
243 spin_lock_init(&ptp_dte->lock);
[all...]
/linux-master/sound/soc/uniphier/
H A Daio-dma.c35 spin_lock(&sub->lock);
43 spin_unlock(&sub->lock);
54 spin_lock(&sub->lock);
62 spin_unlock(&sub->lock);
123 spin_lock_irqsave(&sub->lock, flags);
127 spin_unlock_irqrestore(&sub->lock, flags);
146 spin_lock_irqsave(&sub->lock, flags);
164 spin_unlock_irqrestore(&sub->lock, flags);
182 spin_lock_irqsave(&sub->lock, flags);
189 spin_unlock_irqrestore(&sub->lock, flag
[all...]
/linux-master/kernel/time/
H A Dtimer.c192 * If multiple bases need to be locked, use the base ordering for lock
208 * @lock: Lock protecting the timer_base
209 * @running_timer: When expiring timers, the lock is dropped. To make
220 * prevents a life lock, when the task which tries to
252 raw_spinlock_t lock; member in struct:timer_base
357 * same lock or cachelines, so we skew each extra cpu with an extra
405 * to lock contention or spurious cache line bouncing.
431 * to lock contention or spurious cache line bouncing.
641 * the base lock:
913 * @key: lockdep class key of the fake lock use
[all...]
/linux-master/drivers/usb/gadget/function/
H A Duvc_configfs.c201 mutex_lock(&opts->lock); \
203 mutex_unlock(&opts->lock); \
225 mutex_lock(&opts->lock); \
242 mutex_unlock(&opts->lock); \
321 mutex_lock(&opts->lock); \
323 mutex_unlock(&opts->lock); \
356 mutex_lock(&opts->lock);
391 mutex_unlock(&opts->lock);
413 mutex_lock(&opts->lock);
418 mutex_unlock(&opts->lock);
[all...]
/linux-master/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c78 spinlock_t lock; member in struct:alua_port_group
250 spin_lock_init(&pg->lock);
371 spin_lock_irqsave(&old_pg->lock, flags);
373 spin_unlock_irqrestore(&old_pg->lock, flags);
379 spin_lock_irqsave(&pg->lock, flags);
382 spin_unlock_irqrestore(&pg->lock, flags);
678 if (spin_trylock_irqsave(&tmp_pg->lock, flags)) {
696 spin_unlock_irqrestore(&tmp_pg->lock, flags);
704 spin_lock_irqsave(&pg->lock, flags);
759 spin_unlock_irqrestore(&pg->lock, flag
[all...]

Completed in 476 milliseconds

<<31323334353637383940>>