Home
last modified time | relevance | path

Searched refs:PORT_MODE_DEVICE (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp75 if (mode == PORT_MODE_HOST || mode == PORT_MODE_DEVICE) { in WritePortFile()
81 case PORT_MODE_DEVICE: in WritePortFile()
136 mode = PORT_MODE_DEVICE; in ReadPortFile()
157 int32_t mode = PORT_MODE_DEVICE; in SetPortInit()
163 mode = PORT_MODE_DEVICE; in SetPortInit()
173 if (currentPortInfo_.mode == PORT_MODE_DEVICE) { in SetPortInit()
214 case PORT_MODE_DEVICE: in UpdatePort()
217 currentPortInfo_.mode = PORT_MODE_DEVICE; in UpdatePort()
H A Dusb_impl.cpp991 return UsbdPort::GetInstance().UpdatePort(PORT_MODE_DEVICE, subscriber); in UsbdPnpLoaderEventReceived()
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h43 #define PORT_MODE_DEVICE 1 macro
76 HDI::Usb::V1_1::PortInfo currentPortInfo_ = {DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE, PORT_MODE_DEVICE};

Completed in 5 milliseconds