Searched refs:sw_lock (Results 1 – 2 of 2) sorted by relevance
181 struct mutex sw_lock; member488 mutex_lock(&u132->sw_lock); in u132_hcd_monitor_work()494 mutex_unlock(&u132->sw_lock); in u132_hcd_monitor_work()501 mutex_unlock(&u132->sw_lock); in u132_hcd_monitor_work()1779 mutex_lock(&u132->sw_lock); in u132_hcd_stop()1782 mutex_unlock(&u132->sw_lock); in u132_hcd_stop()1804 mutex_lock(&u132->sw_lock); in u132_hcd_start()1819 mutex_unlock(&u132->sw_lock); in u132_hcd_start()1839 mutex_lock(&u132->sw_lock); in u132_hcd_reset()1845 mutex_unlock(&u132->sw_lock); in u132_hcd_reset()[all …]
166 struct semaphore sw_lock; member527 down(&ftdi->sw_lock); in ftdi_elan_status_work()532 up(&ftdi->sw_lock); in ftdi_elan_status_work()536 up(&ftdi->sw_lock); in ftdi_elan_status_work()629 if (down_interruptible(&ftdi->sw_lock)) { in ftdi_elan_open()645 up(&ftdi->sw_lock); /* decrement the count on our device */ in ftdi_elan_release()2654 sema_init(&ftdi->sw_lock, 1); in ftdi_elan_probe()