Home
last modified time | relevance | path

Searched refs:device_lock (Results 1 – 3 of 3) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/
A Dusb_virt_bus.c54 static hal_spinlock_t device_lock; variable
342 sr = hal_spin_lock_irqsave(&device_lock); in usb_virt_bus_dev_add()
344 hal_spin_unlock_irqrestore(&device_lock, sr); in usb_virt_bus_dev_add()
362 sr = hal_spin_lock_irqsave(&device_lock); in usb_virt_bus_dev_add()
364 hal_spin_unlock_irqrestore(&device_lock, sr); in usb_virt_bus_dev_add()
A Dusb_gen_hub.c57 static hal_spinlock_t device_lock; variable
1392 sr = hal_spin_lock_irqsave(&device_lock); in hub_port_connect_change()
1403 hal_spin_unlock_irqrestore(&device_lock, sr); in hub_port_connect_change()
1415 sr = hal_spin_lock_irqsave(&device_lock); in hub_port_connect_change()
1417 hal_spin_unlock_irqrestore(&device_lock, sr); in hub_port_connect_change()
2036 flags = hal_spin_lock_irqsave(&device_lock); in usb_set_device_state()
2049 hal_spin_unlock_irqrestore(&device_lock, flags); in usb_set_device_state()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/
A Dusb.h565 #define usb_lock_device(udev) device_lock(&(udev)->dev)

Completed in 15 milliseconds