Searched refs:fTransferBuffer (Results 1 – 7 of 7) sorted by relevance
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | HIDDevice.cpp | 32 fTransferBuffer(NULL), in HIDDevice() 109 fTransferBuffer = (uint8 *)malloc(fTransferBufferSize + 3); in HIDDevice() 110 if (fTransferBuffer == NULL) { in HIDDevice() 131 free(fTransferBuffer); in ~HIDDevice() 216 _TransferCallback(cookie, B_ERROR, device->fTransferBuffer, 0); in _UnstallCallback() 227 device->fParser.SetReport(status, device->fTransferBuffer, actualLength); in _TransferCallback() 299 status_t status = _FetchBuffer(cmd, cmdLength, fTransferBuffer, in _FetchReport() 306 uint16 actualLength = fTransferBuffer[0] | (fTransferBuffer[1] << 8); in _FetchReport() 316 (uint8*)((addr_t)fTransferBuffer + 2), actualLength); in _FetchReport()
|
H A D | HIDDevice.h | 67 uint8 * fTransferBuffer; variable
|
/haiku/src/add-ons/kernel/drivers/input/i2c_elan/ |
H A D | ELANDevice.cpp | 360 _TransferCallback(cookie, B_ERROR, device->fTransferBuffer, 0); in _UnstallCallback() 371 device->_SetReport(status, device->fTransferBuffer, actualLength); in _TransferCallback() 423 status_t status = _FetchBuffer(cmd, sizeof(cmd), fTransferBuffer, in _ReadRegister() 426 reg, fTransferBuffer[0], fTransferBuffer[1], status); in _ReadRegister() 429 memcpy(value, fTransferBuffer, length); in _ReadRegister() 442 status_t status = _FetchBuffer(cmd, sizeof(cmd), fTransferBuffer, 0); in _WriteRegister() 473 status_t status = _FetchBuffer(cmd, cmdLength, fTransferBuffer, in _FetchReport() 480 uint16 actualLength = fTransferBuffer[0] | (fTransferBuffer[1] << 8); in _FetchReport() 491 (uint8*)((addr_t)fTransferBuffer + 2), actualLength); in _FetchReport()
|
H A D | ELANDevice.h | 68 uint8 fTransferBuffer[TRANSFER_BUFFER_SIZE]; variable
|
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | HIDDevice.cpp | 33 fTransferBuffer(NULL), in HIDDevice() 194 fTransferBuffer = (uint8 *)malloc(fTransferBufferSize + 3); in HIDDevice() 195 if (fTransferBuffer == NULL) { in HIDDevice() 227 free(fTransferBuffer); in ~HIDDevice() 278 fTransferBuffer, fTransferBufferSize, _TransferCallback, this); in MaybeScheduleTransfer() 326 _TransferCallback(cookie, B_ERROR, device->fTransferBuffer, 0); in _UnstallCallback() 345 device->fParser.SetReport(status, device->fTransferBuffer, actualLength); in _TransferCallback()
|
H A D | HIDDevice.h | 64 uint8 * fTransferBuffer; variable
|
/haiku/src/tests/system/kernel/file_corruption/driver/ |
H A D | checksum_device.cpp | 305 fTransferBuffer(NULL), in RawDevice() 439 fTransferBuffer = malloc(B_PAGE_SIZE); in Prepare() 440 if (fTransferBuffer == NULL) { in Prepare() 450 free(fTransferBuffer); in Unprepare() 451 fTransferBuffer = NULL; in Unprepare() 529 ? pwrite(fFD, fTransferBuffer, B_PAGE_SIZE, offset) in _TransferBlock() 530 : pread(fFD, fTransferBuffer, B_PAGE_SIZE, offset); in _TransferBlock() 550 uint8* buffer = (uint8*)fTransferBuffer; in _CopyData() 594 fSHA256.Update(fTransferBuffer, B_PAGE_SIZE); in _CheckCheckSum() 610 void* fTransferBuffer; member
|