Exemple #1
0
int BBM_BULK_READ(HANDLE hDevice, u16 addr, u8 *data, u16 size)
{
	int res;

	res = bbm_bulk_read(hDevice, addr, data, size);

	return res;
}
fci_s32 bbm_com_bulk_read(HANDLE handle, fci_u16 addr, fci_u8 *data, fci_u16 size)
{
    fci_s32 res;

    res = bbm_bulk_read(handle, addr, data, size);

    return res;
}
int bbm_com_bulk_read(HANDLE hDevice, u16 addr, u8 *data, u16 size)
{
    int res;

    res = bbm_bulk_read(hDevice, addr, data, size);

    return res;
}
s32 bbm_com_bulk_read(HANDLE handle, DEVICEID devid, u16 addr, u8 *data,
							u16 size)
{
	s32 res;

	res = bbm_bulk_read(handle, devid, addr, data, size);

	return res;
}
s32 fci_hpi_read(HANDLE handle, DEVICEID devid,
		u8 chip, u8 addr, u8 alen, u8 *data, u8 len)
{
	s32 res;

	mutex_lock(&fci_hpi_lock);
	res = bbm_bulk_read(handle, devid, 0x0f00 | addr, data, len);
	mutex_unlock(&fci_hpi_lock);


	return res;
}
Exemple #6
0
fci_s32 fci_hpi_read(HANDLE handle, fci_u8 chip, fci_u8 addr, fci_u8 alen, fci_u8 *data, fci_u8 len)
{
	return bbm_bulk_read(handle, 0x0f00 | addr, data, len);
}