Searched refs:FIRMWARE_CHUNK_SIZE (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/staging/vt6656/
H A Dfirmware.c41 #define FIRMWARE_CHUNK_SIZE 0x400 macro
62 buffer = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL); vnt_download_firmware()
66 for (ii = 0; ii < fw->size; ii += FIRMWARE_CHUNK_SIZE) { vnt_download_firmware()
67 length = min_t(int, fw->size - ii, FIRMWARE_CHUNK_SIZE); vnt_download_firmware()
/linux-4.4.14/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c113 #define FIRMWARE_CHUNK_SIZE 0x2000 macro
1596 fw_ptr = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL); pvr2_upload_firmware2()
1610 if (bcnt > FIRMWARE_CHUNK_SIZE) bcnt = FIRMWARE_CHUNK_SIZE; pvr2_upload_firmware2()

Completed in 106 milliseconds