Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/host/
Du132-hcd.c179 struct mutex sw_lock; member
485 mutex_lock(&u132->sw_lock); in u132_hcd_monitor_work()
491 mutex_unlock(&u132->sw_lock); in u132_hcd_monitor_work()
498 mutex_unlock(&u132->sw_lock); in u132_hcd_monitor_work()
1776 mutex_lock(&u132->sw_lock); in u132_hcd_stop()
1779 mutex_unlock(&u132->sw_lock); in u132_hcd_stop()
1801 mutex_lock(&u132->sw_lock); in u132_hcd_start()
1816 mutex_unlock(&u132->sw_lock); in u132_hcd_start()
1836 mutex_lock(&u132->sw_lock); in u132_hcd_reset()
1842 mutex_unlock(&u132->sw_lock); in u132_hcd_reset()
[all …]
/linux-6.1.9/drivers/usb/misc/
Dftdi-elan.c166 struct semaphore sw_lock; member
529 down(&ftdi->sw_lock); in ftdi_elan_status_work()
534 up(&ftdi->sw_lock); in ftdi_elan_status_work()
538 up(&ftdi->sw_lock); in ftdi_elan_status_work()
631 if (down_interruptible(&ftdi->sw_lock)) { in ftdi_elan_open()
647 up(&ftdi->sw_lock); /* decrement the count on our device */ in ftdi_elan_release()
2651 sema_init(&ftdi->sw_lock, 1); in ftdi_elan_probe()