Searched refs:mtpStatus (Results 1 – 1 of 1) sorted by relevance
507 struct UsbMtpDeviceStatus mtpStatus; in UsbMtpDeviceClassRequest() local508 mtpStatus.wLength = CPU_TO_LE16(sizeof(mtpStatus)); in UsbMtpDeviceClassRequest()510 mtpStatus.wCode = CPU_TO_LE16(MTP_RESPONSE_DEVICE_BUSY); in UsbMtpDeviceClassRequest()512 mtpStatus.wCode = CPU_TO_LE16(MTP_RESPONSE_OK); in UsbMtpDeviceClassRequest()514 responseBytes = static_cast<int32_t>(sizeof(mtpStatus)); in UsbMtpDeviceClassRequest()515 if (memcpy_s(req->buf, responseBytes, &mtpStatus, responseBytes) != EOK) { in UsbMtpDeviceClassRequest()