Home
last modified time | relevance | path

Searched refs:currentRole (Results 1 – 4 of 4) sorted by relevance

/device/google/bonito/usb/
DUsb.cpp285 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()
[all …]
/device/google/wahoo/usb/
DUsb.cpp311 PortRoleType type, uint32_t *currentRole) { in getCurrentRoleHelper() argument
320 *currentRole = static_cast<uint32_t>(PortPowerRole::NONE); in getCurrentRoleHelper()
323 *currentRole = static_cast<uint32_t>(PortDataRole::NONE); in getCurrentRoleHelper()
326 *currentRole = static_cast<uint32_t>(PortMode_1_1::NONE); in getCurrentRoleHelper()
338 *currentRole = static_cast<uint32_t>(PortMode_1_1::AUDIO_ACCESSORY); in getCurrentRoleHelper()
341 *currentRole = static_cast<uint32_t>(PortMode_1_1::DEBUG_ACCESSORY); in getCurrentRoleHelper()
355 *currentRole = static_cast<uint32_t>(PortPowerRole::SOURCE); in getCurrentRoleHelper()
357 *currentRole = static_cast<uint32_t>(PortPowerRole::SINK); in getCurrentRoleHelper()
360 *currentRole = static_cast<uint32_t>(PortDataRole::HOST); in getCurrentRoleHelper()
362 *currentRole = static_cast<uint32_t>(PortMode_1_1::DFP); in getCurrentRoleHelper()
[all …]
/device/google/crosshatch/usb/
DUsb.cpp287 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()
[all …]
/device/google/coral/usb/
DUsb.cpp366 uint32_t *currentRole) { in getCurrentRoleHelper() argument
375 *currentRole = static_cast<uint32_t>(PortPowerRole::NONE); in getCurrentRoleHelper()
378 *currentRole = static_cast<uint32_t>(PortDataRole::NONE); in getCurrentRoleHelper()
381 *currentRole = static_cast<uint32_t>(PortMode_1_1::NONE); in getCurrentRoleHelper()
394 *currentRole = static_cast<uint32_t>(PortMode_1_1::AUDIO_ACCESSORY); in getCurrentRoleHelper()
397 *currentRole = static_cast<uint32_t>(PortMode_1_1::DEBUG_ACCESSORY); in getCurrentRoleHelper()
410 *currentRole = static_cast<uint32_t>(PortPowerRole::SOURCE); in getCurrentRoleHelper()
412 *currentRole = static_cast<uint32_t>(PortPowerRole::SINK); in getCurrentRoleHelper()
415 *currentRole = static_cast<uint32_t>(PortDataRole::HOST); in getCurrentRoleHelper()
417 *currentRole = static_cast<uint32_t>(PortMode_1_1::DFP); in getCurrentRoleHelper()
[all …]