Lines Matching refs:devstatus
150 bdc->devstatus &= DEVSTATUS_CLEAR; in bdc_uspc_disconnected()
168 if (bdc->devstatus & FUNC_WAKE_ISSUED) { in bdc_func_wake_timer()
191 bdc->devstatus |= DEVICE_SUSPENDED; in handle_link_state_change()
197 if (bdc->devstatus & REMOTE_WAKEUP_ISSUED) { in handle_link_state_change()
198 bdc->devstatus &= ~REMOTE_WAKEUP_ISSUED; in handle_link_state_change()
201 bdc->devstatus |= FUNC_WAKE_ISSUED; in handle_link_state_change()
219 if (bdc->devstatus & DEVICE_SUSPENDED) { in handle_link_state_change()
221 bdc->devstatus &= ~DEVICE_SUSPENDED; in handle_link_state_change()
279 bdc->devstatus &= ~(DEVICE_SUSPENDED); in bdc_sr_uspc()
456 bdc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in bdc_udc_set_selfpowered()
458 bdc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in bdc_udc_set_selfpowered()
475 __func__, bdc->devstatus); in bdc_udc_wakeup()
477 if (!(bdc->devstatus & REMOTE_WAKE_ENABLE)) in bdc_udc_wakeup()
492 bdc->devstatus |= REMOTE_WAKEUP_ISSUED; in bdc_udc_wakeup()