Lines Matching defs:currentRole
262 PortRoleType type, uint32_t *currentRole) {
271 *currentRole = static_cast<uint32_t>(PortPowerRole::NONE);
274 *currentRole = static_cast<uint32_t>(PortDataRole::NONE);
277 *currentRole = static_cast<uint32_t>(PortMode_1_1::NONE);
289 *currentRole = static_cast<uint32_t>(PortMode_1_1::AUDIO_ACCESSORY);
292 *currentRole = static_cast<uint32_t>(PortMode_1_1::DEBUG_ACCESSORY);
306 *currentRole = static_cast<uint32_t>(PortPowerRole::SOURCE);
308 *currentRole = static_cast<uint32_t>(PortPowerRole::SINK);
311 *currentRole = static_cast<uint32_t>(PortDataRole::HOST);
313 *currentRole = static_cast<uint32_t>(PortMode_1_1::DFP);
316 *currentRole = static_cast<uint32_t>(PortDataRole::DEVICE);
318 *currentRole = static_cast<uint32_t>(PortMode_1_1::UFP);
389 uint32_t currentRole;
392 ¤tRole) == Status::SUCCESS) {
394 static_cast<PortPowerRole>(currentRole);
401 ¤tRole) == Status::SUCCESS) {
403 static_cast<PortDataRole>(currentRole);
410 ¤tRole) == Status::SUCCESS) {
412 static_cast<PortMode_1_1>(currentRole);
414 static_cast<V1_0::PortMode>(currentRole);