Lines Matching refs:ioData
1072 static int32_t UsbFnAdapterPipeIo(int32_t ep, struct IoData *ioData) in UsbFnAdapterPipeIo() argument
1075 if (ep <= 0 || ioData == NULL) { in UsbFnAdapterPipeIo()
1080 if (ioData->read) { in UsbFnAdapterPipeIo()
1081 ret = ioctl(ep, FUNCTIONFS_ENDPOINT_READ, ioData); in UsbFnAdapterPipeIo()
1083 ret = ioctl(ep, FUNCTIONFS_ENDPOINT_WRITE, ioData); in UsbFnAdapterPipeIo()
1093 static int32_t UsbFnAdapterCancelIo(int32_t ep, const struct IoData * const ioData) in UsbFnAdapterCancelIo() argument
1095 if (ep <= 0 || ioData == NULL) { in UsbFnAdapterCancelIo()
1098 return ioctl(ep, FUNCTIONFS_ENDPOINT_RW_CANCEL, ioData); in UsbFnAdapterCancelIo()
1203 static int32_t UsbFnAdapterRequestGetStatus(int32_t ep, const struct IoData *ioData) in UsbFnAdapterRequestGetStatus() argument
1205 if (ep <= 0 || ioData == NULL) { in UsbFnAdapterRequestGetStatus()
1208 return ioctl(ep, FUNCTIONFS_ENDPOINT_GET_REQ_STATUS, ioData); in UsbFnAdapterRequestGetStatus()