Searched refs:bulkIn (Results 1 – 8 of 8) sorted by relevance
/developtools/hdc/src/daemon/ |
D | daemon_usb.cpp | 185 if ((hUSB->bulkIn = open(inPath.c_str(), O_RDWR)) < 0) { in ConnectEPPoint() 192 fcntl(hUSB->bulkIn, F_SETFD, FD_CLOEXEC); in ConnectEPPoint() 193 hUSB->wMaxPacketSizeSend = GetMaxPacketSize(hUSB->bulkIn); in ConnectEPPoint() 195 … WRITE_LOG(LOG_DEBUG, "New bulk in\\out open bulkout:%d bulkin:%d", hUSB->bulkOut, hUSB->bulkIn); in ConnectEPPoint() 207 Base::CloseFd(hUSB->bulkIn); in CloseEndpoint() 285 ctx->thisClass->usbHandle.bulkIn = 0; in CloseBulkEp() 297 int bulkIn = hMainUSB->bulkIn; in SendUSBIOSync() local 303 childRet = write(bulkIn, const_cast<uint8_t *>(data) + offset, length - offset); in SendUSBIOSync() 308 offset, bulkIn, hMainUSB->bulkOut); in SendUSBIOSync() 619 if (hUSB->bulkIn > 0) { in WatchEPTimer() [all …]
|
/developtools/hdc/hdc_rust/src/cffi/ |
D | usb_wrapper.cpp | 67 extern "C" PersistBuffer ReadUsbDevEx(int32_t bulkIn) in ReadUsbDevEx() argument 75 int length = ReadData(bulkIn, g_bufRet, MAX_SIZE_IOBUF); in ReadUsbDevEx()
|
D | oh_usb.h | 34 int WriteData(int bulkIn, const uint8_t *data, const int length);
|
D | usb_types.h | 33 int bulkIn; // EP2 device send
|
D | oh_usb.cpp | 130 int WriteData(int bulkIn, const uint8_t *data, const int length) in WriteData() argument 139 ret = write(bulkIn, const_cast<uint8_t *>(data) + offset, length - offset); in WriteData()
|
/developtools/hdc/hdc_rust/src/transfer/ |
D | usb.rs | 54 fn CloseEndPointEx(bulkIn: i32, bulkOut: i32, ctrlEp: i32, closeCtrlEp: u8); in CloseEndPointEx() 58 fn ReadUsbDevEx(bulkIn: i32) -> PersistBuffer; in ReadUsbDevEx()
|
/developtools/hdc/src/common/ |
D | define_plus.h | 345 int bulkIn; // EP2 device send
|
D | session.cpp | 506 Base::CloseFd(hUSB->bulkIn); in FreeSessionByConnectType()
|