Home
last modified time | relevance | path

Searched refs:currentPortInfo_ (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp169 currentPortInfo_.portId = portId; in SetPortInit()
170 currentPortInfo_.powerRole = powerRole; in SetPortInit()
171 currentPortInfo_.dataRole = dataRole; in SetPortInit()
172 currentPortInfo_.mode = mode; in SetPortInit()
173 if (currentPortInfo_.mode == PORT_MODE_DEVICE) { in SetPortInit()
189 usbdSubscribers[i].subscriber->PortChangedEvent(currentPortInfo_); in SetPort()
198 (void)ReadPortFile(currentPortInfo_.powerRole, currentPortInfo_.dataRole, currentPortInfo_.mode); in QueryPort()
199 portId = currentPortInfo_ in QueryPort()
[all...]
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h76 HDI::Usb::V1_1::PortInfo currentPortInfo_ = {DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE, PORT_MODE_DEVICE}; member in OHOS::HDI::Usb::V1_1::UsbdPort

Completed in 1 milliseconds