Home
last modified time | relevance | path

Searched refs:slock (Results 1 – 25 of 42) sorted by relevance

12

/drivers/staging/meilhaus/
Dmeslock.c35 int me_slock_enter(struct me_slock *slock, struct file *filep) in me_slock_enter() argument
39 spin_lock(&slock->spin_lock); in me_slock_enter()
41 if ((slock->filep) != NULL && (slock->filep != filep)) { in me_slock_enter()
43 spin_unlock(&slock->spin_lock); in me_slock_enter()
47 slock->count++; in me_slock_enter()
49 spin_unlock(&slock->spin_lock); in me_slock_enter()
54 int me_slock_exit(struct me_slock *slock, struct file *filep) in me_slock_exit() argument
58 spin_lock(&slock->spin_lock); in me_slock_exit()
59 slock->count--; in me_slock_exit()
60 spin_unlock(&slock->spin_lock); in me_slock_exit()
[all …]
Dmeslock.h33 int me_slock_enter(struct me_slock *slock, struct file *filep);
43 int me_slock_exit(struct me_slock *slock, struct file *filep);
54 int me_slock_lock(struct me_slock *slock, struct file *filep, int lock);
62 int me_slock_init(me_slock_t * slock);
70 void me_slock_deinit(me_slock_t * slock);
/drivers/char/
Dmxser.c259 spinlock_t slock; member
555 spin_lock_irqsave(&mp->slock, flags); in mxser_raise_dtr_rts()
558 spin_unlock_irqrestore(&mp->slock, flags); in mxser_raise_dtr_rts()
863 spin_lock_irqsave(&info->slock, flags); in mxser_startup()
867 spin_unlock_irqrestore(&info->slock, flags); in mxser_startup()
874 spin_unlock_irqrestore(&info->slock, flags); in mxser_startup()
900 spin_unlock_irqrestore(&info->slock, flags); in mxser_startup()
949 spin_unlock_irqrestore(&info->slock, flags); in mxser_startup()
966 spin_lock_irqsave(&info->slock, flags); in mxser_shutdown()
1008 spin_unlock_irqrestore(&info->slock, flags); in mxser_shutdown()
[all …]
Drocket.c447 spin_lock_irqsave(&info->slock, flags); in rp_do_transmit()
480 spin_unlock_irqrestore(&info->slock, flags); in rp_do_transmit()
704 spin_lock_init(&info->slock); in init_r_port()
786 spin_lock_irqsave(&info->slock, flags); in configure_r_port()
792 spin_unlock_irqrestore(&info->slock, flags); in configure_r_port()
1124 spin_lock_irqsave(&info->slock, flags); in rp_break()
1129 spin_unlock_irqrestore(&info->slock, flags); in rp_break()
1563 spin_lock_irqsave(&info->slock, flags); in rp_put_char()
1578 spin_unlock_irqrestore(&info->slock, flags); in rp_put_char()
1632 spin_lock_irqsave(&info->slock, flags); in rp_write()
[all …]
/drivers/media/video/cx88/
Dcx88-mpeg.c314 spin_lock_irqsave(&dev->slock,flags); in do_cancel_buffers()
328 spin_unlock_irqrestore(&dev->slock,flags); in do_cancel_buffers()
390 spin_lock(&dev->slock); in cx8802_mpeg_irq()
393 spin_unlock(&dev->slock); in cx8802_mpeg_irq()
398 spin_lock(&dev->slock); in cx8802_mpeg_irq()
400 spin_unlock(&dev->slock); in cx8802_mpeg_irq()
406 spin_lock(&dev->slock); in cx8802_mpeg_irq()
409 spin_unlock(&dev->slock); in cx8802_mpeg_irq()
471 spin_lock_init(&dev->slock); in cx8802_init_common()
519 spin_lock(&dev->slock); in cx8802_suspend_common()
[all …]
Dcx88-video.c810 &dev->pci->dev, &dev->slock, in video_open()
816 &dev->pci->dev, &dev->slock, in video_open()
1587 spin_lock_irqsave(&dev->slock,flags); in cx8800_vid_timeout()
1597 spin_unlock_irqrestore(&dev->slock,flags); in cx8800_vid_timeout()
1633 spin_lock(&dev->slock); in cx8800_vid_irq()
1636 spin_unlock(&dev->slock); in cx8800_vid_irq()
1641 spin_lock(&dev->slock); in cx8800_vid_irq()
1644 spin_unlock(&dev->slock); in cx8800_vid_irq()
1650 spin_lock(&dev->slock); in cx8800_vid_irq()
1652 spin_unlock(&dev->slock); in cx8800_vid_irq()
[all …]
Dcx88-vbi.c129 spin_lock_irqsave(&dev->slock,flags); in cx8800_vbi_timeout()
139 spin_unlock_irqrestore(&dev->slock,flags); in cx8800_vbi_timeout()
/drivers/usb/host/
Du132-hcd.c145 spinlock_t slock; member
521 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb()
526 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb()
535 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb()
561 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb()
566 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb()
575 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb()
1879 spin_lock_init(&endp->queue_lock.slock); in create_endpoint_and_queue_int()
1880 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in create_endpoint_and_queue_int()
1883 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in create_endpoint_and_queue_int()
[all …]
/drivers/media/video/saa7134/
Dsaa7134-core.c274 assert_spin_locked(&dev->slock); in saa7134_buffer_queue()
300 assert_spin_locked(&dev->slock); in saa7134_buffer_finish()
315 assert_spin_locked(&dev->slock); in saa7134_buffer_next()
345 spin_lock_irqsave(&dev->slock,flags); in saa7134_buffer_timeout()
359 spin_unlock_irqrestore(&dev->slock,flags); in saa7134_buffer_timeout()
370 assert_spin_locked(&dev->slock); in saa7134_set_dmabits()
668 spin_lock_init(&dev->slock); in saa7134_hwinit1()
1130 assert_spin_locked(&dev->slock); in saa7134_buffer_requeue()
1224 spin_lock_irqsave(&dev->slock, flags); in saa7134_resume()
1238 spin_unlock_irqrestore(&dev->slock, flags); in saa7134_resume()
Dsaa7134-alsa.c146 spin_lock(&dev->slock); in saa7134_irq_alsa_done()
171 spin_unlock(&dev->slock); in saa7134_irq_alsa_done()
191 spin_unlock(&dev->slock); in saa7134_irq_alsa_done()
193 spin_lock(&dev->slock); in saa7134_irq_alsa_done()
197 spin_unlock(&dev->slock); in saa7134_irq_alsa_done()
257 spin_lock(&dev->slock); in snd_card_saa7134_capture_trigger()
267 spin_unlock(&dev->slock); in snd_card_saa7134_capture_trigger()
Dsaa7134-video.c1278 spin_lock_irqsave(&dev->slock,flags); in saa7134_s_ctrl_internal()
1281 spin_unlock_irqrestore(&dev->slock,flags); in saa7134_s_ctrl_internal()
1373 &dev->pci->dev, &dev->slock, in video_open()
1379 &dev->pci->dev, &dev->slock, in video_open()
1473 spin_lock_irqsave(&dev->slock,flags); in video_release()
1475 spin_unlock_irqrestore(&dev->slock,flags); in video_release()
1687 spin_lock_irqsave(&dev->slock, flags); in saa7134_s_fmt_vid_overlay()
1690 spin_unlock_irqrestore(&dev->slock, flags); in saa7134_s_fmt_vid_overlay()
1854 spin_lock_irqsave(&dev->slock, flags); in saa7134_s_std_internal()
1856 spin_unlock_irqrestore(&dev->slock, flags); in saa7134_s_std_internal()
[all …]
Dsaa7134-ts.c267 spin_lock(&dev->slock); in saa7134_irq_ts_done()
282 spin_unlock(&dev->slock); in saa7134_irq_ts_done()
Dsaa7134-vbi.c231 spin_lock(&dev->slock); in saa7134_irq_vbi_done()
248 spin_unlock(&dev->slock); in saa7134_irq_vbi_done()
/drivers/media/common/
Dsaa7146_vbi.c326 spin_lock_irqsave(&dev->slock,flags); in vbi_stop()
348 spin_unlock_irqrestore(&dev->slock, flags); in vbi_stop()
411 &dev->pci->dev, &dev->slock, in vbi_open()
453 spin_lock(&dev->slock); in vbi_irq_done()
466 spin_unlock(&dev->slock); in vbi_irq_done()
Dsaa7146_fops.c75 assert_spin_locked(&dev->slock); in saa7146_buffer_queue()
96 assert_spin_locked(&dev->slock); in saa7146_buffer_finish()
124 assert_spin_locked(&dev->slock); in saa7146_buffer_next()
174 spin_lock_irqsave(&dev->slock,flags); in saa7146_buffer_timeout()
189 spin_unlock_irqrestore(&dev->slock,flags); in saa7146_buffer_timeout()
/drivers/net/wireless/prism54/
Dislpci_dev.c194 spin_lock(&priv->slock); in islpci_interrupt()
205 spin_unlock(&priv->slock); in islpci_interrupt()
353 spin_unlock(&priv->slock); in islpci_interrupt()
368 spin_unlock(&priv->slock); in islpci_interrupt()
877 spin_lock_init(&priv->slock); in islpci_setup()
Dislpci_mgt.c232 spin_lock_irqsave(&priv->slock, flags); in islpci_mgt_transmit()
253 spin_unlock_irqrestore(&priv->slock, flags); in islpci_mgt_transmit()
260 spin_unlock_irqrestore(&priv->slock, flags); in islpci_mgt_transmit()
Dislpci_eth.c96 spin_lock_irqsave(&priv->slock, flags); in islpci_eth_transmit()
240 spin_unlock_irqrestore(&priv->slock, flags); in islpci_eth_transmit()
246 spin_unlock_irqrestore(&priv->slock, flags); in islpci_eth_transmit()
Dislpci_dev.h79 spinlock_t slock; /* generic spinlock; */ member
/drivers/media/video/cx23885/
Dcx23885-core.c635 spin_lock_init(&port->slock); in cx23885_init_tsport()
1439 spin_lock_irqsave(&port->slock, flags); in do_cancel_buffers()
1453 spin_unlock_irqrestore(&port->slock, flags); in do_cancel_buffers()
1526 spin_lock(&port->slock); in cx23885_irq_417()
1528 spin_unlock(&port->slock); in cx23885_irq_417()
1531 spin_lock(&port->slock); in cx23885_irq_417()
1533 spin_unlock(&port->slock); in cx23885_irq_417()
1580 spin_lock(&port->slock); in cx23885_irq_ts()
1583 spin_unlock(&port->slock); in cx23885_irq_ts()
1589 spin_lock(&port->slock); in cx23885_irq_ts()
[all …]
Dcx23885-video.c772 &dev->pci->dev, &dev->slock, in video_open()
1369 spin_lock_irqsave(&dev->slock, flags); in cx23885_vid_timeout()
1381 spin_unlock_irqrestore(&dev->slock, flags); in cx23885_vid_timeout()
1405 spin_lock(&dev->slock); in cx23885_video_irq()
1408 spin_unlock(&dev->slock); in cx23885_video_irq()
1414 spin_lock(&dev->slock); in cx23885_video_irq()
1416 spin_unlock(&dev->slock); in cx23885_video_irq()
1510 spin_lock_init(&dev->slock); in cx23885_video_register()
Dcx23885-vbi.c121 spin_lock_irqsave(&dev->slock, flags); in cx23885_vbi_timeout()
132 spin_unlock_irqrestore(&dev->slock, flags); in cx23885_vbi_timeout()
Dcx23885.h239 spinlock_t slock; member
328 spinlock_t slock; member
/drivers/media/video/em28xx/
Dem28xx-audio.c404 spin_lock_irqsave(&dev->adev.slock, flags); in snd_em28xx_capture_pointer()
406 spin_unlock_irqrestore(&dev->adev.slock, flags); in snd_em28xx_capture_pointer()
455 spin_lock_init(&adev->slock); in em28xx_audio_init()
/drivers/media/video/
Dvivi.c210 spinlock_t slock; member
491 spin_lock_irqsave(&dev->slock, flags); in vivi_thread_tick()
515 spin_unlock_irqrestore(&dev->slock, flags); in vivi_thread_tick()
1094 NULL, &dev->slock, fh->type, V4L2_FIELD_INTERLACED, in vivi_open()
1274 spin_lock_init(&dev->slock); in vivi_init()

12