/drivers/video/fbdev/ |
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() 678 mutex_init(&par->open_lock); in vt8623_pci_probe() 831 mutex_lock(&(par->open_lock)); in vt8623_pci_suspend() 834 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend() 845 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend() [all …]
|
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() 963 mutex_init(&par->open_lock); in ark_pci_probe() 1101 mutex_lock(&(par->open_lock)); in ark_pci_suspend() 1104 mutex_unlock(&(par->open_lock)); in ark_pci_suspend() 1115 mutex_unlock(&(par->open_lock)); in ark_pci_suspend() [all …]
|
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() 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() 1437 mutex_unlock(&(par->open_lock)); in s3_pci_suspend() [all …]
|
D | i740fb.c | 43 struct mutex open_lock; member 184 mutex_lock(&(par->open_lock)); in i740fb_open() 186 mutex_unlock(&(par->open_lock)); in i740fb_open() 195 mutex_lock(&(par->open_lock)); in i740fb_release() 198 mutex_unlock(&(par->open_lock)); in i740fb_release() 203 mutex_unlock(&(par->open_lock)); in i740fb_release() 1015 mutex_init(&par->open_lock); in i740fb_probe() 1191 mutex_lock(&(par->open_lock)); in i740fb_suspend() 1195 mutex_unlock(&(par->open_lock)); in i740fb_suspend() 1206 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() 2407 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_notify() 2409 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_notify() 2484 mutex_destroy(&ch->open_lock); in sh_mobile_lcdc_remove() 2729 mutex_init(&priv->ch[i].open_lock); in sh_mobile_lcdc_probe()
|
/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 | 1036 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() 1932 mutex_init(&default_par->open_lock); in rivafb_probe()
|
/drivers/video/fbdev/i810/ |
D | i810.h | 265 struct mutex open_lock; member
|
D | i810_main.c | 1243 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/ |
D | floppy.c | 414 static DEFINE_MUTEX(open_lock); 3258 mutex_lock(&open_lock); in set_geometry() 3260 mutex_unlock(&open_lock); in set_geometry() 3275 mutex_unlock(&open_lock); in set_geometry() 3989 mutex_lock(&open_lock); in floppy_release() 3996 mutex_unlock(&open_lock); in floppy_release() 4014 mutex_lock(&open_lock); in floppy_open() 4086 mutex_unlock(&open_lock); in floppy_open() 4095 mutex_unlock(&open_lock); in floppy_open()
|
/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 1608 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()
|
D | savagefb.h | 197 struct mutex open_lock; member
|
/drivers/mmc/card/ |
D | block.c | 128 static DEFINE_MUTEX(open_lock); 160 mutex_lock(&open_lock); in mmc_blk_get() 166 mutex_unlock(&open_lock); in mmc_blk_get() 179 mutex_lock(&open_lock); in mmc_blk_put() 190 mutex_unlock(&open_lock); in mmc_blk_put()
|