/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() 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 …]
|
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() 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 …]
|
D | i740fb.c | 44 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 …]
|
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() 1433 mutex_unlock(&(par->open_lock)); in s3_pci_suspend() [all …]
|
D | sh_mobile_lcdcfb.h | 65 struct mutex open_lock; /* protects the use counter */ member
|
D | sh_mobile_lcdcfb.c | 1789 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_release() 1801 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_release() 1810 mutex_lock(&ch->open_lock); in sh_mobile_lcdc_open() 1814 mutex_unlock(&ch->open_lock); in sh_mobile_lcdc_open() 2292 mutex_destroy(&ch->open_lock); in sh_mobile_lcdc_remove() 2533 mutex_init(&priv->ch[i].open_lock); in sh_mobile_lcdc_probe()
|
/drivers/misc/ |
D | phantom.c | 52 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()
|
D | hpilo.c | 545 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() 812 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 | 111 spin_lock_init(&urd->open_lock); in urdev_alloc() 692 spin_lock(&urd->open_lock); in ur_open() 694 spin_unlock(&urd->open_lock); in ur_open() 703 spin_lock(&urd->open_lock); in ur_open() 706 spin_unlock(&urd->open_lock); in ur_open() 738 spin_lock(&urd->open_lock); in ur_open() 740 spin_unlock(&urd->open_lock); in ur_open() 752 spin_lock(&urf->urd->open_lock); in ur_release() 754 spin_unlock(&urf->urd->open_lock); in ur_release()
|
D | vmur.h | 78 spinlock_t open_lock; /* serialize critical sections */ member
|
/drivers/watchdog/ |
D | scx200_wdt.c | 48 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()
|
D | wdt_pci.c | 60 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/ |
D | rivafb.h | 56 struct mutex open_lock; member
|
D | fbdev.c | 1032 mutex_lock(&par->open_lock); in rivafb_open() 1049 mutex_unlock(&par->open_lock); in rivafb_open() 1059 mutex_lock(&par->open_lock); in rivafb_release() 1061 mutex_unlock(&par->open_lock); in rivafb_release() 1074 mutex_unlock(&par->open_lock); in rivafb_release() 1927 mutex_init(&default_par->open_lock); in rivafb_probe()
|
/drivers/media/usb/dvb-usb/ |
D | cxusb.c | 315 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()
|
D | cxusb.h | 121 struct mutex open_lock; member
|
/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 | 406 static DEFINE_MUTEX(open_lock); 3244 mutex_lock(&open_lock); in set_geometry() 3246 mutex_unlock(&open_lock); in set_geometry() 3261 mutex_unlock(&open_lock); in set_geometry() 3972 mutex_lock(&open_lock); in floppy_release() 3979 mutex_unlock(&open_lock); in floppy_release() 3997 mutex_lock(&open_lock); in floppy_open() 4071 mutex_unlock(&open_lock); in floppy_open() 4080 mutex_unlock(&open_lock); in floppy_open()
|
/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 1607 mutex_lock(&par->open_lock); in savagefb_open() 1619 mutex_unlock(&par->open_lock); in savagefb_open() 1627 mutex_lock(&par->open_lock); in savagefb_release() 1635 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/core/ |
D | block.c | 172 static DEFINE_MUTEX(open_lock); 189 mutex_lock(&open_lock); in mmc_blk_get() 193 mutex_unlock(&open_lock); in mmc_blk_get() 212 mutex_lock(&open_lock); in mmc_blk_kref_release() 214 mutex_unlock(&open_lock); in mmc_blk_kref_release()
|