Home
last modified time | relevance | path

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

/drivers/video/
Dvt8623fb.c38 struct mutex open_lock; member
287 mutex_lock(&(par->open_lock)); in vt8623fb_open()
297 mutex_unlock(&(par->open_lock)); in vt8623fb_open()
306 mutex_lock(&(par->open_lock)); in vt8623fb_release()
308 mutex_unlock(&(par->open_lock)); in vt8623fb_release()
316 mutex_unlock(&(par->open_lock)); in vt8623fb_release()
670 mutex_init(&par->open_lock); in vt8623_pci_probe()
822 mutex_lock(&(par->open_lock)); in vt8623_pci_suspend()
825 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend()
836 mutex_unlock(&(par->open_lock)); in vt8623_pci_suspend()
[all …]
Ds3fb.c37 struct mutex open_lock; member
362 mutex_lock(&(par->open_lock)); in s3fb_open()
372 mutex_unlock(&(par->open_lock)); in s3fb_open()
383 mutex_lock(&(par->open_lock)); in s3fb_release()
385 mutex_unlock(&(par->open_lock)); in s3fb_release()
393 mutex_unlock(&(par->open_lock)); in s3fb_release()
897 mutex_init(&par->open_lock); in s3_pci_probe()
1058 mutex_lock(&(par->open_lock)); in s3_pci_suspend()
1061 mutex_unlock(&(par->open_lock)); in s3_pci_suspend()
1072 mutex_unlock(&(par->open_lock)); in s3_pci_suspend()
[all …]
Darkfb.c39 struct mutex open_lock; member
521 mutex_lock(&(par->open_lock)); in arkfb_open()
531 mutex_unlock(&(par->open_lock)); in arkfb_open()
542 mutex_lock(&(par->open_lock)); in arkfb_release()
544 mutex_unlock(&(par->open_lock)); in arkfb_release()
554 mutex_unlock(&(par->open_lock)); in arkfb_release()
952 mutex_init(&par->open_lock); in ark_pci_probe()
1095 mutex_lock(&(par->open_lock)); in ark_pci_suspend()
1098 mutex_unlock(&(par->open_lock)); in ark_pci_suspend()
1109 mutex_unlock(&(par->open_lock)); in ark_pci_suspend()
[all …]
/drivers/misc/
Dphantom.c53 struct mutex open_lock; member
219 if (mutex_lock_interruptible(&dev->open_lock)) { in phantom_open()
225 mutex_unlock(&dev->open_lock); in phantom_open()
236 mutex_unlock(&dev->open_lock); in phantom_open()
245 mutex_lock(&dev->open_lock); in phantom_release()
251 mutex_unlock(&dev->open_lock); in phantom_release()
381 mutex_init(&pht->open_lock); in phantom_probe()
/drivers/s390/char/
Dvmur.c106 spin_lock_init(&urd->open_lock); in urdev_alloc()
687 spin_lock(&urd->open_lock); in ur_open()
689 spin_unlock(&urd->open_lock); in ur_open()
698 spin_lock(&urd->open_lock); in ur_open()
701 spin_unlock(&urd->open_lock); in ur_open()
734 spin_lock(&urd->open_lock); in ur_open()
736 spin_unlock(&urd->open_lock); in ur_open()
749 spin_lock(&urf->urd->open_lock); in ur_release()
751 spin_unlock(&urf->urd->open_lock); in ur_release()
Dvmur.h75 spinlock_t open_lock; /* serialize critical sections */ member
/drivers/watchdog/
Dscx200_wdt.c50 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.c79 static unsigned long open_lock; variable
469 if (test_and_set_bit(0, &open_lock)) in wdtpci_open()
502 clear_bit(0, &open_lock); in wdtpci_release()
Ds3c2410_wdt.c80 static unsigned long open_lock; variable
208 if (test_and_set_bit(0, &open_lock)) in s3c2410wdt_open()
235 clear_bit(0, &open_lock); in s3c2410wdt_release()
/drivers/mmc/card/
Dsdio_uart.c79 struct mutex open_lock; member
104 mutex_init(&port->open_lock); in sdio_uart_add_port()
167 mutex_lock(&port->open_lock); in sdio_uart_port_remove()
175 mutex_unlock(&port->open_lock); in sdio_uart_port_remove()
670 mutex_lock(&port->open_lock); in sdio_uart_open()
677 mutex_unlock(&port->open_lock); in sdio_uart_open()
689 mutex_unlock(&port->open_lock); in sdio_uart_open()
695 mutex_unlock(&port->open_lock); in sdio_uart_open()
706 mutex_lock(&port->open_lock); in sdio_uart_close()
715 mutex_unlock(&port->open_lock); in sdio_uart_close()
[all …]
Dblock.c66 static DEFINE_MUTEX(open_lock);
72 mutex_lock(&open_lock); in mmc_blk_get()
78 mutex_unlock(&open_lock); in mmc_blk_get()
85 mutex_lock(&open_lock); in mmc_blk_put()
94 mutex_unlock(&open_lock); in mmc_blk_put()
/drivers/media/video/
Ds2255drv.c231 struct mutex open_lock; member
1541 mutex_lock(&dev->open_lock); in s2255_open()
1598 mutex_unlock(&dev->open_lock); in s2255_open()
1608 mutex_unlock(&dev->open_lock); in s2255_open()
1649 mutex_unlock(&dev->open_lock); in s2255_open()
1684 mutex_lock(&dev->open_lock); in s2255_destroy()
1711 mutex_unlock(&dev->open_lock); in s2255_destroy()
1722 mutex_lock(&dev->open_lock); in s2255_close()
1735 mutex_unlock(&dev->open_lock); in s2255_close()
2465 mutex_init(&dev->open_lock); in s2255_probe()
[all …]
/drivers/video/riva/
Drivafb.h55 struct mutex open_lock; member
Dfbdev.c1047 mutex_lock(&par->open_lock); in rivafb_open()
1064 mutex_unlock(&par->open_lock); in rivafb_open()
1074 mutex_lock(&par->open_lock); in rivafb_release()
1076 mutex_unlock(&par->open_lock); in rivafb_release()
1089 mutex_unlock(&par->open_lock); in rivafb_release()
1946 mutex_init(&default_par->open_lock); in rivafb_probe()
/drivers/video/nvidia/
Dnvidia.c1007 mutex_lock(&par->open_lock); in nvidiafb_open()
1015 mutex_unlock(&par->open_lock); in nvidiafb_open()
1024 mutex_lock(&par->open_lock); in nvidiafb_release()
1038 mutex_unlock(&par->open_lock); in nvidiafb_release()
1303 mutex_init(&par->open_lock); in nvidiafb_probe()
Dnv_type.h102 struct mutex open_lock; member
/drivers/video/i810/
Di810.h267 struct mutex open_lock; member
Di810_main.c1240 mutex_lock(&par->open_lock); in i810fb_open()
1251 mutex_unlock(&par->open_lock); in i810fb_open()
1260 mutex_lock(&par->open_lock); in i810fb_release()
1262 mutex_unlock(&par->open_lock); in i810fb_release()
1272 mutex_unlock(&par->open_lock); in i810fb_release()
1759 mutex_init(&par->open_lock); in i810_init_defaults()
/drivers/block/
Dfloppy.c412 static DEFINE_MUTEX(open_lock);
3328 mutex_lock(&open_lock); in set_geometry()
3342 mutex_unlock(&open_lock); in set_geometry()
3668 mutex_lock(&open_lock); in floppy_release()
3677 mutex_unlock(&open_lock); in floppy_release()
3695 mutex_lock(&open_lock); in floppy_open()
3770 mutex_unlock(&open_lock); in floppy_open()
3780 mutex_unlock(&open_lock); in floppy_open()
/drivers/video/savage/
Dsavagefb_driver.c1629 mutex_lock(&par->open_lock); in savagefb_open()
1641 mutex_unlock(&par->open_lock); in savagefb_open()
1649 mutex_lock(&par->open_lock); in savagefb_release()
1657 mutex_unlock(&par->open_lock); in savagefb_release()
2212 mutex_init(&par->open_lock); in savagefb_probe()
Dsavagefb.h196 struct mutex open_lock; member