Searched refs:fw_pos (Results 1 – 1 of 1) sorted by relevance
89 int fw_pos; in sp8870_firmware_upload() local109 fw_pos = SP8870_FIRMWARE_OFFSET; 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()115 memcpy(&tx_buf[2], fw_buf + fw_pos, tx_len); in sp8870_firmware_upload()125 fw_pos += tx_len; in sp8870_firmware_upload()