Lines Matching refs:ctrlInfo
942 struct CtrlInfo *ctrlInfo = (struct CtrlInfo *)req->context; in AcmCtrlComplete() local
943 if (ctrlInfo == NULL) { in AcmCtrlComplete()
946 struct UsbAcmDevice *acm = ctrlInfo->acm; in AcmCtrlComplete()
952 if (ctrlInfo->request == USB_DDK_CDC_REQ_SET_LINE_CODING) { in AcmCtrlComplete()
971 struct CtrlInfo *ctrlInfo = NULL; in AcmAllocCtrlRequests() local
978 ctrlInfo = (struct CtrlInfo *)OsalMemCalloc(sizeof(*ctrlInfo)); in AcmAllocCtrlRequests()
979 if (ctrlInfo == NULL) { in AcmAllocCtrlRequests()
983 ctrlInfo->acm = acm; in AcmAllocCtrlRequests()
990 req->context = ctrlInfo; in AcmAllocCtrlRequests()
1107 struct CtrlInfo *ctrlInfo = NULL; in AcmSetup() local
1144 ctrlInfo = (struct CtrlInfo *)req->context; in AcmSetup()
1145 ctrlInfo->request = setup->request; in AcmSetup()