Lines Matching defs:ecm
41 static int32_t EcmWbAlloc(struct EcmDevice *ecm) in EcmWbAlloc()
65 static UsbInterfaceHandle *InterfaceIdToHandle(const struct EcmDevice *ecm, uint8_t id) in InterfaceIdToHandle()
102 static int32_t EcmWbIsAvail(struct EcmDevice *ecm) in EcmWbIsAvail()
114 static int32_t EcmStartWb(struct EcmDevice *ecm, struct EcmWb *wb) in EcmStartWb()
148 static int32_t EcmWriteBufAlloc(struct EcmDevice *ecm) in EcmWriteBufAlloc()
167 static int32_t EcmWriteBufFree(struct EcmDevice *ecm) in EcmWriteBufFree()
184 struct EcmDevice *ecm = wb->ecm; in EcmWriteBulk() local
218 static int32_t EcmCtrlMsg(struct EcmDevice *ecm, uint8_t request, uint16_t value, void *buf, uint16… in EcmCtrlMsg()
266 static int32_t EcmRead(struct EcmDevice *ecm, struct HdfSBuf *reply) in EcmRead()
315 static int32_t EcmOpen(struct EcmDevice *ecm, struct HdfSBuf *data) in EcmOpen()
366 static void EcmClostRelease(struct EcmDevice *ecm) in EcmClostRelease()
401 static int32_t EcmClose(struct EcmDevice *ecm, struct HdfSBuf *data) in EcmClose()
425 static int32_t EcmWrite(struct EcmDevice *ecm, struct HdfSBuf *data) in EcmWrite()
478 static int32_t EcmGetMac(struct EcmDevice *ecm, struct HdfSBuf *reply) in EcmGetMac()
485 static int32_t EcmAddOrRemoveInterface(int32_t cmd, struct EcmDevice *ecm, struct HdfSBuf *data) in EcmAddOrRemoveInterface()
514 struct EcmDevice *ecm = NULL; in EcmDeviceDispatch() local
558 static struct UsbInterface *EcmGetUsbInterfaceById(struct EcmDevice *ecm, uint8_t interfaceIndex) in EcmGetUsbInterfaceById()
563 static void EcmFreePipes(struct EcmDevice *ecm) in EcmFreePipes()
587 …struct EcmDevice *ecm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirectio… in EcmEnumePipe()
619 static struct UsbPipeInfo *EcmGetPipe(struct EcmDevice *ecm, UsbPipeType pipeType, UsbPipeDirection… in EcmGetPipe()
640 static int32_t EcmGetPipes(struct EcmDevice *ecm) in EcmGetPipes()
679 struct EcmDevice *ecm = NULL; in EcmDriverBind() local
720 static void EcmProcessNotification(struct EcmDevice *ecm, unsigned char *buf) in EcmProcessNotification()
739 struct EcmDevice *ecm = (struct EcmDevice *)req->compInfo.userData; in EcmCtrlIrq() local
797 struct EcmDevice *ecm = (struct EcmDevice *)req->compInfo.userData; in EcmReadBulk() local
830 static void EcmAllocWriteReq(struct EcmDevice * const ecm) in EcmAllocWriteReq()
853 static void EcmFreeWriteReq(struct EcmDevice * const ecm) in EcmFreeWriteReq()
865 static int32_t EcmAllocIntReq(struct EcmDevice *ecm) in EcmAllocIntReq()
895 static void EcmAllocReadReq(struct EcmDevice *ecm) in EcmAllocReadReq()
923 static void EcmFreeReadReq(struct EcmDevice *ecm) in EcmFreeReadReq()
936 static void UsbFreeNotifyReqeust(struct EcmDevice *ecm) in UsbFreeNotifyReqeust()
956 static void EcmReleaseInterfaces(struct EcmDevice *ecm) in EcmReleaseInterfaces()
970 static int32_t EcmClaimInterfaces(struct EcmDevice *ecm) in EcmClaimInterfaces()
993 static void EcmCloseInterfaces(struct EcmDevice *ecm) in EcmCloseInterfaces()
1008 static int32_t EcmOpenInterfaces(struct EcmDevice *ecm) in EcmOpenInterfaces()
1033 static int32_t EcmInit(struct EcmDevice *ecm) in EcmInit()
1108 static void EcmRelease(struct EcmDevice *ecm) in EcmRelease()
1126 struct EcmDevice *ecm = NULL; in EcmDriverInit() local
1150 struct EcmDevice *ecm = NULL; in EcmDriverRelease() local