Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libmraa/src/usb/
Dftdi_ft4222.c196 …di_ft4222_i2c_write_internal(FT_HANDLE handle, uint8_t addr, const uint8_t* data, int bytesToWrite) in mraa_ftdi_ft4222_i2c_write_internal() argument
201 …FT4222_STATUS ft4222Status = FT4222_I2CMaster_Write(handle, addr, (uint8_t*) data, bytesToWrite, &… in mraa_ftdi_ft4222_i2c_write_internal()
209 if (bytesWritten != bytesToWrite) in mraa_ftdi_ft4222_i2c_write_internal()
210 … syslog(LOG_ERR, "FT4222_I2CMaster_Write wrote %u of %u bytes.\n", bytesWritten, bytesToWrite); in mraa_ftdi_ft4222_i2c_write_internal()
418 mraa_ftdi_ft4222_i2c_write(mraa_i2c_context dev, const uint8_t* data, int bytesToWrite) in mraa_ftdi_ft4222_i2c_write() argument
420 uint16 bytesWritten = mraa_ftdi_ft4222_i2c_context_write(dev, (uint8_t*)data, bytesToWrite); in mraa_ftdi_ft4222_i2c_write()
421 return bytesToWrite == bytesWritten ? MRAA_SUCCESS : MRAA_ERROR_INVALID_HANDLE; in mraa_ftdi_ft4222_i2c_write()