/drivers/video/fbdev/ |
D | vt8623fb.c | 37 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 …]
|
D | arkfb.c | 39 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 …]
|
D | s3fb.c | 39 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 …]
|
D | i740fb.c | 52 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 …]
|
D | sh_mobile_lcdcfb.h | 65 struct mutex open_lock; /* protects the use counter */ member
|
D | sh_mobile_lcdcfb.c | 1943 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/ |
D | phantom.c | 56 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()
|
D | hpilo.c | 542 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()
|
D | hpilo.h | 60 spinlock_t open_lock; member
|
/drivers/s390/char/ |
D | vmur.c | 112 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()
|
D | vmur.h | 75 spinlock_t open_lock; /* serialize critical sections */ member
|
/drivers/watchdog/ |
D | scx200_wdt.c | 51 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()
|
D | wdt_pci.c | 64 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/ |
D | rivafb.h | 55 struct mutex open_lock; member
|
D | fbdev.c | 1045 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/ |
D | i810.h | 266 struct mutex open_lock; member
|
D | i810_main.c | 1242 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/ |
D | floppy.c | 413 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/ |
D | savagefb_driver.c | 1612 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()
|
D | savagefb.h | 197 struct mutex open_lock; member
|
/drivers/mmc/card/ |
D | block.c | 126 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()
|