Home
last modified time | relevance | path

Searched refs:sw_lock (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/host/
Du132-hcd.c181 struct mutex sw_lock; member
488 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 …]
/drivers/usb/misc/
Dftdi-elan.c166 struct semaphore sw_lock; member
527 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()