Lines Matching refs:devstatus
155 bdc->devstatus &= DEVSTATUS_CLEAR; in bdc_uspc_disconnected()
173 if (bdc->devstatus & FUNC_WAKE_ISSUED) { in bdc_func_wake_timer()
196 bdc->devstatus |= DEVICE_SUSPENDED; in handle_link_state_change()
202 if (bdc->devstatus & REMOTE_WAKEUP_ISSUED) { in handle_link_state_change()
203 bdc->devstatus &= ~REMOTE_WAKEUP_ISSUED; in handle_link_state_change()
206 bdc->devstatus |= FUNC_WAKE_ISSUED; in handle_link_state_change()
224 if (bdc->devstatus & DEVICE_SUSPENDED) { in handle_link_state_change()
226 bdc->devstatus &= ~DEVICE_SUSPENDED; in handle_link_state_change()
283 bdc->devstatus &= ~(DEVICE_SUSPENDED); in bdc_sr_uspc()
460 bdc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in bdc_udc_set_selfpowered()
462 bdc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in bdc_udc_set_selfpowered()
479 __func__, bdc->devstatus); in bdc_udc_wakeup()
481 if (!(bdc->devstatus & REMOTE_WAKE_ENABLE)) in bdc_udc_wakeup()
496 bdc->devstatus |= REMOTE_WAKEUP_ISSUED; in bdc_udc_wakeup()