Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dvt8623fb.c37 struct mutex open_lock; member
293 mutex_lock(&(par->open_lock)); in vt8623fb_open()
306 mutex_unlock(&(par->open_lock)); in vt8623fb_open()
315 mutex_lock(&(par->open_lock)); in vt8623fb_release()
317 mutex_unlock(&(par->open_lock)); in vt8623fb_release()
325 mutex_unlock(&(par->open_lock)); in vt8623fb_release()
688 mutex_init(&par->open_lock); in vt8623_pci_probe()
850 mutex_lock(&(par->open_lock)); in vt8623_pci_suspend()
853 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend()
864 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend()
[all …]
Darkfb.c39 struct mutex open_lock; member
535 mutex_lock(&(par->open_lock)); in arkfb_open()
548 mutex_unlock(&(par->open_lock)); in arkfb_open()
559 mutex_lock(&(par->open_lock)); in arkfb_release()
561 mutex_unlock(&(par->open_lock)); in arkfb_release()
571 mutex_unlock(&(par->open_lock)); in arkfb_release()
976 mutex_init(&par->open_lock); in ark_pci_probe()
1127 mutex_lock(&(par->open_lock)); in ark_pci_suspend()
1130 mutex_unlock(&(par->open_lock)); in ark_pci_suspend()
1141 mutex_unlock(&(par->open_lock)); in ark_pci_suspend()
[all …]
Ds3fb.c39 struct mutex open_lock; member
516 mutex_lock(&(par->open_lock)); in s3fb_open()
529 mutex_unlock(&(par->open_lock)); in s3fb_open()
540 mutex_lock(&(par->open_lock)); in s3fb_release()
542 mutex_unlock(&(par->open_lock)); in s3fb_release()
550 mutex_unlock(&(par->open_lock)); in s3fb_release()
1148 mutex_init(&par->open_lock); in s3_pci_probe()
1444 mutex_lock(&(par->open_lock)); in s3_pci_suspend()
1447 mutex_unlock(&(par->open_lock)); in s3_pci_suspend()
1458 mutex_unlock(&(par->open_lock)); in s3_pci_suspend()
[all …]
Di740fb.c52 struct mutex open_lock; member
193 mutex_lock(&(par->open_lock)); in i740fb_open()
195 mutex_unlock(&(par->open_lock)); in i740fb_open()
204 mutex_lock(&(par->open_lock)); in i740fb_release()
207 mutex_unlock(&(par->open_lock)); in i740fb_release()
212 mutex_unlock(&(par->open_lock)); in i740fb_release()
1024 mutex_init(&par->open_lock); in i740fb_probe()
1210 mutex_lock(&(par->open_lock)); in i740fb_suspend()
1214 mutex_unlock(&(par->open_lock)); in i740fb_suspend()
1225 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.c1943 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_release()
1955 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_release()
1964 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_open()
1968 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_open()
2408 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_notify()
2410 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_notify()
2485 mutex_destroy(&ch->open_lock); in sh_mobile_lcdc_remove()
2609 mutex_init(&ch->open_lock); in sh_mobile_lcdc_channel_init()
/drivers/misc/
Dphantom.c56 struct mutex open_lock; member
222 if (mutex_lock_interruptible(&dev->open_lock)) { in phantom_open()
228 mutex_unlock(&dev->open_lock); in phantom_open()
239 mutex_unlock(&dev->open_lock); in phantom_open()
248 mutex_lock(&dev->open_lock); in phantom_release()
254 mutex_unlock(&dev->open_lock); in phantom_release()
389 mutex_init(&pht->open_lock); in phantom_probe()
Dhpilo.c542 spin_lock(&hw->open_lock); in ilo_close()
558 spin_unlock(&hw->open_lock); in ilo_close()
578 spin_lock(&hw->open_lock); in ilo_open()
629 spin_unlock(&hw->open_lock); in ilo_open()
791 spin_lock_init(&ilo_hw->open_lock); in ilo_probe()
Dhpilo.h60 spinlock_t open_lock; member
/drivers/s390/char/
Dvmur.c112 spin_lock_init(&urd->open_lock); in urdev_alloc()
714 spin_lock(&urd->open_lock); in ur_open()
716 spin_unlock(&urd->open_lock); in ur_open()
725 spin_lock(&urd->open_lock); in ur_open()
728 spin_unlock(&urd->open_lock); in ur_open()
760 spin_lock(&urd->open_lock); in ur_open()
762 spin_unlock(&urd->open_lock); in ur_open()
774 spin_lock(&urf->urd->open_lock); in ur_release()
776 spin_unlock(&urf->urd->open_lock); in ur_release()
Dvmur.h75 spinlock_t open_lock; /* serialize critical sections */ member
/drivers/watchdog/
Dscx200_wdt.c51 static unsigned long open_lock; variable
101 if (test_and_set_bit(0, &open_lock)) in scx200_wdt_open()
115 clear_bit(0, &open_lock); in scx200_wdt_release()
Dwdt_pci.c64 static unsigned long open_lock; variable
455 if (test_and_set_bit(0, &open_lock)) in wdtpci_open()
488 clear_bit(0, &open_lock); in wdtpci_release()
/drivers/video/fbdev/riva/
Drivafb.h55 struct mutex open_lock; member
Dfbdev.c1045 mutex_lock(&par->open_lock); in rivafb_open()
1062 mutex_unlock(&par->open_lock); in rivafb_open()
1072 mutex_lock(&par->open_lock); in rivafb_release()
1074 mutex_unlock(&par->open_lock); in rivafb_release()
1087 mutex_unlock(&par->open_lock); in rivafb_release()
1937 mutex_init(&default_par->open_lock); in rivafb_probe()
/drivers/video/fbdev/i810/
Di810.h266 struct mutex open_lock; member
Di810_main.c1242 mutex_lock(&par->open_lock); in i810fb_open()
1253 mutex_unlock(&par->open_lock); in i810fb_open()
1262 mutex_lock(&par->open_lock); in i810fb_release()
1264 mutex_unlock(&par->open_lock); in i810fb_release()
1274 mutex_unlock(&par->open_lock); in i810fb_release()
1760 mutex_init(&par->open_lock); in i810_init_defaults()
/drivers/block/
Dfloppy.c413 static DEFINE_MUTEX(open_lock);
3245 mutex_lock(&open_lock); in set_geometry()
3247 mutex_unlock(&open_lock); in set_geometry()
3262 mutex_unlock(&open_lock); in set_geometry()
3626 mutex_lock(&open_lock); in floppy_release()
3633 mutex_unlock(&open_lock); in floppy_release()
3651 mutex_lock(&open_lock); in floppy_open()
3723 mutex_unlock(&open_lock); in floppy_open()
3732 mutex_unlock(&open_lock); in floppy_open()
/drivers/video/fbdev/savage/
Dsavagefb_driver.c1612 mutex_lock(&par->open_lock); in savagefb_open()
1624 mutex_unlock(&par->open_lock); in savagefb_open()
1632 mutex_lock(&par->open_lock); in savagefb_release()
1640 mutex_unlock(&par->open_lock); in savagefb_release()
2193 mutex_init(&par->open_lock); in savagefb_probe()
Dsavagefb.h197 struct mutex open_lock; member
/drivers/mmc/card/
Dblock.c126 static DEFINE_MUTEX(open_lock);
158 mutex_lock(&open_lock); in mmc_blk_get()
164 mutex_unlock(&open_lock); in mmc_blk_get()
177 mutex_lock(&open_lock); in mmc_blk_put()
188 mutex_unlock(&open_lock); in mmc_blk_put()