Lines Matching refs:currentRole
287 PortRoleType type, uint32_t *currentRole) { in getCurrentRoleHelper() argument
296 *currentRole = static_cast<uint32_t>(PortPowerRole::NONE); in getCurrentRoleHelper()
299 *currentRole = static_cast<uint32_t>(PortDataRole::NONE); in getCurrentRoleHelper()
302 *currentRole = static_cast<uint32_t>(PortMode_1_1::NONE); in getCurrentRoleHelper()
314 *currentRole = static_cast<uint32_t>(PortMode_1_1::AUDIO_ACCESSORY); in getCurrentRoleHelper()
317 *currentRole = static_cast<uint32_t>(PortMode_1_1::DEBUG_ACCESSORY); in getCurrentRoleHelper()
331 *currentRole = static_cast<uint32_t>(PortPowerRole::SOURCE); in getCurrentRoleHelper()
333 *currentRole = static_cast<uint32_t>(PortPowerRole::SINK); in getCurrentRoleHelper()
336 *currentRole = static_cast<uint32_t>(PortDataRole::HOST); in getCurrentRoleHelper()
338 *currentRole = static_cast<uint32_t>(PortMode_1_1::DFP); in getCurrentRoleHelper()
341 *currentRole = static_cast<uint32_t>(PortDataRole::DEVICE); in getCurrentRoleHelper()
343 *currentRole = static_cast<uint32_t>(PortMode_1_1::UFP); in getCurrentRoleHelper()
414 uint32_t currentRole; in getPortStatusHelper() local
417 ¤tRole) == Status::SUCCESS) { in getPortStatusHelper()
419 static_cast<PortPowerRole>(currentRole); in getPortStatusHelper()
426 ¤tRole) == Status::SUCCESS) { in getPortStatusHelper()
428 static_cast<PortDataRole>(currentRole); in getPortStatusHelper()
435 ¤tRole) == Status::SUCCESS) { in getPortStatusHelper()
437 static_cast<PortMode_1_1>(currentRole); in getPortStatusHelper()
439 static_cast<V1_0::PortMode>(currentRole); in getPortStatusHelper()