Lines Matching refs:currentRole
119 PortRoleType type, uint32_t ¤tRole) { in getCurrentRoleHelper() argument
126 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()
250 uint32_t currentRole; in getPortStatusHelper() local
252 currentRole) == Status::SUCCESS) { in getPortStatusHelper()
254 static_cast<PortPowerRole> (currentRole); in getPortStatusHelper()
261 PortRoleType::DATA_ROLE, currentRole) == Status::SUCCESS) { in getPortStatusHelper()
263 static_cast<PortDataRole> (currentRole); in getPortStatusHelper()
270 currentRole) == Status::SUCCESS) { in getPortStatusHelper()
272 static_cast<PortMode> (currentRole); in getPortStatusHelper()