Lines Matching refs:currentRole

285                             PortRoleType type, uint32_t *currentRole) {  in getCurrentRoleHelper()  argument
294 *currentRole = static_cast<uint32_t>(PortPowerRole::NONE); in getCurrentRoleHelper()
297 *currentRole = static_cast<uint32_t>(PortDataRole::NONE); in getCurrentRoleHelper()
300 *currentRole = static_cast<uint32_t>(PortMode_1_1::NONE); in getCurrentRoleHelper()
312 *currentRole = static_cast<uint32_t>(PortMode_1_1::AUDIO_ACCESSORY); in getCurrentRoleHelper()
315 *currentRole = static_cast<uint32_t>(PortMode_1_1::DEBUG_ACCESSORY); in getCurrentRoleHelper()
329 *currentRole = static_cast<uint32_t>(PortPowerRole::SOURCE); in getCurrentRoleHelper()
331 *currentRole = static_cast<uint32_t>(PortPowerRole::SINK); in getCurrentRoleHelper()
334 *currentRole = static_cast<uint32_t>(PortDataRole::HOST); in getCurrentRoleHelper()
336 *currentRole = static_cast<uint32_t>(PortMode_1_1::DFP); in getCurrentRoleHelper()
339 *currentRole = static_cast<uint32_t>(PortDataRole::DEVICE); in getCurrentRoleHelper()
341 *currentRole = static_cast<uint32_t>(PortMode_1_1::UFP); in getCurrentRoleHelper()
412 uint32_t currentRole; in getPortStatusHelper() local
415 &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
417 static_cast<PortPowerRole>(currentRole); in getPortStatusHelper()
424 &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
426 static_cast<PortDataRole>(currentRole); in getPortStatusHelper()
433 &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
435 static_cast<PortMode_1_1>(currentRole); in getPortStatusHelper()
437 static_cast<V1_0::PortMode>(currentRole); in getPortStatusHelper()