Lines Matching defs:portId
32 int32_t UsbdPort::IfCanSwitch(int32_t portId, int32_t powerRole, int32_t dataRole)
34 if (portId != DEFAULT_PORT_ID) {
35 HDF_LOGE("%{public}s: portId error", __func__);
149 int32_t UsbdPort::SetPortInit(int32_t portId, int32_t powerRole, int32_t dataRole)
151 auto ret = IfCanSwitch(portId, powerRole, dataRole);
169 currentPortInfo_.portId = portId;
180 int32_t portId, int32_t powerRole, int32_t dataRole, UsbdSubscriber *usbdSubscribers, uint32_t len)
182 int32_t ret = SetPortInit(portId, powerRole, dataRole);
196 int32_t UsbdPort::QueryPort(int32_t &portId, int32_t &powerRole, int32_t &dataRole, int32_t &mode)
199 portId = currentPortInfo_.portId;