Home
last modified time | relevance | path

Searched refs:bulkIn (Results 1 – 8 of 8) sorted by relevance

/developtools/hdc/src/daemon/
Ddaemon_usb.cpp185 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/
Dusb_wrapper.cpp67 extern "C" PersistBuffer ReadUsbDevEx(int32_t bulkIn) in ReadUsbDevEx() argument
75 int length = ReadData(bulkIn, g_bufRet, MAX_SIZE_IOBUF); in ReadUsbDevEx()
Doh_usb.h34 int WriteData(int bulkIn, const uint8_t *data, const int length);
Dusb_types.h33 int bulkIn; // EP2 device send
Doh_usb.cpp130 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/
Dusb.rs54 fn CloseEndPointEx(bulkIn: i32, bulkOut: i32, ctrlEp: i32, closeCtrlEp: u8); in CloseEndPointEx()
58 fn ReadUsbDevEx(bulkIn: i32) -> PersistBuffer; in ReadUsbDevEx()
/developtools/hdc/src/common/
Ddefine_plus.h345 int bulkIn; // EP2 device send
Dsession.cpp506 Base::CloseFd(hUSB->bulkIn); in FreeSessionByConnectType()