Home
last modified time | relevance | path

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

/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()
676 mutex_init(&par->open_lock); in vt8623_pci_probe()
829 mutex_lock(&(par->open_lock)); in vt8623_pci_suspend()
832 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend()
843 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()
961 mutex_init(&par->open_lock); in ark_pci_probe()
1099 mutex_lock(&(par->open_lock)); in ark_pci_suspend()
1102 mutex_unlock(&(par->open_lock)); in ark_pci_suspend()
1113 mutex_unlock(&(par->open_lock)); in ark_pci_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()
1135 mutex_init(&par->open_lock); in s3_pci_probe()
1421 mutex_lock(&(par->open_lock)); in s3_pci_suspend()
1424 mutex_unlock(&(par->open_lock)); in s3_pci_suspend()
1435 mutex_unlock(&(par->open_lock)); in s3_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()
1013 mutex_init(&par->open_lock); in i740fb_probe()
1189 mutex_lock(&(par->open_lock)); in i740fb_suspend()
1193 mutex_unlock(&(par->open_lock)); in i740fb_suspend()
1204 mutex_unlock(&(par->open_lock)); in i740fb_suspend()
[all …]
Dsh_mobile_lcdcfb.h65 struct mutex open_lock; /* protects the use counter */ member
Dsh_mobile_lcdcfb.c1792 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_release()
1804 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_release()
1813 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_open()
1817 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_open()
2295 mutex_destroy(&ch->open_lock); in sh_mobile_lcdc_remove()
2536 mutex_init(&priv->ch[i].open_lock); in sh_mobile_lcdc_probe()
/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.c546 spin_lock(&hw->open_lock); in ilo_close()
562 spin_unlock(&hw->open_lock); in ilo_close()
582 spin_lock(&hw->open_lock); in ilo_open()
633 spin_unlock(&hw->open_lock); in ilo_open()
805 spin_lock_init(&ilo_hw->open_lock); in ilo_probe()
Dhpilo.h57 spinlock_t open_lock; member
/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
/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()
/drivers/video/fbdev/riva/
Drivafb.h56 struct mutex open_lock; member
Dfbdev.c1036 mutex_lock(&par->open_lock); in rivafb_open()
1053 mutex_unlock(&par->open_lock); in rivafb_open()
1063 mutex_lock(&par->open_lock); in rivafb_release()
1065 mutex_unlock(&par->open_lock); in rivafb_release()
1078 mutex_unlock(&par->open_lock); in rivafb_release()
1929 mutex_init(&default_par->open_lock); in rivafb_probe()
/drivers/media/usb/dvb-usb/
Dcxusb.c318 mutex_lock(&cxdev->open_lock); in cxusb_power_ctrl()
333 mutex_unlock(&cxdev->open_lock); in cxusb_power_ctrl()
1431 mutex_lock(&cxdev->open_lock); in cxusb_medion_get()
1494 mutex_unlock(&cxdev->open_lock); in cxusb_medion_get()
1503 mutex_lock(&cxdev->open_lock); in cxusb_medion_put()
1520 mutex_unlock(&cxdev->open_lock); in cxusb_medion_put()
1543 mutex_init(&cxdev->open_lock); in cxusb_medion_priv_init()
1552 mutex_destroy(&cxdev->open_lock); in cxusb_medion_priv_destroy()
Dcxusb.h121 struct mutex open_lock; member
/drivers/video/fbdev/i810/
Di810.h265 struct mutex open_lock; member
Di810_main.c1243 mutex_lock(&par->open_lock); in i810fb_open()
1254 mutex_unlock(&par->open_lock); in i810fb_open()
1263 mutex_lock(&par->open_lock); in i810fb_release()
1265 mutex_unlock(&par->open_lock); in i810fb_release()
1275 mutex_unlock(&par->open_lock); in i810fb_release()
1761 mutex_init(&par->open_lock); in i810_init_defaults()
/drivers/block/
Dfloppy.c420 static DEFINE_MUTEX(open_lock);
3249 mutex_lock(&open_lock); in set_geometry()
3251 mutex_unlock(&open_lock); in set_geometry()
3266 mutex_unlock(&open_lock); in set_geometry()
3981 mutex_lock(&open_lock); in floppy_release()
3988 mutex_unlock(&open_lock); in floppy_release()
4006 mutex_lock(&open_lock); in floppy_open()
4078 mutex_unlock(&open_lock); in floppy_open()
4087 mutex_unlock(&open_lock); in floppy_open()
/drivers/video/fbdev/savage/
Dsavagefb_driver.c1608 mutex_lock(&par->open_lock); in savagefb_open()
1620 mutex_unlock(&par->open_lock); in savagefb_open()
1628 mutex_lock(&par->open_lock); in savagefb_release()
1636 mutex_unlock(&par->open_lock); in savagefb_release()
2182 mutex_init(&par->open_lock); in savagefb_probe()
Dsavagefb.h197 struct mutex open_lock; member
/drivers/mmc/core/
Dblock.c164 static DEFINE_MUTEX(open_lock);
176 mutex_lock(&open_lock); in mmc_blk_get()
182 mutex_unlock(&open_lock); in mmc_blk_get()
195 mutex_lock(&open_lock); in mmc_blk_put()
204 mutex_unlock(&open_lock); in mmc_blk_put()