Searched refs:usb_pwr_ref (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/arch/arm/mach-cns3xxx/
H A Dpm.h21 extern atomic_t usb_pwr_ref;
H A Dpm.c122 atomic_t usb_pwr_ref = ATOMIC_INIT(0); variable
123 EXPORT_SYMBOL(usb_pwr_ref); variable
H A Dcns3420vb.c139 if (atomic_inc_return(&usb_pwr_ref) == 1) { csn3xxx_usb_power_on()
158 if (atomic_dec_return(&usb_pwr_ref) == 0) csn3xxx_usb_power_off()
H A Dcore.c308 if (atomic_inc_return(&usb_pwr_ref) == 1) { csn3xxx_usb_power_on()
327 if (atomic_dec_return(&usb_pwr_ref) == 0) csn3xxx_usb_power_off()

Completed in 159 milliseconds