Lines Matching refs:UsbEcmDevice
210 struct UsbEcmDevice *ecm = port->ecm; in UsbEcmAllocReadRequests()
231 struct UsbEcmDevice *ecm = port->ecm; in UsbEcmAllocWriteRequests()
430 void UsbFnNotifyRequest(struct UsbFnRequest *req, struct UsbEcmDevice *ecm) in UsbFnNotifyRequest()
441 static void EcmDoNotify(struct UsbEcmDevice *ecm) in EcmDoNotify()
498 struct UsbEcmDevice *ecm = req->context; in EcmNotifyComplete()
508 static int32_t EcmSetup(const struct UsbEcmDevice *ecm, const struct UsbFnCtrlRequest *ctrl) in EcmSetup()
548 struct UsbEcmDevice *ecm = NULL; in EcmDeviceDispatch()
573 ecm = (struct UsbEcmDevice *)client->device->service; in EcmDeviceDispatch()
600 static int32_t EcmEnable(struct UsbEcmDevice *ecm) in EcmEnable()
606 static void EcmDisable(const struct UsbEcmDevice *ecm) in EcmDisable()
614 struct UsbEcmDevice *ecm = NULL; in UsbEcmEventCallback()
621 ecm = (struct UsbEcmDevice *)event->context; in UsbEcmEventCallback()
654 static int32_t EcmAllocNotifyRequest(struct UsbEcmDevice *ecm) in EcmAllocNotifyRequest()
669 static int32_t EcmAllocEp0Request(struct UsbEcmDevice *ecm) in EcmAllocEp0Request()
680 static int32_t EcmParseEachPipe(struct UsbEcmDevice *ecm, struct UsbEcmInterface *iface) in EcmParseEachPipe()
723 static int32_t EcmParseEcmIface(struct UsbEcmDevice *ecm, struct UsbFnInterface *fnIface) in EcmParseEcmIface()
742 static int32_t EcmParseEachIface(struct UsbEcmDevice *ecm, struct UsbFnDevice *fnDev) in EcmParseEachIface()
769 static int32_t EcmCreateFuncDevice(struct UsbEcmDevice *ecm, struct DeviceResourceIface *iface) in EcmCreateFuncDevice()
798 static void EcmFreeNotifyRequest(struct UsbEcmDevice *ecm) in EcmFreeNotifyRequest()
811 static int32_t EcmReleaseFuncDevice(struct UsbEcmDevice *ecm) in EcmReleaseFuncDevice()
826 static int32_t UsbEcmAlloc(struct UsbEcmDevice *ecm) in UsbEcmAlloc()
873 static void UsbEcmFree(struct UsbEcmDevice *ecm) in UsbEcmFree()
888 struct UsbEcmDevice *ecm = NULL; in EcmDriverBind()
895 ecm = (struct UsbEcmDevice *)OsalMemCalloc(sizeof(*ecm)); in EcmDriverBind()
924 struct UsbEcmDevice *ecm = NULL; in EcmInit()
933 ecm = (struct UsbEcmDevice *)device->service; in EcmInit()
983 struct UsbEcmDevice *ecm = NULL; in EcmRelease()
990 ecm = (struct UsbEcmDevice *)device->service; in EcmRelease()
1017 struct UsbEcmDevice *ecm = NULL; in EcmDriverRelease()
1023 ecm = (struct UsbEcmDevice *)device->service; in EcmDriverRelease()