Home
last modified time | relevance | path

Searched refs:UsbdPort (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h54 class UsbdPort { class
56 static UsbdPort &GetInstance();
64 UsbdPort() = default;
65 ~UsbdPort() = default;
66 UsbdPort(const UsbdPort &) = delete;
67 UsbdPort(UsbdPort &&) = delete;
68 UsbdPort &operator=(const UsbdPort
[all...]
H A Dusbd_type.h101 struct UsbdPort { struct
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp26 UsbdPort &UsbdPort::GetInstance() in GetInstance()
28 static UsbdPort instance; in GetInstance()
32 int32_t UsbdPort::IfCanSwitch(int32_t portId, int32_t powerRole, int32_t dataRole) in IfCanSwitch()
56 int32_t UsbdPort::OpenPortFile(int32_t flags) in OpenPortFile()
71 int32_t UsbdPort::WritePortFile(int32_t powerRole, int32_t dataRole, int32_t mode) in WritePortFile()
109 int32_t UsbdPort::ReadPortFile(int32_t &powerRole, int32_t &dataRole, int32_t &mode) in ReadPortFile()
144 void UsbdPort::setPortPath(const std::string &path) in setPortPath()
149 int32_t UsbdPort::SetPortInit(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortInit()
179 int32_t UsbdPort
[all...]
H A Dusb_impl.cpp988 return UsbdPort::GetInstance().UpdatePort(PORT_MODE_HOST, subscriber); in UsbdPnpLoaderEventReceived()
991 return UsbdPort::GetInstance().UpdatePort(PORT_MODE_DEVICE, subscriber); in UsbdPnpLoaderEventReceived()
1964 UsbdPort::GetInstance().setPortPath(path_); in parsePortPath()
1970 int32_t ret = UsbdPort::GetInstance().SetPort(portId, powerRole, dataRole, subscribers_, MAX_SUBSCRIBER); in SetPortRole()
1981 int32_t ret = UsbdPort::GetInstance().QueryPort(portId, powerRole, dataRole, mode); in QueryPort()

Completed in 6 milliseconds