Lines Matching refs:ioData
795 static int32_t UsbFnAdapterPipeIo(int32_t ep, struct IoData * const ioData)
798 if (ep <= 0 || ioData == NULL) {
801 if (ioData->aio) {
802 ret = handle_write(ep, (void *)ioData->buf, ioData->len);
804 ret = handle_ioctl(ep, GENERIC_CMD_ENDPOINT_IO, ioData);
809 static int32_t UsbFnAdapterCancelIo(int32_t ep, const struct IoData * const ioData)
813 mem.buf = ioData->buf;
814 mem.size = ioData->len;
819 static int32_t UsbFnAdapterRequestGetStatus(int32_t ep, const struct IoData *ioData)
821 if (ep <= 0 || ioData == NULL) {
824 return handle_ioctl(ep, GENERIC_CMD_GET_REQ_STATUS, (void *)ioData);