Searched defs:spinlock (Results 1 - 25 of 25) sorted by relevance

/drivers/watchdog/
H A Dof_xilinx_wdt.c46 spinlock_t spinlock; member in struct:xwdt_device
55 spin_lock(&xdev->spinlock);
66 spin_unlock(&xdev->spinlock);
76 spin_lock(&xdev->spinlock);
85 spin_unlock(&xdev->spinlock);
96 spin_lock(&xdev->spinlock);
102 spin_unlock(&xdev->spinlock);
127 spin_lock(&xdev->spinlock);
138 spin_unlock(&xdev->spinlock);
195 spin_lock_init(&xdev->spinlock);
[all...]
/drivers/base/
H A Ddma-coherent.c17 spinlock_t spinlock; member in struct:dma_coherent_mem
50 spin_lock_init(&dma_mem->spinlock);
129 spin_lock_irqsave(&mem->spinlock, flags);
132 spin_unlock_irqrestore(&mem->spinlock, flags);
170 spin_lock_irqsave(&mem->spinlock, flags);
185 spin_unlock_irqrestore(&mem->spinlock, flags);
190 spin_unlock_irqrestore(&mem->spinlock, flags);
222 spin_lock_irqsave(&mem->spinlock, flags);
224 spin_unlock_irqrestore(&mem->spinlock, flags);
/drivers/gpio/
H A Dgpio-tb10x.c34 #include <linux/spinlock.h>
49 * @spinlock: used for atomic read/modify/write of registers
56 spinlock_t spinlock; member in struct:tb10x_gpio
80 spin_lock_irqsave(&gpio->spinlock, flags);
87 spin_unlock_irqrestore(&gpio->spinlock, flags);
208 spin_lock_init(&tb10x_gpio->spinlock);
H A Dgpio-ml-ioh.c90 * @spinlock: Used for register access protection
101 spinlock_t spinlock; member in struct:ioh_gpio
112 spin_lock_irqsave(&chip->spinlock, flags);
120 spin_unlock_irqrestore(&chip->spinlock, flags);
138 spin_lock_irqsave(&chip->spinlock, flags);
151 spin_unlock_irqrestore(&chip->spinlock, flags);
162 spin_lock_irqsave(&chip->spinlock, flags);
167 spin_unlock_irqrestore(&chip->spinlock, flags);
273 spin_lock_irqsave(&chip->spinlock, flags);
313 spin_unlock_irqrestore(&chip->spinlock, flag
[all...]
H A Dgpio-pch.c96 * @spinlock: Used for register access protection
106 spinlock_t spinlock; member in struct:pch_gpio
115 spin_lock_irqsave(&chip->spinlock, flags);
123 spin_unlock_irqrestore(&chip->spinlock, flags);
141 spin_lock_irqsave(&chip->spinlock, flags);
154 spin_unlock_irqrestore(&chip->spinlock, flags);
165 spin_lock_irqsave(&chip->spinlock, flags);
169 spin_unlock_irqrestore(&chip->spinlock, flags);
256 spin_lock_irqsave(&chip->spinlock, flags);
289 spin_unlock_irqrestore(&chip->spinlock, flag
[all...]
/drivers/staging/comedi/drivers/
H A Daddi_apci_2032.c49 spinlock_t spinlock; member in struct:apci2032_int_private
148 spin_lock_irqsave(&subpriv->spinlock, flags);
155 spin_unlock_irqrestore(&subpriv->spinlock, flags);
166 spin_lock_irqsave(&subpriv->spinlock, flags);
169 spin_unlock_irqrestore(&subpriv->spinlock, flags);
192 spin_lock(&subpriv->spinlock);
233 spin_unlock(&subpriv->spinlock);
304 spin_lock_init(&subpriv->spinlock);
H A Dpcmuio.c131 spinlock_t spinlock; /* protects member variables */ member in struct:pcmuio_asic
296 /* chip->spinlock is already locked */
325 spin_lock_irqsave(&chip->spinlock, flags);
363 spin_unlock_irqrestore(&chip->spinlock, flags);
405 /* chip->spinlock is already locked */
445 spin_lock_irqsave(&chip->spinlock, flags);
448 spin_unlock_irqrestore(&chip->spinlock, flags);
466 spin_lock_irqsave(&chip->spinlock, flags);
471 spin_unlock_irqrestore(&chip->spinlock, flags);
487 spin_lock_irqsave(&chip->spinlock, flag
[all...]
H A Damplc_dio200_common.c111 spinlock_t spinlock; member in struct:dio200_subdev_8254
119 spinlock_t spinlock; member in struct:dio200_subdev_intr
245 spin_lock_irqsave(&subpriv->spinlock, flags);
250 spin_unlock_irqrestore(&subpriv->spinlock, flags);
305 spin_lock_irqsave(&subpriv->spinlock, flags);
357 spin_unlock_irqrestore(&subpriv->spinlock, flags);
371 spin_lock_irqsave(&subpriv->spinlock, flags);
375 spin_unlock_irqrestore(&subpriv->spinlock, flags);
436 spin_lock_irqsave(&subpriv->spinlock, flags);
446 spin_unlock_irqrestore(&subpriv->spinlock, flag
[all...]
H A Dpcmmio.c191 spinlock_t spinlock; /* protects the member variables */ member in struct:pcmmio_private
320 /* devpriv->spinlock is already locked */
345 spin_lock_irqsave(&devpriv->spinlock, flags);
381 spin_unlock_irqrestore(&devpriv->spinlock, flags);
408 /* devpriv->spinlock is already locked */
444 spin_lock_irqsave(&devpriv->spinlock, flags);
447 spin_unlock_irqrestore(&devpriv->spinlock, flags);
463 spin_lock_irqsave(&devpriv->spinlock, flags);
467 spin_unlock_irqrestore(&devpriv->spinlock, flags);
481 spin_lock_irqsave(&devpriv->spinlock, flag
[all...]
/drivers/media/usb/stkwebcam/
H A Dstk-webcam.h114 spinlock_t spinlock; member in struct:stk_camera
/drivers/tty/
H A Dn_hdlc.c128 spinlock_t spinlock; member in struct:n_hdlc_buf_list
216 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags);
221 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags);
396 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags);
399 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags);
404 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags);
464 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags);
466 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags);
766 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags);
771 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flag
[all...]
/drivers/base/regmap/
H A Dinternal.h54 spinlock_t spinlock; member in union:regmap::__anon156
/drivers/usb/gadget/function/
H A Df_hid.c47 spinlock_t spinlock; member in struct:f_hidg
181 spin_lock_irqsave(&hidg->spinlock, flags);
187 spin_unlock_irqrestore(&hidg->spinlock, flags);
194 spin_lock_irqsave(&hidg->spinlock, flags);
202 spin_unlock_irqrestore(&hidg->spinlock, flags);
204 /* copy to user outside spinlock */
215 spin_lock_irqsave(&hidg->spinlock, flags);
218 spin_unlock_irqrestore(&hidg->spinlock, flags);
357 spin_lock_irqsave(&hidg->spinlock, flags);
359 spin_unlock_irqrestore(&hidg->spinlock, flag
[all...]
/drivers/video/fbdev/
H A Dpxa3xx-gcu.c38 #include <linux/spinlock.h>
106 spinlock_t spinlock; member in struct:pxa3xx_gcu_priv
260 spin_lock(&priv->spinlock);
294 spin_unlock(&priv->spinlock);
415 spin_lock_irqsave(&priv->spinlock, flags);
418 spin_unlock_irqrestore(&priv->spinlock, flags);
424 spin_lock_irqsave(&priv->spinlock, flags);
427 spin_unlock_irqrestore(&priv->spinlock, flags);
439 spin_lock_irqsave(&priv->spinlock, flags);
455 spin_unlock_irqrestore(&priv->spinlock, flag
[all...]
/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h221 * @spinlock: Protects 'state'.
236 spinlock_t spinlock; member in struct:srpt_send_ioctx
288 * @spinlock: Protects free_list and state.
296 * against concurrent modification by the cm_id spinlock.
317 spinlock_t spinlock; member in struct:srpt_rdma_ch
353 * @port_acl_lock spinlock for port_acl_list:
389 * @spinlock: Protects rch_list and tpg.
405 spinlock_t spinlock; member in struct:srpt_device
/drivers/net/irda/
H A Ddonauboe.h346 /* The spinlock protect critical parts of the driver.
348 * spin_lock_irqsave(&self->spinlock, flags);
350 * spin_unlock_irqrestore(&self->spinlock, flags);
352 spinlock_t spinlock; member in struct:toshoboe_cb
/drivers/staging/comedi/
H A Dcomedidev.h249 spinlock_t spinlock; member in struct:comedi_device
/drivers/infiniband/hw/ehca/
H A Dehca_classes.h84 spinlock_t spinlock; member in struct:ehca_eq
241 spinlock_t spinlock; member in struct:ehca_cq
/drivers/media/pci/zoran/
H A Dzoran.h297 spinlock_t spinlock; /* Spinlock */ member in struct:zoran
/drivers/media/rc/
H A Dwinbond-cir.c50 #include <linux/spinlock.h>
204 spinlock_t spinlock; member in struct:wbcir_data
490 spin_lock_irqsave(&data->spinlock, flags);
496 spin_unlock_irqrestore(&data->spinlock, flags);
518 spin_unlock_irqrestore(&data->spinlock, flags);
534 spin_lock_irqsave(&data->spinlock, flags);
537 spin_unlock_irqrestore(&data->spinlock, flags);
561 spin_unlock_irqrestore(&data->spinlock, flags);
595 spin_lock_irqsave(&data->spinlock, flags);
597 spin_unlock_irqrestore(&data->spinlock, flag
[all...]
/drivers/media/usb/go7007/
H A Dgo7007-priv.h183 spinlock_t spinlock; member in struct:go7007
/drivers/net/ethernet/ibm/ehea/
H A Dehea.h276 spinlock_t spinlock; member in struct:ehea_eq
/drivers/staging/speakup/
H A Dspk_types.h16 #include <linux/spinlock.h>
183 spinlock_t spinlock; member in struct:speakup_info_t
/drivers/usb/serial/
H A Dmxuport.c163 spinlock_t spinlock; /* Protects msr_state */ member in struct:mxuport_port
357 spin_lock_irqsave(&mxport->spinlock, flags);
385 spin_unlock_irqrestore(&mxport->spinlock, flags);
753 spin_lock_irqsave(&mxport->spinlock, flags);
758 spin_unlock_irqrestore(&mxport->spinlock, flags);
1122 spin_lock_init(&mxport->spinlock);
/drivers/net/wireless/brcm80211/brcmfmac/
H A Dfwsignal.c19 #include <linux/spinlock.h>
487 spinlock_t spinlock; member in struct:brcmf_fws_info
554 __acquires(&fws->spinlock)
556 spin_lock_irqsave(&fws->spinlock, fws->flags);
560 __releases(&fws->spinlock)
562 spin_unlock_irqrestore(&fws->spinlock, fws->flags);
2132 spin_lock_init(&fws->spinlock);

Completed in 601 milliseconds