Searched refs:total_read_bytes (Results 1 – 1 of 1) sorted by relevance
96 int total_read_bytes = 0, errno = 0; in as102_firmware_upload() local104 for (total_read_bytes = 0; total_read_bytes < firmware->size; ) { in as102_firmware_upload()109 (u8 *) (firmware->data + total_read_bytes), in as102_firmware_upload()119 total_read_bytes += read_bytes; in as102_firmware_upload()120 if (total_read_bytes == firmware->size) { in as102_firmware_upload()152 return (errno == 0) ? total_read_bytes : errno; in as102_firmware_upload()