Searched refs:UsbdPort (Results 1 – 4 of 4) sorted by relevance
/drivers/peripheral/usb/hdi_service/include/ |
D | usbd_port.h | 54 class UsbdPort { 56 static UsbdPort &GetInstance(); 64 UsbdPort() = default; 65 ~UsbdPort() = default; 66 UsbdPort(const UsbdPort &) = delete; 67 UsbdPort(UsbdPort &&) = delete; 68 UsbdPort &operator=(const UsbdPort &) = delete; 69 UsbdPort &operator=(UsbdPort &&) = delete;
|
D | usbd_type.h | 101 struct UsbdPort { struct
|
/drivers/peripheral/usb/hdi_service/src/ |
D | usbd_port.cpp | 25 UsbdPort &UsbdPort::GetInstance() in GetInstance() 27 static UsbdPort instance; in GetInstance() 31 int32_t UsbdPort::IfCanSwitch(int32_t portId, int32_t powerRole, int32_t dataRole) in IfCanSwitch() 50 int32_t UsbdPort::WritePortFile(int32_t powerRole, int32_t dataRole, int32_t mode) in WritePortFile() 98 void UsbdPort::setPortPath(const std::string &path) in setPortPath() 103 int32_t UsbdPort::SetPortInit(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortInit() 131 int32_t UsbdPort::SetPort(int32_t portId, int32_t powerRole, int32_t dataRole, in SetPort() 148 int32_t UsbdPort::QueryPort(int32_t &portId, int32_t &powerRole, int32_t &dataRole, int32_t &mode) in QueryPort() 157 int32_t UsbdPort::UpdatePort(int32_t mode, const sptr<IUsbdSubscriber> &subscriber) in UpdatePort()
|
D | usb_impl.cpp | 920 return UsbdPort::GetInstance().UpdatePort(PORT_MODE_HOST, subscriber); in UsbdPnpLoaderEventReceived() 922 return UsbdPort::GetInstance().UpdatePort(PORT_MODE_DEVICE, subscriber); in UsbdPnpLoaderEventReceived() 1659 UsbdPort::GetInstance().setPortPath(path_); in parsePortPath() 1665 …int32_t ret = UsbdPort::GetInstance().SetPort(portId, powerRole, dataRole, subscribers_, MAX_SUBSC… in SetPortRole() 1676 int32_t ret = UsbdPort::GetInstance().QueryPort(portId, powerRole, dataRole, mode); in QueryPort()
|