Lines Matching refs:io_lock
159 struct mutex io_lock; // IO -lock member
483 mutex_lock(&mdc800->io_lock); in mdc800_usb_probe()
488 mutex_unlock(&mdc800->io_lock); in mdc800_usb_probe()
529 mutex_unlock(&mdc800->io_lock); in mdc800_usb_probe()
553 mutex_lock(&mdc800->io_lock); in mdc800_usb_disconnect()
559 mutex_unlock(&mdc800->io_lock); in mdc800_usb_disconnect()
611 mutex_lock(&mdc800->io_lock); in mdc800_device_open()
648 mutex_unlock(&mdc800->io_lock); in mdc800_device_open()
660 mutex_lock(&mdc800->io_lock); in mdc800_device_release()
673 mutex_unlock(&mdc800->io_lock); in mdc800_device_release()
687 mutex_lock(&mdc800->io_lock); in mdc800_device_read()
690 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
697 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
702 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
710 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
731 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
744 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
751 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
760 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
769 mutex_unlock(&mdc800->io_lock); in mdc800_device_read()
785 mutex_lock(&mdc800->io_lock); in mdc800_device_write()
788 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
793 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
802 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
808 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
829 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
842 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
856 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
865 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
879 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
899 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
927 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
937 mutex_unlock(&mdc800->io_lock); in mdc800_device_write()
992 mutex_init (&mdc800->io_lock); in usb_mdc800_init()