Searched refs:real_role (Results 1 – 1 of 1) sorted by relevance
300 enum usb_role real_role, current_role; in cdns_hw_role_switch() local310 real_role = cdns_hw_role_state_machine(cdns); in cdns_hw_role_switch()313 if (current_role == real_role) in cdns_hw_role_switch()318 dev_dbg(cdns->dev, "Switching role %d -> %d", current_role, real_role); in cdns_hw_role_switch()320 ret = cdns_role_start(cdns, real_role); in cdns_hw_role_switch()324 real_role, current_role); in cdns_hw_role_switch()527 enum usb_role real_role; in cdns_resume() local535 real_role = cdns_hw_role_state_machine(cdns); in cdns_resume()536 if (real_role != cdns->role) { in cdns_resume()