Searched refs:fw_pos (Results 1 – 1 of 1) sorted by relevance
102 int fw_pos; in sp8870_firmware_upload() local122 fw_pos = SP8870_FIRMWARE_OFFSET; in sp8870_firmware_upload()123 while (fw_pos < SP8870_FIRMWARE_SIZE + SP8870_FIRMWARE_OFFSET){ in sp8870_firmware_upload()124 …tx_len = (fw_pos <= SP8870_FIRMWARE_SIZE + SP8870_FIRMWARE_OFFSET - 252) ? 252 : SP8870_FIRMWARE_S… in sp8870_firmware_upload()128 memcpy(&tx_buf[2], fw_buf + fw_pos, tx_len); in sp8870_firmware_upload()138 fw_pos += tx_len; in sp8870_firmware_upload()