/linux/sound/isa/sb/ |
A D | sb8_midi.c | 59 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open() 61 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open() 67 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open() 72 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open() 86 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open() 110 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_input_close() 129 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_output_close() 147 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_input_trigger() 174 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_output_write() 206 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_output_timer() [all …]
|
A D | sb16_main.c | 498 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb16_playback_open() 500 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb16_playback_open() 536 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb16_playback_open() 550 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb16_playback_open() 560 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb16_playback_close() 563 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb16_playback_close() 573 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb16_capture_open() 611 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb16_capture_open() 625 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb16_capture_open() 635 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb16_capture_close() [all …]
|
A D | sb8_main.c | 469 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8_open() 471 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8_open() 475 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8_open() 533 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8_close() 539 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8_close()
|
/linux/sound/pci/ca0106/ |
A D | ca_midi.c | 115 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_input_open() 119 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_open() 123 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_open() 135 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_output_open() 139 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_output_open() 143 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_output_open() 155 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_input_close() 160 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_close() 163 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_close() 176 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_output_close() [all …]
|
A D | ca_midi.h | 28 spinlock_t open_lock; member
|
/linux/sound/pci/emu10k1/ |
A D | emumpu401.c | 150 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_input_open() 154 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open() 160 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open() 177 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_output_open() 181 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_output_open() 187 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_output_open() 205 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_input_close() 210 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_close() 213 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_close() 228 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_output_close() [all …]
|
A D | emu10k1x.c | 206 spinlock_t open_lock; member 1283 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1x_midi_input_open() 1287 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_input_open() 1293 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_input_open() 1310 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1x_midi_output_open() 1314 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_output_open() 1320 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_output_open() 1338 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1x_midi_input_close() 1343 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_input_close() 1361 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1x_midi_output_close() [all …]
|
/linux/sound/drivers/ |
A D | serial-u16550.c | 113 spinlock_t open_lock; member 284 spin_lock(&uart->open_lock); in snd_uart16550_interrupt() 286 spin_unlock(&uart->open_lock); in snd_uart16550_interrupt() 292 spin_unlock(&uart->open_lock); in snd_uart16550_interrupt() 303 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_buffer_timer() 504 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_input_open() 518 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_input_close() 533 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_input_trigger() 546 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_output_open() 560 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_output_close() [all …]
|
/linux/drivers/video/fbdev/ |
A D | vt8623fb.c | 33 struct mutex open_lock; member 283 mutex_lock(&(par->open_lock)); in vt8623fb_open() 296 mutex_unlock(&(par->open_lock)); in vt8623fb_open() 305 mutex_lock(&(par->open_lock)); in vt8623fb_release() 307 mutex_unlock(&(par->open_lock)); in vt8623fb_release() 315 mutex_unlock(&(par->open_lock)); in vt8623fb_release() 676 mutex_init(&par->open_lock); in vt8623_pci_probe() 828 mutex_lock(&(par->open_lock)); in vt8623_pci_suspend() 838 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend() 855 mutex_lock(&(par->open_lock)); in vt8623_pci_resume() [all …]
|
A D | arkfb.c | 35 struct mutex open_lock; member 522 mutex_lock(&(par->open_lock)); in arkfb_open() 535 mutex_unlock(&(par->open_lock)); in arkfb_open() 546 mutex_lock(&(par->open_lock)); in arkfb_release() 548 mutex_unlock(&(par->open_lock)); in arkfb_release() 558 mutex_unlock(&(par->open_lock)); in arkfb_release() 961 mutex_init(&par->open_lock); in ark_pci_probe() 1098 mutex_lock(&(par->open_lock)); in ark_pci_suspend() 1108 mutex_unlock(&(par->open_lock)); in ark_pci_suspend() 1125 mutex_lock(&(par->open_lock)); in ark_pci_resume() [all …]
|
A D | i740fb.c | 44 struct mutex open_lock; member 185 mutex_lock(&(par->open_lock)); in i740fb_open() 187 mutex_unlock(&(par->open_lock)); in i740fb_open() 196 mutex_lock(&(par->open_lock)); in i740fb_release() 199 mutex_unlock(&(par->open_lock)); in i740fb_release() 204 mutex_unlock(&(par->open_lock)); in i740fb_release() 1013 mutex_init(&par->open_lock); in i740fb_probe() 1184 mutex_lock(&(par->open_lock)); in i740fb_suspend() 1195 mutex_unlock(&(par->open_lock)); in i740fb_suspend() 1207 mutex_lock(&(par->open_lock)); in i740fb_resume() [all …]
|
A D | s3fb.c | 35 struct mutex open_lock; member 505 mutex_lock(&(par->open_lock)); in s3fb_open() 518 mutex_unlock(&(par->open_lock)); in s3fb_open() 529 mutex_lock(&(par->open_lock)); in s3fb_release() 531 mutex_unlock(&(par->open_lock)); in s3fb_release() 539 mutex_unlock(&(par->open_lock)); in s3fb_release() 1135 mutex_init(&par->open_lock); in s3_pci_probe() 1421 mutex_lock(&(par->open_lock)); in s3_pci_suspend() 1431 mutex_unlock(&(par->open_lock)); in s3_pci_suspend() 1448 mutex_lock(&(par->open_lock)); in s3_pci_resume() [all …]
|
A D | sh_mobile_lcdcfb.h | 65 struct mutex open_lock; /* protects the use counter */ member
|
/linux/drivers/misc/ |
A D | phantom.c | 52 struct mutex open_lock; member 218 if (mutex_lock_interruptible(&dev->open_lock)) { in phantom_open() 224 mutex_unlock(&dev->open_lock); in phantom_open() 235 mutex_unlock(&dev->open_lock); in phantom_open() 244 mutex_lock(&dev->open_lock); in phantom_release() 250 mutex_unlock(&dev->open_lock); in phantom_release() 385 mutex_init(&pht->open_lock); in phantom_probe()
|
A D | hpilo.c | 545 spin_lock(&hw->open_lock); in ilo_close() 561 spin_unlock(&hw->open_lock); in ilo_close() 581 spin_lock(&hw->open_lock); in ilo_open() 632 spin_unlock(&hw->open_lock); in ilo_open() 812 spin_lock_init(&ilo_hw->open_lock); in ilo_probe()
|
A D | hpilo.h | 60 spinlock_t open_lock; member
|
/linux/drivers/s390/char/ |
A D | vmur.c | 111 spin_lock_init(&urd->open_lock); in urdev_alloc() 692 spin_lock(&urd->open_lock); in ur_open() 694 spin_unlock(&urd->open_lock); in ur_open() 703 spin_lock(&urd->open_lock); in ur_open() 706 spin_unlock(&urd->open_lock); in ur_open() 738 spin_lock(&urd->open_lock); in ur_open() 740 spin_unlock(&urd->open_lock); in ur_open() 752 spin_lock(&urf->urd->open_lock); in ur_release() 754 spin_unlock(&urf->urd->open_lock); in ur_release()
|
A D | vmur.h | 78 spinlock_t open_lock; /* serialize critical sections */ member
|
/linux/drivers/watchdog/ |
A D | scx200_wdt.c | 48 static unsigned long open_lock; variable 98 if (test_and_set_bit(0, &open_lock)) in scx200_wdt_open() 112 clear_bit(0, &open_lock); in scx200_wdt_release()
|
A D | wdt_pci.c | 60 static unsigned long open_lock; variable 451 if (test_and_set_bit(0, &open_lock)) in wdtpci_open() 484 clear_bit(0, &open_lock); in wdtpci_release()
|
/linux/drivers/video/fbdev/riva/ |
A D | rivafb.h | 56 struct mutex open_lock; member
|
A D | fbdev.c | 1032 mutex_lock(&par->open_lock); in rivafb_open() 1049 mutex_unlock(&par->open_lock); in rivafb_open() 1059 mutex_lock(&par->open_lock); in rivafb_release() 1061 mutex_unlock(&par->open_lock); in rivafb_release() 1074 mutex_unlock(&par->open_lock); in rivafb_release() 1927 mutex_init(&default_par->open_lock); in rivafb_probe()
|
/linux/drivers/media/usb/dvb-usb/ |
A D | cxusb.c | 315 mutex_lock(&cxdev->open_lock); in cxusb_power_ctrl() 330 mutex_unlock(&cxdev->open_lock); in cxusb_power_ctrl() 1428 mutex_lock(&cxdev->open_lock); in cxusb_medion_get() 1491 mutex_unlock(&cxdev->open_lock); in cxusb_medion_get() 1500 mutex_lock(&cxdev->open_lock); in cxusb_medion_put() 1517 mutex_unlock(&cxdev->open_lock); in cxusb_medion_put() 1540 mutex_init(&cxdev->open_lock); in cxusb_medion_priv_init() 1549 mutex_destroy(&cxdev->open_lock); in cxusb_medion_priv_destroy()
|
A D | cxusb.h | 121 struct mutex open_lock; member
|
/linux/drivers/video/fbdev/i810/ |
A D | i810.h | 265 struct mutex open_lock; member
|