/drivers/staging/meilhaus/ |
D | meslock.c | 35 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 …]
|
D | meslock.h | 33 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/ |
D | mxser.c | 259 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 …]
|
D | rocket.c | 447 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/ |
D | cx88-mpeg.c | 314 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 …]
|
D | cx88-video.c | 810 &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 …]
|
D | cx88-vbi.c | 129 spin_lock_irqsave(&dev->slock,flags); in cx8800_vbi_timeout() 139 spin_unlock_irqrestore(&dev->slock,flags); in cx8800_vbi_timeout()
|
/drivers/usb/host/ |
D | u132-hcd.c | 145 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/ |
D | saa7134-core.c | 274 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()
|
D | saa7134-alsa.c | 146 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()
|
D | saa7134-video.c | 1278 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 …]
|
D | saa7134-ts.c | 267 spin_lock(&dev->slock); in saa7134_irq_ts_done() 282 spin_unlock(&dev->slock); in saa7134_irq_ts_done()
|
D | saa7134-vbi.c | 231 spin_lock(&dev->slock); in saa7134_irq_vbi_done() 248 spin_unlock(&dev->slock); in saa7134_irq_vbi_done()
|
/drivers/media/common/ |
D | saa7146_vbi.c | 326 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()
|
D | saa7146_fops.c | 75 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/ |
D | islpci_dev.c | 194 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()
|
D | islpci_mgt.c | 232 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()
|
D | islpci_eth.c | 96 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()
|
D | islpci_dev.h | 79 spinlock_t slock; /* generic spinlock; */ member
|
/drivers/media/video/cx23885/ |
D | cx23885-core.c | 635 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 …]
|
D | cx23885-video.c | 772 &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()
|
D | cx23885-vbi.c | 121 spin_lock_irqsave(&dev->slock, flags); in cx23885_vbi_timeout() 132 spin_unlock_irqrestore(&dev->slock, flags); in cx23885_vbi_timeout()
|
D | cx23885.h | 239 spinlock_t slock; member 328 spinlock_t slock; member
|
/drivers/media/video/em28xx/ |
D | em28xx-audio.c | 404 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/ |
D | vivi.c | 210 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()
|