int BBM_BULK_WRITE(HANDLE hDevice, u16 addr, u8 *data, u16 size) { int res; res = bbm_bulk_write(hDevice, addr, data, size); return res; }
fci_s32 bbm_com_bulk_write(HANDLE handle, fci_u16 addr, fci_u8 *data, fci_u16 size) { fci_s32 res; res = bbm_bulk_write(handle, addr, data, size); return res; }
int bbm_com_bulk_write(HANDLE hDevice, u16 addr, u8 *data, u16 size) { int res; res = bbm_bulk_write(hDevice, addr, data, size); return res; }
s32 bbm_com_bulk_write(HANDLE handle, DEVICEID devid, u16 addr, u8 *data, u16 size) { s32 res; res = bbm_bulk_write(handle, devid, addr, data, size); return res; }
s32 fci_hpi_write(HANDLE handle, DEVICEID devid, u8 chip, u8 addr, u8 alen, u8 *data, u8 len) { s32 res; mutex_lock(&fci_hpi_lock); res = bbm_bulk_write(handle, devid, 0x0f00 | addr, data, len); mutex_unlock(&fci_hpi_lock); return BBM_OK; }
s32 fci_hpi_write(HANDLE handle, u8 chip, u8 addr, u8 alen, u8 *data, u8 len) { return bbm_bulk_write(handle, 0x0f00 | addr, data, len); }