Searched refs:SP8870_FIRMWARE_SIZE (Results 1 – 1 of 1) sorted by relevance
48 #define SP8870_FIRMWARE_SIZE 16382 macro96 if (fw->size < SP8870_FIRMWARE_SIZE + SP8870_FIRMWARE_OFFSET) in sp8870_firmware_upload()103 sp8870_writereg(state, 0x8F08, ((SP8870_FIRMWARE_SIZE / 2) & 0xFFFF)); in sp8870_firmware_upload()106 sp8870_writereg(state, 0x8F0A, ((SP8870_FIRMWARE_SIZE / 2) >> 16)); in sp8870_firmware_upload()110 while (fw_pos < SP8870_FIRMWARE_SIZE + SP8870_FIRMWARE_OFFSET){ in sp8870_firmware_upload()111 …tx_len = (fw_pos <= SP8870_FIRMWARE_SIZE + SP8870_FIRMWARE_OFFSET - 252) ? 252 : SP8870_FIRMWARE_S… in sp8870_firmware_upload()