Searched refs:currentRole (Results 1 – 2 of 2) sorted by relevance
119 PortRoleType type, uint32_t ¤tRole) { in getCurrentRoleHelper() argument126 currentRole = static_cast<uint32_t>(PortPowerRole::NONE); in getCurrentRoleHelper()130 currentRole = static_cast<uint32_t> (PortDataRole::NONE); in getCurrentRoleHelper()134 currentRole = static_cast<uint32_t> (PortMode::NONE); in getCurrentRoleHelper()143 currentRole = static_cast<uint32_t> (PortMode::DFP); in getCurrentRoleHelper()145 currentRole = static_cast<uint32_t> (PortMode::UFP); in getCurrentRoleHelper()147 currentRole = static_cast<uint32_t> (PortPowerRole::SOURCE); in getCurrentRoleHelper()149 currentRole = static_cast<uint32_t> (PortPowerRole::SINK); in getCurrentRoleHelper()151 currentRole = static_cast<uint32_t> (PortDataRole::HOST); in getCurrentRoleHelper()153 currentRole = static_cast<uint32_t> (PortDataRole::DEVICE); in getCurrentRoleHelper()[all …]
40 int currentRole = remainingRoles & (~(remainingRoles - 1)); in GetNextDetections() local44 occupantDetection.role = static_cast<Role>(currentRole); in GetNextDetections()