Home | History | Annotate | Download | only in charger

Lines Matching refs:cur_frame

104     int cur_frame;
656 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame];
661 batt_anim->cur_frame, frame->name, frame->min_capacity,
688 anim->cur_frame = 0;
695 int cur_frame;
712 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time;
715 if (batt_anim->cur_frame == 0) {
729 batt_anim->cur_frame = i - 1;
732 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * 2;
742 /* draw the new frame (@ cur_frame) */
761 batt_anim->cur_frame++;
766 while (batt_anim->cur_frame < batt_anim->num_frames &&
767 batt_anim->frames[batt_anim->cur_frame].level_only)
768 batt_anim->cur_frame++;
769 if (batt_anim->cur_frame >= batt_anim->num_frames) {
771 batt_anim->cur_frame = 0;