Lines Matching defs:toff
62 u32_t ton, toff, tmp, period;
71 toff = ((wd->ledStruct.ledMode[i] & 0xf000) >> 12) * 5;
73 if ((ton + toff) != 0)
75 tmp = wd->ledStruct.counter / (ton+toff);
76 tmp = wd->ledStruct.counter - (tmp * (ton+toff));
430 u32_t ton, toff, tmp;
447 ton = 2, toff = 6;
449 ton = 6, toff = 2;
451 if ((ton + toff) != 0)
453 tmp = wd->ledStruct.counter % (ton+toff);