Lines Matching refs:EcmDevice

40 static void EcmAllocWriteReq(struct EcmDevice * const ecm);
41 static void EcmFreeWriteReq(struct EcmDevice * const ecm);
42 static int32_t EcmAllocIntReq(struct EcmDevice *ecm);
43 static void EcmAllocReadReq(struct EcmDevice *ecm);
44 static void EcmFreeReadReq(struct EcmDevice *ecm);
45 static int32_t EcmInit(struct EcmDevice *ecm);
46 static void EcmRelease(struct EcmDevice *ecm);
47 static struct UsbInterface *EcmGetUsbInterfaceById(struct EcmDevice *ecm, uint8_t interfaceIndex);
49 static int32_t EcmWbAlloc(struct EcmDevice *ecm)
73 static UsbInterfaceHandle *InterfaceIdToHandle(const struct EcmDevice *ecm, uint8_t id)
110 static int32_t EcmWbIsAvail(struct EcmDevice *ecm)
122 static int32_t EcmStartWb(struct EcmDevice *ecm, struct EcmWb *wb)
156 static int32_t EcmWriteBufAlloc(struct EcmDevice *ecm)
175 static int32_t EcmWriteBufFree(struct EcmDevice *ecm)
192 struct EcmDevice *ecm = wb->ecm;
226 static int32_t EcmCtrlMsg(struct EcmDevice *ecm, uint8_t request, uint16_t value, void *buf, uint16_t len)
274 static int32_t EcmRead(struct EcmDevice *ecm, struct HdfSBuf *reply)
324 static int32_t EcmOpen(struct EcmDevice *ecm, struct HdfSBuf *data)
375 static void EcmClostRelease(struct EcmDevice *ecm)
410 static int32_t EcmClose(struct EcmDevice *ecm, struct HdfSBuf *data)
434 static int32_t EcmWrite(struct EcmDevice *ecm, struct HdfSBuf *data)
487 static int32_t EcmGetMac(struct EcmDevice *ecm, struct HdfSBuf *reply)
494 static int32_t EcmAddOrRemoveInterface(int32_t cmd, struct EcmDevice *ecm, struct HdfSBuf *data)
523 struct EcmDevice *ecm = NULL;
544 ecm = (struct EcmDevice *)client->device->service;
567 static struct UsbInterface *EcmGetUsbInterfaceById(struct EcmDevice *ecm, uint8_t interfaceIndex)
572 static void EcmFreePipes(struct EcmDevice *ecm)
596 struct EcmDevice *ecm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection)
628 static struct UsbPipeInfo *EcmGetPipe(struct EcmDevice *ecm, UsbPipeType pipeType, UsbPipeDirection pipeDirection)
649 static int32_t EcmGetPipes(struct EcmDevice *ecm)
688 struct EcmDevice *ecm = NULL;
693 ecm = (struct EcmDevice *)OsalMemCalloc(sizeof(*ecm));
729 static void EcmProcessNotification(struct EcmDevice *ecm, unsigned char *buf)
747 static void EcmNotificationAndRequest(struct UsbRequest *req, struct EcmDevice *ecm, struct UsbCdcNotification *dr,
762 struct EcmDevice *ecm = (struct EcmDevice *)req->compInfo.userData;
814 struct EcmDevice *ecm = (struct EcmDevice *)req->compInfo.userData;
847 static void EcmAllocWriteReq(struct EcmDevice * const ecm)
870 static void EcmFreeWriteReq(struct EcmDevice * const ecm)
882 static int32_t EcmAllocIntReq(struct EcmDevice *ecm)
912 static void EcmAllocReadReq(struct EcmDevice *ecm)
940 static void EcmFreeReadReq(struct EcmDevice *ecm)
953 static void UsbFreeNotifyReqeust(struct EcmDevice *ecm)
973 static void EcmReleaseInterfaces(struct EcmDevice *ecm)
987 static int32_t EcmClaimInterfaces(struct EcmDevice *ecm)
1010 static void EcmCloseInterfaces(struct EcmDevice *ecm)
1025 static int32_t EcmOpenInterfaces(struct EcmDevice *ecm)
1050 static int32_t EcmGetPipesAndRequest(struct EcmDevice *ecm, int32_t ret)
1080 static int32_t EcmInit(struct EcmDevice *ecm)
1130 static void EcmRelease(struct EcmDevice *ecm)
1148 struct EcmDevice *ecm = NULL;
1154 ecm = (struct EcmDevice *)device->service;
1172 struct EcmDevice *ecm = NULL;
1177 ecm = (struct EcmDevice *)device->service;