Home
last modified time | relevance | path

Searched refs:open_lock (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/sound/isa/sb/
Dsb8_midi.c59 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()
88 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
94 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
99 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
110 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_input_close()
114 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_close()
[all …]
Dsb16_main.c498 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()
575 spin_unlock_irqrestore(&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()
[all …]
Dsb8_main.c469 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()
532 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8_close()
538 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8_close()
Dsb_common.c218 spin_lock_init(&chip->open_lock); in snd_sbdsp_create()
/kernel/linux/linux-5.10/sound/pci/ca0106/
Dca_midi.c115 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 …]
Dca_midi.h28 spinlock_t open_lock; member
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demumpu401.c150 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 …]
Demu10k1x.c207 spinlock_t open_lock; member
1318 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1x_midi_input_open()
1322 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_input_open()
1328 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_input_open()
1345 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1x_midi_output_open()
1349 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_output_open()
1355 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_output_open()
1373 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1x_midi_input_close()
1378 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_input_close()
1381 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1x_midi_input_close()
[all …]
/kernel/linux/linux-5.10/sound/drivers/
Dserial-u16550.c114 spinlock_t open_lock; member
286 spin_lock(&uart->open_lock); in snd_uart16550_interrupt()
288 spin_unlock(&uart->open_lock); in snd_uart16550_interrupt()
294 spin_unlock(&uart->open_lock); in snd_uart16550_interrupt()
305 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_buffer_timer()
308 spin_unlock_irqrestore(&uart->open_lock, flags); in snd_uart16550_buffer_timer()
507 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_input_open()
512 spin_unlock_irqrestore(&uart->open_lock, flags); in snd_uart16550_input_open()
521 spin_lock_irqsave(&uart->open_lock, flags); in snd_uart16550_input_close()
526 spin_unlock_irqrestore(&uart->open_lock, flags); in snd_uart16550_input_close()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dvt8623fb.c33 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()
678 mutex_init(&par->open_lock); in vt8623_pci_probe()
830 mutex_lock(&(par->open_lock)); in vt8623_pci_suspend()
833 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend()
840 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend()
[all …]
Darkfb.c35 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()
968 mutex_init(&par->open_lock); in ark_pci_probe()
1105 mutex_lock(&(par->open_lock)); in ark_pci_suspend()
1108 mutex_unlock(&(par->open_lock)); in ark_pci_suspend()
1115 mutex_unlock(&(par->open_lock)); in ark_pci_suspend()
[all …]
Di740fb.c44 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()
1021 mutex_init(&par->open_lock); in i740fb_probe()
1192 mutex_lock(&(par->open_lock)); in i740fb_suspend()
1196 mutex_unlock(&(par->open_lock)); in i740fb_suspend()
1203 mutex_unlock(&(par->open_lock)); in i740fb_suspend()
[all …]
Ds3fb.c35 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()
1137 mutex_init(&par->open_lock); in s3_pci_probe()
1423 mutex_lock(&(par->open_lock)); in s3_pci_suspend()
1426 mutex_unlock(&(par->open_lock)); in s3_pci_suspend()
1433 mutex_unlock(&(par->open_lock)); in s3_pci_suspend()
[all …]
Dsh_mobile_lcdcfb.h65 struct mutex open_lock; /* protects the use counter */ member
/kernel/linux/linux-5.10/drivers/watchdog/
Dscx200_wdt.c48 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()
Dwdt_pci.c60 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()
/kernel/linux/linux-5.10/drivers/misc/
Dphantom.c52 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()
Dhpilo.c545 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()
804 spin_lock_init(&ilo_hw->open_lock); in ilo_probe()
Dhpilo.h57 spinlock_t open_lock; member
/kernel/linux/linux-5.10/drivers/s390/char/
Dvmur.c113 spin_lock_init(&urd->open_lock); in urdev_alloc()
716 spin_lock(&urd->open_lock); in ur_open()
718 spin_unlock(&urd->open_lock); in ur_open()
727 spin_lock(&urd->open_lock); in ur_open()
730 spin_unlock(&urd->open_lock); in ur_open()
762 spin_lock(&urd->open_lock); in ur_open()
764 spin_unlock(&urd->open_lock); in ur_open()
776 spin_lock(&urf->urd->open_lock); in ur_release()
778 spin_unlock(&urf->urd->open_lock); in ur_release()
Dvmur.h78 spinlock_t open_lock; /* serialize critical sections */ member
/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
Drivafb.h56 struct mutex open_lock; member
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dcxusb.c315 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()
Dcxusb.h121 struct mutex open_lock; member
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/
Di810.h265 struct mutex open_lock; member

12